[
http://jira.codehaus.org/browse/MWEBSTART-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed MWEBSTART-141.
-------------------------------------
Resolution: Not A Bug
There are 2 problems with the IT you supplied.
1. ${project.name} in the template.vm file will not work. It should be
${project.Name} (note the capital n in Name)
2. The POM lacks a <url> element but template.vm tries to use it
When these 2 problems are fixed your IT passes.
> $project variables in template are not replaced
> -----------------------------------------------
>
> Key: MWEBSTART-141
> URL: http://jira.codehaus.org/browse/MWEBSTART-141
> Project: Maven 2.x Webstart Plugin
> Issue Type: Bug
> Components: jnlps
> Affects Versions: 1.0-alpha-2
> Environment: Maven 2.2.1, Java 1.6.0_17, Fedora 11 x86_64
> Reporter: Peter Janes
> Attachments: MWEBSTART-test-mavenProjectValues.patch
>
>
> The
> [http://mojo.codehaus.org/webstart/webstart-maven-plugin/jnlp-mojos-overview.html
> jnlp mojo documentation] and examples state that $project.Name,
> $project.Version, etc. can be used in templates to retrieve the associated
> values from the Maven project. The behaviour can be seen in the existing
> ITs, but they don't contain any assertions on the replaced values so I've
> attached a failing test case that does.
> (This affects 1.0-alpha-2 but the patch is against the current trunk, i.e.
> 1.0-beta-1-SNAPSHOT.)
--
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