Hi Ufuk, Ufuk Utku Turuncoglu wrote: > Hi, > > I have two question, > > 1 - I want to create a daemon when Kepler start. What is the best place > to do it? Is loader/src/org/kepler/core/loader/Loader.java can be used for > this purpose.
I would write a wrapper class that does what you want and then invokes Loader.main() > 2 - How can i load workflow programmatically? See https://kepler-project.org/developers/reference/executing-kepler-from-the-command-line The command: ant -v run-workflow-no-gui -Dworkflow=../common/demos/getting-started/04-HelloWorld.xml eventually invokes org.kepler.core.loader.Loader with these command line arguments: -runwf -nogui -nocache /Users/cxh/src/kepler/build-area/../common/demos/getting-started/04-HelloWorld.xml In the Ptolemy Tree, see $PTII/ptolemy/moml/MoMLSimpleApplication.java _Christopher > Any suggestion can be helpful, > Thanks for your help, > > --ufuk > _______________________________________________ > Kepler-users mailing list > Kepler-users at kepler-project.org > http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users -- Christopher Brooks (cxh at eecs berkeley edu) University of California CHESS Executive Director US Mail: 337 Cory Hall Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774 ph: 510.643.9841 fax:510.642.2718 (Office: 545Q Cory) home: (F-Tu) 707.665.0131 (W-F) 510.655.5480