AW: regexpreplace help...

2005-08-15 Thread Jan.Materne
just thoughts: - load the file into property - extract only \5 - increment that property - use the result-property instead of \5 in Jan >-Ursprüngliche Nachricht- >Von: Mark Lybarger [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 15. August 2005 17:10 >An: Ant Users List >Betreff: Re:

Re: Multiple invocations

2005-08-15 Thread Atsuhiko Yamanaka
Hi, +-From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> -- |_Date: Mon, 15 Aug 2005 11:53:12 -0700 _ | |Try the same tests with jsch 0.1.16. What are the results? I |believe these are problems with Jsch. -Rob Anderson ... |> BUILD FAILED |> P

Re: zipfile with manifest

2005-08-15 Thread THUFIR HAWAT
On 8/14/05, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: > Isn't the manifest just another file? Create one one way or another > (maybe even with , but it is better not to overwrite the file, if > it is already up-to-date to avoid continuous zip file updates) and zip > it with all other files. >

Re: Open a shell and run a batchfile

2005-08-15 Thread Frank Schaare
thank you for the input guys.I´m gonna check it out right now... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Multiple invocations

2005-08-15 Thread Anderson, Rob (Global Trade)
Try the same tests with jsch 0.1.16. What are the results? I believe these are problems with Jsch. -Rob Anderson > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 11, 2005 2:27 PM > To: 'Ant Users List' > Subject: Multiple invocations >

RE: Scp : Definition of a remote file set

2005-08-15 Thread Anderson, Rob (Global Trade)
Currently, no. There is a feature request in bugzilla for this... http://issues.apache.org/bugzilla/show_bug.cgi?id=35532 If you like the idea, go vote for the bug. -Rob A > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 1:58 AM >

Re: regexpreplace help...

2005-08-15 Thread Mark Lybarger
one other thing, here's my regex mapping. on the replace item 5 (\5), i'd like to increment the number by one. can i do this? On 8/15/05, Mark Lybarger <[EMAIL PROTECTED]> wrote: > > thanks, it is indeed in the manual. > > On 8/15/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> > wrote: > > > >

Re: regexpreplace help...

2005-08-15 Thread Mark Lybarger
thanks, it is indeed in the manual. On 8/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The manual shows how to get the back-references... > > Jan > > >-Ursprüngliche Nachricht- > >Von: Mark Lybarger [mailto:[EMAIL PROTECTED] > >Gesendet: Montag, 15. August 2005 15:27 > >An: An

RE: Ant dependencies task

2005-08-15 Thread Dick, Brian E.
Besides macrodef, you need to get familiar with import too. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Saturday, August 13, 2005 10:52 AM To: Ant Users List Subject: Re: Ant dependencies task Hi again, This did the trick, almost... there was one other pi

RE: Ant dependencies task

2005-08-15 Thread Dick, Brian E.
Sorry, the nested target element is available with Ant 1.6.3. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Saturday, August 13, 2005 10:41 AM To: Ant Users List Subject: Re: Ant dependencies task Hi Brian, That didn't seem to work... I get: BUILD FAILED T

AW: regexpreplace help...

2005-08-15 Thread Jan.Materne
The manual shows how to get the back-references... Jan >-Ursprüngliche Nachricht- >Von: Mark Lybarger [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 15. August 2005 15:27 >An: Ant Users List >Betreff: Re: regexpreplace help... > >Thanks jan, > >match="RewriteRule \^/apps/(.*)?/\(\.\*\)\?

RE: Ant dependencies task

2005-08-15 Thread Burgess, Benjamin
It seems trivial for you to make the change to the "light side of the force" and it still won't affect you the way you think it will. Simply change this: > > > > > > To this: > > > > > You can now still run with a single click. Also, it is still ea

Re: Ant dependencies task

2005-08-15 Thread Frank W. Zammetti
> or you make every target conditional > > unless="compile.disabled" > > and then turn on and off on the command line For the way I work, this isn't feasible... I don't use an IDE, I use UltraEdit... I have a single keystroke that executes the script, and I don't have the opportunity to alter the

Re: regexpreplace help...

2005-08-15 Thread Mark Lybarger
Thanks jan, i'm trying to use a $1, $2 notation in the replacement pattern, but the output contains a literal $1, $2, as oppose to the match from the first and second (.*)?. On 8/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Jan > > >-Ursprüngliche Nachricht- > >V

Re: Open a shell and run a batchfile

2005-08-15 Thread Frank W. Zammetti
Even better! I hadn't seen that. One suggestion... adding spawn="true" to the exec tag should cause the script to continue even while the spawned window has not been closed... yep, just tried it, at least on XP that's the case. Frank On Mon, August 15, 2005 1:57 am, Ruchira Amarasinghe said: >

AW: regexpreplace help...

2005-08-15 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Mark Lybarger [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 15. August 2005 14:25 >An: Ant Users List >Betreff: regexpreplace help... > >I'm not much of a regex person, and maybe there's an easier >way to accomplish this. > >I've got an apache confi

regexpreplace help...

2005-08-15 Thread Mark Lybarger
I'm not much of a regex person, and maybe there's an easier way to accomplish this. I've got an apache config file for using url rewriting. The rewrite rules look something like: RewriteRule ^/apps/MyApp/(.*)? /MyApp/1.0.62/a/$1 [R] RewriteRule ^/apps/MyNextApp/(.*)? /MyNextApp/1.0.62/a/$1 [R]

RE: Open a shell and run a batchfile

2005-08-15 Thread Dick, Brian E.
I assume you tried the "spawn" and "vmlauncher" attributes of the "exec" task. -Original Message- From: Frank Schaare [mailto:[EMAIL PROTECTED] Sent: Sunday, August 14, 2005 5:21 PM To: Ant Users List Subject: Open a shell and run a batchfile Hi, i´d like to automate some tasks under W

Re: AW: xslt exception

2005-08-15 Thread Robert Koberg
[xslt] Loading stylesheet /home/ron1/workspace/Portal/tools/properties/properties.xsl [xslt] : Error! Error checking type of the expression 'com.sun.org.apache.xalan.internal.xsltc.compiler.ApplyTemplate [EMAIL PROTECTED]'. You might want to drop a xalan jar in you ant/lib dir so you can u

AW: xslt exception

2005-08-15 Thread Jan.Materne
I would guess, that your xsl stylesheet is not valid. For quick checks I use a browser (it´s integrated xslt): - copy your xml - insert a reference to your stylesheet - open the xml in the browser Usually it gives you a more meaningful message. You could also open the stylesheet in the browser

xslt exception

2005-08-15 Thread Ron Piterman
Hi, here are the error messages I get from an xslt task. The stack trace is also not very descriptive... does someone know what this means? Cheers, Ron [xslt] Loading stylesheet /home/ron1/workspace/Portal/tools/properties/properties.xsl [xslt] : Error! Error checking type of the expression

Re: Ant dependencies task

2005-08-15 Thread Steve Loughran
Frank W. Zammetti wrote: I do it that way for two reasons mainly: (1) Many times during development I need to have certain tasks disabled, and sometimes what is enabled and disabled changes, and I find it easier to comment out an antcall as shown. or you make every target conditional unless