senleft (15) [Avatar] Offline
#1
Chapter 7 example - StoreOpportunityTask - used the Customer, CustomerServiceService, SalesOpportunity classes from org.bpmnwithactiviti.chapter7.ws package.
However, there is no that package in the ActivitiInAction sourcecode. May ask you to check it?
tijs.rademakers (494) [Avatar] Offline
#2
Re: chapter 7 source code
These classes are in the generated/cxf folder in the bpmn-examples project. However the idea of the chapter 7 example is to generate these classes yourself using the Maven CXF plugin as described in that chapter.

Best regards,

Tijs
senleft (15) [Avatar] Offline
#3
Re: chapter 7 source code
Thank you for the quick answer!
I try to run Maven CXF plugin. You may see a result at http://pastebin.com/Sh2TYw3w
It seems like maven try to download asm-3.1 dependency and fail to do it. It may be due to a broken link. I have no idea how to solve it. Furthermore, I can't find that dependency in the project POM file.
tijs.rademakers (494) [Avatar] Offline
#4
Re: chapter 7 source code
That's really strange. Can you provide me with the full Maven log?

Best regards,

Tijs
senleft (15) [Avatar] Offline
#5
Re: chapter 7 source code
I try to run mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true several times, and it downladed all dependencies. Then I run:
>mvn eclipse:clean
>mvn eclipse:eclipse

However, I still not have org.bpmnwithactiviti.chapter7.ws package.

This is log mvn eclipse:eclipse http://pastebin.com/Gxpj1NJk
tijs.rademakers (494) [Avatar] Offline
#6
Re: chapter 7 source code
Hi,

Do you have the sources available in the bpmn-examples project? Because these sources are available in the Google Code repository.

If you want to generate the classes yourself in another project you have to run:
mvn clean install

to have the sources generated.

Best regards,

Tijs
senleft (15) [Avatar] Offline
#7
Re: chapter 7 source code
Yes, I have sources. I'm running mvn eclipse:eclipse (http://pastebin.com/Gxpj1NJk ) from bpmn-examples folder.
You may see result mvn clean install (bpmn-examples folder too) on the next link http://dl.dropbox.com/u/8384811/mvn_clean_install_log.zip
tijs.rademakers (494) [Avatar] Offline
#8
Re: chapter 7 source code
Please run mvn clean install without the unit tests.
So:

mvn clean install -Dmaven.test.skip=true

Best regards,

Tijs
senleft (15) [Avatar] Offline
#9
Re: chapter 7 source code
Thank you very much Tijs, I have solved this issue. It's my mistake. I used IDEA, and project was generated based on POM but not from generated Eclipse files. So resulting CLASSPATH has not generated/cxf folder. Issue was solved after adding it to src in Project Settings.
mrajoraaz (3) [Avatar] Offline
#10
Re: chapter 7 source code
The following time I learn a weblog, I hope that it doesn't disappoint me as a lot as this one.Himachal Honeymoon Packages | Himachal Honeymoon Tour Package
430635 (1) [Avatar] Offline
#11
"So resulting CLASSPATH has not generated/cxf folder. Issue was solved after adding it to src in Project Settings"

How was this resolved?