On Thu, Oct 14, 2010 at 22:59, Jane Ren <[email protected]> wrote: > Also, could you tell me how to write code to print out messages in the > console?
System.out.println should work - and should also appear in the Taverna log file (Advanced->Show log files) - but you might find it not appearing if your log4j settings are not well - as could happen when running from Eclipse. The easiest way to fix the log4j setting is to modify your Run target to set the startup directory to an existing install of Taverna. Note that if you do so - Developer Taverna might write to say ~/.taverna-2.2.0 instead of ~/.taverna-dev - messing up configuration for the regular Taverna - you can override this by setting -Dtaverna.home=/tmp/tavernahome or similar. You can disable console-capturing in Taverna by going to File->Preferences->Workbench "Capture output on stdout/stderr to log file". -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
