Re: Multiple invocations

2005-08-17 Thread Atsuhiko Yamanaka
Hi, +-From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> -- |_Date: Tue, 16 Aug 2005 10:47:25 -0700 _ | |There is a new issue that comes to light, once again. |See the output below... | |Buildfile: ssh_twice_build.xml | |linux: | [sshex

AW: Integration with Teamsite/Opendeploy

2005-08-17 Thread Jan.Materne
>Does anyone know whether it is possible for ANT to "checkout" >code from Teamsite (v6.x) via Opendeploy? If so, can you point >in the right direction regarding the necessary >design/configuration to be implemented Not build in. You could start the process with or , depends on the availability

AW: Can one effect the parent build process from subant?

2005-08-17 Thread Jan.Materne
AFAIK uses the same logic as - therefore there is no way ... directly. Your subbuild could write properties file which your master reads after invoking the sub. build.xml sub.xml Jan >-Ursprüngliche Nachricht- >Von: Anderson, Rob (Global Trade) [mailto:[E

AW: Ensure Build Failed if fileset contains no jars

2005-08-17 Thread Jan.Materne
Just set up the fileset ... Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 17. August 2005 16:20 >An: user@ant.apache.org >Betreff: Ensure Build Failed if fileset contains no jars > > >Hi, > >Problem = > >my

RE: Can one effect the parent build process from subant?

2005-08-17 Thread Anderson, Rob (Global Trade)
Properties are immutable. You could probably touch a file in the subant task, and then test whether or not it exists in the calling environment, or something like that. -Rob A > -Original Message- > From: Jon Schewe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 17, 2005 2:22 PM >

Can one effect the parent build process from subant?

2005-08-17 Thread Jon Schewe
I've got a build.xml that's being executed as part of a subant task. I'd like to change the value of a property in the calling environment so that when control goes back to the parent buildfile the new property value is seen. Is that possible with ant? ___

Integration with Teamsite/Opendeploy

2005-08-17 Thread Nigel . Byrnes
Hi all Does anyone know whether it is possible for ANT to "checkout" code from Teamsite (v6.x) via Opendeploy? If so, can you point in the right direction regarding the necessary design/configuration to be implemented Many thanks Nigel -- Nigel Byrnes Technical Architect, RBS Insurance, E

RE: Multiple invocations

2005-08-17 Thread Anderson, Rob (Global Trade)
The build file in the bug report is what I used to test it. Is that sufficient? -Rob A > -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 17, 2005 4:57 AM > To: Ant Users List > Subject: Re: Multiple invocations > > > Anderson, Rob (Global T

Re: encrypted passwords with ant

2005-08-17 Thread Barry White
Good point... you also have to keep an eye over your shoulder ;) Steve Loughran wrote: Barry White wrote: Hi Mark, not really an answer to your question but two solutions to this problem that I have used before: - pass the variable in on the command line (ant -Dpassword:x) that mak

RE: encrypted passwords with ant

2005-08-17 Thread Ivan Ivanov
Well, regarding you can easily patch the xslt transformation to not output your password property. Howver, the password will still be visible in the xml reports so one solution is to delete them exactly after has finished. Of course, it would be better in this case to have a nested tag in speci

RE: encrypted passwords with ant

2005-08-17 Thread BOUSQUET Jeremie
Just a remark : I used such InputHandler to manage masked user input of a PVCS password, but then I realized that my task generates an HTML report with a link to a page listing all build properties, including the one with my clear password visible to anyone ... :/ I did not implement any soluti

Re: encrypted passwords with ant

2005-08-17 Thread Douglas Lochart
I may not understand exactly what you want to do but you could always encrypt your passwords using Blowfish and store them in a properties file that way. Then you have a couple of choices depending on how / where you use them. 1) You could extend the Ant Tasks that use them to decrypt before

Re: encrypted passwords with ant

2005-08-17 Thread Steve Loughran
Barry White wrote: Hi Mark, not really an answer to your question but two solutions to this problem that I have used before: - pass the variable in on the command line (ant -Dpassword:x) that makes it visible to everyone else on a unix box who types "ps" with the right options. Not rec

RE: encrypted passwords with ant

2005-08-17 Thread Ivan Ivanov
Hello, Check the article "Extending Ant Input Abilities" on [1] if you decide to passwords and want to mask them; however, you can also write some code that srambles your passwords, keeps them in a property file and then you can have a task that descrambles them Regards Ivan [1]http://ant.apach

Ensure Build Failed if fileset contains no jars

2005-08-17 Thread Rebhan, Gilbert
Hi, Problem = my script contains a target with two filesets. If the compile -done in another script- fails, there are only empty folders, but no jars in it. If compile successful it looks like = dist/lib /Toplevel /project1 /project2 if compile failed it looks like th

RE: encrypted passwords with ant

2005-08-17 Thread BOUSQUET Jeremie
Another idea: don't store the password, ask user input when you need it. Maybe not what you want ... Regards, Jeremie > -Original Message- > From: Petar Tahchiev [mailto:[EMAIL PROTECTED] > Sent: mercredi 17 août 2005 14:52 > To: Ant Users List > Subject: Re: encrypted passwords with an

Re: encrypted passwords with ant

2005-08-17 Thread Petar Tahchiev
On 17/08/05, Barry White <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > not really an answer to your question but two solutions to this problem > that I have used before: > > - pass the variable in on the command line (ant -Dpassword:x) > > - use a properties file but only keep an example of t

Re: encrypted passwords with ant

2005-08-17 Thread Barry White
Hi Mark, not really an answer to your question but two solutions to this problem that I have used before: - pass the variable in on the command line (ant -Dpassword:x) - use a properties file but only keep an example of the file under version control (project.properties.example) Barry

Re: Multiple invocations

2005-08-17 Thread Steve Loughran
Anderson, Rob (Global Trade) wrote: I have logged a bug for this issue and attached a patch... http://issues.apache.org/bugzilla/show_bug.cgi?id=36207 Committers: Please review the proposed fix and commit the change if you approve. Thanks, -Rob Anderson do we have any tests for this (or oth

encrypted passwords with ant

2005-08-17 Thread Mark Lybarger
i've looked around a bit and don't seem to find any good ways to use an encrypted text with an ant task. ideas/suggestions? basically, i don't want to store a plaintext password for a userid on a remote host in my ant build script. i'd like to have an encrypted form of the password somehow.

FW : Error while executing exec task

2005-08-17 Thread Karunakar Chatla
Now I have modified the build file like following : Now the devenv is returning 1 and it says that build is successful. But now also I am not getting anything in output file (i.e E:/output.log). What might be the problem? - Original Message - From: "Karunakar Chatla"

Error while executing exec task

2005-08-17 Thread Karunakar Chatla
Hi, I have encountered a problem... I don't know whether to call it strange or I am doing it wrong. I have to compile a .Net project through exec task. Following is my build file : Script to build all the .Net Components

Re: Build failed, but target executed partly nevertheless

2005-08-17 Thread Steve Loughran
Rebhan, Gilbert wrote: Hi, posting here, as i think that is an ant problem i have a problem with my publisher, with a CruiseControl workflow like that = bootstrapper = get the latest Buildfiles for the project build = starting a wrapper antscript that calls the buildscript publisher = sendin

Re: BuildFailed if ReturnCode 1 ?!

2005-08-17 Thread Steve Loughran
Rebhan, Gilbert wrote: Hi, i've written a java class that is called in my buildscript. That class requieres 3 args. In the code of my class i've written : if (args.length < 3) { System.out.println("***Error *** "); System.exit(1); In a little testscript i've tried wit

Passing xsl the xml filename as a parameter.

2005-08-17 Thread Ron Piterman
Hi, The xslt task has a parameter sub-element. How can I pass the current xml file name being processed to the stylesheet? Cheers, Ron - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Solved, was BuildFailed if ReturnCode 1 ?!

2005-08-17 Thread Rebhan, Gilbert
Hi, stupid me RTFM ;-), after a deeper look in the manual i've found Sorry Gilbert -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 9:58 AM To: user@ant.apache.org Subject: BuildFailed if ReturnCode 1 ?! Hi, i've written a jav

BuildFailed if ReturnCode 1 ?!

2005-08-17 Thread Rebhan, Gilbert
Hi, i've written a java class that is called in my buildscript. That class requieres 3 args. In the code of my class i've written : if (args.length < 3) { System.out.println("***Error *** "); System.exit(1); In a little testscript i've tried with =

Build failed, but target executed partly nevertheless

2005-08-17 Thread Rebhan, Gilbert
Hi, posting here, as i think that is an ant problem i have a problem with my publisher, with a CruiseControl workflow like that = bootstrapper = get the latest Buildfiles for the project build = starting a wrapper antscript that calls the buildscript publisher = sending mails, moving/copying