Re: Compiling Ptolemy with Eclipse

2004-05-04 Thread Franck Valentin
Thanks for your help,  I also tried the method described but I can not
get the project compiled, here is what I tried :

tar xfz ptII3.0.2.src.tar.gz
mv ptII3.0.2 ptII

export PTII=/home/franck/bin/my_PTII/ptII
cd $PTII
./configure


cd ~/bin/my_PTII
eclipse

   File-New Project
   Project Name : ptII
   Directory: /home/franck/bin/my_PTII
   Finish

-- An error occured while creating the java project
 Reason  : invalid project description
 /home/franck/bin/my_PTII and /home/franck/bin/my_PTII/workspace overlap


If I change the directory with : /home/franck/bin/my_PTII/ptII

-- An error occurred while creating the java project
 See error log for more details.
 (java.lang.NullPointerException in the .log of Eclipse !)


I tried other thinks but I can only compile and run (make fast install)
without Eclipse !



Franck


On Mon, 2004-05-03 at 17:14, Christopher Hylands Brooks wrote:
 With Eclipse, usually it is necessary to run configure so that the
 .classpath file is properly set up.  An alternative is to set up the
 project class path by hand.  Locally, our Eclipse users run configure,
 so the by hand section of the doc could probably use some testing
 and updating.
 
 One issue is that Ptolemy II includes many packages that
 use other external packages that might not be present, so setting the
 classpath and excluding packages by hand can be time consuming.
 
 -Christopher
 
 
 
 
 
 Good morning,
 
 I'm a software designer in the Pasteur Institute (Paris) and I'm
 involved with a workflow definition and conception for sequence analysis
 (mainly). Ptolemy II seems to correspond to the core functionalities I
 need and seems to be easy to customize (thanks to have made docs and UML
 diagrams !)
 
 Unfortunatly I'm trying to make an eclipse project following the
 instructions described but without success.
 
 I'm now trying to install Ptolemy by hand following the chapter
 Setting up for Ptolemy II By Hand described in doc/coding/eclipse.htm
 and I have these errors :
 
 1 - The project was not built since its classpath is incomplete. Cannot
 find the class file for ptolemy.math.Complex. Fix the classpath then try
 rebuilding this project.
 
 2 - For the file /ptolemy/matlab/test/TestEngine.java : 
 This compilation unit indirectly references the missing type
 ptolemy.math.Complex (typically some required class file is referencing
 a type outside the classpath)
 
 (Weird because I can see ptolemy.math in Eclipse) 
 Can you say me if there is a mistake in the procedure described or I
 made something wrong.
 
 Thanks a lot !
 
 
 
 Regards
 
 Franck Valentin
 
 
 ---
-
 Posted to the ptolemy-hackers mailing list.  Please send administrative
 mail for this list to: [EMAIL PROTECTED]
 
 
 
 Posted to the ptolemy-hackers mailing list.  Please send administrative
 mail for this list to: [EMAIL PROTECTED]
 



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]


Compiling Ptolemy with Eclipse

2004-05-03 Thread Franck Valentin
Good morning,

I'm a software designer in the Pasteur Institute (Paris) and I'm
involved with a workflow definition and conception for sequence analysis
(mainly). Ptolemy II seems to correspond to the core functionalities I
need and seems to be easy to customize (thanks to have made docs and UML
diagrams !)

Unfortunatly I'm trying to make an eclipse project following the
instructions described but without success.

I'm now trying to install Ptolemy by hand following the chapter
Setting up for Ptolemy II By Hand described in doc/coding/eclipse.htm
and I have these errors :

1 - The project was not built since its classpath is incomplete. Cannot
find the class file for ptolemy.math.Complex. Fix the classpath then try
rebuilding this project.

2 - For the file /ptolemy/matlab/test/TestEngine.java : 
This compilation unit indirectly references the missing type
ptolemy.math.Complex (typically some required class file is referencing
a type outside the classpath)

(Weird because I can see ptolemy.math in Eclipse) 
Can you say me if there is a mistake in the procedure described or I
made something wrong.

Thanks a lot !



Regards

Franck Valentin



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]


A customized ptolemy for bioinformatic

2004-05-13 Thread Franck Valentin
Hi all,


perhaps someone could give me some advice or remarks on the application
based on Ptolemy and Vergil I need to develop.

1 - This application will execute bioinformatics workflows designed from
a graphical interface (a customized vergil). For a main part the actors
are external applications a user can easily add to his workspace without
programming (I need to develop an actor which acts as a wrapper). 

2 - The workflow must be able to run these applications concurrently :
I think of using a customized PN director which executes the workflow
only one time.

3 - I need to be able to run several instances of one model. For example
after creating a model which analyze DNA sequences, I launch several
instances concurrently with different parameters and then compare the
results between the instances.

4 - As the external applications can be very long (several days), I
would like to be able to a design the workflow, launch ptolemy in
background (without graphical interface) and retrieve at any moment the
current state from a graphical interface used as a viewer.

I have already made a little prototype which launches external
applications and displays the state of each. I've tried with a PN
director to try the concurrent executions but it seems to do an infinite
loop (I'm currently reading the doc and I think my comprehension of
behaviours is not perfect yet !)
I think the point 4 is the most délicate but I'm rather confident as
ptolemy and vergil communicates using event messages. It seems I don't
need to break all the architecture !

Do you think my features are reasonable ? ;)
Sorry if some answers are in the doc, I'm currently reading it too !



Franck





Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]