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.

Bug 77648 - [55cat] Clean doesn't work with absolute paths
Summary: [55cat] Clean doesn't work with absolute paths
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Radko Najman
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-06-09 17:53 UTC by cezariusz
Modified: 2006-06-27 12:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project file (2.20 KB, text/plain)
2006-06-09 17:57 UTC, cezariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2006-06-09 17:53:05 UTC
[ 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).
Comment 1 cezariusz 2006-06-09 17:56:29 UTC
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)
Comment 2 cezariusz 2006-06-09 17:57:24 UTC
Created attachment 30922 [details]
Project file
Comment 3 cezariusz 2006-06-09 17:57:59 UTC
This used to work with 4.x and 5.0.
Comment 4 cezariusz 2006-06-09 19:12:23 UTC
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.
Comment 5 cezariusz 2006-06-09 19:13:19 UTC
Update: it doesn't work with 5.0 release! but it used to work with 5.0 daily.
See issue 66147.
Comment 6 Radko Najman 2006-06-12 13:20:51 UTC
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
Comment 7 cezariusz 2006-06-27 12:08:02 UTC
Verified in 200606260200.