Re: AW: Last element of current directory name.

2005-01-27 Thread Nat Gross
-Ursprüngliche Nachricht- Von: michael sorens [mailto:[EMAIL PROTECTED] Gesendet am: Donnerstag, 27. Januar 2005 16:36 An: Ant Users List Betreff: Re: Last element of current directory name. I tried your JavaScript example; after adding bsf.jar and js.jar to my ant/lib directory, I

Re: Last element of current directory name.

2005-01-27 Thread Dave Bartmess
then BeanScriptingFramework. > > > > Jan > > > >> -Ursprüngliche Nachricht----- > >> Von: Nat Gross [mailto:[EMAIL PROTECTED] > >> Gesendet am: Mittwoch, 26. Januar 2005 16:44 > >> An: Ant Users List > >> Betreff: Re: AW: Last element of

AW: Last element of current directory name.

2005-01-27 Thread Jan . Materne
> -Ursprüngliche Nachricht- > Von: michael sorens [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 27. Januar 2005 16:36 > An: Ant Users List > Betreff: Re: Last element of current directory name. > > I tried your JavaScript example; after adding bsf.jar and &

Re: Last element of current directory name.

2005-01-27 Thread Stefan Bodewig
On Thu, 27 Jan 2005, michael sorens <[EMAIL PROTECTED]> wrote: > Is there another library I am missing...? No, just caught in a versioning nightmare. (1) Ant 1.6.x will need Apache BSF, not IBM's. (2) The only release of Apache BSF so far (a release candidate, actually) will not work with th

Re: Last element of current directory name.

2005-01-27 Thread michael sorens
16:44 An: Ant Users List Betreff: Re: AW: Last element of current directory name. Hey! I didn't know you can use Javascript in Ant, (not that I know Javascript well, but still..) it's cool. Thanks -nat ps. oh, thats what Matt meant by 'using a script'. [EMAIL PROTECTED] wrote: >The upcase part can be done with

AW: AW: Last element of current directory name.

2005-01-26 Thread Jan . Materne
f: Re: AW: Last element of current directory name. > > Hey! I didn't know you can use Javascript in Ant, (not that I know > Javascript well, but still..) it's cool. > Thanks > -nat > ps. oh, thats what Matt meant by 'using a script'. > > [EMAIL PROTECTED] wrote: > > >The upcase part can be done with

Re: AW: Last element of current directory name.

2005-01-26 Thread Nat Gross
Hey! I didn't know you can use Javascript in Ant, (not that I know Javascript well, but still..) it's cool. Thanks -nat ps. oh, thats what Matt meant by 'using a script'. [EMAIL PROTECTED] wrote: The upcase part can be done with

AW: Last element of current directory name.

2005-01-26 Thread Jan . Materne
The upcase part can be done with

Re: Last element of current directory name.

2005-01-25 Thread Nat Gross
Matt Benson wrote: --- Nat Gross <[EMAIL PROTECTED]> wrote: How do I get just the last element of the current directory. Suppose basedir = dira/dirb/dirc. (Or any path for that matter.) Whatever is "the current directory"--${user.dir}? ${basedir}?... You can use the basename task to get the

Re: Last element of current directory name.

2005-01-25 Thread Matt Benson
--- Nat Gross <[EMAIL PROTECTED]> wrote: > How do I get just the last element of the current > directory. > Suppose basedir = dira/dirb/dirc. (Or any path for > that matter.) Whatever is "the current directory"--${user.dir}? ${basedir}?... You can use the basename task to get the last element of

Last element of current directory name.

2005-01-25 Thread Nat Gross
How do I get just the last element of the current directory. Suppose basedir = dira/dirb/dirc. (Or any path for that matter.) I need a property to = "Dirc". (1st character uppercased, if possible.) For the pros out there it should be 123, but for me... forget it! Thanks -nat ---