RE: Problems with task uptodate

2005-03-03 Thread Dominique Devienne
> -Original Message- > > It's your mapper the pb I bet. I'm not sure of what you want to achieve > > exactly, I'd have to know where the files are to be sure, but try > > > > from="*.xml" to="../../foo/*.java". > > > > well that did something. now the property is never set. > Hmm perhaps

RE: Problems with task uptodate

2005-03-03 Thread dbrosius
Quoting Dominique Devienne <[EMAIL PROTECTED]>: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > I must say i'm puzzled as to the > > format of the uptodate task. > > It doesn't make sense, to my little brain. > > It took me a while to figure it out too. > Actually, I use Ant-Contrib's

RE: Problems with task uptodate

2005-03-03 Thread Dominique Devienne
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I must say i'm puzzled as to the > format of the uptodate task. > It doesn't make sense, to my little brain. It took me a while to figure it out too. Actually, I use Ant-Contrib's instead ;-) > to="../../foo/*.java"/> It

Re: Problems with task uptodate

2005-03-03 Thread dbrosius
Quoting Jeffrey E Care <[EMAIL PROTECTED]>: > I don't see you setting @from; that is probably the problem. > OK, i added the from, and that fixed my NPE. But now the property seems to be always set to true, even when it shouldn't. I must say i'm puzzled as to the format of the uptodate task. It

RE: Problems with task uptodate

2005-03-03 Thread dbrosius
Quoting Dominique Devienne <[EMAIL PROTECTED]>: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > > > > > but looking at setFrom, it seems the only possible NPE would be if the > > parameter (from) was null. > > Well, I don't see a 'from' attribute in your mapper above ;-) --DD Oh,

Re: Problems with task uptodate

2005-03-03 Thread Jeffrey E Care
;Ant Users List" To user@ant.apache.org cc Subject Problems with task uptodate I am using 1.6.2 on windows xp w/1.4.2_06 I generate java files from xml files, and only want to do this if the xml files have changed. Task udtodate seemed what i wanted. The base xml and java files na

RE: Problems with task uptodate

2005-03-03 Thread Dominique Devienne
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > but looking at setFrom, it seems the only possible NPE would be if the > parameter (from) was null. Well, I don't see a 'from' attribute in your mapper above ;-) --DD

Problems with task uptodate

2005-03-03 Thread dbrosius
I am using 1.6.2 on windows xp w/1.4.2_06 I generate java files from xml files, and only want to do this if the xml files have changed. Task udtodate seemed what i wanted. The base xml and java files names match, so i tried I

Re: Problems with task.

2004-02-05 Thread Peter Reilly
This has been fixed (bug 25605) in ant 1.6.0. Peter Tony Brusseau wrote: I'm trying to use the task for the first time and the output of the file is a single like with a very bogus duration that looks like: int-start-recorder: duration 17932175 minutes 33 seconds The standard output while runni