Reputation: 4000
While Doing clean and build i am getting following error. How to avoid this error.
Copying 1 file to E:\NIRAJ\Copyofcopyexample\build
E:\NIRAJ\Copyofcopyexample\nbproject\build-impl.xml:716: The following error occurred while executing this line:
E:\NIRAJ\Copyofcopyexample\nbproject\build-impl.xml:544: copylibs doesn't support the "rebase" attribute
This is the build-impl.xml
<copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
I am using Windows 7,jdk 1.6. Previously i have compiled same code with Netbeans 6.9.1
Upvotes: 3
Views: 4803
Reputation: 1
If you are using the Netbeans IDE, a simple solution would be rebase="${copylibs.rebase}"
, move the referenced file imported and back to the original package, build the project. Remake the instance in the file and use the fix imports.
Upvotes: 0
Reputation: 245
try deleting rebase="${copylibs.rebase}" entry from the build-impl.xml file.
Upvotes: 9