Privacidad: Recuerde que la información escrita en los foros de programación es 100% pública y que su ip será registrada asociada a su mensaje. Si encuentra un mensaje fuera de lugar, por favor, notifiquelo para su revisión y eliminación.
NetBeans
Enviado por skandlo el día 5 de marzo de 2004
Por favor, alguien sabe como incluir una nueva libreria en el classpath con netBeans
Adding a Tag Library
See Also
A tag library JAR file that is used by a web application must reside in the WEB-INF/lib folder or in the server's shared library folder. In order for the IDE to provide code completion for the tag library, the JAR file must be in the web project's class path. The easiest way to make the JAR file available to both the IDE and the server is to put the JAR file in the WEB-INF/lib folder as described below.
To add a tag library JAR file to a WAR file:
Right-click the project node and select Properties from the contextual menu.
Choose Compiling Sources and click Add Library.
If your tag library is available in the Add Library dialog box, select it. If it is not available, click Manage Libraries and create a new library entry for your tag library. Click Add Library.
If you want to add the tag library to the web application, leave the checkbox in the Add Library dialog box selected. If you only want to make your tag library available to code completion in the Source Editor, unselect your tag library's checkbox.
Click OK. If you selected the checkbox, the IDE adds the library to the WEB-INF/lib folder when you build the project.
(Optional) You can declare the tag library in your JSP files using the taglib directive. The code completion shows the tag library URI or the tag library JAR file (in the META-INF folder), providing that the JAR file is correctly added to the project's classpath.
See Also
Me preguntaba si lograron generar el ejecutable con netbeans, si lo hicieron me pueden explicar como lo lograron porfa mi correo es engel.ajc@gmail.com
Enviado por Josep (www.infosintesis.net) el día 17 de mayo de 2006
Crear un .exe con NetBeans va contra la filosofia del propio lenguaje.
Al hacer un Build (o simplemente al ejecutar) Netbeans crea el .jar correspondiente en la carpeta \"dist\" del proyecto (o donde le especifiquemos en las \"options\"), ése es el archivo que invocará a la JVM (Java Virtual Machine) y será esta la que transformará el codigo java a código binario de bajo nivel segun la arquitectura de la maquina concreta.
un .exe no tendria ningún sentido trabajando en otros S.O. como MAC OS, Solaris, Linux ... sin embargo un .jar generado servirá para todos si tienen una JVM instalada.
Según la versión de JVM instalada, es posible que Windows reconozca un .jar como un ejecutable, y lo lance directamente al hacer doble clic por ejemplo.