This is a bug: http://dev.mygrid.org.uk/issues/browse/T3-73
To work around this, you need to create the missing file (mysql-connector-java.jar), put it in that lib folder, and then try again to remove the tickbox. The file does not have to be a real JAR (as long as you don't try running the workflow before unticking). Here's how I did it in Windows. Obviously if you have the real JAR you can just copy it in and rename it instead. 1) Advanced->Show logs and data folder 2) Go into the lib/ folder (create it if it's not there) 3) Untick: Tools -> Folder options -> View -> [ ] Hide extensions for known file types 3) Right-click, New -> Text document 4) Call it mysql-connector-java.jar (or the file that is in red in the Beanshell Dependency configuration) 5) Yes to change the extension 6) In Taverna, right-click to "Edit beanshell script" 7) Go to Dependencies 8) Untick [ ] mysql-connector-java.jar and click Apply, then Close. 9) Repeat from 6 for every beanshell script that has the missing file 10) To avoid later confusion, now delete the JAR from the lib/ folder, as it's not the intended JAR 11) Do File -> Validate Workflow in Taverna to check if any other dependencies are missing. On Mon, Aug 13, 2012 at 8:26 PM, Susana Sanchez Exposito <[email protected]> wrote: > Hi all, > > The beanshells used in this workflow > http://www.myexperiment.org/workflows/3054 , contain dependencies to a > jar. Indeed, the java code in these beanshells don't depend on this > jar file, but I am not sure why the dependency is checked, probably > the reason is because I copied and pasted a previous beanshell with > this dependency. > > The problem is that I try to uncheck this dependency in the configure > beanshell window, but after click the apply button, the dependency > appears checked again, so I can not delete this dependency. > > How can I delete this dependency? > > Thanks, > Susana > > > > > -- > Susana Sánchez Expósito > > Instituto de Astrofísica de Andalucía IAA (CSIC) > Camino Bajo de Huétor, 50. Granada E-18008 > Tel:(+34) 958 121 311 / (+34) 958 230 618 > Fax:(+34) 958 814 530 > e-mail: [email protected] > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > taverna-users mailing list > [email protected] > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
