[Issue 583] New - Apt ant task (and command-line) seems to ignore nowarn parameter

View: New views
4 Messages — Rating Filter:   Alert me  

[Issue 583] New - Apt ant task (and command-line) seems to ignore nowarn parameter

by jrsharp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=583
                 Issue #|583
                 Summary|Apt ant task (and command-line) seems to ignore nowarn
                        | parameter
               Component|jax-ws
                 Version|2.1.4
                Platform|Other
              OS/Version|Mac OS X
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|runtime
             Assigned to|issues@jax-ws
             Reported by|jrsharp






------- Additional comments from jrsharp@... Fri Jun 20 15:01:41 +0000 2008 -------
I can't seem to suppress apt warnings using either the nowarn param in the ant task, or using -nowarn
at the apt command-line.  I continue to get warning messages such as:

warning: Annotation types without processors: [javax.xml.bind.annotation.XmlRootElement,
javax.xml.bind.annotation.XmlElement, javax.xml.bind.annotation.XmlAnyElement]
warning: Attempt to create
'./com/campgroundautomation/sunrise/hostedservices/sws/jaxws/CampgroundNotFoundExceptionBe
an.java' multiple times
java.io.IOException
        at com.sun.tools.apt.mirror.apt.FilerImpl.prepareFile(FilerImpl.java:318)
        at com.sun.tools.apt.mirror.apt.FilerImpl.getPrintWriter(FilerImpl.java:265)
        at com.sun.tools.apt.mirror.apt.FilerImpl.createSourceFile(FilerImpl.java:190)
        at com.sun.tools.internal.ws.wscompile.FilerCodeWriter.openSource(FilerCodeWriter.java:57)
        at com.sun.codemodel.internal.JPackage.createJavaSourceFileWriter(JPackage.java:484)
        at com.sun.codemodel.internal.JPackage.build(JPackage.java:435)
        at com.sun.codemodel.internal.JCodeModel.build(JCodeModel.java:281)
        at com.sun.codemodel.internal.JCodeModel.build(JCodeModel.java:271)
        at
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceWrapperGenerator.doPostProcessW
ebService(WebServiceWrapperGenerator.java:129)
        at
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceWrapperGenerator.postProcessWeb
Service(WebServiceWrapperGenerator.java:116)
        at
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebSer
viceVisitor.java:169)
        at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
        at
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:3
47)
        at
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:232)
        at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessor
s.java:60)
        at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
        at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:258)
        at com.sun.tools.apt.main.Main.compile(Main.java:1102)
        at com.sun.tools.apt.main.Main.compile(Main.java:964)
        at com.sun.tools.apt.Main.processing(Main.java:95)
        at com.sun.tools.apt.Main.process(Main.java:43)
        at com.sun.tools.apt.Main.main(Main.java:34)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 583] Apt ant task (and command-line) seems to ignore nowarn parameter

by jitu-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=583



User jitu changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|issues@jax-ws             |ramapulavarthi
--------------------------------------------------------------------------------




------- Additional comments from jitu@... Mon Jun 23 15:10:53 +0000 2008 -------
assigning it to rama

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 583] Apt ant task (and command-line) seems to ignore nowarn parameter

by jrsharp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=583






------- Additional comments from jrsharp@... Sun Jul  6 06:33:54 +0000 2008 -------
Any ideas on this one yet?  Let me know if I can help provide any additional info.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 583] Apt ant task (and command-line) seems to ignore nowarn parameter

by jitu-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=583






------- Additional comments from jitu@... Wed Jul  9 19:27:20 +0000 2008 -------
Just didn't get to this one yet.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...