NetBeans 7.0项目在7.1中打开不能成功Build的Bug解决方案

问题描述:

Trying to build a project developed in NB 7.0 with NB 7.1. Following error in
build occurs.
Originates in build-impl.xml

Copying 1 file to C:\Users\***\Documents\NetBeansProjects\***\build
C:\Users\***\Documents\NetBeansProjects\***\nbproject\build-impl.xml:715: The
following error occurred while executing this line:
C:\Users\***\Documents\NetBeansProjects\***\nbproject\build-impl.xml:543:
copylibs doesn't support the "rebase" attribute

Project specifies a .lib folder to be used.

Seems the copylibstask.jar needs to be updated?

- Tools->Libraries
- select the "Library location" that you want to fix (not the Global one)
- select the "CopyLibs Task"
- click the "Remove" button on the lower left corner
- click "Ok"

- In the project explorer right click on the "Libraries" virtual folder under
your project
- click "Add Library..."
- click the "Import" button
- select on "CopyLibs Task"
- click the "Import Library" button
- click the "Cancel" button

The project should build now.

 

 

 

你可能感兴趣的:(Netbeans,不能成功Build)