Re: How to pass Java system properties to a task defined in a taskdef ?

2009-07-24 Thread Avlesh Singh
Awesome, I was waiting for an answer. Cheers Avlesh On Sat, Jul 25, 2009 at 10:23 AM, Jean-Noël Rivasseau wrote: > I finally found the answer to this; Ant properties set via -D are not the > same as Java properties set via -D when loading Java. When I set the Java > property and not the Ant prop

Re: How to pass Java system properties to a task defined in a taskdef ?

2009-07-24 Thread Jean-Noël Rivasseau
I finally found the answer to this; Ant properties set via -D are not the same as Java properties set via -D when loading Java. When I set the Java property and not the Ant property, it works. Thanks. On Fri, Jul 24, 2009 at 5:06 AM, Jean-Noël Rivasseau wrote: > Thanks for this answer. The probl

RE: Debug Howto?

2009-07-24 Thread Robbeloth, Michael C. CTR USAF AFMC AFRL/RBSD
Tennis, Refer to http://ant.apache.org/problems.html for some help. I find the debug and verbose switches to always be helpful. Michael C. Robbeloth Computer Scientist and Consultant Data Science Automation Inc. Risk-Free Automation Results for your Enterprise! Certified Experts in Automation

Debug Howto?

2009-07-24 Thread Tennis Smith
Hi, Is there some kind of debug command I can turn on to figure why this is happening?? [junitreport] the file /opt/cruisecontrol/projects/itinerator/results/ListTest.1254.xml is not a valid testsuite XML document -T

Re: help to find not replaced variables

2009-07-24 Thread Júlio Cesar Bueno Cotta
Thanks again! :D That "messsage" come from your code David. :D I had try to run the newst code ..and I just copy and paste your code and got this. BUILD FAILED bla bla bla loadresource doesn't support the nested "concat" element. :( help 2009/7/24 David Weintraub > A few things: > > - You ha

Re: Using ANT to validate a URL

2009-07-24 Thread David Weintraub
2009/7/24 Júlio Cesar Bueno Cotta > humm..that can help me .. > just to be sure.. > if the url is www.google.com it is ok..but if the url is > www.Do_Not_exist.com it is a valid url? Ran it with the following build.xml *project> http://google.com"/> http://does_not_exist.com"

Re: help to find not replaced variables

2009-07-24 Thread David Weintraub
A few things: - You have "messsage" instead of "message" in your fail statement. (Three "s" instead of just 2). - In the second to the last line, you have <\target> instead of . (This is what is causing the error message). Make sure you're using the fractional slash and not the back

Compile only if files have changed

2009-07-24 Thread ArvindSaraswat
I am sure this question has been answered several times. Allow me to explain the problem once more. I have two directories: a) latest-code: contains the latest code from VSS b) backup-code: before I get latest from VSS, I will backup the entore code here. The ANT script is like below: 1. delete

Re: Using ANT to validate a URL

2009-07-24 Thread Júlio Cesar Bueno Cotta
humm..that can help me .. just to be sure.. if the url is www.google.com it is ok..but if the url is www.Do_Not_exist.com it is a valid url? Thanks. 2009/7/24 Shawn Beard > Yes thats all I need to do is make sure it is valid. Thank you. > > > Shawn > > > > > > F

Re: help to find not replaced variables

2009-07-24 Thread Júlio Cesar Bueno Cotta
I am sorry, if I spent too much time to give a answer here..but I was busy with other things.. well.. Thanks a lot David. You gave me the answer, and a good explanation about this. But..I still need some help with this.. I had try to do a test with this -

Re: Overriding previous definition of reference to ...

2009-07-24 Thread Nestor Dutko
Thanks Stefan, I will try and come up with a small reproducible test case. -- Nestor On Jul 24, 2009, at 10:11 AM, Stefan Bodewig wrote: On 2009-07-23, Nestor Dutko wrote: This is the explicit extract of the declarations - as you can see

Re: Using ANT to validate a URL

2009-07-24 Thread Shawn Beard
Yes thats all I need to do is make sure it is valid. Thank you. Shawn From: David Weintraub To: Ant Users List Sent: Friday, July 24, 2009 10:00:29 AM Subject: Re: Using ANT to validate a URL On Fri, Jul 24, 2009 at 10:47 AM, Shawn Beard wrote: > We use

Re: Using ANT to validate a URL

2009-07-24 Thread David Weintraub
On Fri, Jul 24, 2009 at 10:47 AM, Shawn Beard wrote: > We use ANT to deploy applications. Is there a way to have ANT validate the > deployment by going to its URL and "Deployment is Valid" from the webpage? > Thank you. > You just want to make sure that the URL is valid? That will set

Re: Warnings for javac on console

2009-07-24 Thread David Weintraub
On Fri, Jul 24, 2009 at 9:14 AM, Kamal Chandana Mettananda wrote: > Hi, > > There are options to enable it. > > Use verbose=true and debug="on" attributes to see outputs. > > For example; > > debug="on"> > > > > One of the things I do is setup my task to always set these via properties:

Using ANT to validate a URL

2009-07-24 Thread Shawn Beard
We use ANT to deploy applications. Is there a way to have ANT validate the deployment by going to its URL and "Deployment is Valid" from the webpage? Thank you. Shawn

Re: Overriding previous definition of reference to ...

2009-07-24 Thread Stefan Bodewig
On 2009-07-23, Nestor Dutko wrote: > This is the explicit extract of the declarations - as you can see > > > > > > > > > > > > > > > > > These

Re: Warnings for javac on console

2009-07-24 Thread Kamal Chandana Mettananda
Hi, There are options to enable it. Use verbose=true and debug="on" attributes to see outputs. For example; HTH. Kamal Mettananda http://lkamal.blogspot.com On Fri, Jul 24, 2009 at 6:09 PM, Knuplesch, Juergen < juergen.knuple...@icongmbh.de> wrote: > Hello, > > I want to see warn

Warnings for javac on console

2009-07-24 Thread Knuplesch, Juergen
Hello, I want to see warnings of javac on the console to collect them in Hudson. But there are no warnings shown on the console, but Eclipse shows a lot of warnings. How can I make them visible? Greetings Juergen -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbH

Re: Programmatically invoking Ant libraries to sign jar files - Example

2009-07-24 Thread Stefan Bodewig
On 2009-07-23, Daniele Development-ML wrote: > There were contrasted opinion on whether Ant libraries could be > invoked directly and I was invited to post an example when (and if) > I was successful in this. > With a considerable delay (apologies for this): > Please find below the code - hopef