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 177694 - "Libraries folder" functionality : issue with build-impl.xml / nblibraries-private.properties
Summary: "Libraries folder" functionality : issue with build-impl.xml / nblibraries-pr...
Status: RESOLVED DUPLICATE of bug 170370
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-26 10:28 UTC by junqueira_raphael
Modified: 2009-11-26 18:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description junqueira_raphael 2009-11-26 10:28:50 UTC
We are trying to use the "Libraries folder" functionality on our many projects
to share libraries definitions between developers and the hudson server.

But we have a big issue : netbeans "build-impl.xml" try touch  the "nblibraries-private.properties" for each build.
here the "build-impl.xml" problem :

--- snip ---
<touch file="${libraries.1.dir}/${libraries.1.basename}-private.properties"/>
 <loadproperties encoding="ISO-8859-1" srcfile="${libraries.1.dir}/${libraries.1.basename}-private.properties">
  <filterchain>
  <replacestring from="$${base}" to="${libraries.1.dir}"/>
  <escapeunicode/>
 </filterchain>
</loadproperties>
--- snip ---

The problem are:
 - we don't want to give write access to the directory for the build process 
(developpers and hudson).
 - if we give write access, the build can fail if we have many builds simultaneously (when they want to touch the file on same time)

Regards,
Raphael
Comment 1 Jesse Glick 2009-11-26 18:05:43 UTC

*** This bug has been marked as a duplicate of bug 170370 ***