ant-contrib.sourceforge.net has some tasks to do this.
-Original Message-
From: "Guru Balse" <[EMAIL PROTECTED]>
Sent: Wed, June 7, 2006 2:17 pm
To: "Ant Users List"
Subject: Implementing a loop in ANT
I am sure this question has been asked before, and I could not see any
reasonable a
Puts back the old version of course. With infinite levels of undo, too.
:)
-Original Message-
From: "Matt Benson" <[EMAIL PROTECTED]>
Sent: Wednesday, November 16, 2005 2:50 pm
To: "Ant Users List"
Subject: Re: uncopy -- custom task supporting mapper
--- Brian Kuhn <[EMAIL PROTECTED]>
> Steve McIntosh <[EMAIL PROTECTED]> wrote:
> I am attempting to find a way to force the contents of the classpath
> passed to javac.
> To put that another way, I would like to remove the ability for a user on
> my network to pass any classpath to javac other than the one I (the
> administrator) s
Quoting Brent Bain <[EMAIL PROTECTED]>:
> Am I missing something obvious that will let me parse the basedir property
> if I always know that I'm looking for a specific word (repo) and return
> everything before that? Something that would look at my basedir:
> C:\repo\projects\source\ant
> and r
Quoting "Payette, Don J" <[EMAIL PROTECTED]>:
> What you typed looks like some xml file with a
> in it. Is that correct? What file is this? Where do
> I put it? All those questions, since I don't know what
> you're talking about. :-)
>
> Thanks.
>From the context you gave, I assumed you ar
Quoting "Payette, Don J" <[EMAIL PROTECTED]>:
> I have a situation where ant is forking java to run my class, and I need
> it to use
> the JVM that ant is running under, not do a fork. Through searching
> I've discovered
> junit.fork=false, but I'm having a hard time getting ant to "hear" me.
P
Quoting Matt Benson <[EMAIL PROTECTED]>:
> --- [EMAIL PROTECTED] wrote:
> [SNIP]
> > So i guess my question is how do i do what the javac
> > task does, namely give a
> > directory, for each item in the directory, see if
> > it's output file is up to
> > date, and if not build it.
>
> How do you
Quoting Radha Sangal <[EMAIL PROTECTED]>:
> Could someone help me build regular expression for a string like this
> 1,6,3,2.
>
>
>
> I am getting error if I write it like this String patternStr =
> "([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )";
>
>
wouldn't this work?
[0-9]+(,[0-9]){3}
But now i realize i've got another problem, in that i really need to do process
uptodate and build per file, like javac does. I see the tag that
ant-contrib provides, but must assume that there is a way to do this with the
regular ant tasks.
So i guess my question is how do i do what the javac ta
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
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
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,
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
13 matches
Mail list logo