On 8/25/07, Manivannan Palanichamy <[EMAIL PROTECTED]> wrote: > I need to pass javac (compilation) arguments to tomcat. Just as JAVA_OPTS is > there for jvm arguments, is there any env var/ other ways to pass arguments > to javac of tomcat?
Hum, 'javac of tomcat' - Do you mean the JSP Compiler, or do you really mean javac, which is used when say, compiling Servlets? I am not aware of an environment variable ala JAVA_OPTS. However, if you are using Ant, you can add a <compilearg> as a nested element within the <javac> element. For example: <javac srcdir="${src.home}" destdir="${build.home}/WEB-INF/classes" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}"> <classpath refid="compile.classpath"/> <compilerarg value="-Xlint" /> </javac> If this isn't what you were looking for, please advise. -- brian --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]