DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18020>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18020

jspc timestamp errors

           Summary: jspc timestamp errors
           Product: Ant
           Version: 1.5.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When compiling jsp file using jspc taskexperienced the folowing behaviour:
- if target file does not exist ant created it and/or reported jsp errors 
correctly;
- if target file exists ant with no respect to timestamps reported:

compile_jsp:
     [jspc] Compiling /d06/dev/src/jsp/test.jsp because java 
file /d06/dev/src/tmp/jsp/test.java does not exist
     [jspc] compiling 1 files
     [jspc] Compiling 1 source file/d06/dev/src/tmp/jsp
     [jspc] Using jasper compiler
     [jspc] Compilation Executing '-d' with arguments:
 ... ...

but target file had never been updated (even if suppose to be)

this is a task from my build.xml:

        <target name="compile_jsp" >
                <jspc   srcdir="${src.dir}"
                        destdir="../tmp/jsp"
                        compiler="jasper"
                        classpathref="project.class.path"
                        uriroot="."
                        failonerror="yes"
                        verbose="9">
                  <include name="*.jsp" />
                </jspc>
        </target>

Reply via email to