To compile Java classes and run the 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.