THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The iPOJO Ant Task is available here. Sources are available on the Felix trunk (instructions to downlad and build).
...
Code Block | ||||
---|---|---|---|---|
| ||||
<target name="main"> <taskdef name="ipojo" classpath="org.apache.felix.ipojo.ant-0.7.35-SNAPSHOT.jar" classname="org.apache.felix.ipojo.task.IPojoTask"/> <ipojo input="foo.jar" metadata = "meta.xml" /> </target> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<project default="main" basedir="."> <target name="bnd"> <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="bnd-0.0.178.jar"/> <bnd classpath="src" eclipse="true" failok="false" exceptions="true" files="foo.bnd"/> </target> <target name="main" depends="bnd"> <echo message="Call main"/> <taskdef name="ipojo" classpath="org.apache.felix.ipojo.ant-0.7.35-SNAPSHOT.jar" classname="org.apache.felix.ipojo.task.PojoTask"/> <ipojo input="foo.jar" metadata = "meta.xml" /> </target> </project> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<target name="main"> <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="bnd-0.0.178.jar"/> <taskdef name="ipojo" classpath="org.apache.felix.ipojo.ant-0.7.35-SNAPSHOT.jar" classname="org.apache.felix.ipojo.task.IPojoTask"/> <bnd classpath="src" eclipse="true" failok="false" exceptions="true" files="foo.bnd"/> <ipojo input="foo.jar" metadata = "meta.xml"/> </target> |