automated build configuration is on its way
[taxeditor.git] / eu.etaxonomy.taxeditor.feature / buckminster.cspex
diff --git a/eu.etaxonomy.taxeditor.feature/buckminster.cspex b/eu.etaxonomy.taxeditor.feature/buckminster.cspex
new file mode 100644 (file)
index 0000000..00e1f2d
--- /dev/null
@@ -0,0 +1,36 @@
+<?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.product" actor="ant">
+            <actorProperties>
+                <property key="buildFile" value="build/product.ant"/>
+                <property key="targets" value="create.product"/>
+            </actorProperties>
+            <properties>
+                <property key="profile" value="TaxonomicEditorProfile"/>
+                <property key="iu" value="eu.etaxonomy.taxeditor"/>
+            </properties>
+                       <prerequisites alias="repository">
+                               <attribute name="site.p2"/>
+                       </prerequisites>
+            <products alias="destination" base="${buckminster.output}">
+               <path path="TaxonomicEditor/"/>
+            </products>
+               </public>
+               <public name="create.product.zip" actor="ant">
+            <actorProperties>
+                <property key="buildFileId" value="buckminster.pdetasks"/>
+                <property key="targets" value="create.zip"/>
+            </actorProperties>
+                       <prerequisites alias="action.requirements">
+                               <attribute name="create.product"/>
+                       </prerequisites>
+            <products alias="action.output" base="${buckminster.output}">
+               <path path="TaxonomicEditor.zip"/>
+            </products>
+               </public>
+       </actions>
+</cspecExtension>