Discussion:
[jboss-user] [jBPM] - Re: Guvnor - build package problem, import definitions
Shailendra T
2013-03-29 15:15:52 UTC
Permalink
Shailendra T [https://community.jboss.org/people/stangirala] created the discussion

"Re: Guvnor - build package problem, import definitions"

To view the discussion, visit: https://community.jboss.org/message/805525#805525

--------------------------------------------------------------
Hi Tihomir,

I tried to create a sample process and have some imports of external classes from odata4j jars, but when I add it as you mentioned, it validates successfully, but when I build it throws process compilation error. Not sure how to add external jars to guvnor process import... any ideas?

This is the error I get :

Process Compilation error ODataConsumer cannot be resolved to a type ODataConsumers cannot be resolved FormatType.JSON cannot be resolved to a type OClientBehaviors cannot be resolved OEntity cannot be resolved to a type List cannot be resolved to a type OEntity cannot be resolved to a type OQueryRequest cannot be resolved to a type OEntity cannot be resolved to a type OEntity cannot be resolved to a type List cannot be resolved to a type OProperty cannot be resolved to a type OProperty cannot be resolved to a type EdmType cannot be resolved to a type

Thanks,
Shailendra
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805525#805525]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Tihomir Surdilovic
2013-03-29 15:33:19 UTC
Permalink
Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

"Re: Guvnor - build package problem, import definitions"

To view the discussion, visit: https://community.jboss.org/message/805530#805530

--------------------------------------------------------------
Check the Guvnor documentation. It describes how to add package-level imports  - http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html_single/index.html#d0e2975 http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html_single/index.html#d0e2975
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805530#805530]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Shailendra T
2013-03-29 19:50:59 UTC
Permalink
Shailendra T [https://community.jboss.org/people/stangirala] created the discussion

"Re: Guvnor - build package problem, import definitions"

To view the discussion, visit: https://community.jboss.org/message/805587#805587

--------------------------------------------------------------
Hi, I am talking about external third party jars which have dependency on my process. I tried adding to dependencies folder and then try to install it, but still the issue remains...

Not sure what is the process of adding third party jars...

Process Compilation error ODataConsumer cannot be resolved to a type ODataConsumers cannot be resolved FormatType.JSON cannot be resolved to a type OClientBehaviors cannot be resolved OEntity cannot be resolved to a type List cannot be resolved to a type OEntity cannot be resolved to a type OQueryRequest cannot be resolved to a type OEntity cannot be resolved to a type OEntity cannot be resolved to a type List cannot be resolved to a type OProperty cannot be resolved to a type OProperty cannot be resolved to a type EdmType cannot be resolved to a type

Regards,
Shailendra
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805587#805587]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Tihomir Surdilovic
2013-03-29 20:48:21 UTC
Permalink
Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

"Re: Guvnor - build package problem, import definitions"

To view the discussion, visit: https://community.jboss.org/message/805604#805604

--------------------------------------------------------------
Can you attach your latest bpmn2. I'll take a look. If you get these errors during package build time, then its setting your package imports and process imports correctly. If it's at runtime then it's something in your bpmn2.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805604#805604]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Shailendra T
2013-04-01 14:57:34 UTC
Permalink
Shailendra T [https://community.jboss.org/people/stangirala] created the discussion

"Re: Guvnor - build package problem, import definitions"

To view the discussion, visit: https://community.jboss.org/message/805810#805810

--------------------------------------------------------------
Hi,

It is during build time. The same process works fine in eclipse environment. So I tried couple of ways to import external jars...

1) Put in depency folder so that they can added to lib directory once I do clean build and I see those jar added to the jbpm-gwt-console-server.war. Started the JBoss and still get this errors as not able to find the classes.
2) Add them as a part of "Edit Configuration" and added all the imports there... but same issue...

Any debug parameters I can use to see whats being done while I build package?

Thanks,
Shailendra
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805810#805810]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Shailendra T
2013-04-01 15:05:19 UTC
Permalink
Shailendra T [https://community.jboss.org/people/stangirala] created the discussion

"Re: Guvnor - build package problem, import definitions"

To view the discussion, visit: https://community.jboss.org/message/805812#805812

--------------------------------------------------------------
https://community.jboss.org/servlet/JiveServlet/showImage/2-805812-20535/process_build1.bmp https://community.jboss.org/servlet/JiveServlet/downloadImage/2-805812-20535/450-200/process_build1.bmp Adding the image
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805812#805812]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Shailendra T
2013-03-29 20:52:24 UTC
Permalink
Shailendra T [https://community.jboss.org/people/stangirala] created the discussion

"Re: Guvnor - build package problem, import definitions"

To view the discussion, visit: https://community.jboss.org/message/805607#805607

--------------------------------------------------------------
Hi,

Here is the bpm process...

Thanks for your reply.

Regards,
Shailendra
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805607#805607]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...