Postprocessor ANT for NetBeans 4.0
To get NetBeans to run the ObjectStore Postprocessor when you 'build' your project:
1) Make sure your computer is running J2SE 1.4.
You can check by opening a command prompt window and typing "java - version"
2) Add the following to the 'build.xml'in the project directory:
<target name="-post-compile">
<exec dir="${build.classes.dir}/[your_package/]"
executable="osjcfp.bat">
<arg line="@cfpargs"/>
</exec>
</target>
3) Then create the 'cfpargs' text file in the 'src/[your_package/]' directory.
'cfpargs' should look something like the following:
-inplace -dist .
-pc Person.class Weight.class