ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18020] New: - jspc timestamp errors
Date Fri, 14 Mar 2003 23:04:23 GMT
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: dev@ant.apache.org
        ReportedBy: michael_grishin@getpaid.com


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>

Mime
View raw message