[
http://jira.codehaus.org/browse/MWEBSTART-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131036#action_131036
]
Valerio Schiavoni commented on MWEBSTART-117:
---------------------------------------------
I've tried a workaround to the issue, but it didn't work.
Basically:
1)i've turned off resource filtering for the template.vm file
2)i've bound the webstart plugin to the process-resources phase
3)executed mvn install webstart:jnlp-inline
but it didn't work as expected: the template.vm is filtered and variable
substitution takes place; but the filtered file is not the one then used by the
plugin; the original one is used instead, causing a malformed .jnlp file.
I think the workaround for the moment is to hard-code a value for the codebase
attribute straight in the template.vm file.
> Using properties defined in pom.xml to fill values in the template.vm
> ---------------------------------------------------------------------
>
> Key: MWEBSTART-117
> URL: http://jira.codehaus.org/browse/MWEBSTART-117
> Project: Maven 2.x Webstart Plugin
> Issue Type: Improvement
> Affects Versions: 1.0-alpha-2
> Reporter: Valerio Schiavoni
>
> When properties like the followings are defined in pom.xml:
> <properties>
> <webstart.deploy.site>some-url</webstart.deploy.site>
> </properties>
> it would be nice to being able to use them in the template.vm file, like the
> following:
> <jnlp
> spec="$jnlpspec"
> codebase="$properties.webstart.deploy.site"
> href="$outputFile">
> or something like that. Either it's already possible, and i don't find in the
> documentation or it's not still possible, and this would be a nice
> improvement IMHO.
--
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