[ http://jira.codehaus.org/browse/MWEBSTART-19?page=all ]

Jerome Lacoste closed MWEBSTART-19.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-alpha-2

r2874 

Taken patch from James. Refactored and added doc.

I added System properties before project properties as advised by Holger Brands.

> [webstart] Getting maven variables in jnlp file
> -----------------------------------------------
>
>                 Key: MWEBSTART-19
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-19
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Improvement
>            Reporter: Hes Siemelink
>         Assigned To: Jerome Lacoste
>            Priority: Minor
>             Fix For: 1.0-alpha-2
>
>         Attachments: props.diff
>
>
> I would like to put the version number of our application in the JNLP file.
> Is it possible to reference Maven variables from the velocity template? I 
> would like to do something like
> <?xml version="1.0" encoding="UTF-8"?>
> <jnlp codebase="$$codebase">
> ...
>   <resources>
>     <property name="version" value="${project.version }"/>
>   </resources>
> ...
> </jnlp>
> or 
>     <property name="version" value="${maven.project.version }"/>
> It would be great if this was possible! 

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