[ 
http://jira.codehaus.org/browse/MJSPC-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_128194
 ] 

Wayne Fay commented on MJSPC-33:
--------------------------------

Check the plugin configuration:
http://mojo.codehaus.org/jspc-maven-plugin/compile-mojo.html

You set the injectString in the war plugin configuration. This is incorrect. I 
know that's what it says in the plugin docs, but they seem to be wrong.

It needs to go into the jspc plugin config. Move it, and try again. Works for 
me, at least.

> jspc-maven-plugin doesn't recognize the "injectString" parameter
> ----------------------------------------------------------------
>
>                 Key: MJSPC-33
>                 URL: http://jira.codehaus.org/browse/MJSPC-33
>             Project: Maven 2.x JSPC Plugin
>          Issue Type: Bug
>    Affects Versions: 1.4.6
>         Environment: Windows XP
>            Reporter: Rao
>         Attachments: maven_test.zip
>
>
> jspc-maven-plugin is not recognizing the "injectString" parameter passed in 
> th configuration. I need the web fragment to be inserted in a specific place 
> in web.xml. I have specified injectString as mentioned in the documentation, 
> however it seems to be taking the default "/web-app" as the injectString 
> value and appending web fragment at the end.
> <configuration>
>     <webXml>${basedir}/target/jspweb.xml</webXml>
>     <injectString>&lt;!-- [INSERT FRAGMENT HERE] --&gt;</injectString>
> </configuration>
> Any help is appreciated.

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