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

Karl Heinz Marbaise commented on MAPPASM-37:
--------------------------------------------

For the programs the following setup can be used to get version number into the 
generated scripts.
{code}
<program>
  
<mainClass>org.codehaus.mojo.appassembler.example.helloworld.HelloWorld</mainClass>
  <name>basic-test-${project.version}</name>
  ...
</program>
{code}

and for the daemon you can use the following:
{code}
<daemon>
  <id>daemon-1-${project.version}</id>
  
<mainClass>org.codehaus.mojo.appassembler.example.helloworld.HelloWorld</mainClass>
...
{code}
I will close the issue. If you have different requirements you reopen it.
                
> Add ability to add version to all generated scripts
> ---------------------------------------------------
>
>                 Key: MAPPASM-37
>                 URL: https://jira.codehaus.org/browse/MAPPASM-37
>             Project: Mojo AppAssembler Plugin
>          Issue Type: New Feature
>            Reporter: Trygve Laugstol
>             Fix For: 1.2
>
>
> This is a useful feature if the several versions of the package will be 
> installed on a system at any given time.

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


Reply via email to