loadProjectFromFile or URI

View: New views
2 Messages — Rating Filter:   Alert me  

loadProjectFromFile or URI

by Hachicha Omar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
when i use this methode : 
revertedProject = Project.loadProjectFromFile(p.getName()+".owl", errors);
 the following message appear :
SEVERE: Unable to load project from: file:/C:/Eclipse%203.1/plugin-examples-src/lmdfinale.owl -- Project.getProjectInstancesReader()
and the same problem for this methode.
please help me, it is very important for me.
thank's in advance.


Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.
_______________________________________________
protege-owl mailing list
protege-owl@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: loadProjectFromFile or URI

by Tania Tudorache :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Omar,

The loadProjectFromFile method expects as argument the path to a pprj
file, not an OWL file. To load an OWL file, please use the methods from
the ProtegeOWL class:

http://protege.stanford.edu/plugins/owl/api/guide.html#IO

Tania

Hachicha Omar wrote:

> Hi,
> when i use this methode :
> revertedProject = Project.loadProjectFromFile(p.getName()+".owl", errors);
>  the following message appear :
> SEVERE: Unable to load project from:
> file:/C:/Eclipse%203.1/plugin-examples-src/lmdfinale.owl --
> Project.getProjectInstancesReader()
> and the same problem for this methode.
> please help me, it is very important for me.
> thank's in advance.
>
> ------------------------------------------------------------------------
> Envoyé avec Yahoo! Mail
> <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html>.
> Une boite mail plus intelligente.
> ------------------------------------------------------------------------
>
> _______________________________________________
> protege-owl mailing list
> protege-owl@...
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>  

_______________________________________________
protege-owl mailing list
protege-owl@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03