You're rigth.
I need to find a way to pass it to ProjectResourceLoader.

--
Olivier


2008/7/26 Benjamin Bentmann <[EMAIL PROTECTED]>:
> Hi Oliver,
>
>> Author: olamy
>> Date: Sat Jul 26 12:13:48 2008
>> New Revision: 680030
>>
>> URL: http://svn.apache.org/viewvc?rev=680030&view=rev
>> Log:
>> [MCHANGES-118] AnnouncementMojo can only load velocity templates from
>> src/main/resources
>>
>> +        +        // MCHANGES-118 adding the user.dir path
>> +        +        paths.add( System.getProperty( "user.dir" ) );
>
> Are you sure this is what you want? "user.dir" can be quite anything [0],
> just assume somebody running a reactor build where the working directory is
> usually (but necessarily) the base directory of the execution root. Isn't it
> more the base directory of the current project one would want to use to
> resolve relative paths against?
>
>
> Benjamin
>
>
> [0] http://www.nabble.com/Common-Bugs-p14783703.html
>
> ---------------------------------------------------------------------
> 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