I just upgraded from JDK 1.4.1 to 1.4.1_01 and now when I try and compile my
JSP's in ant using hte jspc target I get the following:
>ant compile
Buildfile: build.xml

prepare:

compile.classes:

compile.jsp:
     [jspc] Compiling 1 source
file\\mn65-fs1\home\jschewe\projects\ptm\code\tmp
     [jspc] deleting empty output file
\\mn65-fs1\home\jschewe\projects\ptm\code\tmp\TreeView.java

BUILD FAILED
file://mn65-fs1/home/jschewe/projects/ptm/code/build.xml:261: Java returned: 9

Total time: 6 seconds

Here's my task:
<target name="compile.jsp" depends="compile.classes"
    description="Compile JSP sources">

    <mkdir    dir="${tmp.home}" />
    <jspc srcdir="${web.home}"
        destdir="${tmp.home}">
        <include name="*.jsp" />
        <classpath>
      <pathelement location="${build.home}/WEB-INF/classes" />
      <path refid="compile.classpath" />
    </classpath>
    </jspc>

    <javac srcdir="${tmp.home}"
              destdir="${tmp.home}"
               debug="${compile.debug}"
         deprecation="${compile.deprecation}"
            optimize="${compile.optimize}">
    <classpath>
      <pathelement location="${build.home}/WEB-INF/classes" />
      <path refid="compile.classpath" />
    </classpath>
    </javac>

</target>


Anyone hve any ideas?
-- 
Jon Schewe | http://mtu.net/~jpschewe | [EMAIL PROTECTED]
For I am convinced that neither death nor life, neither angels 
nor demons, neither the present nor the future, nor any 
powers, neither height nor depth, nor anything else in all 
creation, will be able to separate us from the love of God that 
is in Christ Jesus our Lord. - Romans 8:38-39


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to