<util:file name="${basedir}" var="f" />
...
${f.parent}
...

(f is a java.io.File, so f.parent is the equivalent of f.getParent())

- Brett

On 7/18/05, rahul murthy <[EMAIL PROTECTED]> wrote:
> 
> Is there any way i can get the parent folder of
> "basedir" from maven.xml when i run maven.
> 
> say i am executing maven from my "C:\temp\tmp" so my
> basedir happens to be "C:\temp\tmp" but i want the
> parent of "C:\temp\tmp" i.e just "C:\temp".
> 
> regards
> Rahul.
> 
> 
> 
> 
> 
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with 
> voicemail http://uk.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to