Tuesday May 15, 2007
Setting build.properties in SWDP Tutorial 2.0

Some users have had build errors similar to the following:

BUILD FAILED C:\sun\swdp-tutorial\swdp-tutorial\swdp-tutorial-2.0\examples\rome\atom-feed\build.xml:8: The following error occurred while executing this line: C:\sun\swdp-tutorial\swdp-tutorial\swdp-tutorial-2.0\examples\bp-project\main.xml:28: The following error occurred while executing this line: C:\sun\swdp-tutorial\swdp-tutorial\swdp-tutorial-2.0\examples\bp-project\webpack-ant.xml:28: C:\sun\glassfish\domains\${javaee.domain}\lib not found

This error is caused by the javaee.domain property not being set, usually because you haven't completed the configuration of the tutorial as detailed in the SWDP Tutorial 2.0's preface.

Briefly, you should rename:

.../swdp-tutorial-2.0/examples/bp-project/build.properties.sample

to:

.../swdp-tutorial-2.0/examples/bp-project/build.properties

and set the properties to match your environment. javaee.domain is initally set to domain1, the GlassFish default domain, so you should only change it if you changed the domain in which you installed the SWDP JARs in the SWDP installer.

Trackback URL: http://blogs.sun.com/ievans/entry/setting_build_properties_in_swdp
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed