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