mercredi 27 mai 2009

Container embeded in Compiler Maven Plugin

Hi !

A new feature is now available in Archetype Compiler Maven Plugin. It is able to embeded a container, like a Tomcat or a Jetty for instance , to execute your application behind it. To reach this goal, the plugin uses Cargo (http://cargo.codehaus.org).
So, you just need to specify a WAR file (or an expanded WAR directory) and your apllication is directly executed and compiled. Moreover, a WAR file resulting from your web project compiled is now created, ready to be deployed.
Documentation of how doing all theses things is available on the Archetype Compiler web site.

mardi 12 mai 2009

Compiler is done, embed in a Maven Plugin

After weeks of work, the compiler is now finished.
I sum up below it list of features :

- Bundle all javascript's files of Archetype Framework
- Bundle all javascript's files of your project
- Merge all stylesheet css and resolve images path with Juicer
- Bundle all html templates
- Compress and minify css and js thanks to YuiCompressor

The compiler is a Jruby script, but it is also embed it in a Maven plugin, so it is such a nice way to use it directly in a Maven project.
Cause I have used archetype 0.11, I'm waiting for the next version to merge my compiler, so it will be available soon.
I'm also writing some documentations and a first beta version of the "Compiler Archetype Framework Maven Plugin" web site can be consult at this url : http://archetypejs.org/compiler. You can find informations of how to use the compiler, what are the options, the RubyDoc and JavaDoc and at last a small FAC to answer common questions.