I am trying to execute ant programmatically from a servlet running in
weblgic server(6.1sp4).
Everything works fine but stops with the following error.

When I run from command line it works great.
I tried setting build.compiler property to modern and using defaults by
removing that statement also.

The JAVA_HOME env variable is correctly set.

The error is :

compile:
    [javac] Compiling 13 source files to C:\Projects\srcbuild
    [javac] Modern compiler not found - looking for classic compiler

BUILD FAILED
file:C:/scripts/build.xml:112: Cannot use classic compiler, a
s it is not available.  A common solution is to set the environment
variable JAV
A_HOME to your jdk directory.

what is the problem ?

-HP



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to