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 50154 - IOException when opening project for a module of NetBeans itself
Summary: IOException when opening project for a module of NetBeans itself
Status: CLOSED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-08 09:36 UTC by ciglan
Modified: 2006-03-24 10:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message log with IOExceptions thrown on selecting a project folder (69.10 KB, text/plain)
2004-10-08 09:38 UTC, ciglan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ciglan 2004-10-08 09:36:35 UTC
I've downloaded through CVS sources for NB using :
":pserver:anoncvs@cvs.netbeans.org:/cvs" as CVSRoot.
I updated NB4.0B2  with module for API support,
then I was able to open projects for NetBeans
itself, but each time I select [SOME] "project
folder" I got 

java.io.IOException: Misconfigured project in
MasterFileObject@103a032[file:/home/ciglansky/projects/NetBeans/[SOME]/module/]
has no defined <code-name-base> .


Furthermore, when trying to build it, I got an error 

/home/ciglansky/projects/NetBeans/nbbuild/templates/projectized.xml:30:
No <name>

in build.xml line :
        <parseprojectxml project="."
modulesxml="${nb_all}/nbbuild/templates/modules.xml"
codenamebasedashesproperty="code.name.base.dashes"
codenamebaseslashesproperty="code.name.base.slashes"/>

Howevwer, projects seems to be open.
Comment 1 ciglan 2004-10-08 09:38:17 UTC
Created attachment 18157 [details]
Message log with IOExceptions thrown on selecting a project folder
Comment 2 Jesse Glick 2004-10-08 16:13:59 UTC
Sounds like you have some old version of sources before a format
change that added <code-name-base> to every project.xml.

Don't know where you got the binary API support you are using, but it
is probably obsolete. Best to build apisupport/project (and
apisupport/ant) from the same sources you are opening.
Comment 3 Marian Mirilovic 2005-12-20 16:04:26 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. 

Thanks in advance.