There are some problems running the persistence examples with Ant.
The instructions say that an "all" target exists for this example, although there is none. Either the mention of the all target should be removed from the chapter, or the target should be added to build.xml.
Using "ant" and "ant deploy" works fine.
The javaee.home property is hardcoded in project.properties, so the deployment fails:
/export/home/chaase/tut-ws/javaeetutorial/trunk/examples/persistence/roster/build.xml:28: The following error occurred while executing this line:
/export/home/chaase/tut-ws/javaeetutorial/trunk/examples/bp-project/app-server-ant.xml:145: The directory /export/home/chaase/tut-ws/javaeetutorial/trunk/examples/persistence/roster/c:/Sun/AppServerPE does not exist
Total time: 19 seconds
jdench 690 =>grep Sun /
The chapter has instructions for using Ant, but the build.xml file still works only with NetBeans. The file needs to be modified.