Looks to me like the maven antrun plugin would be a good choice for implementing this: http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html It would just be a matter of implementing the ant scripts for this in the plugin's pom. Tom
On 8/22/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > Here is how to do it: > > http://www.dojotoolkit.org/book/dojo-book-0-4/part-6-customizing-dojo-builds-better-performance/dojo-build-system/creating-cust > > The short version is: > > 1. checkout Dojo's code (we can probably just use the code that is > already in the plugin and add the build scripts) > 2. Create a profile (it is already done) > 3. Execute Dojo's build script with some parameters (pointing to our profile) > 4. Rename the 2 main js files and copy them into the plugin > > musachy > > On 8/22/07, Tom Schneider <[EMAIL PROTECTED]> wrote: > > I could see 2 ways of handling this and you'll have to provide your > > input as to which makes more sense: > > > > 1. Treat the compressed javascript as a maven artifact and create a > > custom maven mojo and artifact type to handle it. > > > > 2. Use the maven antrun plugin or the assembly plugin to create the > > compressed file. (is it just a zip file?) > > > > Option 2 will be easier to implement, option 1 will be more work, but it > > makes more sense if we'll have to do this type of thing for more > > javascript libraries. I've done option 2 myself recently, so I can > > provide some tips there. Option 1 would require a bit more programming > > effort. > > Tom > > > > Musachy Barroso wrote: > > > By the way I forgot to bring this up, the compressed javascript > > > files(custom Dojo build) is not built using maven, currently I build > > > them on my machine and commit them, does anybody know how to automate > > > that? I added a text file with instructions to the dojo plugin along > > > with the js file required to build them > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > 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]