[ 
https://jira.codehaus.org/browse/MWEBLOGIC-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jon Osborn resolved MWEBLOGIC-38.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.4-SNAPSHOT

Ok, you can specify a 'filter' for the includes. The patch was for **/*.java so 
I made it a real ant filter.
                
> Add jwsFileSet.setIncludes to JwscMojo in order that src files can be filtered
> ------------------------------------------------------------------------------
>
>                 Key: MWEBLOGIC-38
>                 URL: https://jira.codehaus.org/browse/MWEBLOGIC-38
>             Project: Mojo's Maven plugin for WebLogic
>          Issue Type: Improvement
>         Environment: weblogic 9.2.3.0
>            Reporter: Michael Waloschek
>            Assignee: Jon Osborn
>             Fix For: 2.9.4-SNAPSHOT
>
>         Attachments: patch_ JwscMojo.java
>
>
> With weblogic JWS files annotated using javax.jws.HandlerChain annotation 
> (e.g. @HandlerChain(name = "AuthHandler", file = "handler-chain.xml"), JWSC 
> task needs the referenced xml file to reside in source folder. However 
> awkward it is to have xml file in src/main/java, this is where JWSC expects 
> it. 
> On the other hand, when I put the file into the folder, JWSC fails with this 
> error:
> java.lang.IllegalArgumentException: file must be a java source file.
>       at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:190)
>       at org.codehaus.mojo.weblogic.JwscMojo.execute(JwscMojo.java:175)
> The solution is to use something like this:
>                               <jwsfileset srcdir="${ws-src}">
>                                       <include name="**/*.java" />
>                               </jwsfileset>
> I have added this to JwscMojo (after l. 162) - see patch attached:
> jwsFileSet.setIncludes("**/*.java");
> Alternatively, the includes string can be added as a parameter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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