Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Including a project programmatically

Tania Tudorache tudorache at stanford.edu
Thu Feb 15 13:02:04 PST 2007


Hi Philip,

If you are using the same code as in the

ProjectManager.getProjectManager().changeIncludedProjectURIsRequest

you should be fine.

Tania


Philip Ogren wrote:
> I think I found the code that I need:
>
>             
> ProjectManager.getProjectManager().changeIncludedProjectURIsRequest(myCollectionOfURIs);
>
> Everything seems to work fine now.  Please let me know if there are 
> other considerations I should be making.  Thanks.
>
>
>
> Philip Ogren wrote:
>   
>> I am trying to include a project programmatically.  The following code 
>> seems to work:
>>
>>            List errors = new ArrayList();
>>            
>> kb.getProject().includeProject(localKnowtatorPPRJ.getPath(), errors);
>>
>> I can verify programmatically that the classes are loaded.  However, I 
>> do not see them in the Classes tab.  Worse, is that all the classes in 
>> the including project go missing.  That is the appear in the Classes 
>> tab as <<missing frame name for FrameID(###)>>.  Saving, closing, and 
>> reopening resolves the former symptom (I can see the included classes) 
>> but not the latter (the classes in the including project are still 
>> missing.)
>>
>> Are there additional things I need to do when including a project?
>>
>> Thanks,
>> Philip
>>
>>
>>
>>     
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>
>   




More information about the protege-discussion mailing list