When netbeans (v7) opens a project containing a library that is not in its libraries collection,
it proposes you to resolve the issue by creating this library.
Sometimes you do not need the library that is missing (e.g. because you have another library that you'd like to use instead).
You'd like to remove it, but that option is not proposed.
We'll need to play with netbeans project file to achieve this.
- Close the project.
- Navigate to the nbproject subdirectory of your project directory.
- Make a backup copy of project.properties, just in case.
- Open project.properties and remove references to the library. For example to remove the "hibernate-persistence" library, you'll need to changejavac.classpath=\
${libs.hibernate-persistence.classpath}
tojavac.classpath=
No comments:
Post a Comment