Closed glassfishrobot closed 15 years ago
@glassfishrobot Commented easarina said: assigned this bug to Ken Saks.
@glassfishrobot Commented easarina said: The same problem happened for all samples that are trying to start browser during ant run.
@glassfishrobot Commented easarina said: this is a common issue.
@glassfishrobot Commented msreddy said: Need to add browser instrcuctions (from build.properties) to UserREADME.html.
@glassfishrobot Commented @vkraemer said: https://glassfish-samples.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=1258 should have the diffs once it is available
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-8325
@glassfishrobot Commented Reported by easarina
@glassfishrobot Commented Marked as fixed on Tuesday, September 29th 2009, 7:32:47 am
Build: SDK b03b (promoted build47b). Was used Solaris 10 Sparc machine.
Was used ejb31-war sample.
I've executed ant all and got at the end of the execution:
====================================================
eploy-url-message: [echo] Application Deployed at: http://localhost:8080/ejb-ejb31-war
getBrowser:
launch: [loadfile] /opt/glassfishv3/glassfish/samples/javaee6/ejb/nbproject/private/private.properties doesn't exist
if-can-launch: [echo] Launching ejb-ejb31-war.
BUILD FAILED /opt/glassfishv3/glassfish/samples/javaee6/ejb/ejb31-war/build.xml:12: The following error occurred while executing this line: /opt/glassfishv3/glassfish/samples/bp-project/command-line-ant-tasks.xml:114: The following error occurred while executing this line: /opt/glassfishv3/glassfish/samples/bp-project/command-line-ant-tasks.xml:142: Execute failed: java.io.IOException: Cannot run program "$
{browser}": error=2, No such file or directory
Total time: 3 seconds
=======================================================
So browser was not found, for this reason BUILD FAILED.
I've checked command-line-ant-tasks.xml, and found there:
=================================================================