Voila! That worked.
Guess I'll file a bug with the Ant team and see what happens.
Thank you all for the ideas.
So, once you have a Target, do you have to call dependent targets
manually? The Ant code doesn't recurse dependencies automatically? I
mean, that's the behavior I'm seeing but I want to c
Could you post your Diagnostic.java code?
I think your best bet to solving the issue is to dig
under the hood of its code and see what makes it tick and experiment.
Or, certainly simpler, write a custom Ant task that gets the
information from Diagnostic and sets and Ant property. It'd only be
After digging a bit into the code, I've finally got this all figured out.
When creating the project, I needed to add...
p.addReference("ant.projectHelper", ph);
To call a target with all the dependencies
p.executeTarget(targetName);
Thx again for all your help
I hope to be able to make this proj
Hi,
ant-contrib question, I think.
I would like to use the "expends" feature for ; My build file looks
like this:
...
...
The "generictarget" is sup
Yes, my constants are "public static final". The problem, I found, is that the
definition of VERSION is a method evaluation, not a compile-time constant, as you had
tried. So that answers that question.
The remaining issue is back on the file that I really want to use,
Diagnostic.class. Changing
I actually need to use a separate task from my task (because of the
mapping I do in the elements below). So going with the suggested
fileset/pathconvert idea, I created three s...
Matt Benson wrote:
propertyregex is an ant-contrib question, really, and
Is there another list more appropriate for ant-contrib?
you seem to be trying to use nested elements where
propertyregex doesn't appear to want any, but you
basically want to match "^(.*)Bean$" and replace with
"\1".
Ye
propertyregex is an ant-contrib question, really, and
you seem to be trying to use nested elements where
propertyregex doesn't appear to want any, but you
basically want to match "^(.*)Bean$" and replace with
"\1".
HTH,
Matt
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
> Hi;
> To a regex newbie can
Hi;
To a regex newbie can someone please supply the pattern to strip off the
word "Bean" from the string.
In the following, assuming that property 'beanName' contains a string
'AnyBean',
the new 'beanPrefix' property should be 'Any'. (By convention, the
substring 'Bean' is always at the end of
oops, got it now - use a listener..
ant -listener org.apache.tools.ant.XmlLogger
-DXmlLogger.file=foobarbaz.xml
thanks,
Andrew
> -Original Message-
> From: Andrew Ferguson [mailto:[EMAIL PROTECTED]
> Sent: 24 January 2005 17:25
> To: user@ant.apache.org
> Subject: how to have both xml
> -Original Message-
> From: michael sorens [mailto:[EMAIL PROTECTED]
>
> Yes, I looked in the manual. For those of us not intimately familiar
with
> every detail of ant,
> finding things in the manual is quite a challenge. So I typically
start
> with a plain file search.
> And my file sea
hi,
is there a simple way to have an xml log file generated, and the normal
stdout logging?
I've checked through the manual and examples but there doesn't appear to
be a way - if there isn't would it be reasonable to submit a RFE?
thanks,
Andrew
--
hi everyone..
i am new to Ant, JUnit and JUnitPerf..
can somone point me to a tutorial on generating an output report for JUnit
and corresponding JUnitPerf tests through Ant?
what i am looking for is basic stuff, how long the JUnitPerf test took and
whether it was successful or not.
thx for any
Thank Jan :-)
The latest Eclipse release has no optional.jar
Eclipse 3.0.1 ships with Ant 1.6.2
Eclipse does not modify the Ant distribution...simple rebundles it and provides it within the org.apache.ant plugin.
Darins
[EMAIL PROTECTED]
[EMAIL PROTECTED]
01/23/2005 11:15 PM
Please re
On Jan 24, 2005, at 11:05 AM, michael sorens wrote:
(1) Well I tried adding bcel.jar to my ant/lib directory but it made
no difference.
What did make a difference was my choice of .class file to load.
Instead of my Diagnostic.class
I tried a simpler Version.class and then I received no error, eve
--- michael sorens <[EMAIL PROTECTED]> wrote:
> Yes, I looked in the manual. For those of us not
> intimately familiar with every detail of ant,
> finding things in the manual is quite a challenge.
For any new user of Ant, I would heartily recommend
viewing the HTML manual, frames and all, and fr
What do you think a mailing list is for?
Regards,
Matt
--- The Blindfolded Pianist
<[EMAIL PROTECTED]> wrote:
> Hey,
>
> Why are you sending mass emails about this problem
> to everybody? It's flooding my email inbox.
>
> -T.B.P.
>
> michael sorens <[EMAIL PROTECTED]> wrote:
> Yes, I looke
Hey,
Why are you sending mass emails about this problem to everybody? It's flooding
my email inbox.
-T.B.P.
michael sorens <[EMAIL PROTECTED]> wrote:
Yes, I looked in the manual. For those of us not intimately familiar with every
detail of ant,
finding things in the manual is quite a challe
Yes, I looked in the manual. For those of us not intimately familiar with every
detail of ant,
finding things in the manual is quite a challenge. So I typically start with a
plain file search.
And my file search turned out only the single reference I mentioned, because I searched for
"" not for
(1) Well I tried adding bcel.jar to my ant/lib directory but it made no
difference.
What did make a difference was my choice of .class file to load. Instead of my
Diagnostic.class
I tried a simpler Version.class and then I received no error, even *without*
bcel.jar. So this seems like a data-dep
> From: michael sorens [mailto:[EMAIL PROTECTED]
>
> The only reference I find to "" is in "requested-features.txt"
-- I
> assume that means it has not yet been implemented (or released) ...?
Well, has been a core ant task for a long time.
Have you looked into the manual? ;-)
> In any case, her
The only reference I find to "" is in "requested-features.txt" -- I
assume that means it has not yet been implemented (or released) ...?
In any case, here's my example:
> From: michael sorens [mailto:[EMAIL PROTECTED]
>
> I want to run a java task with a specific list of file names as
command-
> line arguments (typically for each file), but I also
> want to run a check with a fileset that is precisely the
same
> list of files. How can this be done without havin
Have you tried using the deprecated method "ph.configureProject(p, new
File("build-test.xml"));" instead of "ph.parse(p, new
File("build-test.xml"));"
Best Regards,
Praful Aggarwal
[EMAIL PROTECTED]
Ph : +353-1-6659256
"There are only 10 types of people in the world. Those that understand
Hi all,
Is it possible to perform operations on two databases simultaneously
by means of Ant?
I would like to schedule nightly denormalization of one database and
put it denormalized form into the second database. I would like to use
cruisecontrol that triggers ant task at certain moments. Is it
25 matches
Mail list logo