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.
When I delete a SU from a CA I need to manually edit the build-impl.xml of the CA project. Steps to reproduce: 1) In a CA containing at least one SU, delete a SU in the CASA editor (delete on the right-click menu) 2) Build (fails) 3) Open the nbprojects/build-impl.xml file. Delete the sections that operates on the SU that was removed 4) (Optionally) Delete the properties for the SU that was removed from nbprojects/project.properties I can't see any reason why step 1 shouldn't be sufficient. When I deleted a Java EE SU, what I removed from the build-impl.xml file was: - from target with name="deps-javaee-jar" <ant target="dist" inheritall="false" antfile="${project.DocumentTypeComputer}/build.xml" dir="${project.DocumentTypeComputer}"/> <basename property="DocumentTypeComputer.su.name" file="${project.DocumentTypeComputer}"/> <property name="DocumentTypeComputer.su.dir" value="${src.dir}/../jbiServiceUnits/${DocumentTypeComputer.su.name}"/> <unzip src="${reference.DocumentTypeComputer.dist}" dest="${src.dir}/../jbiServiceUnits/${DocumentTypeComputer.su.name}"> <patternset> <include name="**/*.wsdl"/> <include name="**/*.WSDL"/> <include name="**/*.xsd"/> <include name="**/*.XSD"/> <include name="META-INF/jbi.xml"/> </patternset> </unzip> <unzip src="${reference.DocumentTypeComputer.dist}" dest="${src.dir}/../jbiServiceUnits/META-INF/DocumentTypeComputer"> <patternset> <include name="META-INF/catalog.xml"/> </patternset> </unzip> <jbi-javaee-dist projectName="DocumentTypeComputer" subprojJar="${reference.DocumentTypeComputer.dist}" subprojDir="${project.DocumentTypeComputer}" suExtractDir="${DocumentTypeComputer.su.dir}" subprojResource="${resource.DocumentTypeComputer}"/> - target with name="library-inclusion-in-archive" <unjar dest="${build.classes.dir}" src="${reference.DocumentTypeComputer.dist}"/> - target with name="library-inclusion-in-manifest" <basename property="included.lib.reference.DocumentTypeComputer.dist" file="${reference.DocumentTypeComputer.dist}"/> <copy todir="${build.classes.dir}" file="${reference.DocumentTypeComputer.dist}"/> - target with name="deps-clean" <ant target="clean" inheritall="false" antfile="${project.DocumentTypeComputer}/build.xml" dir="${project.DocumentTypeComputer}"/>
I do see leftover properties in the project.properties file after a Java EE SU is deleted from CASA, but the nbproject/build-impl.xml does get cleaned up and I don't see any build error. Girish, could you please take a look?