JAVAEE5 Tutorial : Running Ant for web example Hello1 fails to build

When packaging web module hello1 in the javaee5 tutorial , i receive the following error when running ant. "fails to locate persistence.xml"

C:\javaeetutorial5\examples\web\hello1>ant

Buildfile: build.xml

-pre-init:

init:

default-ear:

-pre-compile:

bpp-actual-compilation:

-post-compile:

compile:

package:

[mkdir] Created dir: C:\javaeetutorial5\examples\web\hello1\build\war

bp-copy-classes:

[copy] Copying 5 files to C:\javaeetutorial5\examples\web\hello1\build\war

bpp-package-persistence-unit-war:

[mkdir] Created dir: C:\javaeetutorial5\examples\web\hello1\build\war\WEB-INF\classes\META-INF

[copy] Warning: Could not find file C:\javaeetutorial5\examples\web\hello1\src\conf\persistence.xml to copy.

[copy] Warning: Could not find file C:\javaeetutorial5\examples\web\hello1\src\conf\persistence.xml to copy.

bpp-package-persistence-unit-ejb-jar:

package-persistence-unit:

[delete] Deleting: C:\javaeetutorial5\examples\web\hello1\build\hello1.war

[jar] Building jar: C:\javaeetutorial5\examples\web\hello1\build\hello1.war

[delete] Deleting directory C:\javaeetutorial5\examples\web\hello1\build\war

bpp-copy-dist:

[mkdir] Created dir: C:\javaeetutorial5\examples\web\hello1\dist

[copy] Copying 1 file to C:\javaeetutorial5\examples\web\hello1\dist

default-not-ear:

default:

BUILD SUCCESSFUL

Total time: 4 seconds

[1504 byte] By [jettimona] at [2007-10-3 3:31:01]
# 1
Seems the war is built any way, can you check dist directory and try to deploy the war using 'ant deploy'.Of course the warning message should be fixed.- sreeni
msrrmsa at 2007-7-14 21:25:00 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...