logo       

[jira] Created: (MOJO-614) Ability to add inject platform specific basedir : msg#00138

java.maven-plugins.mojo.devel

Subject: [jira] Created: (MOJO-614) Ability to add inject platform specific basedir variable runtime

Ability to add inject platform specific basedir variable runtime
----------------------------------------------------------------

Key: MOJO-614
URL: http://jira.codehaus.org/browse/MOJO-614
Project: Mojo
Issue Type: Bug
Components: appassembler
Reporter: Trygve Laugstol


When giving extra JVM arguments (might apply to other cases too) it's useful to
have a token that will be expanded to the platform-specific basedir identifier.

For example something like this:

{noformat}

<extraJvmArguments>-javaagent:repo/aspectj/aspectjweaver/1.5.2/aspectjweaver-1.5.2.jar</extraJvmArguments>
{noformat}

will not work unless executed from the correct directory. Thus I'd like to have
something like this:

{noformat}

<extraJvmArguments>-javaagent:@BASEDIR@/repo/aspectj/aspectjweaver/1.5.2/aspectjweaver-1.5.2.jar</extraJvmArguments>
{noformat}

that's expanded to "$BASEDIR" in the shell scripts and "%BASEDIR%" in the bat
files, like this:

{noformat}
java ...
-javaagent:"$BASEDIR"/repo/aspectj/aspectjweaver/1.5.2/aspectjweaver-1.5.2.jar
{noformat}


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise