2011/10/9 Ole Ersoy <[email protected]>:
> Hi,
>
> I tried the following:
>
>      <plugin>
>        <groupId>org.codehaus.mojo</groupId>
>        <artifactId>tomcat-maven-plugin</artifactId>
>        <configuration>
>          <warSourceDirectory>${basedir}/src/main/webapp</warSourceDirectory>
>        </configuration>
>      </plugin>
>
> However when I run the following from my code:
> logger.trace("The current root directory is: {} ", new
> File("").getAbsolutePath());
>
> I still get the root directory of the project.  Thoughts?
I don't follow you here.
You are running the plugin or doing something within a home made plugin ?
>
> TIA,
> - Ole
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to