[ https://jira.codehaus.org/browse/MWEBLOGIC-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277012#comment-277012 ]
Eric Miles edited comment on MWEBLOGIC-38 at 8/25/11 12:12 PM: --------------------------------------------------------------- This is still a problem with the latest 2.9.3-SNAPSHOT and WLS 10.3.0 and is a deal breaker for us. Any plans on including this in a snapshot release? was (Author: bigehokie): This is still a problem with the latest 2.9.3-SNAPSHOT and is a deal breaker for us. Any plans on including this in a snapshot release? > 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 > 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. 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