Hmm, well many use this in multiproject to put the actual project source in
a directory at the same level as the other projects, vs them as subprojects:
maven.multiproject.basedir=${basedir}/..
Are you using it as a property to something, or directly yourself in code?
If directly, ensure it is interpretted correctly (expanded) vs as the actual
name of a file/dir.
-----Original Message-----
From: rahul murthy [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 17, 2005 2:59 PM
To: Maven Users List
Subject: RE: How can i get the parent directory when i run Maven
nope....
--- Jeff Jensen <[EMAIL PROTECTED]>
wrote:
> Does "${basedir}/.." work?
>
>
> -----Original Message-----
> From: rahul murthy [mailto:[EMAIL PROTECTED]
> Sent: Sunday, July 17, 2005 2:56 PM
> To: Maven Users List
> Subject: How can i get the parent directory when i run Maven
>
>
> 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]
>
>
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.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]