Hello,

I have what might be a basic question, but I haven't been able to find a way to accomplish it using Maven. The project I am working on (Braintrain: http://code.google.com/p/braintrain/) uses Maven as the build framework. What I want to do is basically unzip 2 zip files and move the contents of a subdirectory in each to the js/ directory of the war. Specifically:

braintrain/braintrain-war/lib/tinymce_3_2_7.zip, sub-zip directory: /tinymce/jscripts/tiny_mce/ braintrain/braintrain-war/lib/tinymce_compressor_jsp_2_0_2.zip, sub-zip directory: /tinymce_compressor_jsp/

Ive tried using a war overlay, but I couldn't get the sub-directories moved to the /js dir... they ended up looking like this:
/js/tinymce/jscripts/tiny_mce/... and
/js/tinymce_compressor_jsp/
which wouldn't work... the compressor jsp needs to be in the same directory as the tiny_mce.js javascript file

Also, Ive tried using the maven-javascript-plugin, but it didnt seem to have the facilities for this.

I encourage you to check out braintrain and build it.. here's the svn:
http://braintrain.googlecode.com/svn/trunk/

to build it from the root, make sure to run mvn clean install... there are a lot of sub-projects that need to be installed.

Thank you in advance for your attention feedback and suggestions. Let me know if you have any questions or need any clarification.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to