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 55496 - Would like to see Libraries node in project tree for free-form project
Summary: Would like to see Libraries node in project tree for free-form project
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker with 5 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 56297 121037 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-24 14:40 UTC by olegsukhodolsky
Modified: 2012-11-12 15:06 UTC (History)
4 users (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 olegsukhodolsky 2005-02-24 14:40:34 UTC
Free-form project doesn't have Libraries node in
project tree.  It would be very usefull to have it
to be able  inspect jars I've added to classpath
for   the project.
Comment 1 Martin Krauskopf 2005-12-15 12:37:01 UTC
*** Issue 56297 has been marked as a duplicate of this issue. ***
Comment 2 vnicolici 2006-01-06 12:54:05 UTC
Another problem is that you cannot add libraries to a free-form project, so I 
have to manually add each of the 64 jars I use in each of my 48 projects. So I 
have to do 64 * 48 = 3072 operations to import the projects in NetBeans, 
because each jar is in a different directory.

Needless to say, this is very annoying.
Comment 3 dynamite 2006-03-17 13:43:19 UTC
A further point is that libraries can include javadocs.
Comment 4 William Leonard 2006-04-19 18:55:05 UTC
What I'm really intersted is option 3 as documented here
(http://www.netbeans.org/kb/faqs/freeform-projects.html#FaqFreeformAddLibraryToClasspath).
 In a typical scenario, I will have someone set up a class library just so the
Javadocs can be made available. The I create a free form project and have to
explain why the jars need to be selected again - why can't I just point to the
library that was already created?
Comment 5 vnicolici 2006-04-20 07:54:26 UTC
I took a look at http://www.netbeans.org/kb/faqs/freeform-
projects.html#FaqFreeformAddLibraryToClasspath . 

The FAQ focuses on ANT issues. I really don't care about the ANT issues. My 
ANT scripts work just fine with or without Netbeans. 

I need this enhancement because code completion doesn't work in the java 
editor without the jars, and all the classes from the missing jars are 
underlined with that annoying red wavy line.

And concerning the #3 part of the FAQ: "And I do not want to, or do not know 
how to, edit project.xml as text to make the IDE's notion of the classpath 
automatically match Ant's, by sharing some property definition files.",
how do you modify project.xml to match the classpath below (recursively add 
all the zips and the jars in a directory to the classpath)?

<classpath>
	<fileset dir="/some/dir">
		<include name="**/*.jar"/>
		<include name="**/*.zip"/>
	</fileset>
</classpath>
Comment 6 Jesse Glick 2008-07-24 14:50:29 UTC
*** Issue 121037 has been marked as a duplicate of this issue. ***
Comment 7 Antonin Nebuzelsky 2010-01-11 04:28:40 UTC
Changing the default component owner to tzezula.
Comment 8 zhyi 2012-11-12 03:27:58 UTC
It's really important to see the libraries for a free-form project, so that I can attach sources and javadocs to them. I don't think it's a hard work, but why is it still unavailable?
Comment 9 Tomas Zezula 2012-11-12 15:06:20 UTC
The freeform project type is no more actively developed, it's just maintained, no new features are planed in it. However if you think it's an important feature you are welcomed to provide a patch.