<project
{div:class=pom}
<project default="main" basedir="."> <target
<target name="bnd">
{color:red}<!-- Change to use the latest BND version –> <taskdef version --{color}{color:red}>{color}
<taskdef resource="aQute/bnd/ant/taskdef.properties"
{color:red}classpath="bnd-0.0.178.jar" /> <bnd classpath="src" eclipse="true" failok="false" exceptions="true" {color}/>
<bnd
classpath="src"
eclipse="true"
failok="false"
exceptions="true"
{color:red}files="foo.bnd" /> </target> <target {color}/>
</target>
<target name="main" depends="bnd"> <echo
<echo message="Call main"/>
{color:red}<!-- Change the path to point on the iPOJO Ant task jar --> <taskdef {color}
<taskdef name="ipojo" classname
classname="org.apache.felix.ipojo.task.PojoTask"
{color:red}classpath="org.apache.felix.ipojo.ant-1.0.0.jar" /> <ipojo {color} />
<ipojo
{color:red}input="foo.jar" metadata = {color}
metadata = "meta.xml" /> </target> </project> |