Re: canned fileset with replaceregexp

2007-06-04 Thread Frank Harnack
Hi Mark, has the (maybe undocumented) id/refid concept. Regards Frank Quoting Mark Modrall <[EMAIL PROTECTED]>: Hi... I was looking to can the fileset definitions for a , but when I looked more closely, it seems like 1) can have a nested 2) Unlike nant, doesn't have the

Re: Strange property problem

2007-06-04 Thread Kevin Jackson
Hi all, This problem was actually to do with the names of the tar file and what the folders were in named inside the tar file - it was not to do with the macro property expansion (which I also thought was the problem) basically the tar was called james-server-binary-next-major (james distro buil

xmlproperty semanticAttributes and CDATA

2007-06-04 Thread Mark
It appears the with semanticAttributes set to true properties are still not expanded if they reside in CDATA sections. E.g. (in properties file): The property inside the CDATA section remains unexpanded. Dividing up the CDATA sections so that the parts with the properties are expanded does al

Re: ant project building problem when one project depend upon another project.

2007-06-04 Thread Qazwart
Separate out the JAR task as a separate target and have both project "A" and project "B" depend upon that target. That way, you're just building the JAR and not the entire project. Or, you can build the JAR with a separate target and call it via an . On Jun 4, 2007, at 12:59 AM, Karamjit wr

RE: canned fileset with replaceregexp

2007-06-04 Thread Mark Modrall
>Um... You didn't explain what you're trying to do. Are you attempting to build a PATH based upon a regular expression? > can take patternsets in the form of a refid. I'm trying to create a shared list of files to be operated on by multiple tasks. I.e. one task will apply to a set of files to

Re: canned fileset with replaceregexp

2007-06-04 Thread David Weintraub
Um... You didn't explain what you're trying to do. Are you attempting to build a PATH based upon a regular expression? can take patternsets in the form of a refid. On 6/4/07, Mark Modrall <[EMAIL PROTECTED]> wrote: Hi... I was looking to can the fileset definitions for a , but w

canned fileset with replaceregexp

2007-06-04 Thread Mark Modrall
Hi... I was looking to can the fileset definitions for a , but when I looked more closely, it seems like 1) can have a nested 2) Unlike nant, doesn't have the id/refid concept (at least according to the docs) 3) does support id/refid and can have nested s but doesn't seem to

Re: Strange property problem

2007-06-04 Thread Peter Reilly
On 6/4/07, Steve Loughran <[EMAIL PROTECTED]> wrote: Kevin Jackson wrote: > Hi all, > > I have a weird error caused by a property being wrong 50% of the time > and correct 50% of the time. > > here's the relevant code: > > build.properties > james.version=server-binary-next-major > james.home=/va

Re: Strange property problem

2007-06-04 Thread Steve Loughran
Kevin Jackson wrote: Hi all, I have a weird error caused by a property being wrong 50% of the time and correct 50% of the time. here's the relevant code: build.properties james.version=server-binary-next-major james.home=/var/james james.home.direct=/var/james-${james.version}

ant.bat -noclasspath in ANT_ARGS should clearclasspath

2007-06-04 Thread Murray, Mike
We are getting "input line is too long", even though we have -noclasspath defined in ANT_ARGS. It appears the reason is that ant.bat only clears the classpath when -noclasspath is passed directly on the command line. Shouldn't ant.bat also call clearclasspath if ANT_ARGS contains -noclasspath?