[GeoNetwork-devel] How to minify Javascript files in geonetwork/scripts

Hi all,
I have modified ol_map.js and need to minify it. I thought that a Maven
install would do it. I have no idea how this is done.
Help !
Tim
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-minify-Javascript-files-in-geonetwork-scripts-tp6000822p6000822.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Timothee

You’re right, mvn install minifies the javascript files. You can find the minified versions in the folder SOURCE_FOLDER/web/src/main/webapp/scripts

Regards,
Jose García

On Mon, Feb 7, 2011 at 5:21 PM, timothee.becker <timothee.becker@anonymised.com> wrote:

Hi all,
I have modified ol_map.js and need to minify it. I thought that a Maven
install would do it. I have no idea how this is done.
Help !
Tim

View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-minify-Javascript-files-in-geonetwork-scripts-tp6000822p6000822.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server’s
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Thank you !
I had deployed my changes in the target/geonetwork/ folder and not in the
src/main/webapp. So Maven was compiling everything but the human
javascript...
Which leads me to the question: In my source, is it enough to deploy my
changes in the src/main/webapp or should I deploy them also in
target/geonetwork?
Regards,
Tim
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-minify-Javascript-files-in-geonetwork-scripts-tp6000822p6003479.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.