[ http://jira.codehaus.org/browse/MWEBSTART-19?page=comments#action_78045 ] Craig Sumner commented on MWEBSTART-19: ---------------------------------------
I would use this feature extensively, as James implemented it. > [webstart] Getting maven variables in jnlp file > ----------------------------------------------- > > Key: MWEBSTART-19 > URL: http://jira.codehaus.org/browse/MWEBSTART-19 > Project: Maven 2.x Webstart Pluginm > Issue Type: Improvement > Reporter: Hes Siemelink > Assigned To: Jerome Lacoste > Priority: Minor > 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
