Good day to you too, Franz
Thanks!  I thought I had seen that before, even used
it :-), but need better organization....:-)

Thanks again,
- Ole


--- franz see <[EMAIL PROTECTED]> wrote:

> 
> Good day to you, Ole,
> 
> Try adding that as a parameter.
> 
> public class MyMojo ...
> {
>     /**
>      * @parameter default-value="${basedir}
>      */
>     private File baseDirectory;
> 
>     ...
> }
> 
> Cheers,
> Franz
> 
> 
> Ole wrote:
> > 
> > Hi,
> > 
> > Anyone know what the best 
> > way of getting the base path 
> > for a mojo runtime root directory?
> > 
> > I could do it like this:
> > 
> > new File("").getAbsolutePath()
> > 
> > but I'm sure there's a more elegant approach.
> > 
> > Thanks,
> > - Ole
> > 
> > 
> > 
> > 
> >  
> >
>
____________________________________________________________________________________
> > It's here! Your new message!  
> > Get new email alerts with the free Yahoo! Toolbar.
> >
> http://tools.search.yahoo.com/toolbar/features/mail/
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/Getting-the-mojo-runtime-base-directory-path-tf3025563s177.html#a8408296
> Sent from the Maven - Users mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

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

Reply via email to