I myself make test based on scriptaculous and prototype. I'm not
developer on this project so this is only a proof-of-concept.
Prototype is based on multiple simple js files and requires some
packaging, so maven fits naturally. scriptaculous has a dependency on
prototype, so it's a good example for js dependencies.

I'll soon setup a sample project to demonstrate building prototype
using my plugin...


I just added some initial (not yet working...) support for jsDoc in my plugin.
You can checkout
https://hammerfest.svn.sourceforge.net/svnroot/hammerfest/maven-javascript-plugin/trunk/

I never saw any quality-metric tool for javascript. jslinker could be
a very interesting contrib for this purpose. I also never wrote a
report-Mojo, so cannot help much on that side...


2007/9/27, Richard Chamberlain <[EMAIL PROTECTED]>:
> Maybe we could create an example dev project (or archetype) that uses
> these plugins if there isn't one already? It would be a good starting
> point for people who want to use maven for JavaScript.
>
> -----Original Message-----
> From: nicolas de loof [mailto:[EMAIL PROTECTED]
> Sent: 27 September 2007 11:51
> To: Maven Users List
> Subject: Re: Using maven for JavaScript projects
>
> I just commited a second Mojo that does the merge of multiple js files.
>
> With this, a JS projet can be splitted into multiple js files and
> merged into a main artifact.js
> The CompressMojo also has been updated to allow attaching a compressed
> version of the artifact on install/deploy.
>
> To Manos :
> how do you integrate with jsDoc ? AFAIK this is a JS based tool, not
> really simple to invoke from a Java Mojo. Or maybe you use a JS Mojo ?
>
> Would you like to colaborate on a common javascript plugin ? Would you
> publish it as part of the Mojo project ?
>
> 2007/9/27, nicolas de loof <[EMAIL PROTECTED]>:
> > That was one goal of my plugin : provide a maven extention to allow
> > "js" packaging type.
> >
> > I proposed for contrib on the mojo dev list but got fiew interest.
> >
> > My goal is to allow build projects like scriptaculous using maven :
> > dependency on prototype, merging of multiple individual .js,
> > attachement of compressed version...
> >
> > Your help is welcome if you have
> > - ideas
> > - experience on JS toolkits and/or maven
> > - time !
> >
> > Nico.
> >
> >
> >
> > 2007/9/27, Richard Chamberlain <[EMAIL PROTECTED]>:
> > > Thanks for that. I'll look into it, have you had any experiences
> with
> > > dependency management in JavaScript? Our company has a lot of
> > > JavaScript, some of which are common libraries, shared across
> projects.
> > >
> > > Thanks,
> > >
> > > Richard
> > >
> > > -----Original Message-----
> > > From: Manos Batsis [mailto:[EMAIL PROTECTED]
> > > Sent: 26 September 2007 12:41
> > > To: Maven Users List
> > > Subject: Re: Using maven for JavaScript projects
> > >
> > >
> > > I've worked with Ross Simpson on a Maven Javascript Tools Plugin
> [1].
> > > Currently the plugin has two reporting mojos, for JSDoc Toolkit and
> > > JSLint respectively. We intent to add support for stuff like JSUnit,
> > > ECMAUnit etc. I just shared the code on CVS two days ago. It needs
> more
> > > work but it is usable.
> > >
> > > For compression you can use the MobilVox Maven JavaScript Plugin
> [2],
> > > works great. I use it myself for sarissa.
> > >
> > > [1] https://sourceforge.net/projects/mvn-jstools
> > > [2] https://sourceforge.net/projects/maven-js-plugin
> > >
> > > Cheers,
> > >
> > > Manos
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to