[
https://jira.codehaus.org/browse/MWEBSTART-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284167#comment-284167
]
Rade Martinovic commented on MWEBSTART-186:
-------------------------------------------
Thank you for your response. I am trying out with 1.0-beta-2 version right now,
I'll get back with the results shortly.
Value of the templateDirectory should be the default one as described here:
http://mojo.codehaus.org/webstart/webstart-maven-plugin/jnlp-mojo.html#templateDirectory
I had not change it.
> While parsing JNLPConf default value of templateDirectory is wrong
> ------------------------------------------------------------------
>
> Key: MWEBSTART-186
> URL: https://jira.codehaus.org/browse/MWEBSTART-186
> Project: Maven 2.x Webstart Plugin
> Issue Type: Bug
> Components: build
> Affects Versions: 1.0-beta-2
> Environment: Windows XP SP3
> Reporter: Rade Martinovic
> Priority: Critical
>
> In my setup I had done something like this:
> {code:title=pom.xml:xml}
> <jnlp>
> <!--snip-->
>
> <inputTemplateResourcePath>${templateDirectory}</inputTemplateResourcePath>
> <inputTemplate>myTemplate.vm</inputTemplate> <!-- relative to
> inputTemplateResourcePath -->
> <!--snip-->
> </jnlp>
> {code}
> but, the package process failes with following prompt:
> {noformat}
> [ERROR] Failed to execute goal
> org.codehaus.mojo.webstart:webstart-maven-plugin:1.0-beta-1:jnlp-single
> (create-jnlp) on project my-project-jnlp: The specified JNLP template does
> not exist: c:\project\project_base_dir\myTemplate.vm
> {noformat}
> I expect ${templateDirectory} at that point to be
> ${project.basedir}/src/main/jnlp, not ${project.basedir}.
--
This message is automatically generated by JIRA.
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