Hi,
I'm not sure what is the problem in your jsp file. But if u r looking to
compile jsp files then here is script..
<jspc srcdir = "${SRC.HOME}/${APP.NAME}/${JSP.HOME}"
destdir = "${SRC.HOME}/${APP.NAME}/jspservletsource"
verbose = "9">
<include name="**/*.jsp" />
<classpath refid="COMPILE.CLASSPATH"/>
</jspc>
<path id="COMPILE.CLASSPATH">
<!-- Include all elements that Tomcat exposes to applications -->
<!-- keep the below dir in classpath -->
<pathelement location="${CATALINA.HOME}/common/classes"/>
<!-- keep the below jar files in classpath -->
<fileset dir="${CATALINA.HOME}/common/lib">
<include name="*.jar"/>
</fileset>
<!-- keep the below dir in classpath -->
<pathelement location="${CATALINA.HOME}/classes"/>
<!-- keep the below jar files in classpath -->
<fileset dir="${CATALINA.HOME}/lib">
<include name="*.jar"/>
</fileset>
<!-- Include the application specific libraries -->
<fileset dir="${SRC.HOME}/${APP.NAME}/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
</path>
HTH
</rayaku>
-----Original Message-----
From: Eduardo B. Santilli - SICREDI Serviços
[mailto:santilli@sicredi.com.br]
Sent: Friday, August 02, 2002 10:54 PM
To: ant-user@jakarta.apache.org
Subject: compiling jsp with ant
I´m trying to compile jsp files with ant, using de jspc tag. In the end of
the compilation occurs the follow error:
[java] The ' characters around the executable and arguments are
[java] not part of the command.
java.io.IOException: CreateProcess
Some one knows what´s happen? This occurs in the last jsp file!
thanks...
Eduardo Santilli
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|