Re: ANT can not invoke a test script when called via parent directory build.xml file.

2006-06-19 Thread John Davis
We actually found the solution to be "resolveexutable=true" But, thanks anyway. On 6/19/06, Peter Reilly <[EMAIL PROTECTED]> wrote: Try or Peter On 6/19/06, John Davis <[EMAIL PROTECTED]> wrote: > > Hello > > This seems to be a simple setup, but I don't know why it does not work. > > My di

Putting -verbose option 'on' and 'off' during ANT build

2006-06-19 Thread madhuvanti joshi
Hi, I am running an ANT script with -verbose option. It gives me additional information in log file. I need to put it 'OFF' while the script is running and then again make it 'ON' as I want to make sure certain information is not logged. Is there any way to do this in ANT scripting? Like, in batc

RE: Ant tasks to encrypt or decrypt passwords from propertyfiles

2006-06-19 Thread Rebhan, Gilbert
But remember, if someone runs ant in -debug mode, he will see your password in stdout or logifle !! Regards, Gilbert -Original Message- From: Venkatesh Vijayakumar04 [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 5:00 AM To: Ant Users List Subject: RE: Ant tasks to encrypt or

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread danch
And if you can keep the keystore secret and protected, couldn't you keep the password secret and protected? Dominique Devienne wrote: OK, I see your point, although the key store has to remain 'secret' somehow, using file-system dependent permissions I guess, otherwise it's exposed as well. --D

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread danch
The classic response to the classic topic: if you can protect the decryption key adequately, why not simply protect the password adequately? Using encryption to enhance data security isn't a simple matter of "turning it on" - you have to consider these sorts of issues or all you'll be doing is

RE: Ant tasks to encrypt or decrypt passwords from propertyfiles

2006-06-19 Thread Venkatesh Vijayakumar04
Hi, Try the following Write a separate encryption java program Write a separate decryption java program in such a way that when the program is executed, it will refer the encrypted password stored in the property file and gives the clear text password which is the output will be stored in a sep

RE: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Anderson, Rob (Global Trade)
In many cases your best option is probably to prompt the user for the password using the input task. This solves the problem of storing the password in plain text in a file, but it requires that the user interact with the ant build. Another option is to pass in the password on the command line: an

Re: Token Filters Questions

2006-06-19 Thread Aaron Davies
I've decided to go with option three: commit empty filter files to svn. The problem with option two is that we want to run our files past multiple filters, each of which may or may not exist, and doing this with if statements is extremely difficult. The problem with option one is that I'm lazy. ;-

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Antoine Levy-Lambert
Hello Alexey, thanks, this is interesting. I will try it. I was also thinking about another solution, which would be to encrypt/decrypt using GnuPG, and have GnuPG-agent supply the passphrase. This would be used on a server where AnthillPro is running. I wonder whether this supplying of passph

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Dominique Devienne
OK, I see your point, although the key store has to remain 'secret' somehow, using file-system dependent permissions I guess, otherwise it's exposed as well. --DD On 6/19/06, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: This can be done by requiring a key store in user home. Only people that

Re: How to add mutable content to immutable build file

2006-06-19 Thread Robert r. Sanders
So what you really want to do is "include" a 2nd file into the main ANT build? Look at the "Import" task from the Ant manual. You could even use the first bit of your build to validate/create a "proper" snippet from somewhere else and then import it so your users can have a simplier syntax.

RE: Methods inside Java ant task

2006-06-19 Thread Asaf Mesika
How about passing a param to the task you're writing, to choose the procedure you'd like to run and then run it via RMI? > -Original Message- > From: 1800 tbsfunny [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 6:54 PM > To: user@ant.apache.org > Subject: Methods inside Java an

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Alexey N. Solofnenko
This can be done by requiring a key store in user home. Only people that have some special certificates, can encrypt/decrypt date (SSH style security). The decryption can be easily done with . This is a corresponding Java code: SecretKeySpec skeySpec=new SecretKeySpec(readAll("key"), "A

RE: Using with more than one parameter/value pair

2006-06-19 Thread Asaf Mesika
What version of Ant are you using? > -Original Message- > From: Liz Burke-Scovill [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 15, 2006 7:09 PM > To: user@ant.apache.org > Subject: Using with more than one parameter/value pair > > I've been looking for documentation, but couldn't fi

RE: Token Filters Questions

2006-06-19 Thread Asaf Mesika
The way I see it, there's two solutions: 1. Take the source for FiltersFile, and change the exception section, which doesn't fit you. 2. Check if the file exists, prior to it (using the tags in the expansion pack, ant-contrib, I think) and then activate FiltersFile. Asaf > -Original Message

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Dominique Devienne
we would be interested in encrypting. But then it's a chicken-and-egg problem, no? Where are you going to store the passwords to decrypt the passwords read from properties files? --DD - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Jeffrey E Care
Nope, sorry; for our internal stuff we provide for encodings (just to obscure the clear text) but not encryption. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Developm

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Antoine Levy-Lambert
Hello Jeffrey, we would be interested in encrypting. do you have any suggestions ? Regards, Antoine Original-Nachricht Datum: Mon, 19 Jun 2006 13:48:29 -0400 Von: Jeffrey E Care <[EMAIL PROTECTED]> An: Ant Users List Betreff: Re: Ant tasks to encrypt or decrypt passwords from

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Jeffrey E Care
Encrypt or encode? If you just need them to not be in clear-text you could always use a simple encoding: rot13, base64, etc.; depends on how strong your requirements are. JEC Jeffrey E. (Jeff) Care

Re: Maven vs. Ant?

2006-06-19 Thread Dominique Devienne
Very very interesting Steve. The ability for a project developer to explore (privately) the ramification of changes in its project on all the project's consumers would be very useful indeed. OTOH, I don't believe in the "export library sources" for the purpose of *building* the exported projects

Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Antoine Levy-Lambert
Hi, I am looking for ant tasks which can be used to encrypt or to decrypt passwords stored in property files. The reason is that I am going to develop an ant script which will start an Oracle SQL*Plus batch or a stored procedure, and the DBA does not want that we hard code the password in clea

RE: Maven vs. Ant?

2006-06-19 Thread Stephen McConnell \(DPML\)
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Friday, 16 June 2006 7:17 PM > To: Ant Users List > Subject: Re: Maven vs. Ant? > > Stephen McConnell (DPML) wrote: > > > > > >> -Original Message- > >> From: Antoine Levy-Lambert [mailto:[EMAIL PR

Re: How to add mutable content to immutable build file

2006-06-19 Thread Scot P. Floess
Have you considered ? Look at the example You will see a child... I think this is what you are wanting to do... Vitaliy S wrote: Hello Ben, I want to let users to change content of task in my ant file but don't want to let them change the file it self. e.g.

Re: ANT can not invoke a test script when called via parent directory build.xml file.

2006-06-19 Thread Peter Reilly
Try or Peter On 6/19/06, John Davis <[EMAIL PROTECTED]> wrote: Hello This seems to be a simple setup, but I don't know why it does not work. My directory layout looks like this: src/build.xml <== Top level build file. src/psound/build.xml <== Sub pr

Re: Token Filters Questions

2006-06-19 Thread Aaron Davies
If the filter is done with a property file and the property file doesn't exist, an exception is thrown. Is there a way to do more graceful degradation? On 6/18/06, Asaf Mesika <[EMAIL PROTECTED]> wrote: I'm not sure I understood your question: How can a filter not exist? Can you give an example

ANT can not invoke a test script when called via parent directory build.xml file.

2006-06-19 Thread John Davis
Hello This seems to be a simple setup, but I don't know why it does not work. My directory layout looks like this: src/build.xml <== Top level build file. src/psound/build.xml <== Sub project build file. src/psound/playsoundtest.ex <== sub project test s

AW: Command line parameter

2006-06-19 Thread Jan.Materne
>Easy...I use this trick to run/not run my unit tests: > >command line to run my unit tests: > >ant -Dunit.test=true build.all But dont wonder with-Dunit.test=false Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For