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 32294 - How to deal with foreign java files
Summary: How to deal with foreign java files
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Chris Ledantec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 13:39 UTC by Vitezslav Stejskal
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 Vitezslav Stejskal 2003-03-25 13:39:47 UTC
Imagine that the user mounts some folders
structure to the project, there are some *.java
files in this structure, but they aren't added as
java sources (no their parent is the java sources
root). How the IDE should work with these files?

It's clear that these files can't have the full
set of feattures as other properly added java
sources. On the other hand some level of support
can still be provided and it makes sense to
provide it. However, the user should be warn
somehow that she is working with  file which isn't
added correctly as a java source file and
therefore some things will not work.

Chris, could you specify how this situation should
be presented to the user? (e.g. different icon,
badge, tooltip).

The scenario I wrote above isn't the only one how
user can get in this situation. Another is that
she can use File|Open menu and open some java file
which doesn't belong to any ope n project. She
could run ant build script which reports errors in
some files which doesn't belong to the project
where the build script belongs to. She can go to
filesystems tab and doubleclick any arbitrary java
file, etc. etc.
Comment 1 Chris Ledantec 2003-03-25 14:25:48 UTC
i will add this to the ui spec and link here when its live.

Comment 2 Chris Ledantec 2003-03-25 15:51:48 UTC
most of the information was in the spec already but a little burried.
i've tried to make it a little more clear. please see:

http://projects.netbeans.org/uispecs/java/JavaProjectsUISpec.html#v.ii

starting the 3rd paragraph under 'Sources Node'
Comment 3 Chris Ledantec 2003-04-01 09:53:22 UTC
marking this as fixed. let me know if the spec needs more clarification
Comment 4 Jan Becicka 2003-11-25 14:01:27 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 5 Jan Becicka 2003-11-25 14:10:07 UTC
---> CLOSED
Comment 6 Quality Engineering 2007-09-20 10:06:21 UTC
Reorganization of java component