This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 36478 - Programmatically create a Project
Summary: Programmatically create a Project
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-10-07 22:32 UTC by _ cliffwd
Modified: 2004-04-19 16:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ cliffwd 2003-10-07 22:32:22 UTC
(See discussion on dev@projects.netbeans.org
around 07 Oct 2003.)

Vitezslav said:
"I think we could have method in the projects
infra API which will take the list of natures,
compute transitive closure of natures required to
create the project and then will create the
project with given name and in given folder. You
can then (independently on the set of templates)
create whatever 'type of project' you need. Once
you open such project you can use APIs (e.g. java
project api or web project api) to customize it."

That would work fine.
Comment 1 Vitezslav Stejskal 2003-10-20 18:01:39 UTC
Done. See the Projects.createProject method.


Checking in org/netbeans/api/projects/ProjectDataObject.java;
/cvs/projects/core/src/org/netbeans/api/projects/Attic/ProjectDataObject.java,v
 <--  ProjectDataObject.java
new revision: 1.1.2.16; previous revision: 1.1.2.15
done
Checking in org/netbeans/api/projects/Projects.java;
/cvs/projects/core/src/org/netbeans/api/projects/Attic/Projects.java,v
 <--  Projects.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
done
Comment 2 Jan Becicka 2003-11-25 13:59:49 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 3 Jan Becicka 2003-11-25 14:08:36 UTC
---> CLOSED