RE: Is there a way to update the Class-Path in a manifest?

2004-05-14 Thread Mani G. Iyer
I am not too familiar with regular expressions but basically you will need to do a replace of Classpath: *\n with Classpath: * new.jar\n or Classpath: new.jar *\n HTH mani -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 20

RE: Is there a way to update the Class-Path in a manifest?

2004-05-14 Thread Matt Benson
If you look at the documentation you will see the example that uses an expression that contains a parenthetically-delimited pattern and does the replace using \1 as part of the replace expression, meaning whatever was matched by the 1st parenthetically-delimited pattern. If \1 is available, \0 (a

RE: Freezing / Core Dump - 1.6.1

2004-05-14 Thread Euan Guttridge
Thanks Alistair - this seems to have fixed the core dumping, although the freezing still occurs. Out of interest why 2.2.5? I know there were issues with NTLM which the resolution was to use 2.4.1, but 2.2.5? FYI 2.4.1 still core dumped. Thanks Euan -Original Message- From: Alistair For

bsh Ant scripting

2004-05-14 Thread Matt Benson
A coworker forwarded me the link to this article by a former coworker (or someone with the same name, anyway): http://alexwinston.com/blog/2004/05/14/1084543022000.html -Matt __ Do you Yahoo!? SBC Yahoo! - Internet access at a great low

Re: Issues with vs

2004-05-14 Thread Matt Benson
...however, output/error are incompatible with spawn="true". -Matt --- Robert Clark <[EMAIL PROTECTED]> wrote: > On Fri, 2004-05-14 at 08:38, Robert Mark Bram wrote: > > When using java task anyway, I found a way to > supply a name for the new > > window.. > > > > > > classpath="

Re: Issues with vs

2004-05-14 Thread Robert Clark
On Fri, 2004-05-14 at 08:38, Robert Mark Bram wrote: > When using java task anyway, I found a way to supply a name for the new > window.. > >classpath="${clink_jar}:${xerces_jar}:${xml_jar}:${classes}" > fork="true" > spawn="true"> > > > >

RE: Is there a way to update the Class-Path in a manifest?

2004-05-14 Thread Settle, William
Jan mentioned the replaceregexp task but from reading the doc, it looks like it allows me to use a regular expression to search for a string but it looks like it still just does a replace on the string it finds. I don't see a way to append to an existing string in a file. Hum... perplexing. I

RE: Is there a way to update the Class-Path in a manifest?

2004-05-14 Thread Matt Benson
What if you and use a replaceregexp and/or other filters to append to the file, then update with the resulting manifest? -Matt --- "Settle, William" <[EMAIL PROTECTED]> wrote: > Jan, > > I appreciate the response but I don't want to > replace, I want to append or prepend depending on > situatio

RE: Is there a way to update the Class-Path in a manifest?

2004-05-14 Thread Settle, William
Jan, I appreciate the response but I don't want to replace, I want to append or prepend depending on situation which requires reading the manifest Class-Path and appending to it. Then it could be replaced. The manifest has to be read first. Your procedure of unjar, replace, jar does not take