ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dovik Nissim <dov...@mercury.co.il>
Subject i really need your help with the jspc task <ant 1.5.1>
Date Mon, 03 Mar 2003 20:45:33 GMT
Greetings 
i'm sorry if i'm bothering you but i really need your help 
 
I'm trying to compile my project's jsps using the ant 1.5.1 
My build.xml: 
 
<target name="jsp-to-java" depends="init" description="Compiles JSP files to
Java files">
      <mkdir dir="${build.dir}/jsp_java"/>
      <jspc srcdir="${webapps.root}"
            destdir="${build.dir}/jsp_java"
            package="com.mercury.admincenter.jsp"
            verbose="9">
        <include name="**/*.jsp" />
        <classpath refid="jsp.class.path"/>
      </jspc>
  </target>
 
where: 
<property name="build.dir" value="bin"/>
<property name="webapps.root" value="webapps"/> 
 
the result is a total failure: <see below> , can you tell me where is my
problem , 
my e-mail in case you need more information and for any response :
 
dovikn@mercury.co.il <mailto:dovikn@mercury.co.il> 
 
any kind of help will be most appreciated 
 
thanks 
 
Dovik
 
 
jsp-to-java:
    [mkdir] Created dir:
/m/tp16AdminCenter/solv4/515/projects/AdminCenter/bin/jsp_java
     [jspc] Compiling 125 source
files/m/tp16AdminCenter/solv4/515/projects/AdminCenter/bin/jsp_java/com/merc
ury/admincenter/jsp
  [jasperc] 2003-03-03 05:16:56 - Internal Error: File /WEB-INF/web.xml not
found
  [jasperc] 2003-03-03 05:16:56 - Class name is: frames
  [jasperc] 2003-03-03 05:16:56 - Java file name is:
/m/tp16AdminCenter/solv4/515/projects/AdminCenter/bin/jsp_java/com/mercury/a
dmincenter/jsp/m/tp16AdminCenter/solv4/_0003515/projects/AdminCenter/webapps
/taken_0002dfrom_0002dsite/frames.java
  [jasperc] 2003-03-03 05:16:57 - 
  [jasperc] Handling Directive: page
org.xml.sax.helpers.AttributesImpl@3ee284
  [jasperc] 2003-03-03 05:16:57 - Accepted
org.apache.jasper.compiler.Parser$Directive at
/m/tp16AdminCenter/solv4/515/projects/AdminCenter/webapps/taken-from-site/fr
ames.jsp(0,0)
  [jasperc] 2003-03-03 05:16:57 - Accepted
org.apache.jasper.compiler.Parser$Scriptlet at
/m/tp16AdminCenter/solv4/515/projects/AdminCenter/webapps/taken-from-site/fr
ames.jsp(2,0)
  [jasperc] 2003-03-03 05:16:57 - Accepted
org.apache.jasper.compiler.Parser$Scriptlet at
/m/tp16AdminCenter/solv4/515/projects/AdminCenter/webapps/taken-from-site/fr
ames.jsp(6,0)
  [jasperc] 2003-03-03 05:16:58 - Accepted
org.apache.jasper.compiler.Parser$Scriptlet at
/m/tp16AdminCenter/solv4/515/projects/AdminCenter/webapps/taken-from-site/fr
ames.jsp(24,1)
  [jasperc] 2003-03-03 05:16:58 - Accepted


Mime
View raw message