What follows is my javac command line output and the properties I set in
maven.xml to make the appserver:install and appserver:start goals work.
Maybe I didn't set something up correctly?
Thanks for taking the time to look at this.
C:\aaron\zero_app\web2>javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs
are used
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified
release
-target <release> Generate class files for specific VM version
-help Print a synopsis of standard options
<property environment="env"/>
<property name="maven.appserver.host" value="localhost"/>
<property name="maven.appserver.conf.dir" value="${basedir}/localserver"/>
<property name="maven.appserver.dir" value="${basedir}/localserver/server"/>
<property name="maven.appserver.name" value="tomcat"/>
<property name="maven.appserver.version" value="4.1.x"/>
<property name="maven.j2ee.version" value="13"/>
<property name="maven.appserver.home" value="${env.CATALINA_HOME}"/>
<property name="maven.appserver.port.http" value="8080"/>
<!-- this is the line i have to add to make it work... -->
<property name="maven.appserver.classpath"
value="${env.JAVA_HOME}/lib/tools.jar"/>
-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 11:43 PM
To: 'Maven Users List'
Subject: RE: Adding tools.jar to the classpath?
> OK, I had the netbeans jdk installed, so I went ahead and
> uninstalled it (I didn't like netbeans - to slow) and
> installed the latest jdk from sun. I have JAVA_HOME set
> correct as evidenced by the fact that my regular Tomcat4.1
> installation works fine. However, the same issue has happened.
The netbeans cobundle includes a JDK, not a JRE. Should have been correct.
What is JAVA_HOME now set to? What do you get if you run "javac" at the
command line?
> I'm thinking this might be a bug in the way the appserver
> plugin invokes Tomcat. Was it ever tested on Windows 2000 server?
Works for me.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]