eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
385 stars 144 forks source link

jpa/locking sample failed to build with netbeans #8215

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 15 years ago

GFv3 5/6/2009 nightly build java_ee_sdk-6-preview-b03a-unix.sh and netbeans-trunk-nightly-200905051401-ml-solaris-sparc.sh*

jpa/locking sample failed to build with error. /space/test1/v3/glassfish/samples/javaee6/jpa/locking/nbproject/build-impl.xml:386: /space/test1/v3/glassfish/samples/javaee6/jpa/locking/web not found. BUILD FAILED (total time: 0 seconds)

After adding the empty dir to workaround the problem, test1@win60% pwd /space/test1/v3/glassfish/samples/javaee6/jpa/locking test1@win60% mkdir -p web/WEB-INF test1@win60% the tests passed with build, deploy and run with output. ...... Parallel updates executed with 9 users for operation: updateWPL Time taken:8288 miliseconds LockingJavaClient: Test is ended BUILD SUCCESSFUL (total time: 23 seconds)

The sample workspace has the empty dir in glassfish-samples/ws/javaee6/jpa/locking/web/WEB-INF

Why the empty dir in the workspace is not in the build?

Environment

Operating System: All Platform: Sun

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented msreddy said: The directory web was not checked out based on -P option. This will be fixed and integrated in the next build.

glassfishrobot commented 15 years ago

@glassfishrobot Commented msreddy said: The directory web was not checked out based on -P option. This will be fixed and integrated in the next build.

glassfishrobot commented 15 years ago

@glassfishrobot Commented msreddy said: punit[970]: cvs commit -m "fix for bug# jsf1103 and gf8215" javaee6_build.xml Checking in javaee6_build.xml; /cvs/glassfish-samples/ws/javaee6_build.xml,v <-- javaee6_build.xml new revision: 1.5; previous revision: 1.4 done punit[971]: cvs diff -r 1.4 javaee6_build.xml Index: javaee6_build.xml

RCS file: /cvs/glassfish-samples/ws/javaee6_build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -r1.4 -r1.5 32,33c32,33 < includes="javaee6/docs/UserREADME.html, javaee6/docs/UserTroubleShooting.html, javaee6/docs/list.html, < javaee6/jpa/, javaee6/ejb/ejb31-war/, javaee6/web/servlet/*, javaee6/web/jsf/***, javaee6/security/" —

includes="javaee6/index.html, javaee6/docs/UserREADME.html, javaee6/docs/UserTroubleShooting.html, javaee6/docs/list.html, javaee6/docs/JavaDB.html, javaee6/docs/javadb-setup/, javaee6/jpa/**, javaee6/ejb/ejb31-war/, javaee6/web/servlet/*, javaee6/web/jsf/***, javaee6/security/, javaee6/webbeans/**" 37c37 < includes="javaee6/docs/UserREADME.html, javaee6/docs/UserTroubleShooting.html, javaee6/docs/list.html, — includes="javaee6/index.html, javaee6/docs/Components.js, javaee6/docs/UserREADME.html, javaee6/docs/UserTroubleShooting.html, javaee6/docs/list.html, 75,76d74 < <delete file="$

{dist.dir}/index.html"/> < <delete dir="${dist.dir}

/javaee6"/> 93d90 < <copy file="javaee6/docs/sdk_samples_index.html" tofile="$

{dist.dir}/index.html"/> 95,96d91 < <zipfileset dir="${dist.dir}

" < includes="index.html"/> 105,106d99 < <copy file="javaee6/docs/sdk_samples_index.html" tofile="$

{dist.dir}/index.html"/> < <copy file="javaee6/docs/Components.js" tofile="${dist.dir}

/javaee6/docs/Components.js"/> 108,109d100 < <zipfileset dir="$

{dist.dir}

" < includes="index.html, javaee6/docs/Components.js"/> punit[972]:

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: reopen the bug as jpa/locking failed with netbeans with the same issue. I have checked java_ee_sdk-6-web-preview-b03b-unix.sh netbeans-trunk-nightly-200905141401-ml-solaris-sparc.sh

glassfishrobot commented 15 years ago

@glassfishrobot Commented tcfujii said: The cvs checkout was done with -P (prune empty directories).

glassfishrobot commented 15 years ago

@glassfishrobot Commented tcfujii said: The RE Hudson job was updated to remove the -P option when checking out glassfish-samples. Sreeni has confirmed that the build I just did does now check out the empty directory.

glassfishrobot commented 15 years ago

@glassfishrobot Commented msreddy said: Verified in the nightly build SDK6 B03C01 192009 and the web directory is present.

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: verified the fix on java_ee_sdk-6-b03c-05_19_2009-unix.sh. jpa samples works with netbeans. Thanks for the fix.

glassfishrobot commented 15 years ago

@glassfishrobot Commented Was assigned to msreddy

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-8215

glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by sherryshen

glassfishrobot commented 15 years ago

@glassfishrobot Commented Marked as fixed on Tuesday, May 19th 2009, 5:47:00 am