Re: can't open project after creating it

Vitezslav Stejskal <[email protected]> Fri, 10 Oct 2003 11:31:05 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>

Timothy N. Jones wrote:

> I am creating a project from a template (via 
> DataObject.createFromTemplate(DataFolder, String)).  After I create 
> it, I immediately attempt to open it with 
> ProjectManager.getDefault().open(ProjectDescriptor).  

Sounds strange. Assuming there is no wiered synchronization problem the 
only think I can imagine is that you have incorrect ProjectDescriptor. 
Are you passing there PD from the created DataObject? I guess the 
template DO has PD too, but it's useless since the template can't be 
opened as project.

-vita