AW: problem with copy task

2008-03-11 Thread Jan.Materne
uses a timestamp check. For unknown reasons (?) your target file is newer than the source file. You could use overwrite=true for ignoring the timestamps and nest a selector for selecting only files which contents changed. Jan > -Ursprüngliche Nachricht- > Von: Md. Jahidul Hasan [mai

Sync and flatten at the same time?

2008-03-11 Thread Howard Lewis Ship
I'm trying to synchronize a fileset into a directory using . However, I also want to flatten the fileset as I synchronize. I can copy it over flattened, no problem. I just want to delete target files that aren't in (the flattened) fileset. accepts a mapper, but doesn't. I don't mind copying

problem with copy task

2008-03-11 Thread Md. Jahidul Hasan
Hi I am trying to copy some files and if the file exists with different content(in the destination area) then copy task doesn't upload the file again. I don't want to use the overwrite parameter because there are lots of files and I don't want to overwrite all the files again. Just want to know how

ant checking result status

2008-03-11 Thread neogeo
Hi all, I am an ANT newbie and have a few questions. I have the following task which works but wondering if I could check the result status from the http url. Checks if the JBoss Server is running. Testing if the JBoss Server is running on ${jboss.url}

Re: taskdef question - only usable at project level?

2008-03-11 Thread Matt Benson
--- "Scot P. Floess" <[EMAIL PROTECTED]> wrote: > So...to be honest... > > I am working on something that will allow me to > download whole projects > and install...only if not installed. Yes, I know > about Ivy ;) And will > be incorporating soon... > In Ant's distro (I think, else in SVN

Re: taskdef question - only usable at project level?

2008-03-11 Thread Scot P. Floess
So...to be honest... I am working on something that will allow me to download whole projects and install...only if not installed. Yes, I know about Ivy ;) And will be incorporating soon... So, what I was trying to do was...if something is installed, download it, unpack it and then taskdef

RE: csv to html via xslt or xslt2 task ?

2008-03-11 Thread Chun Ji
I am using Ant 1.7, and I don't think we have such thing yet. But since XSLT 2.0 has lots of new APIs that can make the xslt script much more powerful, so my feeling is it is just a matter of time to have it be part of ANT family. During the meaning time, what you can do is to download the XSL

Re: taskdef question - only usable at project level?

2008-03-11 Thread Peter Reilly
Most likely the typedef has been called from an or an . peter On Tue, Mar 11, 2008 at 5:01 PM, Matt Benson <[EMAIL PROTECTED]> wrote: > > --- "Scot P. Floess" <[EMAIL PROTECTED]> wrote: > > > I'd like to call either in a or a > > . > > However, when doing so it seems as if the call is >

Re: taskdef question - only usable at project level?

2008-03-11 Thread Matt Benson
--- "Scot P. Floess" <[EMAIL PROTECTED]> wrote: > Yeah it definitely doesn't work. It gets even > better... If I try to do > something after the - for example > "FOO" unset = "true"/> I get this kind of error: Not sure about your problem, and it probably bears looking into, but if you're j

Re: taskdef question - only usable at project level?

2008-03-11 Thread Scot P. Floess
Yeah it definitely doesn't work. It gets even better... If I try to do something after the - for example "FOO" unset = "true"/> I get this kind of error: /home/rdu/sfloess/development/test/ant2/build.xml:2: The following error occurred while executing this line: /home/rdu/sfloess/developmen

Re: taskdef question - only usable at project level?

2008-03-11 Thread Matt Benson
--- "Scot P. Floess" <[EMAIL PROTECTED]> wrote: > I'd like to call either in a or a > . > However, when doing so it seems as if the call is > ignored or forgotten > afterward: That shouldn't be the case. If you can create a small and reproducible example, pop it into Bugzilla. Regards, Ma

taskdef question - only usable at project level?

2008-03-11 Thread Scot P. Floess
I'd like to call either in a or a . However, when doing so it seems as if the call is ignored or forgotten afterward: Either: "http://ant-contrib.sourceforge.net"; description = "Needed to use ant-contrib."> "/local/sfloess/test/lib/ant-cont

ant freezing issue

2008-03-11 Thread Z W
Hi I have ant 1.7 running on Windows. I've come to notice that when I kick off my Ant script, it ran fine and occasionally it would hang/freeze its printing on screen/monitor for example, on sshexec task. I had to press Enter key before it continues with its execution. : [sshexec] tag is create-d

RE: csv to html via xslt or xslt2 task ?

2008-03-11 Thread Sean Tiley
Hi there, I am new to XSLT but saw your post and decided to attempt a solution, mainly as an exercise for myself. The responses you have received have better solutions than this one, but I offer a novice's solution, which is neither elegant or flexible (sorry for the formatting) http://www.w3.

using RE with newline problem

2008-03-11 Thread neo anderson
I use ant script to load a file similar to build.properties. (its format looks like 'key = value') One of its value looks like key = 'value' (value surrounded with the single quotes) So I use filterchain to get rid of it, code snippet as follow:

Re: Ant build slower on two cores than on one core?

2008-03-11 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > Michael Meyer wrote: > >> --- Steve Loughran <[EMAIL PROTECTED]> schrieb: > >>> this is really interesting. I'd thought javac > was > >>> unthreaded too, but > >>> even so you'd expect file IO to work in the > other > >>> CPU, so get a boost >

Re: How does ant do exec "spawn=true" ?

2008-03-11 Thread Steve Loughran
gregsmit wrote: Hi Steve, Thanks -- That's what I thought (and what I've seen before) That if you started to read from the out/err of the child process, then it would spawning doesn't work, IE, the parent exit causes the child to exit. Do you unhook the input and output by closing the channel

Re: csv to html via xslt or xslt2 task ?

2008-03-11 Thread Steve Loughran
Chun Ji wrote: How about "Fixed to XML (XSLT 2.0 only) " The difference from yours is: delimiter is ",", instead of space. Aaah, XSLT2. Does Xalan (and the ant tasks) support that? -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action h