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.
