This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
See EmbeddableEJBContainerHint.createGF3SystemScope (around line 210)
Thanks Petr, I'm aware of that. Unfortunately as much as I know we don't have any API for getting current version of Glassfish (or am I wrong Tomasi?). Would be good to create something for that, so we won't need to change these things manually with every GF update..
One more question. I can't see GF3.1.2 on maven repo (http://repo2.maven.org/maven2/org/glassfish/extras/glassfish-embedded-static-shell/). Is there another place (resp. URL) for that particular new version?
> we don't have any API for getting current version of Glassfish I am afraid not. I agree this would be good to have. > Is there another place (resp. URL) for that particular new version? I found https://maven.java.net/content/repositories/releases/org/glassfish/main/extras/glassfish-embedded-static-shell/3.1.2.2/
Ok, should be fixed now: web-main #8fbf64bd0f0a web-main #39433e7cc165 ..it's not doing much magic I'm only changing the GF url to a different pom ;) however I don't know how to setup the project so the hint will be available, so please verify the fix if you can.
I've created new issue 222386, so we will get a new API for getting latest GF version.
Integrated into 'main-golden', will be available in build *201211211016* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8fbf64bd0f0a User: Martin Janicek <mjanicek@netbeans.org> Log: #221667 - Unit testing setup hint does not support GF 3.1.2.x
> I don't know how to setup the project so the hint will be available See this tutorial: http://netbeans.org/kb/docs/javaee/maven-entapp-testing.html
(In reply to comment #7) > > I don't know how to setup the project so the hint will be available > > See this tutorial: http://netbeans.org/kb/docs/javaee/maven-entapp-testing.html Thanks. I tested it and it seems to be working correctly.