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.
[ BUILD # : 200606050200 ] [ JDK VERSION : 1.5.0_06 ] I have a Tomcat on another computer. To have the NetBeans copy files to that computer I've made the following changes in project.properties file to copy files to an external Tomcat: build.dir=C:\\Program Files\\Apache Group\\Tomcat 5.0/webapps/WebPS build.web.dir=${build.dir} Now Build works (it copies all the files to the required folders), but Clean doesn't (it only deletes files from the WEB-INF\lib directory).
Note that C:\\Program Files\\Apache Group\\Tomcat 5.0\\webapps\\WebPS doesn't work neither. Here's the output from delete outupt dir, Build, Clean, Build: init: deps-module-jar: deps-ear-jar: deps-jar: Created dir: C:\Program Files\Apache Group\Tomcat 5.0\webapps\WebPS\WEB- INF\classes Created dir: C:\Program Files\Apache Group\Tomcat 5.0\webapps\WebPS\META-INF Copying 1 file to C:\Program Files\Apache Group\Tomcat 5.0\webapps\WebPS\META- INF Copying 41 files to C:\Program Files\Apache Group\Tomcat 5.0\webapps\WebPS library-inclusion-in-archive: Copying 1 file to C:\Program Files\Apache Group\Tomcat 5.0\webapps\WebPS\WEB- INF\lib library-inclusion-in-manifest: Compiling 18 source files to C:\Program Files\Apache Group\Tomcat 5.0 \webapps\WebPS\WEB-INF\classes compile: compile-jsps: do-dist: dist: BUILD SUCCESSFUL (total time: 1 second) init: deps-clean: do-clean: Deleting 1 files from C:\Program Files\Apache Group\Tomcat 5.0 \webapps\WebPS\WEB-INF\lib Deleted 1 directory from C:\Program Files\Apache Group\Tomcat 5.0 \webapps\WebPS\WEB-INF\lib check-clean: clean: BUILD SUCCESSFUL (total time: 0 seconds) init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: Copying 1 file to C:\Program Files\Apache Group\Tomcat 5.0\webapps\WebPS\WEB- INF\lib library-inclusion-in-manifest: compile: compile-jsps: do-dist: dist: BUILD SUCCESSFUL (total time: 0 seconds)
Created attachment 30922 [details] Project file
This used to work with 4.x and 5.0.
After some testing: Clean doesn't work when build.dir is an absolute path build.dir=aaa\\bbb - works build.dir=c:\\aaa\\bbb - doesn't work build.dir=c:/aaa/bbb - doesn't work build.web.dir doesn't matter.
Update: it doesn't work with 5.0 release! but it used to work with 5.0 daily. See issue 66147.
Fixed. Checking in build-impl.xsl; /cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v <-- build-impl.xsl new revision: 1.100.12.6.2.36; previous revision: 1.100.12.6.2.35 done
Verified in 200606260200.