Hi,
For those of you who are into client side development. It is now possible to use non-obfuscated/minimized Smartclient code in the browser. This greatly facilitates client side debugging.

The steps are quite simple:
1) download (or update) the smartclient dev module into the modules directory:
hg clone 
https://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient.dev/

2) recompile, in the development project root do this:
ant compile -Dtab=XXX

3) go into the org.openbravo.userinterface.smartclient.dev module directory and 
type this ant command:
ant source

4) refresh eclipse workspace and restart the application, now the smartclient readable source code is available in chrome debugger.

Note step 3 will copy files directly to the WebContent directory. This means that if you rebuild later that these files are again overwritten by the compile step. In that case just re-execute the ant source command and refresh the WebContent directory.

I updated the dev documentation here:
http://wiki.openbravo.com/wiki/Client_Side_Development_and_API#Using_non-obfuscated_Smartclient_code

--

With Regards, Martin Taal

Openbravo
M: +31 6 288 48 943
@:martin.t...@openbravo.com
Skype: martintaal

Openbravo Headquarters:
P: +34 93 27 25 947
F: +34 93 27 25 905
Address: Edificio Slan, Planta 2a, Landaben, Calle J, 31012 Pamplona, Navarra, 
Spain
Mailing address: PO Box 5117, 31010 Pamplona, Navarra, Spain

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Openbravo-development mailing list
Openbravo-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to