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.

Bug 199455 - glassfish path hardcoded
Summary: glassfish path hardcoded
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 7.0
Hardware: PC Other
: P3 normal with 1 vote (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 10:39 UTC by ymajoros
Modified: 2016-07-07 08:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ymajoros 2011-06-16 10:39:10 UTC
For some projects, Netbeans hardcodes glassfish server path after editing project properties (from ui).

I can find this in project.properties:

j2ee.platform.classpath=${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/javax.enterprise.deploy.jar:${j2ee.server.home}/modules/jsf-api.jar:${j2ee.server.home}/modules/javax.transaction.jar:${j2ee.server.home}/modules/jaxrpc-api-osgi.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/javax.jms.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/endorsed/javax.annotation.jar:${j2ee.server.home}/modules/endorsed/jaxb-api-osgi.jar:${j2ee.server.home}/modules/javax.resource.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/javax.ejb.jar:${j2ee.server.home}/modules/jsf-impl.jar:${j2ee.server.home}/modules/jersey-core.jar:${j2ee.server.home}/modules/javax.servlet.jar:${j2ee.server.home}/modules/javax.security.jacc.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.home}/modules/jstl-impl.jar:${j2ee.server.home}/modules/javax.management.j2ee.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/javax.security.auth.message.jar
j2ee.platform.embeddableejb.classpath=d:/glassfish3/glassfish/lib/embedded/glassfish-embedded-static-shell.jar
j2ee.platform.wscompile.classpath=d:/glassfish3/glassfish/modules/webservices-osgi.jar
j2ee.platform.wsgen.classpath=d:/glassfish3/glassfish/modules/webservices-osgi.jar:d:/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar:d:/glassfish3/glassfish/modules/jaxb-osgi.jar:d:/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar:d:/glassfish3/glassfish/modules/javax.ejb.jar
j2ee.platform.wsimport.classpath=d:/glassfish3/glassfish/modules/webservices-osgi.jar:d:/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar:d:/glassfish3/glassfish/modules/jaxb-osgi.jar:d:/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar:d:/glassfish3/glassfish/modules/javax.ejb.jar
j2ee.platform.wsit.classpath=

I'd exprect this:
j2ee.platform.classpath=${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/javax.enterprise.deploy.jar:${j2ee.server.home}/modules/jsf-api.jar:${j2ee.server.home}/modules/javax.transaction.jar:${j2ee.server.home}/modules/jaxrpc-api-osgi.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/javax.jms.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/endorsed/javax.annotation.jar:${j2ee.server.home}/modules/endorsed/jaxb-api-osgi.jar:${j2ee.server.home}/modules/javax.resource.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/javax.ejb.jar:${j2ee.server.home}/modules/jsf-impl.jar:${j2ee.server.home}/modules/jersey-core.jar:${j2ee.server.home}/modules/javax.servlet.jar:${j2ee.server.home}/modules/javax.security.jacc.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.home}/modules/jstl-impl.jar:${j2ee.server.home}/modules/javax.management.j2ee.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/javax.security.auth.message.jar
j2ee.platform.wscompile.classpath=${j2ee.server.home}\\lib\\endorsed\\webservices-api.jar:${j2ee.server.home}\\lib\\j2ee.jar:${j2ee.server.home}\\lib\\saaj-api.jar:${j2ee.server.home}\\lib\\saaj-impl.jar:${j2ee.server.home}\\lib\\jaxrpc-api.jar:${j2ee.server.home}\\lib\\jaxrpc-impl.jar:${j2ee.server.home}\\lib\\endorsed\\jaxp-api.jar:${j2ee.server.home}\\lib\\appserv-ws.jar:${j2ee.server.home}\\lib\\webservices-tools.jar:${j2ee.server.home}\\lib\\webservices-rt.jar
j2ee.platform.wsgen.classpath=${j2ee.server.home}\\lib\\webservices-tools.jar:${j2ee.server.home}\\lib\\webservices-rt.jar:${j2ee.server.home}\\lib\\tools.jar:${j2ee.server.home}\\lib\\appserv-jstl.jar:${j2ee.server.home}\\lib\\javaee.jar:${j2ee.server.home}\\lib\\appserv-ws.jar:${j2ee.server.home}\\lib\\mail.jar:${j2ee.server.home}\\lib\\activation.jar
j2ee.platform.wsimport.classpath=${j2ee.server.home}\\lib\\webservices-tools.jar:${j2ee.server.home}\\lib\\webservices-rt.jar:${j2ee.server.home}\\lib\\tools.jar:${j2ee.server.home}\\lib\\appserv-jstl.jar:${j2ee.server.home}\\lib\\javaee.jar:${j2ee.server.home}\\lib\\appserv-ws.jar:${j2ee.server.home}\\lib\\mail.jar:${j2ee.server.home}\\lib\\activation.jar
Comment 2 Martin Fousek 2011-06-21 06:35:49 UTC
Reassigning to the EJB Project.
Comment 3 David Konecny 2011-06-21 19:04:15 UTC
Thanks for reporting this. That looks like a mistake. All server specific properties should be handled the same way as j2ee.platform.classpath.
Comment 4 David Konecny 2011-07-13 00:03:42 UTC
I cannot reproduce it? Is it perhaps Windows specific? Can anybody reproduce it? Code wise this should just work.
Comment 5 ymajoros 2012-04-18 05:49:13 UTC
I guess it's windows specific, but it's still there in 7.1.1. Happens systematically for my EJB/JAR/WAR projects.
Comment 6 Martin Balin 2016-07-07 08:52:44 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss