-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
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
> -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
&
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
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
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
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
The upcase part can be done with
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
--- 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
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
---
11 matches
Mail list logo