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

Asgeir S. Nilsen updated MOJO-840:
----------------------------------

    Attachment: AbstractBooterDaemonGeneratorV2.patch

There is another bug in AbstractBooterDaemonGenerator : 

The JvmSettings are duplicated in the manifest xml file and the script.

I have fixed this also, and updated the patch.

Sadly I could not write a test for this change, as the ordering of different 
elements in the manifest is nondeterministic, so the FileUtils.contentEquals 
could not be used... :(

> AbstractBooterDaemonGenerator places command-line arguments both in script 
> and in xml manifest
> ----------------------------------------------------------------------------------------------
>
>                 Key: MOJO-840
>                 URL: http://jira.codehaus.org/browse/MOJO-840
>             Project: Mojo
>          Issue Type: Bug
>          Components: appassembler
>            Reporter: Asgeir S. Nilsen
>         Attachments: AbstractBooterDaemonGenerator.patch, 
> AbstractBooterDaemonGeneratorV2.patch
>
>
> When using booter-unix and / or booter-windows with command-line arguments, 
> the arguments end up both in the generated scripts and in the xml manifest 
> file.
> This results in the argument list being duplicated when the application is 
> launched by the booter.
> The attached patch fixes this, and also adds tests for the 
> GenericDaemonGenerator.

-- 
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