[ 
http://jira.codehaus.org/browse/MWEBSTART-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227814#action_227814
 ] 

Frederic commented on MWEBSTART-134:
------------------------------------

We're having exactly the same problem. I don't think this is the intended 
behaviour. According to the plugin documentation on 
http://mojo.codehaus.org/webstart/webstart-maven-plugin/jnlp-mojos-overview.html
 the intention is to copy the resources folder content to the workdir (so to 
the root of the jnlp file).
src/main/jnlp/resources/ : (Location where all resources are taken, all 
contents are copied into the work directory)
target/jnlp/ : (Work directory)



> jnlp resources are in libPath
> -----------------------------
>
>                 Key: MWEBSTART-134
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-134
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>          Components: jnlps
>    Affects Versions: 1.0-alpha-2
>         Environment: Linux Slack 12.2.
> apache-maven-2.1.0
>            Reporter: Kirstin Ebeling
>
> I use default directory pathes described for webstart-maven-plugin:
> pom.xml                    (configures the webstart plugin)
> src/main/java           (Java sources)
> src/main/jnlp/template.vm  (template for the jnlp file to be generated.)
> src/main/jnlp/resources/
> where in the last directory is for example the file "index.html"
> The configuration for webstart-maven-plugin for goal jnlp is
> <configuration>          
>            <libPath>lib</libPath>    
>            <jnlp>             
>              <outputFile>XYZ.jnlp</outputFile>
>              <mainClass>com.main.somthing.Launch</mainClass>
>            </jnlp>
>  </configuration>
> The bundle after excution looks like this:
> target/jnlp/XYZ.jnlp
> target/${project.name}.jar
> target/${project.name}.zip 
> target/jnlp/lib     with libraries from maven-dependencies AND the file 
> "index.html"
> I think, the resource "index.html" must be in directory target/jnlp/ 
> Isn't it ?

-- 
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


Reply via email to