Bug 900768 (JBPAPP6-1072)
| Summary: | JBossWS - WSConsume generates sources in current dir even if -keep option is not specified | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Alessio Soldano <asoldano> |
| Component: | Web Services | Assignee: | Vladimir Rastseluev <vrastsel> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | asoldano, pslavice, vrastsel |
| Target Milestone: | --- | ||
| Target Release: | EAP 6.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-1072 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-10-04 11:35:36 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: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 900687 | ||
|
Description
Alessio Soldano
2012-08-06 11:37:08 UTC
Link: Added: This issue incorporates JBWS-3519 Link: Added: This issue is a dependency of JBPAPP-9438 I can still reproduce that bug in EAP 6.0.1 ER2. I used command ./wsconsume.sh -n -s /home/vrastsel/eap-test-cripts/scripts-testing/target/test-classes/wsconsume-sources-src -p org.jboss.test.script -o /home/vrastsel/eap-test-cripts/scripts-testing/target/test-classes/wsconsume-sources-out /home/vrastsel/eap-test-cripts/scripts-testing/target/test-classes/wsdl/Echo1Service.wsdl Sources were generated in $JBOSS_HOME/bin/output directory I could not reproduce this instead, just tried again with an equivalent command and no sources were left in $JBOSS_HOME/bin/output folder.
I'm using EAP 6.0.1.ER2 as it builds from git://git.app.eng.bos.redhat.com/jbossas/jboss-as.git 'eap6' branch.
Can you please past your wsconsume output?
Thanks
{noformat}
alessio@inuyasha /dati/jboss-eap6/build/target/jboss-eap-6.0/bin (eap6) $ ./wsconsume.sh -n -s wsconsume-sources-src -p org.jboss.test.script -o wsconsume-sources-out http://jbossws-asoldano.rhcloud.com/jaxws-samples-wsse-policy-username-unsecure-transport?wsdl
Could not find log4j.xml configuration, logging to console.
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
wsdl2java -exsh false -p org.jboss.test.script -d /dati/jboss-eap6/build/target/jboss-eap-6.0/bin/wsconsume-sources-out/tmp4292672 -verbose -allowElementReferences http://jbossws-asoldano.rhcloud.com/jaxws-samples-wsse-policy-username-unsecure-transport?wsdl
wsdl2java - Apache CXF 2.4.8-patch-01-redhat-2
alessio@inuyasha /dati/jboss-eap6/build/target/jboss-eap-6.0/bin (eap6) $ ll
total 148
-rw-rw-r--. 1 alessio alessio 2227 Oct 4 12:09 add-user.bat
-rwxr-xr-x. 1 alessio alessio 2232 Oct 4 12:09 add-user.sh
-rw-rw-r--. 1 alessio alessio 2680 Oct 4 12:09 appclient.bat
-rw-rw-r--. 1 alessio alessio 1941 Oct 4 12:09 appclient.conf
-rw-rw-r--. 1 alessio alessio 2737 Oct 4 12:09 appclient.conf.bat
-rwxr-xr-x. 1 alessio alessio 3701 Oct 4 12:09 appclient.sh
drwxrwxr-x. 2 alessio alessio 4096 Oct 4 12:10 client
-rw-rw-r--. 1 alessio alessio 3727 Oct 4 12:09 domain.bat
-rw-rw-r--. 1 alessio alessio 2681 Oct 4 12:09 domain.conf
-rw-rw-r--. 1 alessio alessio 3568 Oct 4 12:09 domain.conf.bat
-rwxr-xr-x. 1 alessio alessio 8057 Oct 4 12:09 domain.sh
drwxrwxr-x. 2 alessio alessio 4096 Oct 4 12:09 init.d
-rw-rw-r--. 1 alessio alessio 1782 Oct 4 12:09 jboss-cli.bat
-rw-rw-r--. 1 alessio alessio 1823 Oct 4 12:09 jboss-cli-logging.properties
-rwxr-xr-x. 1 alessio alessio 2013 Oct 4 12:09 jboss-cli.sh
-rw-rw-r--. 1 alessio alessio 684 Oct 4 12:09 jboss-cli.xml
-rw-rw-r--. 1 alessio alessio 2923 Oct 4 12:09 jconsole.bat
-rwxr-xr-x. 1 alessio alessio 2538 Oct 4 12:09 jconsole.sh
-rw-rw-r--. 1 alessio alessio 2166 Oct 4 12:09 jdr.bat
-rwxr-xr-x. 1 alessio alessio 2092 Oct 4 12:09 jdr.sh
-rw-rw-r--. 1 alessio alessio 48 Oct 4 12:09 product.conf
-rw-rw-r--. 1 alessio alessio 685 Oct 4 12:09 run.bat
-rwxr-xr-x. 1 alessio alessio 710 Oct 4 12:09 run.sh
-rw-rw-r--. 1 alessio alessio 4342 Oct 4 12:09 standalone.bat
-rw-rw-r--. 1 alessio alessio 2249 Oct 4 12:09 standalone.conf
-rw-rw-r--. 1 alessio alessio 3083 Oct 4 12:09 standalone.conf.bat
-rwxr-xr-x. 1 alessio alessio 7368 Oct 4 12:09 standalone.sh
-rw-rw-r--. 1 alessio alessio 1311 Oct 4 12:09 vault.bat
-rwxr-xr-x. 1 alessio alessio 2904 Oct 4 12:09 vault.sh
-rw-rw-r--. 1 alessio alessio 838 Oct 4 12:09 wsconsume.bat
-rwxr-xr-x. 1 alessio alessio 2255 Oct 4 12:09 wsconsume.sh
drwxrwxr-x. 2 alessio alessio 4096 Oct 4 12:12 wsconsume-sources-out
-rw-rw-r--. 1 alessio alessio 776 Oct 4 12:09 wsprovide.bat
-rwxr-xr-x. 1 alessio alessio 2077 Oct 4 12:09 wsprovide.sh
alessio@inuyasha /dati/jboss-eap6/build/target/jboss-eap-6.0/bin (eap6) $ ll wsconsume-sources-out/
total 0
alessio@inuyasha /dati/jboss-eap6/build/target/jboss-eap-6.0/bin (eap6)
{noformat}
I agree, sorry for confusion, I looked at another place. But in this case there should be /wsconsume-source-src directory, containing not compiled source code. It wasn't even created. I think this is a bug. Do you agree? No, wsconsume-source-src is only created if you provide -k option (keep sources) Verified on EAP 6.0.1 ER2 Docs QE Status: Removed: NEW |