Chapter 6 Generating JDO Persistent Objects


Using Ant

To compile Java classes and run JDO enhancer with Apache Ant, you need to enable the Ant build.xml file generation before you generate the Java code and JDO persistence descriptor.

Once you have enabled the Ant build.xml file generation, you can generate the Java code. PowerDesigner will also generate an Ant build script.

You can use an IDE or a text editor to edit Java source code.

Steps To compile and enhance JDO classes:

  1. Open a DOS prompt window.
  2. Go to the directory where you have generated the Java code.
  3. Enter: ant enhance

 


Copyright (C) 2005. Sybase Inc. All rights reserved.