Closed glassfishrobot closed 15 years ago
@glassfishrobot Commented sb110099 said: Found the solution for the compilation error. Needed to update app-server.properties file for javaee.home .
This information is not available in DeveloperREADME.html . That talks about only updating build.properties and NOT app-server.properties.
Thanks, Sudipa
@glassfishrobot Commented msreddy said: You are not supposed to update app-server.properties which is error prone. The instructions are clearly specificed in the doc. at glassfish-samples/ws/bp-project/docs/DeveloperREADME.html
@glassfishrobot Commented sb110099 said: Hi Sreeni,
I am re-opening this bug as discussed with SQE team. There is a consensus that the default javaee.home should not be "C:\Sun\AppServer" as the current default in installer for V3 is "C:\glassfishv3\glassfish". At least this change will help to resolve issues in default scenarios without any compilation error.
Upgrading the bug to P1 as this is expected to be fixed before JavaOne Release.
Thanks, Sudipa
@glassfishrobot Commented msreddy said: Fixed, will be available in next build.
punit[881]: cvs commit -m "fix for issue# 8093" app-server.properties build.properties.sample Checking in app-server.properties; /cvs/glassfish-samples/ws/bp-project/app-server.properties,v <-- app-server.properties new revision: 1.12; previous revision: 1.11 done Checking in build.properties.sample; /cvs/glassfish-samples/ws/bp-project/build.properties.sample,v <-- build.properties.sample new revision: 1.6; previous revision: 1.5 done punit[882]:
@glassfishrobot Commented sherryshen said:
@glassfishrobot Commented sherryshen said: As discussed with Davis, installer should configure sample property file with GFv3 install location so that the error issue 8110 can be avoid. E:\SDK-glassfishv3\samples\javaee6\webservices\hello-jaxws2.2\build.xml:48: c:\Sun\AppServer\modules not found. BUILD FAILED (total time: 0 seconds)
@glassfishrobot Commented Was assigned to msreddy
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-8093
@glassfishrobot Commented Reported by sb110099
@glassfishrobot Commented Marked as fixed on Wednesday, May 13th 2009, 5:58:40 am
SDK build installed : http://javaweb.sfbay/java/re/glassfish/v3/promoted/preview/b47/archive/bundles/latest-sdk-unix.sh
Samples under /export/home/sdk/glassfish/samples/javaee6/web/servlet/: annotation-war async-request-war dynamicregistration-war
Could not compile any of the samples .
This is what I am experiencing :
all:
default-ear:
-pre-compile:
bpp-actual-compilation: [echo] Compiling annotation_war [javac] Compiling 3 source files to /export/home/sdk/glassfish/samples/javaee6/web/servlet/annotation-war/build/classes
BUILD FAILED /export/home/sdk/glassfish/samples/javaee6/web/servlet/annotation-war/build.xml:12: The following error occurred while executing this line: /export/home/sdk/glassfish/samples/bp-project/command-line-ant-tasks.xml:81: /export/home/sdk/glassfish/samples/javaee6/web/servlet/annotation-war/c:/Sun/AppServer not found.
This is true for all 3 samples . Build fails as a "c:/sun/Appserver" getting added at the end .
Thanks, Sudipa
Environment
Operating System: SunOS Platform: Sun
Affected Versions
[V3]