Bug 900768 (JBPAPP6-1072) - JBossWS - WSConsume generates sources in current dir even if -keep option is not specified
Summary: JBossWS - WSConsume generates sources in current dir even if -keep option is ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBPAPP6-1072
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 6.0.1
Assignee: Vladimir Rastseluev
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On:
Blocks: JBPAPP6-978
TreeView+ depends on / blocked
 
Reported: 2012-08-06 11:37 UTC by Alessio Soldano
Modified: 2014-01-13 00:22 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-04 11:35:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPAPP6-1072 0 Major Closed JBossWS - WSConsume generates sources in current dir even if -keep option is not specified 2014-09-09 08:34:20 UTC

Description Alessio Soldano 2012-08-06 11:37:08 UTC
project_key: JBPAPP6

Comment 1 Alessio Soldano 2012-08-06 11:37:32 UTC
Link: Added: This issue incorporates JBWS-3519


Comment 2 Alessio Soldano 2012-08-06 11:37:52 UTC
Link: Added: This issue is a dependency of JBPAPP-9438


Comment 3 Vladimir Rastseluev 2012-10-01 14:43:03 UTC
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

Comment 4 Alessio Soldano 2012-10-04 10:18:24 UTC
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}

Comment 5 Vladimir Rastseluev 2012-10-04 10:40:02 UTC
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?



Comment 6 Alessio Soldano 2012-10-04 10:42:39 UTC
No, wsconsume-source-src is only created if you provide -k option (keep sources)

Comment 7 Vladimir Rastseluev 2012-10-04 11:35:36 UTC
Verified on EAP 6.0.1 ER2

Comment 8 Anne-Louise Tangring 2012-11-13 20:21:01 UTC
Docs QE Status: Removed: NEW 



Note You need to log in before you can comment on or make changes to this bug.