Usually tasks set the property themselves via
getProject().setNewProperty("propname", "propvalue");
If you´re result is in a file, you can load that via
And you can hook another property helper ... (somewhere in the
proposal section should be an example).
Jan
> -Ursprüngliche Nachricht-
I'm writing a custom ant task that parses a text file and I'd like to
somehow pass the results back to the ant process. Is it possible to
return an "output parameter" string value to an ant process? Ideally I'd
like to do something like:
?
regards,
Karl
---
Do you mean in my exec, in this line
Substitute ${client.only} by -Dclient.only=true.
The real command that I trying to run in the build.xml file is perl.exe
malkelabel.pl example.txt. Since example.txt could take any name, I
can't make it as a variable in any of my property file.
-Origina
I think on the commandline, it should be -Dclient.only=true? (Rhino pointed
this out. . .)
-Original Message-
From: George Dibi [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 3:29 PM
To: Ant Users List
Subject: RE: How to command line argument to build.xml file
Rhino,
Sorry
Rhino,
Sorry for getting back with you late, but I did what you suggested and
the
And at the cmdline ant -Dclient=true -buildfile test.xml target
All get is: perl.exe maklelabel.pl "false"
What I am trying to resolve is: perl.exe malkelabel.pl example.txt where
example.txt is the none argument
Hello,
While running test cases for log4j, I have noticed that our latest
version produces an infinite loop in Project.fireMessageLoggedEvent()
since in our test version, org.apache.log4j.Logger.getLogger()
generates output on the console, which triggers another call to
fireMessageLoggedEvent, henc
Luxury! We're the reason that they had to invent CMM level zero! You have it
easy! :-)
>-Original Message-
>From: Erik Hatcher [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 07, 2005 12:47 PM
>To: Ant Users List
>Subject: Re: New Ant GUI - 'Ant's Nest'
>
>
>
>On Jan 7, 2005, at 12:20 PM
You might want to try ascii mode transfers (binary="no") in the FTP
task. This should perform the proper conversion automatically.
On Mon, 2005-01-10 at 09:39, Glen Mazza wrote:
> Hello,
>
> I use Ant to copy a data file from a diskette to my
> hard drive of my Windows machine. From there, I o
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
Glen Mazza <[EMAIL PROTECTED]> wrote on 01/10/2005 12:39:50 PM:
> Hello,
>
> I use Ant to copy a data file from a diskette to my
>
See the manual for the FixCRLF task.
http://ant.apache.org/manual/CoreTasks/fixcrlf.html
Hope this helps
Keith
-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: 10 January 2005 17:40
To: user@ant.apache.org
Subject: Automatic way to convert from DOS to Unix line endings
Hello,
I use Ant to copy a data file from a diskette to my
hard drive of my Windows machine. From there, I open
the file in the JEdit editor and save it in Unix
format, to switch to the Unix line endings. Finally,
I use the Ant FTP task to send the file to a Unix
machine.
I was wondering if the
> I'm trying to set up my build so that it builds from code on my local
> machine, and moves the files out to a mapped drive. The
> connection to this
> mapped drive isn't very quick, and for ant to check which
> files have changed
> for the thousands of files that we have makes for a very slow
I'm trying to set up my build so that it builds from code on my local
machine, and moves the files out to a mapped drive. The connection to this
mapped drive isn't very quick, and for ant to check which files have changed
for the thousands of files that we have makes for a very slow build process.
Hi Gilbert,
I've noticed similar behaviour with MailLogger in WSAD (Doen't send mails)
otherwise my buildfile is working fine through WSAD5.1+Ant1.6.2. Although
the buildfile itself is doing fairly basic stuff, copying files, compiling
and exporting EAR 's.
Praful
Alan Brown wrote:
> But if people strongly support Ant Hill, CruiseControl or
> Build Monkey I'd like to be swayed.
We are using CruiseControl, and are quite pleased. Its community is very
strong.
What you want can be done using the buildstatus modification set:
http://cruisecontrol.sourceforge.
Antoine Levy-Lambert wrote:
> Cruise Control as I see it is a tool to run continuous integration
> builds, ie to start builds immediately or near immediately, triggered
> by changes in the repository.
Yes, that's it main purpose. It can be used for nightly builds, too, though.
Cheers, Ilja
---
Gilbert Rebhan wrote:
> Hi,
>
> i want to set up an automated build system with
> Cruise Control 2.2 / Ant 1.6.2 under the hood.
>
> Workflow outline :
>
> 1.Eclipse/Workspace -> Project, Context Menu
> 2.-> Wizard for Deployment Order, asking for :
> which Versiontag should be deployed, r
Hi,
> Thanks Gilbert. It works!
>
> Praful
fine :)
But i had some strange behaviour with Ant1.6.2 + WSAD 5.1
My buildscript uses a mailtask, and even though i have
mail.jar and activation.jar on my ant classpath it gave me
errors, mail not sent.
Didn't have a detailed look on that, cause i
Thanks Gilbert. It works!
Praful
Gilbert Rebhan
19 matches
Mail list logo