[kepler-dev] Request :: Clarrification on Kepler in integrationwith other application
madhu
madhu at sdsc.edu
Thu Apr 16 08:54:33 PDT 2009
Hi Antony,
I ran into the similar situation. At the moment, if in your workflow the output goes to file (File writer actor) then you can use the Kepler command line. Here are the steps you need to take
1) ant jar
2) Running the jar target will create jar file for each module. However, there is caveate,each modules jar files do not include third party jars.
3) Here is the shell script 'kepler.sh' I use it to run kepler comand line. I am including third party jars in my classpath as my actors need them
#!/bin/bash
java -cp /Users/madhu/NewKepler/provenance/target/provenance.jar:/Users/madhu/Ne
wKepler/loader/target/loader.jar:/Users/madhu/NewKepler/util/target/util.jar:/Us
ers/madhu/NewKepler/core/target/core.jar:/Users/madhu/NewKepler/ptolemy/target/p
tolemy.jar:/Users/madhu/NewKepler/actors/target/actors.jar:/Users/madhu/NewKeple
r/directors/target/directors.jar:/Users/madhu/NewKepler/core/lib/jar/commons-htt
pclient-2.0-rc2.jar:/Users/madhu/NewKepler/core/lib/jar/jython.jar:/Users/madhu/
NewKepler/core/lib/jar/jdom.jar:/Users/madhu/NewKepler/core/lib/jar/commons-logg
ing.jar:/Users/madhu/NewKepler/core/lib/jar/base-jars/sms/xercesImpl.jar:/Users/
madhu/dbdrivers/oracle/ojdbc14.jar org.kepler.loader.Kepler -runwf -nogui -noca
che $1
I run it as 'sh kepler.sh WORFLOWFULLPATH
Give it a try; it should work.
There will be a way in near future to feed the input paramaters through command line.
Thanks
--Madhu
-----Original Message-----
From: kepler-dev-bounces at kepler-project.org on behalf of Antony Samy
Sent: Thu 4/16/2009 12:58 AM
To: kepler-dev at ecoinformatics.org
Subject: [kepler-dev] Request :: Clarrification on Kepler in integrationwith other application
Dear Sir
Greetings !
I am the genuine user, developer and would like to contributer to kepler. Kindly do help me in this. I have been trying for the past three months integrating kepler with other applications. I could not get any output... Kindly help me.
How can I integrate kepler with my Java application. I would like to create workflow using KEPLER GUI TOOL. I do not want it to run in KEPLER tool. But I need to execute it from my application and show the output in my application window that is JSP file. For that which API should I need to call? Is there any Jar file for it?
If there is no such libraries to integrate with other applications ... Can not I use it with other applications!!!!!!!!!! Are there any other ways?
I would like to know answers for the following questions. Kindly clarrify me, Otherwise I will be wasting my time here unnecessarily
(I compiled and run kepler using ant in command line but I did not get any output of the workflow..... I do not know how to pass the input to the workflow......Is it possible?......Do you provide Jar files like Hibernate, Struts and EJB to integrate with other web-based java applications ?
1. Can we run kepler in Command line
2. If I am able to run kepler in command line, How shall I pass the input to the workflow
3. If I am able to run kepler in command line, How shall receive the output after workflow execution
4. There are plenty of modules including ptolemy in kepler, Each module contains sources and libraries, We compile everything using build.xml, after that binaries are created.
In these scenario how shall I use kepler in my Java Application. If possible to integrate, what are all the libraries are necessory and how to do the configuration for it..... Kindly clarrify all these things
Thanks in advance for your kind support
-----------------------------------------------------------------------------------------------------------------------
If you fall, do not see the place where you fell, but see the place where you slipped
-----------------------------------------------------------------------------------------------------------------------
With Regards
Antony Samy Adaikalasamy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20090416/2e38b347/attachment.html>
More information about the Kepler-dev
mailing list