ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yaman" <>
Subject RE: compiling jsp with ant
Date Sat, 03 Aug 2002 04:34:20 GMT

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"/>


      <!-- 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"/>

      <!-- 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"/>

      <!-- Include the application specific libraries -->

      <fileset dir="${SRC.HOME}/${APP.NAME}/WEB-INF/lib">
         <include name="*.jar"/>



-----Original Message-----
From: Eduardo B. Santilli - SICREDI Serviços
Sent: Friday, August 02, 2002 10:54 PM
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. CreateProcess

Some one knows what´s happen? This occurs in the last jsp file!


Eduardo Santilli

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message