[ 
https://jira.codehaus.org/browse/MAPPASM-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283087#comment-283087
 ] 

Olivier Lamy commented on MAPPASM-126:
--------------------------------------

applied too. Thanks!

> Supplemental arguments for the mainClass
> ----------------------------------------
>
>                 Key: MAPPASM-126
>                 URL: https://jira.codehaus.org/browse/MAPPASM-126
>             Project: Mojo AppAssembler Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1.1
>            Reporter: Karl Heinz Marbaise
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: MAPPASM-126-docu.diff, MAPPASM-126.patch
>
>
> The idea is the have supplemental parameters which should be added to the 
> call of the mainClass in the generated batch-file.
> Currently i can manage that by simply doing the following
> {code}
> <program>
>   <mainClass>com.x.y.MainClass argument1 argument2</mainClass>
>    ...
> </program>
> {code}
> which will generate in the batch file like this:
> {code}
> %JAVACMD% %JAVA_OPTS% %EXTRA_JVM_ARGUMENTS% -classpath 
> %CLASSPATH_PREFIX%;%CLASSPATH% -Dapp.name="appname" -Dapp.repo="%REPO%" 
> -Dbasedir="%BASEDIR%" com.x.y.MainClass argument1 argument2 %CMD_LINE_ARGS%
> My idea is to have something like the following which would be very 
> convenient:
> <program>
>   <mainClass>com.x.y.MainClass</mainClass>
>   <args>
>      <arg>argument1</arg>
>      <arg>argument2>/arg>
>   </args>
>    ...
> </program>
> {code}

--
This message is automatically generated by JIRA.
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