Apache Ant task for uka.transport code generation
TracNav menu
<property name="jp.home" value="PATH TO YOUR JAVAPARTY INSTALLATION" />
<target name="task.transport">
<path id="transport-cp">
<pathelement location="${jp.home}/lib/karmic.jar"/>
</path>
<taskdef name="transport"
classpathref="transport-cp"
classname="gjc.ant.RetroTransport" />
</target>
Once, you have defined the new task, you can use it in a similar like the rmic task from the ant default tasks:
<transport
base="${classes.plain}"
destdir="${include}"
classpathref="cp"/>
The base parameter points to the directory, where your class files reside that have been compiled from your non-transportable classes. The destdir points to a directory, where the generated Java fragments should be saved.

