Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to call java classes in custom precondition plugin

I want to call java classes in custom precondition plug in when any workitem save, and the java classes depends on third party jars .

How can I call java classes in custom precondition plugin ?

0 votes



One answer

Permanent link
Put the third-party jars inside your plugin.  If you do that, your code will always know where to find them.

0 votes

Comments

Hi, Thanks for Response.

But my problem is when I add java class and third party jars then plugin not load in RTC eclipse precondition list.

Did you look at the plugin.xml e.g. include them in the build tab (to distribute them with the generated plugin jar) and manifest and include the jars to make sure the plugin knows how to call them? It is probably such a problem. I also would suggest to test with Jetty first and look at the console/server logs there must be more information.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,485
× 1,698
× 383

Question asked: Aug 01 '12, 8:58 a.m.

Question was seen: 7,295 times

Last updated: Aug 03 '12, 2:09 a.m.

Confirmation Cancel Confirm