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 32408 - allow to setup java sources root declaratively
Summary: allow to setup java sources root declaratively
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: API
Depends on:
Blocks: 32701
  Show dependency tree
 
Reported: 2003-03-27 15:09 UTC by Pavel Buzek
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2003-03-27 15:09:39 UTC
Allow to setup the java sources root in template so that it does not need to be hardcoded in 
wizard in case that there it no user input needed.

[More generally it should be possible to setup the whole project declaratively just by writting 
the data into the template. The only think that is needed is to well define the formats of data 
that are used by Java nature.]
Comment 1 Svata Dedic 2003-04-07 16:31:05 UTC
Will do. ETA 3 days. 
Comment 2 Svata Dedic 2003-04-07 18:30:36 UTC
Oops ;-) I confused this task w/ declarative registration of external 
resources, sorry. I have yet to write documentation how to register. 
 
BTW - another thought should the stored data be expressed as a 
FileSet, or just an URL, converted to a FileSet upon load ? URL si far 
more easier to write. It's still time to change the format again 
(compatibly, reading the old one) :-) 
 
Facts: there's only one item, fileset is unnecessarily powerful. How the 
binding is read is an implementation detail; the root is bound for the 
java source root's lifetime (less reference points change). 
 
PROs for URL: easier to write and read, saves the settings context 
entry for FileSet 
 
CONs: N/A 
 
Comment 3 Vitezslav Stejskal 2003-04-08 09:34:41 UTC
The URL sounds good, it should use format supported by
ReferencePointResolver.
Comment 4 Svata Dedic 2003-04-16 16:09:15 UTC
I cannot fix it immediately, but want to monitor and possibly fix if noone 
gets to it soon. 
Comment 5 Tomas Zezula 2003-07-22 15:08:20 UTC
It is already possible, but I want to change jsrc definition from
FileSet into URL to be more simple.
Comment 6 Tomas Zezula 2003-09-18 12:57:26 UTC
Done
Comment 7 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 8 Jan Becicka 2003-11-25 14:08:37 UTC
---> CLOSED