Re: integrate JavaScript dev tools in maven build ?
nicolas de loof wrote: I just discovered jsDoc 2 (http://code.google.com/p/jsdoc-2/) that is written in JavaScript and can (?) run inside Rhino engine, so could be packaged as a maven report plugin. Actually a guy in the jsdoc forum/mailinglist said he will donate such a maven plugin for jsdoc2. Is there any work-in-progress to integrate some JS-tools as maven plugins ? - jsdoc (or similar) to générate javadoc-like documentation - some js-compression tool - some js-merge tool I am in the process of porting the sarissa [1] project from ant to maven. Currently i use jsdoc 1.x without problems, you can find the pom and ant build file at [2] and [3] respectively. I intent to put more effort into this, currently working on using jslint [4] during the test phase (classpath trouble). Maybe will do an archetype when i reach a certain point, certainly looking into compression/merging for generating a compact file during the build. BTW help is welcome ;-) [1] sourceforge.net/projects/sarissa [2] http://sarissa.cvs.sourceforge.net/sarissa/sarissa/pom.xml?view=markup [3] http://sarissa.cvs.sourceforge.net/sarissa/sarissa/src/build/build.xml?view=markup [4] http://www.crockford.com/javascript/lint.html hth, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: integrate JavaScript dev tools in maven build ?
Thanks a lot for all those links. 2007/4/4, Manos Batsis [EMAIL PROTECTED]: nicolas de loof wrote: I just discovered jsDoc 2 (http://code.google.com/p/jsdoc-2/) that is written in JavaScript and can (?) run inside Rhino engine, so could be packaged as a maven report plugin. Actually a guy in the jsdoc forum/mailinglist said he will donate such a maven plugin for jsdoc2. Is there any work-in-progress to integrate some JS-tools as maven plugins ? - jsdoc (or similar) to générate javadoc-like documentation - some js-compression tool - some js-merge tool I am in the process of porting the sarissa [1] project from ant to maven. Currently i use jsdoc 1.x without problems, you can find the pom and ant build file at [2] and [3] respectively. I intent to put more effort into this, currently working on using jslint [4] during the test phase (classpath trouble). Maybe will do an archetype when i reach a certain point, certainly looking into compression/merging for generating a compact file during the build. BTW help is welcome ;-) [1] sourceforge.net/projects/sarissa [2] http://sarissa.cvs.sourceforge.net/sarissa/sarissa/pom.xml?view=markup [3] http://sarissa.cvs.sourceforge.net/sarissa/sarissa/src/build/build.xml?view=markup [4] http://www.crockford.com/javascript/lint.html hth, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: integrate JavaScript dev tools in maven build ?
I just discovered jsDoc 2 (http://code.google.com/p/jsdoc-2/) that is written in JavaScript and can (?) run inside Rhino engine, so could be packaged as a maven report plugin. 2007/4/3, nicolas de loof [EMAIL PROTECTED]: Hello, My webapps now come with more and more JavaScript (web 2.0 !) I expect maven to bring me best-practices and great tools the same way it did for my java code. Is there any work-in-progress to integrate some JS-tools as maven plugins ? - jsdoc (or similar) to générate javadoc-like documentation - some js-compression tool - some js-merge tool I've looked at prototype build system based on Ruby Rake. The source code is splitted into individual, specialized, js files. This looks a good practice to make things clear and avoid conflicts during devs. YUI comes with a -debug and a -min version of all its components. This also looks interesting. I've no idea about the build process they use. Any suggestion ? Any link to java-based tools web could try to package as maven plugins ? Nico.
Re: integrate JavaScript dev tools in maven build ?
I also discovered Dojo has a javascript compressor that may be embedded as maven plugin http://alex.dojotoolkit.org/shrinksafe/ An alternative is JSMin that has a Java version ( http://inconspicuous.org/projects/jsmin/JSMin.java) 2007/4/3, nicolas de loof [EMAIL PROTECTED]: I just discovered jsDoc 2 (http://code.google.com/p/jsdoc-2/) that is written in JavaScript and can (?) run inside Rhino engine, so could be packaged as a maven report plugin. 2007/4/3, nicolas de loof [EMAIL PROTECTED]: Hello, My webapps now come with more and more JavaScript (web 2.0 !) I expect maven to bring me best-practices and great tools the same way it did for my java code. Is there any work-in-progress to integrate some JS-tools as maven plugins ? - jsdoc (or similar) to générate javadoc-like documentation - some js-compression tool - some js-merge tool I've looked at prototype build system based on Ruby Rake. The source code is splitted into individual, specialized, js files. This looks a good practice to make things clear and avoid conflicts during devs. YUI comes with a -debug and a -min version of all its components. This also looks interesting. I've no idea about the build process they use. Any suggestion ? Any link to java-based tools web could try to package as maven plugins ? Nico.