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.
The no-license.txt file is written into file ${java.io.tmpdir}/no-license.txt There is problem when on the machine work more developers (for example connected to X-server). The file is created with access rights of first user. Therefore the second user cannot access to the file. It should be better to generate the no-license file to build dir of project. nbm-license-init: /space/zajo/netbeans/harness/suite.xml:38: The following error occurred while executing this line: /space/zajo/netbeans/harness/build.xml:41: java.io.FileNotFoundException: /var/tmp/no-license.txt (Permission denied) BUILD FAILED (total time: 11 seconds)
Thanks, good catch. Checking in build.xml; /shared/data/ccvs/repository/apisupport/harness/release/build.xml,v <-- build.xml new revision: 1.18; previous revision: 1.17 done
I noticed that profiler build fails on my machine; it may be caused by this patch or I have to investigate further on my side. The problem is that the 'build' directory does not exist when <echo file="${license.file}">[NO LICENSE SPECIFIED]</echo> executes. F:\projects\profiler\build\netbeans\harness\build.xml:41: java.io.FileNotFoundException: F:\projects\profiler\profiler\modules\profiler-main\build\no-license.txt (The system cannot find the path specified)
I've just encountered the same with library wrapper module.
Yes the build fails. It can be simply reproduced on FeedReader example. files-init: nbm-license-init: /home/pzajac/builds/daily/netbeans/harness/suite.xml:38: The following error occurred while executing this line: /home/pzajac/builds/daily/netbeans/harness/build.xml:41: java.io.FileNotFoundException: /tmp/feedreader-suite/FeedReader/build/no-license.txt (No such file or directory) BUILD FAILED (total time: 1 second)
Right. committed Up-To-Date 1.19 apisupport/harness/release/build.xml
*** Issue 78232 has been marked as a duplicate of this issue. ***
verified