assembling the cdmlib plugin in a buckminster fashion
authorn.hoffmann <n.hoffmann@localhost>
Wed, 4 May 2011 11:14:11 +0000 (11:14 +0000)
committern.hoffmann <n.hoffmann@localhost>
Wed, 4 May 2011 11:14:11 +0000 (11:14 +0000)
.gitattributes
eu.etaxonomy.taxeditor.feature/buckminster.cspex
eu.etaxonomy.taxeditor.feature/build/maven-ant-tasks-2.1.3.jar [new file with mode: 0644]
eu.etaxonomy.taxeditor.feature/build/package.ant [new file with mode: 0644]

index 827757e16d9fd3b9110163b50f45759b7632ca16..2fd4eb49f6581f434b24e6e52bc16330eab1f496 100644 (file)
@@ -493,6 +493,8 @@ eu.etaxonomy.taxeditor.feature/buckminster.cspex -text
 eu.etaxonomy.taxeditor.feature/buckminster.properties -text
 eu.etaxonomy.taxeditor.feature/buckminster_product.properties -text
 eu.etaxonomy.taxeditor.feature/build.properties -text
+eu.etaxonomy.taxeditor.feature/build/maven-ant-tasks-2.1.3.jar -text
+eu.etaxonomy.taxeditor.feature/build/package.ant -text
 eu.etaxonomy.taxeditor.feature/build/product.ant -text
 eu.etaxonomy.taxeditor.feature/feature.xml -text
 eu.etaxonomy.taxeditor.feature/rcp.target -text
index 77e0e43c4383d27454f0f0c1d205a636e54a0ec9..e109f90e3e4abf9ee01caeac478f005f89e5e629 100644 (file)
@@ -4,12 +4,15 @@
        xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">
 
        <actions>
-           <!--<public name="package.cdmlib" actor="ant">
+           <public name="package.cdmlib" actor="ant">
                <actorProperties>
                    <property key="buildFile" value="build/package.ant"/>
                    <property key="targets" value="package.cdmlib"/>
                </actorProperties>
-           </public>-->
+               <prerequisites>
+                   <attribute name="copy.plugins"/>
+               </prerequisites>
+           </public>
                <public name="create.product" actor="ant">
             <actorProperties>
                 <property key="buildFile" value="build/product.ant"/>
diff --git a/eu.etaxonomy.taxeditor.feature/build/maven-ant-tasks-2.1.3.jar b/eu.etaxonomy.taxeditor.feature/build/maven-ant-tasks-2.1.3.jar
new file mode 100644 (file)
index 0000000..bec446f
Binary files /dev/null and b/eu.etaxonomy.taxeditor.feature/build/maven-ant-tasks-2.1.3.jar differ
diff --git a/eu.etaxonomy.taxeditor.feature/build/package.ant b/eu.etaxonomy.taxeditor.feature/build/package.ant
new file mode 100644 (file)
index 0000000..d4bb8e2
--- /dev/null
@@ -0,0 +1,18 @@
+<project xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+       
+       
+       <target name="package.cdmlib">
+               <!--<path id="maven-ant-tasks.classpath" path="build/maven-ant-tasks-2.1.3.jar" />
+                         <typedef resource="org/apache/maven/artifact/ant/antlib.xml"
+                                  uri="antlib:org.apache.maven.artifact.ant"
+                                  classpathref="maven-ant-tasks.classpath" />
+                       
+               <artifact:mvn pom="../eu.etaxonomy.taxeditor.cdmlib/pom.xml"  failonerror="true"  fork="true">
+                       <arg value="package"/>
+               </artifact:mvn>-->
+               
+               <exec dir="../eu.etaxonomy.taxeditor.cdmlib/" executable="/usr/bin/mvn">
+                       <arg line="package"/>
+               </exec>
+       </target>
+</project>
\ No newline at end of file