RE: Problems with exec task

2006-01-31 Thread Stephen McConnell
> -Original Message- > From: Rhino [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 31 January 2006 3:52 PM > To: Ant Users List > Subject: Re: Problems with exec task > > Excellent suggestion! I wasn't aware of the existence of the AntWiki. > > What's the best way to go then? Maybe add a t

Re: Copy-Task

2006-01-31 Thread Markus M. May
Hello, well, we are generating the JARs on the local development machines each time from totally new source-tree. We are doing this, because of a bug in the VSS-System, we are using (there are some problems with synchronizing the VSS repository with the local file systems). Therefor the full_build

Re: Copy-Task

2006-01-31 Thread Stefan Bodewig
On Tue, 31 Jan 2006, Markus M. May <[EMAIL PROTECTED]> wrote: > Now I just would like to copy files which are not already on the > remote repository. This cannot be done using the standard ant-task > copy, since the jars on the local system do have a newer timestamp. Apart from using the present

Re: ANT_OPTS and -D

2006-01-31 Thread Stefan Bodewig
On Tue, 31 Jan 2006, javier muguruza <[EMAIL PROTECTED]> wrote: > I am trying to set ant to start with some customization, but setting > ANT_OPTS = -Dcom.sun.management.jmxremote > does not seem to work. It should (without whitespace around the equals sign, at least for /bins/sh). > Maybe ANT_OP

Re: Overriding definition of reference to ?

2006-01-31 Thread Stefan Bodewig
On Tue, 31 Jan 2006, Bill Winspur <[EMAIL PROTECTED]> wrote: > In one of my workhorse scripts, I'm getting the message the error > message > > 'Overriding definition of reference to ' It means that you have two different elements with the same id. Stefan --

Copy-Task

2006-01-31 Thread Markus M. May
We are running ANT in a multiple component project. In this project, every component is build each night (full-build) and all the jars are updated. These jars are then copied to a "remote" repository, which is synced to each developer. Now I just would like to copy files which are not already on t

Re: Copy-Task

2006-01-31 Thread Markus M. May
Create, never used selectors, but this is the one to use () :-) On Di, 2006-01-31 at 15:29 -0500, Jeffrey E Care wrote: > already does timestamp checks, and it already has @overwrite. > > I think you need to use a selector to accomplish what you're trying to do. >

Re: Copy-Task

2006-01-31 Thread Jeffrey E Care
already does timestamp checks, and it already has @overwrite. I think you need to use a selector to accomplish what you're trying to do. -- Jeffrey E. Care ([EMAIL PROTECTED]) WAS Pyxis Lead Release Engineer "Markus M. May" <[EMAIL PROTECTED]> wrote on 01/31/2006 03:14:42 PM: > We are runnin

Copy-Task

2006-01-31 Thread Markus M. May
We are running ANT in a multiple component project. In this project, every component is build each night (full-build) and all the jars are updated. These jars are then copied to a "remote" repository, which is synced to each developer. Now I just would like to copy files which are not already on t

ANT_OPTS and -D

2006-01-31 Thread javier muguruza
hi I am trying to set ant to start with some customization, but setting ANT_OPTS = -Dcom.sun.management.jmxremote does not seem to work. Maybe ANT_OPTS can only to be used with things like -server -XX:+UseParallelGC and -D is only available in the command line? thanks javi -

RE: Problems with exec task

2006-01-31 Thread Dick, Brian E.
I use WSH mainly for WMI scripting. It's the best way to get info from remote Windows machines. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 12:17 PM To: Ant Users List Subject: Re: Problems with exec task Dick, Brian E. wrote: > -- h

Re: Problems with exec task

2006-01-31 Thread Steve Loughran
Dick, Brian E. wrote: -- hello there.vbs strArg = "" strDelim = "" for each objItem in WScript.Arguments strArg = strArg & strDelim & objItem strDelim = " " next WScript.echo "hello there, " & strArg -- cscript.xml -- example

Overriding definition of reference to ?

2006-01-31 Thread Bill Winspur
In one of my workhorse scripts, I'm getting the message the error message 'Overriding definition of reference to ' after which a java task fails because it cant see the libraries specified in the definition. I cant see anything wrong with the definition, which worked OK a few weeks ago. I

RE: Problems with exec task

2006-01-31 Thread Dick, Brian E.
-- hello there.vbs strArg = "" strDelim = "" for each objItem in WScript.Arguments strArg = strArg & strDelim & objItem strDelim = " " next WScript.echo "hello there, " & strArg -- cscript.xml -- example run C:\temp\ant -f cscri

Re: Problems with exec task

2006-01-31 Thread Steve Loughran
Rhino wrote: - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, January 31, 2006 5:01 AM Subject: Re: Problems with exec task Rhino wrote: [exec] Input Error: There is no script engine for file extension ".vbs'". there's an extra

Re: Problems with exec task

2006-01-31 Thread Rhino
- Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, January 31, 2006 5:01 AM Subject: Re: Problems with exec task Rhino wrote: When I did this: everything was fine; there were no errors from Ant and the macro w

Re: echo with html

2006-01-31 Thread Steve Loughran
Stefan Bodewig wrote: On Mon, 30 Jan 2006, Elizabeth Sommers <[EMAIL PROTECTED]> wrote: Does anybody have a task that will let you echo to a file while including html in the message. There will be an task in 1.7, until then Except of course classic HTML is not XML. Use CData. I normally

RE: echo with html

2006-01-31 Thread Dick, Brian E.
The concat task can do that now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 1:49 AM To: user@ant.apache.org Subject: AW: echo with html >> Does anybody have a task that will let you echo to a file while >> including html in the

Re: Problems with exec task

2006-01-31 Thread Steve Loughran
Rhino wrote: When I did this: everything was fine; there were no errors from Ant and the macro wrote Dudley Doright in the document. But when I did this (using the same property definition for vbs.script): I got no errors from Ant but the macro