AW: Property value coming from unknown source

2005-07-04 Thread Jan.Materne
The highest order for property evaluation in Ant is giving the value via command line -Dname=value In Eclipse you start buildfiles like any other java program - as a configuration. In that configuration you can specify several things - classpath, ... and additional "command line" properties

Property value coming from unknown source

2005-07-04 Thread Chris
This is probably something stupid, but... I just upgraded to Eclipse 3.1 with Ant 1.65. I moved some projects around, and now one of my Ant scripts is mysteriously resetting a property value at run time. ... ${version} If I run the "versiontest" target, I get: versiontest: [echo]

Re: Howto do this in Ant: Replace a placeholder in a file with the content in another file

2005-07-04 Thread Alexey N. Solofnenko
I would suggest using http://ant.apache.org/manual/CoreTasks/loadfile.html with http://ant.apache.org/manual/CoreTasks/replace.html - Alexey. Christine Gerstenmayer wrote: Hi all, I need your help. I want to replace a placeholder in a file with the content of another file. ... --

Re: saving "proper" output from javac

2005-07-04 Thread D'Arcy Smith
I actually tweaked the report task to provide a new option "levelOnly" that, when specified, only logs items at the particular level. I also wound up adding a "errorProperty" to the javac task as well so that you do not have to have the build fail immediatly if javac fails. This keeps some additi

Re: saving "proper" output from javac

2005-07-04 Thread Jeffrey E Care
Ant log level flags are cumulative, not bitwise. I'm pretty sure that is where you need to go for what you want to do. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "D'Arcy Smit

Howto do this in Ant: Replace a placeholder in a file with the content in another file

2005-07-04 Thread Christine Gerstenmayer
Hi all, I need your help. I want to replace a placeholder in a file with the content of another file. e.g. File 1: Xxx X Xxx &place File 2: Abcdefg Abcdefg Abcdefg I want to replace "&place" in File 1 with the content of File 2 so

Re: [offtopic] ClearCase/cleartool with ssh ?

2005-07-04 Thread Alexey N. Solofnenko
With SSH you can run anything on a remote computer (much like rexec). You can just use for that. Please configure SSH to use key authentication, so no password is requested. - Alexey. Rebhan, Gilbert wrote: Offtopic, but as there are a couple of ClearCase users around on that list and google

[offtopic] ClearCase/cleartool with ssh ?

2005-07-04 Thread Rebhan, Gilbert
Offtopic, but as there are a couple of ClearCase users around on that list and google didn't bring up anything. In our buildprocess we want to use a ClearCase snapshotview on a remote unix machine. But no telnet / ftp allowed. Is there any possiblity to run the ClearCase client with ssh ? Mayb