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 93847 - Resolved But Unresolved Jars
Summary: Resolved But Unresolved Jars
Status: RESOLVED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-01 18:54 UTC by ssoong
Modified: 2007-02-21 22:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Resolved But Unresolved Jars (103.14 KB, image/jpeg)
2007-02-01 18:55 UTC, ssoong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssoong 2007-02-01 18:54:27 UTC
NetBeans IDE Dev (Build 200701301900)
1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05
Windows XP version 5.1 running on x86
=================================================

I had a web project "p--" with a context "/p--". It is actually the whole 
OpenLaszlo LPS. After having worked on it for a few months, my colleague 
reminded me it should be "p--4-0". So, I renamed it "p--4-0" and its context 
to "/p--4-0".

The library jar association did not get copied over. Rebuild failed.

The library jars were in WEB-INF/libs Therefore, I had to right-click on 
[Libraries->Add jar/folder ...] and selected all the jars (which came with 
openlaszlo).

After which, the project heading on project explorer was still in red with 
unresolved items. Unsurprisingly project clean-rebuild succeeded with no 
errors.
Comment 1 ssoong 2007-02-01 18:55:25 UTC
Created attachment 37934 [details]
Resolved But Unresolved Jars
Comment 2 ssoong 2007-02-01 18:57:51 UTC
Notice that all the items listed as unresolved is included under [Libraries].
Comment 3 Radko Najman 2007-02-15 13:58:02 UTC
I'm not able to reproduce your problem.

I created a new web project, created libs folder under WEB-INF, put a few jars
into it and added these jars into the project. When I renamed the project,
everything worked fine, project was not marked as broken, all jar references
were set correctly.

Did I miss something? Are there any specific steps to reproduce? How did you
rename the project, by Rename action on it?
Comment 4 ssoong 2007-02-21 22:38:29 UTC
I think this is a consequence similar to issue 91424.
I don't see the problem anymore after increasing RAM from 1GB to 2GB.
As the laszlo server is huge consuming more than ~500MB after tomcat debug 
starts, it should not ne surprising I ran out of memory resources. So having a 
dual 3GHz pentium is useless without the matching amount of RAM.