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] Create a new project using the API

Tania Tudorache tudorache at
Fri May 23 14:26:59 PDT 2008

Hi John,

I did not understand exactly what you want to do. This is the code that 
creates an empty frames project:

ArrayList errors = new ArrayList();
Project p = Project.createNewProject(null, errors);


John Finnson wrote:
> Hi, I was wondering what was the command to create a brand new project
> from nothing. I have been trying some methods like:
> Project newProject = Project.createNewProject((KnowledgeBaseFactory)
> SystemUtilities.newInstance("newKB"), errors);
> but then it says that it cant find the KB "newKB". I would appreciate
> it if somone gave me a line of code which completly creates a new
> project.
> If some how my reasoning is wrong this is the reason why I want to do
> this: I want to create a project with a blank slate and then
> initialize an ontology to it. So that when a person presses a certain
> button in my new Tab I am creating a new project will open up with an
> ontology that I have in a certain file.
> Thanks in advance for any help provided.
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing: 

More information about the protege-discussion mailing list