Thread View: es.comp.lenguajes.java
5 messages
5 total messages
Started by Leto Atreides
Wed, 18 Jul 2007 15:13
Definir el directorio de clases y doc del NetBeans
Author: Leto Atreides
Date: Wed, 18 Jul 2007 15:13
Date: Wed, 18 Jul 2007 15:13
8 lines
1259 bytes
1259 bytes
Hola: Me estoy pasando al NetBeans y hay algo que no consigo hacer. Necesito especificar el directorio donde se crear�n los .class y la documentaci�n pero no encuentro la opci�n en el GUI. �Se puede? Un saludo, Leto
Re: Definir el directorio de clases y doc del NetBeans
Author: ElLlaneroSolitario
Date: Wed, 18 Jul 2007 16:13
Date: Wed, 18 Jul 2007 16:13
9 lines
1547 bytes
1547 bytes
Cuando creas un proyecto nuevo, te aparece la opci�n de elegir el directorio en el que se ubicar� el proyecto. Dentro de esta carpeta que t� eliges, el NetBeans te crea los subdirectorios. Para las .class, por ejemplo, quedar� as�: C:\CarpetaQueT�Quieras\NombreDelProyecto\build\classes\nombrepaquete Saludos.
Re: Definir el directorio de clases y doc del NetBeans
Author: Leto Atreides
Date: Thu, 19 Jul 2007 12:52
Date: Thu, 19 Jul 2007 12:52
19 lines
1855 bytes
1855 bytes
ElLlaneroSolitario escribi�: > Cuando creas un proyecto nuevo, te aparece la opci�n de elegir el directorio > en el que se ubicar� el proyecto. Dentro de esta carpeta que t� eliges, el > NetBeans te crea los subdirectorios. Para las .class, por ejemplo, quedar� > as�: > > C:\CarpetaQueT�Quieras\NombreDelProyecto\build\classes\nombrepaquete > S�, pero yo necesito que sea otro directorio. El hecho es que tengo varios proyectos interrelacionados y todas las librer�as las almaceno en un directorio lib/ com�n y me gustar�a poder hacerlo con el Netbeans. Creo que se debe modificar manualmente alguna opci�n en los archivo build.xml y build-impl.xml, aunque todav�a no s� c�mo. Tambi�n creo que tiene que ver con el ant. Un saludo, Leto
Re: Definir el directorio de clases y doc del NetBeans
Author: ElLlaneroSolitario
Date: Thu, 19 Jul 2007 13:26
Date: Thu, 19 Jul 2007 13:26
33 lines
2675 bytes
2675 bytes
OK. En la ayuda del programa dice esto (supongo que ya lo habr�s visto, pero imagino que tirando de ese hilo se podr� hacer lo que buscas): The IDE uses an Ant build script to build your modules. The IDE generates the build script based on the options you enter in the project's Project Properties dialog box. You can set the module's dependencies, versioning, and packaging information in the Project Properties dialog box. You can further customize program execution by editing the Ant script and Ant properties for the project. You can customize the build process by doing any of the following: a.. Enter basic options, like module dependencies, packaging settings and versioning information in the Project Properties dialog box. b.. Customize the IDE-generated Ant targets or create new targets in build.xml. c.. Edit properties in project.properties to change the name and location of build output folders and files. To build a module: 1.. In the Projects window, right-click the node of the module project you want to build. 2.. Choose Build Project. To build all the modules belonging to a module suite project, right-click the module suite project and choose Build All. a.. If the IDE does not support your desired build process, see the harness/README file. This README file contains detailed descriptions of various file layouts and how to edit them. Saludos.
Re: Definir el directorio de clases y doc del NetBeans
Author: Leto Atreides
Date: Thu, 19 Jul 2007 13:57
Date: Thu, 19 Jul 2007 13:57
43 lines
3077 bytes
3077 bytes
ElLlaneroSolitario escribi�: > OK. > > En la ayuda del programa dice esto (supongo que ya lo habr�s visto, pero > imagino que tirando de ese hilo se podr� hacer lo que buscas): > > The IDE uses an Ant build script to build your modules. The IDE generates > the build script based on the options you enter in the project's Project > Properties dialog box. You can set the module's dependencies, versioning, > and packaging information in the Project Properties dialog box. You can > further customize program execution by editing the Ant script and Ant > properties for the project. > > You can customize the build process by doing any of the following: > > a.. Enter basic options, like module dependencies, packaging settings and > versioning information in the Project Properties dialog box. > b.. Customize the IDE-generated Ant targets or create new targets in > build.xml. > c.. Edit properties in project.properties to change the name and location > of build output folders and files. > To build a module: > > 1.. In the Projects window, right-click the node of the module project you > want to build. > 2.. Choose Build Project. > To build all the modules belonging to a module suite project, right-click > the module suite project and choose Build All. > > a.. If the IDE does not support your desired build process, see the > harness/README file. This README file contains detailed descriptions of > various file layouts and how to edit them. > No lo hab�a visto. Me parece que tengo la mala costumbre de buscar en todos los sitios la informaci�n menos en la propia ayuda. Pero lo sospechaba. Muchas gracias. Con respecto a las opci�nes del ant que incorpora el IDE (o el GUI) de NetBeans son muy pobres, esperemos que mejore con la versi�n 6. Un saludo, Leto
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads