Netbeans 6.9.1+updates
Maven 2.2.1 + env variables, recognized by netbeans
That's what I do:
1. Create new project Maven --> MavenEntApp
2. Right click
EJB project and add New Session Bean.
3. In this bean insert code -->Add business method and make it like this: public
String methodStr() {return "hello"; }
4. Build EJB project.
5. Add
JSF framework to WebApp project
6. "Build with dependencies" Assembly project
7. Run Assembly project and select Glassfish
8. Glassfish starts... and its console outputs
"INFO: com.mycompany_mproj1-ear_ear_1.0-SNAPSHOT was successfully deployed in 1 046 milliseconds."
9. console outputs "Completed initial distribution of mproj1-ear"
But there is no browser on startup
In Assembly project properties Glassfish is chosen and Display Browser on Run is selected. I can access my app by navigating to
http://localhost:8080/mproj1-web/
That's clean install of Netbeans. Many other projects and samples launch browser. This one doesn't. What did I do wrong?