Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] eclipse headless application extending Photran plugin

Hi greg,

thanks for answering

- yes I included CDT dependencies. It is all the more strange, because building on top of CDT worked

- no, very little help from Eclipse, and nothing usefull in the log except " Application could not be found". thatś one of the things that make it difficult to debug.

I think I will turn to OpenFortranProject parser

regards

nicolas


On 13/09/2018 15:02, Greg Watson wrote:
Hi Nicolas,

I haven't heard of anyone trying this, but I don't see why it shouldn't work. Are you getting any errors in the log? Photran has a dependency on CDT so you'll need to include CDT as well.

Regards,
Greg

On Sep 11, 2018, at 4:11 AM, Nicolas Anquetil <nicolas.anquetil@xxxxxxxx> wrote:

Hi,

I am trying to create an eclipse headless application based on Photran.

The goal is to use photran parser and indexer to be able to build fortran analysis tools on top of it.

I did it without special difficulties with CDT in the past (for the same  reason: building C/C++ analysis tools), but for some reason it is not working with Photran

What I did:

  • I created an eclipse plugin that uses the photran parser
  • I can run it from within eclipse
  • I exported it with eclipse export facility

But when I try to run it in an headless eclipse, my application is not found -(

java.lang.RuntimeException: Application "my.extractor.fortran" could not be found in the registry.

Again, I have a similar application for C/C++ based on CDT and all this works flawlessly

There might be a dependency problem but I cannot find it. It might be linked to eclipse version (photon) although I also tried with an earlier one. It might be something else but I don't know where to look


The question is whether anybody has previous experience with building such an eclipse headless application over photran and might give me some hint on how to do this ?

nicolas
-- 
Nicolas Anquetil
RMod team -- Inria Lille
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/photran



_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/photran

-- 
Nicolas Anquetil
RMod team -- Inria Lille

Back to the top