Apache Ant task for uka.transport code generation

There is an Apache Ant task for invoking the uka.transport code generator easily from your build.xml. This task is included in the karmic.jar file. With the following XML snippet, you can define a new task called <transport .../> in your build.xml file:

  <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"/>

    <taskdef name="transport" 
      classname="gjc.ant.RetroTransport" />

Once, you have defined the new task, you can use it in a similar like the rmic task from the ant default tasks:


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.

Last modified 16 years ago Last modified on Aug 22, 2005 9:26:02 AM