Loading classes outside of FastTrack for Condition, etc

awilkins
Posts: 22
Joined: Tue Feb 13, 2007 7:22 pm

Loading classes outside of FastTrack for Condition, etc

Postby awilkins » Thu Jul 26, 2007 11:04 am

I've been trying to write my own Condition classes to integrate into the workflow, and I'd quite like my own Function and Validator classes as well.

I wrote a simple HelloCondition which just logs some output and returns false, but I can't seem to get FastTrack/OSWorkflow to load the class. I edited the workflow-internal.xml file to point at the class name.

I've tried :
* Putting the class in a plugin which exports the relevant namespace and installing that into the Eclipse instance. I've verified that it works by giving it a test Action triggered from a menu that creates an instance of my Condition class and executes the test. But not so in FastTrack (the transition that I changed from using StatusCondition to HelloCondition shows up in the dropdown list and the output is not logged).
* Just putting the jar in the lib folder along with the OSWorkflow components.

Any hints?

Stepan Roh
Posts: 34
Joined: Tue Apr 04, 2006 8:46 am

Postby Stepan Roh » Thu Aug 23, 2007 3:00 pm

I think you will have to register your lib in plugin.xml or MANIFEST.MF of the plugin which holds OSWorkflow.
Stepan Roh
Polarion Software


Return to “FastTrack - Tracking deeply integrated in Eclipse IDE”

Who is online

Users browsing this forum: No registered users and 2 guests