[
https://jira.codehaus.org/browse/MAPPASM-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295146#comment-295146
]
Karl Heinz Marbaise edited comment on MAPPASM-154 at 3/26/12 2:30 PM:
----------------------------------------------------------------------
You can give the extraArgument for the daemon via the following:
{code}
<daemons>
<daemon>
<id>daemon-1</id>
<mainClass>org.codehaus.mojo.appassembler.example.helloworld.HelloWorld</mainClass>
<commandLineArguments>
<commandLineArgument>argument_one</commandLineArgument>
</commandLineArguments>
<jvmSettings>
<extraArguments>
<extraArgument>-DTest</extraArgument>
<extraArgument>-DXXX</extraArgument>
</extraArguments>
</jvmSettings>
<platforms>
<platform>jsw</platform>
</platforms>
</daemon>
</daemons>
{code}
And you will see the extraArguments will be given to the
wrapper.java.additional.1 ...
This is currently a lack of documentation which is related to MAPPASM-107 which
i will solve with 1.2.1.
was (Author: khmarbaise):
You can give the extraArgument for the daemon via the following:
{code}
<daemons>
<daemon>
<id>daemon-1</id>
<mainClass>org.codehaus.mojo.appassembler.example.helloworld.HelloWorld</mainClass>
<commandLineArguments>
<commandLineArgument>argument_one</commandLineArgument>
</commandLineArguments>
<jvmSettings>
<extraArguments>
<extraArgument>-DTest</extraArgument>
<extraArgument>-DXXX</extraArgument>
</extraArguments>
</jvmSettings>
<platforms>
<platform>jsw</platform>
</platforms>
</daemon>
</daemons>
{code}
And you will see the extraArguments will be given to the
wrapper.java.additional.1 ...
This is currently a lack of documentation which is related to MAPPASM-107 which
i will solve with 1.2.1.
> Need jsw generate-daemons to honor extraJvmArguments
> -----------------------------------------------------
>
> Key: MAPPASM-154
> URL: https://jira.codehaus.org/browse/MAPPASM-154
> Project: Mojo AppAssembler Plugin
> Issue Type: Improvement
> Affects Versions: 1.2
> Reporter: Dim Bal
> Assignee: Karl Heinz Marbaise
>
> Hello,
> It would have been great if the generate-daemons goal supported the
> extraJvmArguments parameter and wrote its value to
> "wrapper.java.additional.1=" in wrapper.conf.
> Currently, the wrapper.java.additional.1 parameter is just always commented
> out in wrapper.conf.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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