summaryrefslogtreecommitdiffstats
path: root/src/org.gluster.storage.management.console.feature.webstart
diff options
context:
space:
mode:
Diffstat (limited to 'src/org.gluster.storage.management.console.feature.webstart')
-rw-r--r--src/org.gluster.storage.management.console.feature.webstart/.project17
-rw-r--r--src/org.gluster.storage.management.console.feature.webstart/buckminster.cspex47
-rw-r--r--src/org.gluster.storage.management.console.feature.webstart/build.properties20
-rw-r--r--src/org.gluster.storage.management.console.feature.webstart/build/glustermc.ant45
-rw-r--r--src/org.gluster.storage.management.console.feature.webstart/feature.xml247
-rw-r--r--src/org.gluster.storage.management.console.feature.webstart/rootfiles/gluster-management-console.jnlp47
-rw-r--r--src/org.gluster.storage.management.console.feature.webstart/rootfiles/splash.pngbin0 -> 121581 bytes
7 files changed, 423 insertions, 0 deletions
diff --git a/src/org.gluster.storage.management.console.feature.webstart/.project b/src/org.gluster.storage.management.console.feature.webstart/.project
new file mode 100644
index 00000000..f306a1c9
--- /dev/null
+++ b/src/org.gluster.storage.management.console.feature.webstart/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.gluster.storage.management.console.feature.webstart</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
diff --git a/src/org.gluster.storage.management.console.feature.webstart/buckminster.cspex b/src/org.gluster.storage.management.console.feature.webstart/buckminster.cspex
new file mode 100644
index 00000000..7a7a9b95
--- /dev/null
+++ b/src/org.gluster.storage.management.console.feature.webstart/buckminster.cspex
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cspecExtension xmlns:com="http://www.eclipse.org/buckminster/Common-1.0"
+ xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">
+ <actions>
+ <public name="create.eclipse.jnlp.product" actor="ant">
+ <actorProperties>
+ <property key="buildFileId" value="buckminster.pdetasks" />
+ <property key="targets" value="create.eclipse.jnlp.product" />
+ </actorProperties>
+ <properties>
+ <!--property key="buckminster.eclipse.productFile" value="buckminster.jnlp.p2.product"/ -->
+ <property key="buckminster.eclipse.deleteuilauncher" value="false" />
+ </properties>
+ <prerequisites alias="action.requirements">
+ <attribute name="feature.exports" />
+ </prerequisites>
+ <products alias="action.output" base="${buckminster.output}"
+ upToDatePolicy="NOT_EMPTY">
+ <path path="glustermc/" />
+ </products>
+ </public>
+ <public name="unsign.jars" actor="ant">
+ <actorProperties>
+ <property key="buildFile" value="build/glustermc.ant" />
+ <property key="targets" value="unsign" />
+ </actorProperties>
+ </public>
+ <public name="sign.jars" actor="ant">
+ <actorProperties>
+ <property key="buildFile" value="build/glustermc.ant" />
+ <property key="targets" value="sign" />
+ </actorProperties>
+ </public>
+ <public name="copy.root.files" actor="ant">
+ <actorProperties>
+ <property key="buildFile" value="build/glustermc.ant" />
+ <property key="targets" value="copy.root.files" />
+ </actorProperties>
+ </public>
+ <public name="update.version" actor="ant">
+ <actorProperties>
+ <property key="buildFile" value="build/glustermc.ant" />
+ <property key="targets" value="update.version" />
+ </actorProperties>
+ </public>
+ </actions>
+</cspecExtension>
diff --git a/src/org.gluster.storage.management.console.feature.webstart/build.properties b/src/org.gluster.storage.management.console.feature.webstart/build.properties
new file mode 100644
index 00000000..44f026e3
--- /dev/null
+++ b/src/org.gluster.storage.management.console.feature.webstart/build.properties
@@ -0,0 +1,20 @@
+###############################################################################
+# Copyright (c) 2006-2011 Gluster, Inc. <http://www.gluster.com>
+# This file is part of Gluster Management Console.
+#
+# Gluster Management Console is free software; you can redistribute
+# it and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# Gluster Management Console is distributed in the hope that it
+# will be useful, but WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+###############################################################################
+#bin.includes = feature.xml
+root=rootfiles
diff --git a/src/org.gluster.storage.management.console.feature.webstart/build/glustermc.ant b/src/org.gluster.storage.management.console.feature.webstart/build/glustermc.ant
new file mode 100644
index 00000000..a1dc0c66
--- /dev/null
+++ b/src/org.gluster.storage.management.console.feature.webstart/build/glustermc.ant
@@ -0,0 +1,45 @@
+<project>
+ <property name="export.dir" value="${buckminster.output}/glustermc/" />
+ <property name="jnlp.file" value="${export.dir}/gluster-management-console.jnlp" />
+
+ <target name='unsign'>
+ <buckminster.signatureCleaner>
+ <fileset dir='${export.dir}/plugins'>
+ <include name='*.jar' />
+ </fileset>
+ <fileset dir='${export.dir}/features'>
+ <include name='*.jar' />
+ </fileset>
+ </buckminster.signatureCleaner>
+ </target>
+
+ <target name="sign">
+ <signjar alias="gluster" storepass="gluster" keypass="gluster" keystore="${jar.signing.keystore}">
+ <fileset dir="${export.dir}/plugins">
+ <include name="*.jar" />
+ </fileset>
+ <fileset dir="${export.dir}/features">
+ <include name="*.jar" />
+ </fileset>
+ </signjar>
+ </target>
+
+ <target name='copy.root.files'>
+ <copy todir="${export.dir}">
+ <fileset dir="${basedir}/rootfiles" />
+ </copy>
+ </target>
+
+ <target name='update.version'>
+ <replace file="${jnlp.file}" token="@VERSION@" value="${product.version}" />
+ <move todir="${export.dir}">
+ <fileset dir="${export.dir}" />
+ <mapper>
+ <mapper type="regexp"
+ from="org.gluster.storage.management.console.feature_.*.jnlp"
+ to="org.gluster.storage.management.console.feature_${product.version}.jnlp" />
+ </mapper>
+ </move>
+ </target>
+
+</project>
diff --git a/src/org.gluster.storage.management.console.feature.webstart/feature.xml b/src/org.gluster.storage.management.console.feature.webstart/feature.xml
new file mode 100644
index 00000000..beab8637
--- /dev/null
+++ b/src/org.gluster.storage.management.console.feature.webstart/feature.xml
@@ -0,0 +1,247 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2006-2011 Gluster, Inc. <http://www.gluster.com>
+ This file is part of Gluster Management Console.
+
+ Gluster Management Console is free software; you can redistribute
+ it and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later version.
+
+ Gluster Management Console is distributed in the hope that it
+ will be useful, but WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see
+ <http://www.gnu.org/licenses/>.
+ -->
+<feature
+ id="org.gluster.storage.management.console.feature.webstart"
+ label="Gluster Management Console - Webstart"
+ version="1.0.0.qualifier"
+ provider-name="Gluster"
+ os="linux,macosx,win32"
+ ws="cocoa,gtk,win32"
+ arch="x86,x86_64,amd64">
+
+ <description url="http://www.example.com/description">
+ [Enter Feature Description here.]
+ </description>
+
+ <copyright url="http://www.example.com/copyright">
+ [Enter Copyright Description here.]
+ </copyright>
+
+ <license url="http://www.example.com/license">
+ [Enter License Description here.]
+ </license>
+
+ <includes
+ id="org.gluster.storage.management.console.feature"
+ version="0.0.0"/>
+
+ <requires>
+ <import plugin="org.eclipse.core.runtime" version="3.6.0" match="compatible"/>
+ <import plugin="org.eclipse.core.expressions" version="3.4.200" match="compatible"/>
+ <import plugin="org.eclipse.swt" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.jface" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.common" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.core.databinding.observable" version="1.3.0" match="compatible"/>
+ <import plugin="org.eclipse.core.databinding.property" version="1.3.0" match="compatible"/>
+ <import plugin="org.eclipse.core.databinding" version="1.2.0" match="compatible"/>
+ <import plugin="org.eclipse.swt" version="3.6.0" match="compatible"/>
+ <import plugin="org.eclipse.core.commands" version="3.4.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.common" version="3.3.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.registry" version="3.4.0" match="compatible"/>
+ <import plugin="org.eclipse.core.runtime" version="3.3.0" match="compatible"/>
+ <import plugin="org.eclipse.core.runtime" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.swt" version="3.5.0" match="compatible"/>
+ <import plugin="org.eclipse.jface" version="3.5.0" match="compatible"/>
+ <import plugin="org.eclipse.ui.workbench" version="3.5.0" match="compatible"/>
+ <import plugin="org.eclipse.core.expressions" version="3.4.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.preferences" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.registry" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.registry" version="3.5.0" match="equivalent"/>
+ <import plugin="org.eclipse.help" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.jface.databinding" version="1.3.0" match="compatible"/>
+ <import plugin="org.eclipse.core.databinding.property" version="1.2.0" match="compatible"/>
+ <import plugin="org.eclipse.core.databinding.observable" version="1.2.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.common" version="3.5.0" match="compatible"/>
+ <import plugin="org.eclipse.core.jobs" version="3.2.0" match="compatible"/>
+ <import plugin="org.eclipse.core.contenttype" version="3.3.0" match="compatible"/>
+ <import plugin="org.eclipse.osgi" version="3.7.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.preferences" version="3.4.0" match="compatible"/>
+ <import plugin="org.eclipse.equinox.app" version="1.0.0" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="org.eclipse.help"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.osgi.services"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.jface.databinding"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.jface"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.databinding"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.registry"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.app"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.expressions"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.databinding.observable"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.runtime.compatibility.auth"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.contenttype"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.swt"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.runtime.compatibility.registry"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.eclipse.equinox.preferences"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.commands"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.osgi"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.ui.workbench"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="javax.servlet"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.jobs"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="com.ibm.icu"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.runtime"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.databinding.property"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
diff --git a/src/org.gluster.storage.management.console.feature.webstart/rootfiles/gluster-management-console.jnlp b/src/org.gluster.storage.management.console.feature.webstart/rootfiles/gluster-management-console.jnlp
new file mode 100644
index 00000000..b5417bb8
--- /dev/null
+++ b/src/org.gluster.storage.management.console.feature.webstart/rootfiles/gluster-management-console.jnlp
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jnlp spec="1.0+" codebase="$$codebase" href="gluster-management-console.jnlp">
+ <information>
+ <title>Gluster Management Console</title>
+ <vendor>Gluster Inc.</vendor>
+ <homepage href="$$codebase" />
+ <description>Gluster Management Console</description>
+ <icon kind="splash" href="splash.png"/>
+
+ <shortcut online="true">
+ <desktop/>
+ <menu submenu="Gluster"/>
+ </shortcut>
+ </information>
+ <security>
+ <all-permissions/>
+ </security>
+ <resources>
+ <j2se java-vm-args="-XstartOnFirstThread" version="1.6+" />
+ <jar href="plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" main="true"/>
+ <extension
+ name="Gluster Management Console"
+ href="org.gluster.storage.management.console.feature_@VERSION@.jnlp"/>
+ <property
+ name="osgi.instance.area"
+ value="@user.home/Application Data/glustermc"/>
+ <property
+ name="osgi.configuration.area"
+ value="@user.home/Application Data/glustermc"/>
+ <property
+ name="eclipse.product"
+ value="org.gluster.storage.management.console.product"/>
+ <property
+ name="gluster.server.url"
+ value="$$codebase"/>
+ <property
+ name="gluster.api.version"
+ value="@VERSION@"/>
+ <property
+ name="javaws.cfg.jauthenticator"
+ value="true"/>
+ </resources>
+ <resources os="Linux">
+ <property name="osgi.ws" value="gtk"/>
+ </resources>
+ <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain" />
+</jnlp>
diff --git a/src/org.gluster.storage.management.console.feature.webstart/rootfiles/splash.png b/src/org.gluster.storage.management.console.feature.webstart/rootfiles/splash.png
new file mode 100644
index 00000000..74983f8a
--- /dev/null
+++ b/src/org.gluster.storage.management.console.feature.webstart/rootfiles/splash.png
Binary files differ