ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhaval Chokshi" <dhavalchok...@elitecore.com>
Subject Error in JSPC task
Date Fri, 17 Oct 2003 08:48:38 GMT
hi all,

OS : WINDOWS 2000
ANT : apache-ant-1.5.3-1
JARS : jasper-compiler.jar
           jasper-runtime.jar

I am trying to check all of my JSPs for compilation errors before deploying the application.
But I am getting  error while using
the jspc task as below.

   <jspc 
                   srcdir="${web.dir}/myaccount/jsp"
                   destdir="${web.dir}/myaccount"
                   classpathref="compile.src.class.path"
                   compiler="jasper41">
                          <include name="**/*.jsp"/>
   </jspc>

   <jspc 
                   srcdir="${web.dir}/operationsmanager"
                   destdir="${web.dir}/operationsmanager"
                   classpathref="compile.src.class.path"
                   compiler="jasper41">
              <include name="**/*.jsp"/>
   </jspc>

First of these two tasks is doing well. While the second one fails. Giving error :

compile-jsp:
     [jspc] Compiling 50 source filesD:\Dhaval\Billing\Scheduler\source\web\myaccount
     [jspc] Compiling 751 source filesD:\Dhaval\Billing\Scheduler\source\web\operationsmanager

BUILD FAILED
file:D:/Dhaval/Billing/Scheduler/source/buildresults.xml:29: java.io.IOException: CreateProcess:
C:\j2sdk1.4.2\jre\bin\java.exe -classpath D:\Dhaval\Billing\Scheduler\lib\javax.servlet.jar;D:\Dhaval\Billing\Scheduler\web-lib\billing-client-entities.jar;D:\Dhaval\Billing\Scheduler\web-lib\csv-utils.jar;D:\Dhaval\Billing\Scheduler\web-lib\elite-taglib.jar;D:\Dhaval\Billing\Scheduler\web-lib\jboss-j2ee.jar;D:\Dhaval\Billing\Scheduler\web-lib\jbossall-client.jar;D:\Dhaval\Billing\Scheduler\web-lib\taglibs-input.jar;D:\apache-ant-1.5.3-1\lib\ant.jar;D:\apache
-ant-1.5.3-1\lib\jasper-compiler.jar;D:\apache-ant-1.5.3-1\lib\jasper-runtime.jar org.apache.jasper.JspC
-d D:\Dhaval\Billing\Scheduler\source\web\operationsmanager -v0 -die9 D:\Dhaval\Billing\Scheduler\source\web\operationsmanager\jsp\accessrights\CreateAccessGroup.jsp
D:\Dhaval\Billing\Scheduler\source\web\operationsmanager\jsp\accessrights\DynamicTree.jsp
D:\Dhaval\Billing\Scheduler\source\web\operationsmanager\jsp\accessrights\DynamicTreeForStaff.jsp
D:\Dhaval\Billing\Sch
eduler\source\web\operationsmanager\jsp\accessrights\ListAccessGro?

As I am using the same syntax for the both JSPC tasks to compile JSPs in two directories.
I have tried to find out differences between the two directory structure.

web/myaccount/jsp/ALL JSP FILES ARE HERE

web/operationsmanager/jsp/accessrights/JSPs
                                         /accounting/JSPs
                                         /JSP FILES ARE DISTRIBUTED IN VARIOUS DIRECTORIES
HERE

And so, I am not able to compile the jsps in the operationsmanager folder. Can Any one help
me to solve the problem?

Dhaval Chokshi
Jr. Software Engineer
Elitecore Technologies Ltd.
Contact No : 98257 85210
_________________________________________________________
Live as if you were to die tomorrow. Learn as if you were to live forever.
 
-- Mahatma Gandhi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message