Gripes please: Build System Quejas por favor: Build System
Background: I have used ANT (yes make and its variants too) a lot, recommended it for creating our own build system at a company I worked. Antecedentes: He utilizado ANT (sí hacer y sus variantes también) mucho, lo recomendó para crear nuestro propio sistema de construcción a una empresa que he trabajado. At that time I realized that Ant has challenges addressing the needs of enterprise wide build system. En ese momento me di cuenta de que la hormiga ha desafíos hacer frente a las necesidades de toda la empresa sistema de construcción. In a project project involving multiple components, which are shared, ant doesn’t make it easy to inherit build files, or make it parameterized. En un proyecto proyecto en el que participan múltiples componentes, que son compartidas, hormiga no facilita a heredar construir archivos, o lo hacen parametrizados. Compiling and testing components selectively based on its dependency isn’t easy to do in Ant. Compilación de ensayos y componentes selectivamente sobre la base de su dependencia no es fácil de hacer en Ant.
Ant doesn’t work well on the deployment side of the picture (yes I know it has ftp etc). Ant no funciona bien en el despliegue lado de la foto (sí sé que ha ftp, etc.) After developing very complex ant files (with custom coding) we could achieve what we wanted, however the effort is definitely not for Joe SMith who just wants to get the job done. Después de desarrollo muy complejo hormiga archivos (con codificación de la costumbre) que podríamos alcanzar lo que queríamos, sin embargo el esfuerzo no es para Joe Smith que sólo quiere realizar el trabajo.
Then comes maven. Luego viene Maven. Conceptually I have problems with a build system, which downloads components as needed, assumes internet connection etc. It just doesn’t fit into a easy to use model, rather it tries to mold us to its mindset. Conceptualmente tengo problemas con un sistema de construcción, que descarga componentes según sea necesario, asume la conexión a Internet, etc Simplemente no encaja en un fácil utilizar el modelo, sino que trata de molde a su mentalidad.
Now obviously creating a new build system from scratch is not the way to go. Ahora, evidentemente, la creación de un nuevo sistema de construcción a partir de cero no es el camino por recorrer. I think we should build upon Ant. Creo que deberíamos aprovechar Ant. However Ant by itself is only a part of the story. Sin embargo Ant por sí misma es sólo una parte de la historia. Lots of development needs to be done to make it to the stage where you can deploy it easily and in a standardized way across projects. Lotes de desarrollo que hay que hacer para ir a la etapa donde se puede desplegar con facilidad y en una forma normalizada en todos los proyectos.
You have all used a build system or other or may have even developed one. Todos ustedes han utilizado un sistema de construcción o de otro tipo o incluso pueden haber desarrollado una. I want to know from you what would you like to see in an ideal build system, what problems solved. Quiero saber de ti lo que te gustaría ver en un ideal sistema de construcción, qué problemas resueltos. Suggestions, gripes, ideas welcome. Las sugerencias, quejas, ideas bienvenidas.
Note: In response to Kevin Dangoor’s comments: Nota: En respuesta a Kevin Dangoor de la Comisión:
Kevin,
There is no doubt that Ant is a decent piece of software. No cabe duda de que la hormiga es una digna pieza de software. And I too have used the Ant scripting facility and Java tasks. Y yo también he utilizado la instalación de scripts Ant Java y tareas. My point is that Ant doesn’t solve the whole picture, though it forms the core of it, there are still a lot of work needed to make it suitable for a enterprise and that work is not easily doable by the normal release engineers (who are mostly perl hackers). Mi punto es que la hormiga no resuelve todo el conjunto, a pesar de que constituye el núcleo del mismo, todavía hay una gran cantidad de trabajo necesario para que sea adecuada para una empresa y que el trabajo no es fácilmente factible por los ingenieros de liberación normal (que son en su mayoría los hackers perl).
Filed under Filed under Java Software El software de Java | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Enviar artículo
You may also like to read También puede leer |





February 16th, 2004 at 6:12 am 16 de febrero de 2004 a las 6:12 am
Though Ant is certainly not perfect, it’sa fairly decent piece of infrastructure. Aunque Ant es, sin duda, no es perfecto, es una pieza bastante decente de la infraestructura. I don’t know what your specific issues are, but Ant 1.6 does add the ability to include other build files, and the ability to create your own tasks (via scripting or Java) is fairly easy and flexible. No sé lo que sus cuestiones son, pero sí Ant 1,6 añadir la posibilidad de incluir otros archivos de construir, y la capacidad de crear sus propias tareas (a través de secuencias de comandos o de Java) es bastante fácil y flexible.
February 16th, 2004 at 10:05 pm 16 de febrero de 2004 a las 10:05 pm
this ha been debated to death, prolly. este ha sido debatido hasta la muerte, prolly. You may find interesting Usted puede encontrar interesantes
these: los siguientes:
http://blogs.codehaus.org/people/jutopia/archives/000562_using_ruby_to_build_java_systems.html
http://mindview.net/WebLog/log-0046
http://www.martinfowler.com/bliki/BuildLanguage.html
February 17th, 2004 at 8:08 pm 17 de febrero de 2004 a las 8:08 pm
Hi, Hola,
I agree with you that ANT does not work very well for larger projects. Estoy de acuerdo contigo en que la ANT no funciona muy bien para proyectos de mayor envergadura. The reason is that it neither supports reuse very well, nor is it a complete programming language. La razón es que ni apoya la reutilización muy bien, ni es un lenguaje de programación.
If I would have to develop a build system for a large software project I would probably go for using Groovy and using Ant just as a library. Si yo tendría que desarrollar un sistema de construcción de un gran proyecto de software que probablemente vaya por utilizar Groovy y el uso de Ant así como una biblioteca.
The quality of the Ant library is after all really good. La calidad de la biblioteca Ant después de todo es realmente bueno.
Regards, Recuerdos,
Markus
March 14th, 2004 at 6:13 pm 14 de marzo de 2004 a las 6:13 pm