Re: [eclipse-users] How do I run several jobs ?

From: Kish Shen <kisshen_at_cisco.com>
Date: Fri, 01 Jun 2007 12:57:02 +0100
Stéphane Giaccobi wrote:
>  
> Hello,
> I need to run several analysis but this requires to write a .bat 
> file which should contain Eclipse commands. Does anybody know how to 
> do this ?
> thanks in advance
> Steph.
>
> ------------------------------------------------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails 
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail
> ------------------------------------------------------------------------
>
> _______________________________________________
> ECLiPSe-Users mailing list
> ECLiPSe-Users_at_crosscoreop.com
> http://www.crosscoreop.com/mailman/listinfo/eclipse-users
>   
Hi Stéphane,

I will assume that you are

1) using ECLiPSe Constraint Logic Programming Platform (which this 
mailing list is for), rather than the Eclipse software framework that 
was originally developed by IBM.
2) you are using Mcirosfot Windows, as you mentioned  .bat file

You can run ECLiPSe from a .bat file and supply it with an initial query 
with the -e option. For example, you can have the following in your .bat 
file:

"C:\Program Files\ECLiPSe 5.10\lib\i386_nt\eclipse" -e "writeln(hello)"

which when run will print hello (as specified by the -e goal).

Note it is probably easier to do everything within ECLiPSe, rather than 
run commands from the batch file -- why do you not run your `several 
analysis' from within ECLiPSe?

Cheers,

Kish
Received on Fri Jun 01 2007 - 12:57:22 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET