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 197545 - Libraries copied to $basedir/lib rather than selected lib folder
Summary: Libraries copied to $basedir/lib rather than selected lib folder
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on: 197627
Blocks:
  Show dependency tree
 
Reported: 2011-04-07 16:59 UTC by Marian Mirilovic
Modified: 2011-04-20 05:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
diff file (6.32 KB, patch)
2011-04-11 17:11 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2011-04-07 16:59:48 UTC
NB 7.0 RC2 , JDK 6u25x64, Ubuntu 10.10x64

Steps to reproduce:
- run IDE
- create new Java Application project (do not change any setting, means 'Use dedicated folder for storing libraries' is set to './lib'
- push Finish
- go to Project Properties / Libraries and change the folder to new lib folder
- push 'Add Library' button
- push 'Import..." button
- select Absolute Layout library ... and push 'Import Library'
-> Absolute Layout library is not visible in 'Compile-time libraries'
-> library is not copied to the directory you chosen for your libraries (not default one)
-> library is copied into default library folder (means previous one <project>/lib)
Comment 1 Tomas Zezula 2011-04-11 15:56:44 UTC
It's probably not P2. The problem is that the customizer uses old value of lib folder. When you save the properties the new value is used. The workaround is to set the new value of lib folder close the customizer (OK), reopen it and add the libraries.
Comment 2 Tomas Zezula 2011-04-11 17:11:42 UTC
Created attachment 107645 [details]
diff file
Comment 3 Tomas Zezula 2011-04-19 11:33:53 UTC
Fixed jet-main 0d8c61fea8c1
Comment 4 Quality Engineering 2011-04-20 05:02:23 UTC
Integrated into 'main-golden', will be available in build *201104200000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0d8c61fea8c1
User: Tomas Zezula <tzezula@netbeans.org>
Log: #197545:Libraries copied to $basedir/lib rather than selected lib folder