Dear all, The link[1] given by Tobias was not clear enough. From this link, I can learn how to create a custom workflow but there are no instructions on how can I deploy the workflow into my matterhorn. Do I have to rebuild it or perform other operation? Any workflow experts can help?
Regards, Eric [1] http://opencast.jira.com/wiki/display/MH/Create+a+Custom+Workflow+Operation+Handler 2011/8/12 Rubén Pérez <[email protected]> > Eric, > > As it was said, this is a work in progress. You can see the typical errors > in a work in development. For instance "... is not abstract and does not > overried abstract method start" comes because all handlers should extend the > AbstractWorkflowOperationHandl > er, which contains several "abstract" methods, i.e. they must be > implemented in the inheriting classes so that they can be instantiated > (unless they are abstract themselves). Obviously, > EmailWorkflowOperationHandler is suppossed to be instantiable, and therefore > all the abstract methods in its parent class must be implemented. > The others errors are about variables not defined. The fix depend on which > type of variable, etc. > > As the others said, fixing this requires some knowledge of the internals of > the Workflow and its handlers, and a good starting point is the Wiki links > you were giving. > > Do not hesitate to post your questions about specific errors, though, > should you want to keep developing and fixing the handler. > > Good luck, > Rubén > > > 2011/8/12 Eric Shek <[email protected]> > >> Hi Christ, >> >> There are lots of error in the file. Here's the log that I have got when I >> build the matterhorn with the new email handler. >> >> [ERROR] COMPILATION ERROR : >> [INFO] ------------------------------------------------------------- >> [ERROR] >> /opt/matterhorn/1.1.0/modules/matterhorn-conductor/src/main/java/org/opencastproject/workflow/handler/EmailWorkflowOperationHandler.java:[20,39] >> cannot find symbol >> symbol : class WorkflowBuilder >> location: package org.opencastproject.workflow.api >> [ERROR] >> /opt/matterhorn/1.1.0/modules/matterhorn-conductor/src/main/java/org/opencastproject/workflow/handler/EmailWorkflowOperationHandler.java:[37,7] >> ca.usask.aries.matterhorn.EmailWorkflowOperationHandler is not abstract and >> does not override abstract method >> start(org.opencastproject.workflow.api.WorkflowInstance,org.opencastproject.job.api.JobContext) >> in org.opencastproject.workflow.api.AbstractWorkflowOperationHandler >> [ERROR] >> /opt/matterhorn/1.1.0/modules/matterhorn-conductor/src/main/java/org/opencastproject/workflow/handler/EmailWorkflowOperationHandler.java:[82,4] >> cannot find symbol >> symbol : class Session >> location: class ca.usask.aries.matterhorn.EmailWorkflowOperationHandler >> [ERROR] >> /opt/matterhorn/1.1.0/modules/matterhorn-conductor/src/main/java/org/opencastproject/workflow/handler/EmailWorkflowOperationHandler.java:[82,22] >> cannot find symbol >> symbol : variable Session >> location: class ca.usask.aries.matterhorn.EmailWorkflowOperationHandler >> [ERROR] >> /opt/matterhorn/1.1.0/modules/matterhorn-conductor/src/main/java/org/opencastproject/workflow/handler/EmailWorkflowOperationHandler.java:[88,4] >> cannot find symbol >> symbol : variable Transport >> location: class ca.usask.aries.matterhorn.EmailWorkflowOperationHandler >> [ERROR] >> /opt/matterhorn/1.1.0/modules/matterhorn-conductor/src/main/java/org/opencastproject/workflow/handler/EmailWorkflowOperationHandler.java:[95,11] >> cannot find symbol >> symbol : variable WorkflowBuilder >> location: class ca.usask.aries.matterhorn.EmailWorkflowOperationHandler >> [ERROR] >> /opt/matterhorn/1.1.0/modules/matterhorn-conductor/src/main/java/org/opencastproject/workflow/handler/EmailWorkflowOperationHandler.java:[64,2] >> method does not override or implement a method from a supertype >> [INFO] 7 errors >> >> >> >> 2011/8/12 Christopher Brooks <[email protected]> >> >>> The link tobias sent will be the most useful. You should check out some >>> of the other dos on the matterhorn wiki as well to learn how workflows work. >>> >>> Regards, >>> >>> Chris >>> -----Original Message----- >>> From: Eric Shek <[email protected]> >>> Sender: [email protected] >>> Date: Fri, 12 Aug 2011 11:40:38 >>> To: Matterhorn Users<[email protected]> >>> Reply-to: Matterhorn Users <[email protected]> >>> Subject: Re: [Matterhorn-users] What should I do if I want to distribute >>> the >>> link by e-mail? >>> >>> _______________________________________________ >>> Matterhorn-users mailing list >>> [email protected] >>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >>> >>> >>> _______________________________________________ >>> Matterhorn-users mailing list >>> [email protected] >>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >>> >> >> >> >> Best Regards, >> Eric Shek >> >> >> _______________________________________________ >> Matterhorn-users mailing list >> [email protected] >> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >> >> > > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users > >
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
