summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShireesh Anjal <shireesh@gluster.com>2011-03-10 17:10:21 +0530
committerShireesh Anjal <shireesh@gluster.com>2011-03-10 17:10:21 +0530
commit2bedbeea65c5fedab31ac349e287dcf7cd2a09cd (patch)
tree5857a2fb173903cc0207f67ac64887976d205557
parent70b348d037c7e02603c9fb34061888655e5bef73 (diff)
Introduced new buckminster action copy.root.files
-rw-r--r--com.gluster.storage.management.gui.feature.webstart/buckminster.cspex35
-rw-r--r--com.gluster.storage.management.gui.feature.webstart/build/glustermc.ant22
2 files changed, 35 insertions, 22 deletions
diff --git a/com.gluster.storage.management.gui.feature.webstart/buckminster.cspex b/com.gluster.storage.management.gui.feature.webstart/buckminster.cspex
index ca724342..252a5e15 100644
--- a/com.gluster.storage.management.gui.feature.webstart/buckminster.cspex
+++ b/com.gluster.storage.management.gui.feature.webstart/buckminster.cspex
@@ -1,34 +1,41 @@
<?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>
+ 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"/>
+ <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"/>
+ <!--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"/>
+ <attribute name="feature.exports" />
</prerequisites>
- <products alias="action.output" base="${buckminster.output}" upToDatePolicy="NOT_EMPTY">
- <path path="glustermc/"/>
+ <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"/>
+ <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"/>
+ <property key="buildFile" value="build/glustermc.ant" />
+ <property key="targets" value="sign" />
</actorProperties>
</public>
- </actions>
+ <public name="copy.root.files" actor="ant">
+ <actorProperties>
+ <property key="buildFile" value="build/glustermc.ant" />
+ <property key="targets" value="copy.root.files" />
+ </actorProperties>
+ </public>
+ </actions>
</cspecExtension>
diff --git a/com.gluster.storage.management.gui.feature.webstart/build/glustermc.ant b/com.gluster.storage.management.gui.feature.webstart/build/glustermc.ant
index 183dec06..e7baaa03 100644
--- a/com.gluster.storage.management.gui.feature.webstart/build/glustermc.ant
+++ b/com.gluster.storage.management.gui.feature.webstart/build/glustermc.ant
@@ -1,14 +1,14 @@
<project>
<property name="export.dir" value="${buckminster.output}/glustermc/" />
<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>
+ <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">
@@ -21,4 +21,10 @@
</fileset>
</signjar>
</target>
+
+ <target name='copy.root.files'>
+ <copy todir="${export.dir}">
+ <fileset dir="${basedir}/rootfiles" />
+ </copy>
+ </target>
</project>