>From the Property task docs
>(http://ant.apache.org/manual/CoreTasks/property.html)
In-file property expansion is very cool. Learn to use it.
Example:
build.compiler=jikes
deploy.server=lucky
deploy.port=8080
deploy.url=http://${deploy.server}:${deploy.port}
Maybe this is a basic question, but I can't figure it out.
I want to run the cargo task under a different working directory (so
that my container's relative paths work correctly). I understand you
can't change basedir. I've tried to do an antcall passing a different
basedir, but that doesn't wo
Hi,
I'm using a Java class to execute an Ant project, and am unable to direct
compile errors to the log file used by my BuildLogger.
Here's an abbreviated version of my code:
Project p = new Project();
p.init();
p.setUserProperty("ant.file", "common.xml") //more on this later
DefaultLogger logg
What about creating a task with a few ?
Loadfile places the content of a file into a property. The
acts on the contents of that file. I load the file
input.sql into the property ${sql.line}. But, I add three filter
chains. The first filters out all lines except the one I am looking
for. The secon
I do something similar using antform. You will need to obtain antform and
include it in your build libs as well as setting it up for use:
SVN login
I use the properties recovered later. The following is an example of the use:
Don't for get to use " for the " char and ' for the ' char in your
ant source
>> -Original Message-
>> From: Steve Loughran [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, January 10, 2008 5:30 AM
>> To: Ant Users List
>> Subject: Re: an input for ant arg.
>>
>> Chun Ji wrote:
>>
>> >
>>
Chun Ji wrote:
...
"
The error msg is: Element type "arg" must be followed by either attribute specifications,
">" or "/>"
So what should I do to solve this issue ? Any comments is welcome!
The problem is the second statement has way too m