RE: includes property not working

2005-03-02 Thread David Resnick
No, I haven't. I looked at the docs for includesfile and because it didn't mention it thought that it wouldn't expand properties. I just tried it and it worked great. Thanks! I am still curious why the property didn't work, though... -Original Message- From: Matt Benson [mailto:[EMAIL PRO

RE: includes property not working

2005-03-02 Thread David Resnick
Thanks for your suggestion! You are right, this would improve the readability of the list file. But I'm still wondering why the property is not working... -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 11:59 To: Ant Users List Subject: Re: i

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Ant with Subversion * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when subject either

RE: Ant with Subversion

2005-03-02 Thread Greg Irvine
You need to download the svnant from the subclipse team (subclipse.tigris.org). I think there is also another svn ant package somewhere. _ From: Naveen Mamidi [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 March 2005 12:14 AM To: user@ant.apache.org Subject: Ant with Subversion

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Different

Re: Different

2005-03-02 Thread Antoine Levy-Lambert
Hello Ralf, I remember having had a strange similar problem, I think the style task was trying to generate output for me twice, once properly and then with a flat directory structure. Can you search in bugzilla (http://issues.apache.org/bugzilla) to see whether someone else has reported this bug

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Bad syntax or unknown instruction * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when

Re: Bad syntax or unknown instruction

2005-03-02 Thread Alexey N. Solofnenko
I think somebody tried to two lists one on another and chose a wrong email address in one of them. - Alexey. [EMAIL PROTECTED] wrote: Can someone stop the spam from this thing? -- / Alexey N. Solofnenko home: http://trelo

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Bad syntax or unknown instruction * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when

RE: Bad syntax or unknown instruction

2005-03-02 Thread Kajsa.Anderson
Can someone stop the spam from this thing? > -Original Message- > From: Minimalist Manager [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02, 2005 4:07 PM > To: Ant Users List > Subject: Bad syntax or unknown instruction > > > * Ant Exception Error * > > ERROR: > Bad syntax o

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Ant Exception Error * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when subject either

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Ant Exception Error * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when subject either

RE: Ant Exception Error

2005-03-02 Thread Dominique Devienne
Right. The two conflict with each other. Linux is too helpful... You can also use the --noconfig switch (specific to the Ant .sh startup script, except it doesn't have the .sh extension) to bypass using the default Ant config that came on the system. --DD > -Original Message- > From: Ande

RE: Ant Exception Error

2005-03-02 Thread Anderson, Rob (Global Trade)
Ah yes. Someone posted it to this list recently. Here is the relevent info... Q: How do you get ant-1.6x (or versions later than 1.5.2-23) to work on on RedHat ES 3? A: Redhat ES 3.0 comes installed with ant 1.5.2. Even if you have your PATH and ANT_HOME variables set correctly to a later vers

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Ant Exception Error * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when subject either

RE: Ant Exception Error

2005-03-02 Thread Anderson, Rob (Global Trade)
I have heard that you need to uninstall the ant rpm that came with the distro in order to use a different version. I have not confirmed this, but it might be worth a try. -Rob Anderson > -Original Message- > From: Dean N. Williams [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02, 2

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Ant Exception Error * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when subject either

Ant Exception Error

2005-03-02 Thread Dean N. Williams
Dear Ant community, I am new to Ant and trying to build Ant 1.6.1 or 1.6.2. I am on a RedHat Linux Enterprise WS platform. I am trying both methods of installation. That is, apache-ant-1.6.1-src.zip apache-ant-1.6.2-bin.tar.gz Both methods result in the following error message. ./ant -version E

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Capture Javac output * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when subject eithe

Re: Capture Javac output

2005-03-02 Thread Andre Dantas Rocha
I'm trying to use DefaultLogger and my implementation is shown below. The log file is created but still empty after javac task run. Any ideas? Thanks Project project = new Project(); DefaultLogger logger; try { logger = new DefaultLogger(); FileOutputStream fo = new Fi

Bad syntax or unknown instruction

2005-03-02 Thread Minimalist Manager
* Capture Javac output * ERROR: Bad syntax or unknown instruction. SOLUTION: This is the Minimalist Mailing List Manager. Commands may be either in subject of message (one command per message) or in body (one or more commands, one per line). Batched processing starts when subject eithe

RE: Capture Javac output

2005-03-02 Thread Andre Dantas Rocha
I'm trying to work with DefaultLogger, and created this code: Project project = new Project(); DefaultLogger logger; try { logger = new DefaultLogger(); FileOutputStream fo = new FileOutputStream(new File("build.log")); logger.setOutputPrintStream(new PrintStream(fo

Re: Capture Javac output

2005-03-02 Thread OpenLDAP User
You may want to look at the Record task as well. You could probably start one of those off programmatically. This will log to a file. > > Hi, > > I'm compiling some java files using an Ant project: > > Project project = createProject(); > Javac javac = (Javac) project.createTask("javac"); > ja

RE: Capture Javac output

2005-03-02 Thread Dominique Devienne
Right, I agree. However, in case you persist in the programmatic way, have a look at BuildLogger and BuildListener, and how they are hooked up to the Project. You could use DefaultLogger, setting the output and error PrintStream to your file, achieving what you want. --DD > -Original Message--

RE: Capture Javac output

2005-03-02 Thread Anderson, Rob (Global Trade)
I would suggest writting a build.xml and running Ant, rather than programming a class to do your compile. Then it becomes as easy as running a command and capturing the output. -Rob A > -Original Message- > From: Andre Dantas Rocha [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02,

Capture Javac output

2005-03-02 Thread Andre Dantas Rocha
Hi, I'm compiling some java files using an Ant project: Project project = createProject(); Javac javac = (Javac) project.createTask("javac"); javac.init(); ... javac.perform(); And would like to capture the output messages in a log file. How can I do that? Thanks, André ___

Re: includes property not working

2005-03-02 Thread Matt Benson
Have you tried simply using includesfile rather than includes with your fileset? It should expand properties and everything. -Matt --- David Resnick <[EMAIL PROTECTED]> wrote: > I'm trying to include a list of files to delete in a > text file which is read > into a property (with properties exp

Re: Replacing with File Size

2005-03-02 Thread Matt Benson
--- "Haiges, Sven, Vodafone Group R&D" <[EMAIL PROTECTED]> wrote: [SNIP] > Does anyone know how I can simplay determine the > byte-size of a file > from ant and take that output and replace the > occurrence of @size@ with > the size determined? Ant 1.6.3 (and recent nightly builds) will contain a

AW: setLevel on echo task in JavaScript

2005-03-02 Thread Jan . Materne
you could also let the project instance do logging ...

Ant with Subversion

2005-03-02 Thread Naveen Mamidi
 How to use  Ant with Subversion.please provide any  example build .   Thanks,       Naveen Mamidi Intelliscan LimitedTel: +44 (0)1651 277000 Fax: +44 (0)1651 277010http://www.intelliscan.co.uk  Oldmeldrum Business Centre Colpy Way Oldmeldrum Aberdeen AB51 0BZ

RE: Output for running a windows service on Exec

2005-03-02 Thread Keith Hatton
Can you post your task? Are you 'ing the .exe file? If it's a service, the command to start it would be "net start ServiceName" - not sure whether "net" is a valid target for or whether it has to be started with "cmd" ... Hope this helps Keith -Original Message- From: Robert Lin [mailt

Different

2005-03-02 Thread Ralf Schandl
Hello, I have a problem with the style task and a stylesheet that creates files by its own. The stylesheet I use translates a docbook source file into a help file structur for eclipse. It creates a "toc.xml" in the base dir and a subdirectory "doc/" for the individual html files. I use the follow

Different

2005-03-02 Thread Ralf Schandl
Hello, I have a problem with the style task and a stylesheet that creates files by its own. The stylesheet I use translates a docbook source file into a help file structur for eclipse. It creates a "toc.xml" in the base dir and a subdirectory "doc/" for the individual html files. I use the follow

Re: Replacing with File Size

2005-03-02 Thread Ivan Ivanov
Sven, --- "Haiges, Sven, Vodafone Group R&D" <[EMAIL PROTECTED]> wrote: > > Does anyone know how I can simplay determine the > byte-size of a file > from ant and take that output and replace the > occurrence of @size@ with > the size determined? This script does this:

AW: Replacing with File Size

2005-03-02 Thread Jan . Materne
http://marc.theaimsgroup.com/?l=ant-user&m=110418389806438&w=2 getting file size Jan > -Ursprüngliche Nachricht- > Von: Haiges, Sven, Vodafone Group R&D > [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 2. März 2005 11:14 > An: Apache Ant User List (E-Mail) > Betreff: Replacing with F

Replacing with File Size

2005-03-02 Thread
Hi there, this is related to the Filter Core Taks in Ant. It allows you to replace occurrences like @size@ with a value like 1000. My problem is that I need to determine the size of a jar file dynamically ( a previous ant target creates this jar file) and then need to set the size of that file in

Re: includes property not working

2005-03-02 Thread Ivan Ivanov
David, --- David Resnick <[EMAIL PROTECTED]> wrote: > I'm trying to include a list of files to delete in a > text file which is read > into a property (with properties expansion) and then > used in the includes > property of a fileset in a delete task. For some > reason when there are line > break