utils/RUN_TrlExport.sh broken?

58 views
Skip to first unread message

blacklevel

unread,
Dec 30, 2012, 10:25:46 AM12/30/12
to idem...@googlegroups.com
Hi there,

after I found that some translation strings are missing in the current XML files of en_US, I wanted to generate a current set of xml files for the en_US base language. I have never tried to do that before and naively thought all I had to do was to execute the "RUN_TrlExport.sh" script in the utils directory. I hope that is the correct approach. If it is, it did not work because Java does not like me:

$ sh RUN_TrlExport.sh 
Setting myEnvironment ....
Export idempiere Translation - /users/local/idempiere-server (idempiere)
This Procedure exports language en_US to directory /users/local/idempiere-server/data/en_US
Exception in thread "main" java.lang.NoClassDefFoundError: /users/local/idempiere-server/data/en_US
Caused by: java.lang.ClassNotFoundException: .users.local.idempiere-server.data.en_US
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: /users/local/idempiere-server/data/en_US.  Program will exit.
Done

I verfied that the settings in myEnvironment.sh are correct. Also the non-standard paths are all good for this particular setup. I'd be grateful for a little push in the right direction.

Thanks
Michael

Hiep Lq

unread,
Dec 30, 2012, 1:18:42 PM12/30/12
to idem...@googlegroups.com

blacklevel

unread,
Dec 31, 2012, 7:25:00 AM12/31/12
to idem...@googlegroups.com
Thank you, Hiep Lq.

I stepped around the problem by simply using the Webinterface (System Admin -> General Rules -> System Rules -> Translation Import/Export).
Reply all
Reply to author
Forward
0 new messages