Closed glassfishrobot closed 13 years ago
@glassfishrobot Commented emiddio@java.net said: also – sges-v3\glassfish\samples\javaee6\ejb\ejb-embedded\ejb-embedded- client\docs\index.html had to be fixed.
has references like href="../../../../../javaee5/docs/UserTroubleShooting.html">
instead of href="../../../../../javaee6/docs/UserTroubleShooting.html">
@glassfishrobot Commented mvatkina said: embedded in NB should use 'test' target
@glassfishrobot Commented emiddio@java.net said: i get either similar or same errors with test; both run, deploy targets - deploy to the gfv3 non-embeddeed server – and the deployment is without error.
i realize its not supposed to be deployed – except to the embedded gfv3 – but the test target also fails with the same compilation errors.
@glassfishrobot Commented emiddio@java.net said: ejb-embedded project – builds fine;
project->Test which runs SimpleEjbTest.java fails;
if i click SimpleEjbTest.java and choose Debug file – it runs the test and succeeds; i can also set breakpoints and step thru the code;
but run->file SimpleEjbTest.java or Test the project gets failures.
the ejb-embedded-client almost-sub-project contains TestClient.java, and a build.xml; build.xml fails – it expects ejb-embedded.jar to be in ejb-embedded/build – but its in ejb-embedded/dist – so i modified ejb-embedded-client/build.xml – to following – comment is orig code:
now i can build all the java files and run both test programs – but the Test must be run in debug mode or it fails.
@glassfishrobot Commented @vkraemer said: I cannot replicate this with a recent pull of NB and 3.0.1 b12...
Step by step instructions for reproduction would be useful. I might have done something different that what the filer did... so the instructions need to be at the level of node/menu item or menu/menu item to help prevent miscommunication.
@glassfishrobot Commented emiddio@java.net said: i just retested with today dev 201004090201 netbeans build, with the bundled glassfish-3.0.1-b12; i get exact same results as yesterday;
open ejb-embedded project clean and build
select right click project node, click Test; fails with log in attached file.
expand TestPackages; right click SimpleEjbTest.java; click Test file – get exact same failures;
expand TestPackages; right click SimpleEjbTest.java; click Debug Test file – works perfectly.
under files – expand ejb-embedded-client node; expand build.xml right click, select run get errors;
modify build.xml – change <pathelement path="$
{build.classes.dir}/../../../build/ejb-embedded.jar"/> to <pathelement path="${build.classes.dir}
/../../../dist/ejb-embedded.jar"/>
now run target "run" – works perfectly.
@glassfishrobot Commented emiddio@java.net said: Created an attachment (id=4300) log of failed Tests
@glassfishrobot Commented emiddio@java.net said: also- since i dont know how to get the latest samples/ or tutorial bundles for ee6 –
after installing todays glassfish – i used AdminConsole app to install another copy of both tutorial, and samples;
todays test was done with this codebase.
@glassfishrobot Commented emiddio@java.net said: in case interested – i have built/tested all the ee6 tutorial examples, and samples;
i have file reports for any and all examples/samples that did not work; and have filed fixes for those i could get to work;
they were filed – sometimes with netbeans, but most samples reports went to glassfish reports; tutorial reports went to the tutorial wep page reporting.
@glassfishrobot Commented @vkraemer said: I cannot replicate this on a mac.
I can replicate this on Windows Vista.
Still investigating.
@glassfishrobot Commented @vkraemer said: looking at this again.
@glassfishrobot Commented @vkraemer said: There were some issues that I resolved with http://hg.netbeans.org/web-main/rev/6658ee812f95 and http://java.net/projects/glassfish-samples/sources/svn/revision/791
@glassfishrobot Commented @vkraemer said: should be all done.
@glassfishrobot Commented File: ejbEmbeddedLog.txt Attached By: emiddio@java.net
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-11625
@glassfishrobot Commented Reported by emiddio@java.net
@glassfishrobot Commented Marked as fixed on Friday, December 17th 2010, 9:14:52 am
have not tried yet cmd line ant running; only netbeans 6.9dev build 201002240200
can clean; clean,build ejb-embedded project; deployment or run wants to build ejb-embedded-client; will not compile
errors below; not sure how to fix at this time
default-ear: bpp-actual-compilation: Compiling ejb-embedded-test G:\Sun\sges-v3\glassfish\samples\bp-project\command-line-ant-tasks.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds Compiling 1 source file to G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb- embedded\ejb-embedded-client\build\classes G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb-embedded\ejb-embedded- client\src\java\ejb\embedded\client\TestClient.java:38: cannot find symbol symbol : class SimpleEjb location: package ejb.embedded import ejb.embedded.SimpleEjb; G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb-embedded\ejb-embedded- client\src\java\ejb\embedded\client\TestClient.java:65: cannot find symbol symbol : class SimpleEjb location: class ejb.embedded.client.TestClient SimpleEjb ejb = (SimpleEjb) ic.lookup("java:global/sample/SimpleEjb"); G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb-embedded\ejb-embedded- client\src\java\ejb\embedded\client\TestClient.java:65: cannot find symbol symbol : class SimpleEjb location: class ejb.embedded.client.TestClient SimpleEjb ejb = (SimpleEjb) ic.lookup("java:global/sample/SimpleEjb"); 3 errors G:\Sun\sges-v3\glassfish\samples\bp-project\command-line-ant-tasks.xml:81: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 0 seconds)
Environment
Operating System: Windows Vista Platform: PC
Affected Versions
[V3]