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

2008-03-10 Thread gregsmit
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 channels, something like

RE: csv to html via xslt or xslt2 task ?

2008-03-10 Thread Chun Ji
How about "Fixed to XML (XSLT 2.0 only) " The difference from yours is: delimiter is ",", instead of space. -cji -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2008 10:14 AM To: Ant Users List Subject: Re: csv to html via xslt or xslt2 task

Re: copy multiple directories into one

2008-03-10 Thread Lars Ohlén
Hi again, This approach works if the name of the projects are known in advance, but this is not the case. Sorry if I was a bit unclear about this. So I need a way to do this more generic! BR L - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, March 10, 2008 6:58 A

WAR file - preserve not working as expected

2008-03-10 Thread Rob Wilson
I have an issue where I want to include images into a war file, but overwrite some of the existing images in a second pass. I've tried copying the baseline images into the war in one war task and then overwrite the images in a second war task. If I choose duplicate="add" it does not replace the i

Re: csv to html via xslt or xslt2 task ?

2008-03-10 Thread Steve Loughran
Chun Ji wrote: Hi there, The answer is "YES". If you still have this problem, take a look at here: http://www.xmlplease.com/xsltcases. -cji -they seem to go the other way, from XML to CSV. Which is useful, but not in this particular case ---

Re: Leap Year Bug in Ant 1.7.0 FTP task - Daylight Savings?

2008-03-10 Thread Shay Thompson
I noticed today that a few of my servers which run the Ant FTP task failed on Sunday when they were working on Saturday, almost as if they're now having a problem with daylight savings. I also noticed that only the machines running Java 1.5.0_11 are failing while those with 1.5.0_04 are work

Re: How to get the filename of a dirset - not the full path?

2008-03-10 Thread Peter Reilly
Use basename to get name of the dir. Peter On Mon, Mar 10, 2008 at 1:13 PM, Rob Wilson <[EMAIL PROTECTED]> wrote: > Now that I have a list of directories, I would like to get the directory > NAME rather than the full path - I am trying to use the name to create > directories elsewhere and copy

How to get the filename of a dirset - not the full path?

2008-03-10 Thread Rob Wilson
Now that I have a list of directories, I would like to get the directory NAME rather than the full path - I am trying to use the name to create directories elsewhere and copy files from a few different places. Basically I want something that returns me the name after the last slash - but it looks

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

2008-03-10 Thread Steve Loughran
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 from the second core. what happens when you try a different javac, like the eclips

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

2008-03-10 Thread Steve Loughran
gregsmit wrote: Hi, This is less of a question about Ant, than it is a question "How do they do that??" Ant has the ability to spawn a new process, where all of the output of the new process goes in the bit bucket, and the original Java process can go away. The spawned process stays running.

Re: Repeating a task for a list of directories

2008-03-10 Thread Peter Reilly
The first has a "/" in front of the lib. -> this is an absolute path. Peter On Mon, Mar 10, 2008 at 11:56 AM, Rob Wilson <[EMAIL PROTECTED]> wrote: > I thought I would give some feedback, it seems that I made two mistakes... > > 1) I typed the incorrect version number, so this was why it could n

Re: Repeating a task for a list of directories

2008-03-10 Thread Rob Wilson
I thought I would give some feedback, it seems that I made two mistakes... 1) I typed the incorrect version number, so this was why it could not find the explicitly named jar file. 2) even after fixing the jar name this syntax did not work... (yes I did correct the jar name by this