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 181484 - Allow libraries folder to be parameterized
Summary: Allow libraries folder to be parameterized
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: -S1S-
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 09:17 UTC by soupdragon
Modified: 2016-07-07 08:37 UTC (History)
0 users

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 soupdragon 2010-03-03 09:17:45 UTC
When building Netscape Java projects in a different environment (Hudson and Bamboo is the case in point) the route to the common libraries folder may need to be different. We share a common libraries folder between users and projects which is on a shared drive. But with Bamboo we may need to build these projects, which are developed on Windows, on a unix server so the filepath needs to change.

Now if I put, say, "shared.libraries.dir=v:\projects\sharednb" in project.properties and set the libraries path to "${shared.libraries.dir}/nblibraries.properties" in project.xml ant build works fine, but Netbeans IDE can't find any of the libraries.

If not for this, I could override the shared.libraries.dir property when ant was invoked from the CIM.

Please can the IDE be tweaked to respect any property substitution in this path?
Comment 1 soupdragon 2010-03-17 13:53:46 UTC
Looking through the generated build-impl.xml I've found I can set -Dlibraries.path and, at other times -Dlibraries.1.path only snag is I don't know what makes the difference so I'm fully expecting a libraries.2.path to show up some time.
Comment 2 Martin Balin 2016-07-07 08:37:19 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss