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 113226

Summary: REGRESSION: XSLT Project can be deployed only once
Product: soa Reporter: Andrei Chistiakov <ca-nb>
Component: XSLTAssignee: Vitaly Bychkov <lativ>
Status: VERIFIED FIXED    
Severity: blocker CC: kozlov
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrei Chistiakov 2007-08-20 17:27:07 UTC
Reproduced in build 200708200000, JDK 1.6.0_02, Linux and Win XP, glassfish-v2-b58b.

To reproduce the bug:
- create an XSL transformation module;
- create a CompApp;
- add the XSLT Module to the CompApp;
- deploy CompApp;
- undeploy CompApp;
- deploy CompApp one more time.

The following output indicates the error:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
init-deploy:
deps-jar:
pre-init:
netbeans.home: /export/home/tester/netbeans-6.0-200708200000/platform7
netbeans.user: /export/home/tester/.netbeans/dev
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-taskdefs:
init:
pre-dist:
pre-init:
netbeans.home: /export/home/tester/netbeans-6.0-200708200000/platform7
netbeans.user: /export/home/tester/.netbeans/dev
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-taskdefs:
init:
deps-sub-project:
PackageRetrievedFiles:
invokes: []
invokes.size(): 0
Deleting directory /export/home/tester/NetBeansProjects/XsltModule1/build/dependentProjectFiles
Created dir: /export/home/tester/NetBeansProjects/XsltModule1/build/dependentProjectFiles
dist_se:
/export/home/tester/NetBeansProjects/CompositeApp1/nbproject/build-impl.xml:122: The following error occurred while
executing this line:
/export/home/tester/NetBeansProjects/XsltModule1/nbproject/build-impl.xml:159: A zip file cannot include itself
BUILD FAILED (total time: 0 seconds)
Comment 1 Vitaly Bychkov 2007-08-27 15:38:56 UTC
Fixed in trunk:

/cvs/enterprise/xslt/project/src/org/netbeans/modules/xslt/project/resources/build-impl.xsl,v  <--  build-impl.xsl
new revision: 1.15; previous revision: 1.14
Comment 2 Andrei Chistiakov 2007-08-28 10:03:10 UTC
Verified in build 200708280000.