[GeoNetwork-devel] Development cycle - customizing gui

Hi!

I'm doing some customizing of the GeoNetwork gui for my client. These are
primarily javascript changes.

While setting the development environment I was wondering if I have the most
optimal developement cycle.

Currently I do the following when doing changes in the javascript files
(mostly in web-client/src/main/resources/apps/):

cd web
mvn jetty:run -Penv-dev,widgets

(in second terminal window:)
cd web-client
mvn process-resources (repeat after each change in a javascript file)

Is there any way to just save the file and refresh in browser?

--
Best regards
Henning Jensen

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Development-cycle-customizing-gui-tp5058145.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

hi Henning,

if you run in debug mode, the minified versions are not used, so you should be able to just reload.

Kind regards
Heikki Doeleman

On Wed, Jun 5, 2013 at 3:39 PM, henningjensen <henning.jensen@anonymised.com> wrote:

Hi!

Iā€™m doing some customizing of the GeoNetwork gui for my client. These are
primarily javascript changes.

While setting the development environment I was wondering if I have the most
optimal developement cycle.

Currently I do the following when doing changes in the javascript files
(mostly in web-client/src/main/resources/apps/):

cd web
mvn jetty:run -Penv-dev,widgets

(in second terminal window:)
cd web-client
mvn process-resources (repeat after each change in a javascript file)

Is there any way to just save the file and refresh in browser?

ā€“
Best regards
Henning Jensen

ā€“
View this message in context: http://osgeo-org.1560.x6.nabble.com/Development-cycle-customizing-gui-tp5058145.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

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

Heikki Doeleman wrote

if you run in debug mode, the minified versions are not used, so you
should
be able to just reload.

Took me a few minutes to find /geonetwork/apps/tabsearch/index_debug.html

But it worked! Thanks! :slight_smile:

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Development-cycle-customizing-gui-tp5058145p5058162.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.