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
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]
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.
...
--
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
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
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
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, 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