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]

Reply via email to