[kepler-users] load workflow using code

Ufuk Utku Turuncoglu turuncu at ucar.edu
Tue Apr 21 15:28:09 PDT 2009


Hi,

I have just implement the my own loader that creates server daemon when 
Kepler is opened. For second question, is there a way to trigger 
workflow to open and run using GUI? The MoMLSimpleApplication runs 
workflow without GUI.

Anyway thanks for your great help.

--ufuk

Christopher Brooks wrote:
> 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
>




More information about the Kepler-users mailing list