To automate exporting from Visual Age for Java
I have written two ant Tasks.
The first task loads the selected project versions
into the VAJ workspace, the second exports
packages from the workspace.
Here is a usage sample:
<target name="export">
<!-- load the right project version(s) -->
<vajload>
<project name="MyVAProject" version="2.1"/>
</vajload>
<!-- export all packages starting with org.foo.subsystem1 -->
<!-- in MyVAProject except those starting with -->
<!-- org.foo.subsystem1.test -->
<vajexport destdir="${source.dir}">
<include name="/MyVAProject/org/foo/subsystem1/**"/>
<exclude name="/MyVAProject/org/foo/subsystem1/test/**"/>
</vajexport>
</target>
If other people are interested I would post sources
and some instructions for use.
Wolf