Solucionando errores con JBoss: The libs.CopyLibs.classpath property is not set up
Éste error es más bien debido al uso de NetBeans para desarrollar nuestra aplicación para JBoss. En el archivo “nbprojectbuild-impl.xml” encontraremos el fragmento siguiente:
<target name="-init-taskdefs">
<fail unless="libs.CopyLibs.classpath">
The libs.CopyLibs.classpath property is not set up.
This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at
<netbeans_installation>/java<version>/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
</fail>
<taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
</target>
Para solucionarlo habrá que ir a Tools » Options » Miscallenous » Ant y añadir a la sección Properties la línea siguiente:
ibs.CopyLibs.classpath=DirectorioDeNetbeans/java/ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar
Luego, reconstruyendo el proyecto, el error debería estar fuera.
¡Happy coding!
¿Te ha gustado?
¡Suscribete al feed RSS!