If you get an error like the one below deleting the jSpikeStack.jar on "clean and build" then try again in a few moments. It seems that netbeans hangs onto the jar handle for some indeterminate period of time.
ant -f D:\\Users\\tobi\\Documents\\1jaer\\trunk\\host\\java clean jar
init:
Deleting: D:\Users\tobi\Documents\1jaer\trunk\host\java\build\built-clean.properties
deps-clean:
Updating property file: D:\Users\tobi\Documents\1jaer\trunk\host\java\build\built-clean.properties
jSpikeStack.init:
jSpikeStack.deps-clean:
Created dir: D:\Users\tobi\Documents\1jaer\trunk\host\java\subprojects\JSpikeStack\build
Updating property file: D:\Users\tobi\Documents\1jaer\trunk\host\java\build\built-clean.properties
Deleting directory D:\Users\tobi\Documents\1jaer\trunk\host\java\subprojects\JSpikeStack\build
D:\Users\tobi\Documents\1jaer\trunk\host\java\nbproject\build-impl.xml:1390: The following error occurred while executing this line:
D:\Users\tobi\Documents\1jaer\trunk\host\java\nbproject\build-impl.xml:1419: The following error occurred while executing this line:
D:\Users\tobi\Documents\1jaer\trunk\host\java\subprojects\JSpikeStack\nbproject\build-impl.xml:1030: Unable to delete file D:\Users\tobi\Documents\1jaer\trunk\host\java\subprojects\JSpikeStack\dist\jSpikeStack.jar
BUILD FAILED (total time: 0 seconds)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you get an error like the one below deleting the jSpikeStack.jar on "clean and build" then try again in a few moments. It seems that netbeans hangs onto the jar handle for some indeterminate period of time.