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.
I manage the SvgSalamander project on java.net. It's not too big and you can get the sources at http://java.net/projects/svgsalamander/sources/svn/show I've been building and running this in NB 6.9.1 until recently and have been having no problems. But when I open and build this project in NB 7.1beta, an attempt to build produces the following error: ... svg-salamander-core.compile: Created dir: C:\dev\java.net\svgsalamander\trunk\svg-core\dist C:\dev\java.net\svgsalamander\trunk\svg-example\nbproject\build-impl.xml:583: The following error occurred while executing this line: C:\dev\java.net\svgsalamander\trunk\svg-example\nbproject\build-impl.xml:1060: The following error occurred while executing this line: C:\dev\java.net\svgsalamander\trunk\svg-core\nbproject\build-impl.xml:733: The following error occurred while executing this line: C:\dev\java.net\svgsalamander\trunk\svg-core\nbproject\build-impl.xml:557: copylibs doesn't support the "rebase" attribute BUILD FAILED (total time: 15 seconds) e What's worse, NB 7.1beta is automatically changing my /nbproject, which makes it impossible for me to go back to NB 6.9.1. While with SVGSalamander I can simply revert (because I have not checked in any changes in a while), I have not been so lucky with other projects which I am now finding impossible to run on older versions of NB.
Created attachment 113383 [details] Log file
You have per project libraries which contains the old copylibs. You need to update it to newer version (the simplest way is copying from new project to your one, another way is to remove it from project and from project libraries, delete it from lib folder and readd it in a new IDE).
This bug affects me too.
Why is this bug marked as won't fix? At least mention it somewhere prominently as a non-compatible change. Anyway, I replaced all lib\CopyLibs\org-netbeans-modules-java-j2seproject-copylibstask.jar files in my projects by the NetBeans 7.1\java\ant\extra\org-netbeans-modules-java-j2seproject-copylibstask.jar and it works now.
(In reply to comment #2) > You have per project libraries which contains the old copylibs. > You need to update it to newer version (the simplest way is copying from new > project to your one, > another way is to remove it from project and from project libraries, delete it > from lib folder and readd it in a new IDE). I have this same issue with my project. Can you tell step by step what I must do, please.
Here are the steps: In your projects there is shared libraries folder, probably libs. In this folder locate CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar. Overwrite this task by by NetBeans/java/ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar. I am reopening the issue, the IDE probably can do this when the project is opened or in broken references support.
*** Bug 203124 has been marked as a duplicate of this bug. ***
*** Bug 211657 has been marked as a duplicate of this bug. ***
Requires an API change, issue # 214450
Fixed jet-main 325db673e9ca
Seems fine to me.
verified fixed in jet-main
Transplanted into NB 7.2: releases b68edae925ea, a96043bc4146
Integrated into 'main-golden', will be available in build *201206230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/325db673e9ca User: Tomas Zezula <tzezula@netbeans.org> Log: #205380:copylibs doesn't support the "rebase" attribute
Integrated into 'releases', will be available in build *201206232201* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/b68edae925ea User: Tomas Zezula <tzezula@netbeans.org> Log: #205380:copylibs doesn't support the "rebase" attribute
... pending verification in NB 7.2
Bug still exists in NetBeans 7.1.2 (Build 201112071828). If you need additional information for verification, please tell.
(In reply to comment #17) > Bug still exists in NetBeans 7.1.2 (Build 201112071828). > > If you need additional information for verification, please tell. Removing the rebase-attribute from line 544 in the build-impl.xml as a workaround did the trick. But that's not a solution - either the rebase-attribute wasn't supposed to be there in the first place, or it is correct in that line but doesn't work as expected. Either way, I think it's still a bug.
>Bug still exists in NetBeans 7.1.2 (Build 201112071828). Target milestone is 7.2. There is no back port to 7.1.x release.