Hi, "Fix the logging and early return, then it should be ready for a pull request" . I get the logging part what you meant by "early return".
I have added the resource folder and modified class names. But still i get the error ? : https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/tree/workbench/taverna-cwl-activity-ui/src/resources regards, Thilina. On Mon, Jun 27, 2016 at 9:05 PM, Stian Soiland-Reyes <[email protected]> wrote: > Thilina - I think you forgot to copy over the equivalent of these file > to incubator-taverna-common-activities: > > > https://github.com/ThilinaManamgoda/exampletool/tree/master/exampletool-activity-ui/src/main/resources/META-INF/services > > (ensure you modify the class names) > > In Taverna 2 (which the workbench-dev runs) these files are needed so > that the CWL UI components are discovered by the Workbench. > > > In Taverna 3 these are done in XML files instead, see for instance > > https://github.com/apache/incubator-taverna-common-activities/tree/master/taverna-wsdl-activity/src/main/resources/META-INF/spring > > > > On 24 June 2016 at 20:02, Thilina Manamgoda <[email protected]> wrote: > > Hi, > > > > i have changed returning result a "Array.asList" like this: > > > https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/stream/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/CwlServiceProvider.java > > > > > > I can't run workbech like this: > > > https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/stream/taverna-cwl-activity-ui/src/test/java/org/apache/taverna/cwl/ui/TestWorkBench.java > > when i try to run it, error "can't connect to database another instance > is > > using it" occurs although i am not running another workbench ? > > > > How can i use log4j in my implementation ? > > > > regards, > > Thilina. > > > > > > On Fri, Jun 24, 2016 at 7:40 PM, Stian Soiland-Reyes <[email protected]> > > wrote: > > > >> On 24 June 2016 at 01:25, Thilina Manamgoda <[email protected]> > wrote: > >> > Can you provide me the instruction to run this plugin inside the > Taverna > >> > workbench. At the moment i test the plugin using tutorial plugin > provied > >> in > >> > the taverna developer tutorial. Also if you can explain how to > redirect > >> the > >> > System.out.println() inside the plugin into Eclipse console would be > >> great. > >> > >> To run it with Taverna 2 in Eclipse, it should work to copy and run the > >> launcher > >> > >> > >> > https://github.com/ThilinaManamgoda/exampletool/blob/master/exampletool-activity-ui/src/test/java/com/example/exampletool/ui/TavernaWorkbenchWithExamplePlugin.java > >> > >> to > >> > >> taverna-cwl-activity-ui/src/test/java/ > >> > >> (perhaps then change its package name) > >> > >> > >> > >> You already have the workbench-dev dependency block > >> > >> > https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/stream/taverna-cwl-activity-ui/pom.xml#L84 > >> > >> which should give you a minimal Taverna 2 dev workbench. > >> > >> -- > >> Stian Soiland-Reyes > >> Apache Taverna (incubating), Apache Commons > >> http://orcid.org/0000-0001-9842-9718 > >> > > > > -- > Stian Soiland-Reyes > Apache Taverna (incubating), Apache Commons > http://orcid.org/0000-0001-9842-9718 >
