[ 
http://jira.codehaus.org/browse/MAPPASM-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter updated MAPPASM-22:
--------------------------------

    Fix Version/s: 1.0

> Ability to add inject platform specific basedir variable runtime
> ----------------------------------------------------------------
>
>                 Key: MAPPASM-22
>                 URL: http://jira.codehaus.org/browse/MAPPASM-22
>             Project: Mojo AppAssembler Plugin
>          Issue Type: Bug
>            Reporter: Trygve Laugstol
>            Assignee: Trygve Laugstol
>             Fix For: 1.0
>
>
> 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


Reply via email to