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 39122] - uptodate treats an outdated target as up to date
Date Wed, 01 Aug 2007 09:00:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39122>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39122





------- Additional Comments From gman.spalding@gmail.com  2007-08-01 02:00 -------
Hi, I've got similar problems.
>From what I've gathered when finding a work-around,
the problem is maybe in the nested <srcfiles/> element.

Consider the following setup on the filesystem:

.
\-${jspsrc}
   \- index.jsp	(modified 2007-08-01 09:00)
   \- ... (other .jsp pages)
\-${jspdest}  (Inside exploded war, modified 2007-08-01 09:00)

The following build.xml-snippet does NOT set the jspc.uptodate prop:
	<uptodate property="jspc.uptodate" targetfile="${jspdest}">
		<srcfiles dir="${jspsrc}" includes="**/*.jsp"/>
	</uptodate>

The following build.xml-snippet DOES set the jspc.uptodate prop:
	<uptodate property="jspc.uptodate" targetfile="${jspdest}">
		<srcfiles dir="${jspsrc}">
			<include name="**/*.jsp"/>
		</srcfiles>
	</uptodate>

This behaviour IMHO is a bit unconsistent.
Platform details: 
- Apache Ant version 1.7.0 compiled on December 13 2006
- Windows XP
- Java 142_08


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message