I'm building my web project right now and I'm having the following problem. The jar is not in the lib folder. This is the error message I get:
init:
undeploy-clean:
deps-clean:
do-clean:
Deleting directory C:\Users\Laptop\Documents\NetBeansProjects\eAnalytics\build
C:\Users\Laptop\Documents\NetBeansProjects\eAnalytics\nbproject\build-impl.xml:1066: Unable to delete file C:\Users\Laptop\Documents\NetBeansProjects\eAnalytics\build\web\WEB-INF\lib\activation.jar
BUILD FAILED (total time: 9 seconds)
Any ideas why this is happening and how can I solve it.
It could be that
C:\Users\Laptop\Documents\NetBeansProjects\eAnalytics\build\
close the windows explorer (if you have the folder open) or close the file(s) if you have any open
and re-run your script.