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.
Product Version: NetBeans IDE Dev (Build 201504150001) Updates: Updates available Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18 System: Windows 7 version 6.1 running on amd64; UTF-8; pl_PL (nb) When I run a platform application using NetBeans IDE and there were no changes since the last run, I expect it to run as quickly as possible, without any file copying. But what I see in the output is the reason it always takes a while to run: platform.download: ant -f R:\\Work\\Navi\\Navi run ... com.comarch.navi.lib.release: Copying 4 files to R:\Work\Navi\Navi\build\cluster com.thoughtworks.xstream.release: Copying 1 file to R:\Work\Navi\Navi\build\cluster org.apache.commons.release: Copying 4 files to R:\Work\Navi\Navi\build\cluster org.apache.http.release: Copying 4 files to R:\Work\Navi\Navi\build\cluster org.codehaus.jackson.release: Copying 3 files to R:\Work\Navi\Navi\build\cluster org.videolan.vlc.release: Copying 177 files to R:\Work\Navi\Navi\build\cluster Looks like all files release\modules are being copied to the cluster on each build. There must be something broken in the build script, as ANT wouldn't copy unchanged files on its own.
I think this is the culprit: <target name="release" depends="files-init" if="has.release.dir"> <mkdir dir="${cluster}"/> <copy todir="${cluster}" overwrite="true"> <fileset dir="${release.dir}"> <patternset includes="${release.files}"/> </fileset> </copy> </target> What is the reason to put overwrite="true" here?