| Summary: | QS helloworld_ejb3_ws_wss produces warning during compilation | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | mvanek |
| Component: | Examples | Assignee: | Douglas Palmer <dpalmer> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.1.0.CR1 | CC: | mvecera |
| Target Milestone: | --- | ||
| Target Release: | 5.2.0 GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-2906 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-12 12:09:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I think that all that needs to be done here is to change toURL() to toURI().toURL(). Release Notes Docs Status: Added: Documented as Resolved Issue Writer: Added: dlesage Release Notes Text: Added: https://issues.jboss.org/browse/SOA-2906 If the user ran ant runtest, a warning message would appear. This was due to a small coding error which has now been fixed. As a result, users will no longer see this error message. |
project_key: SOA Executing ant runtest produces following warning: ... test-compile: [copy] Copying 1 file to /home/mvanek/work/build/cr1/jboss-as/samples/quickstarts/helloworld_ejb3_ws_wss/test/classes [javac] Compiling 1 source file to /home/mvanek/work/build/cr1/jboss-as/samples/quickstarts/helloworld_ejb3_ws_wss/test/classes [javac] /home/mvanek/work/build/cr1/jboss-as/samples/quickstarts/helloworld_ejb3_ws_wss/test/src/org/jboss/soa/esb/samples/quickstart/helloworld/WSTestClientWSS.java:27: warning: [deprecation] toURL() in java.io.File has been deprecated [javac] URL securityURL = new File("test/classes/META-INF/jboss-wsse-client.xml").toURL(); [javac] ^ [javac] 1 warning runtest: [java] log4j:WARN No appenders could be found for logger (org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder). [java] log4j:WARN Please initialize the log4j system properly.