I'm currently trying to compile Team Elements for Glassfish. This was possible on old versions, but the current is too TOMCAT dependant.
Library dependencies is not a problem, but correctly setting up the environment vars is giving me too much work.
Feedback (Suggestions, comments, etc.)
Less TOMCAT dependant
You need to be logged in to post messages
Less TOMCAT dependant
7/3/2007 8:56 PM EDTOK, solved this, but it requires editing the build.xml (not so clean solution).
Find line with:
<property name="j2ee.lib.dir" value="$$common$lib" />
And replace with:
<property name="j2ee.lib.dir" value="$$lib" />
Use a home.properties file like suggested in the example. Mine reads like:
CATALINA_HOME=/opt/SUNWappserver
ITEAM_HOME=/opt/teamelements
As i can understand, the ITEAM_HOME var is only used for "direct" deployment, so you can point it anywhere you like.
To accommodate other servlet containers, in the latest source, build.xml has been updated to use a WEBSERVER.TYPE preference. In turn, a variable in home.properties needs to be set so that the servlet container directory can be found.
There, the servletJar and other j2ee jars are added to the classpath. So far the following types exist, but have not been tested:
- WEBSERVER.TYPE=catalina
- WEBSERVER.TYPE=geronimo
- WEBSERVER.TYPE=jboss
- WEBSERVER.TYPE=weblogic
- WEBSERVER.TYPE=websphere
- WEBSERVER.TYPE=glassfish
For glassfish, where are the jars located relative to the glassfish root directory? Specifically any servlet, jsp, or j2ee jars.
As for ITEAM_HOME, you are correct, it is used as a target build directory and can be any directory or a developer webapp directory.
Matt Rajkowski wrote:
[...]
For glassfish, where are the jars located relative to the glassfish root directory? Specifically any servlet, jsp, or j2ee jars.
[...]
Hi Matt:
The glassfish jars needed are all in the lib folder. In my case in /opt/SUNWappserver/lib . The appserv-rt.jar and javaee.jar files seem to be the "most important".