java - gettext under Mac OS X Lion for eclipse with maven -


i have java project in eclipse builds apache maven.

the problem project doesn´t compile correcly because of gettext function missing.

so did search , installed gettext follows:

download gettext : http://www.gnu.org/software/gettext/

run these commands

tar -zxf gettext-0.18.1.1.tar.gz cd  gettext-0.18.1.1 

then in gettext-0.18.1.1 run these commands

./configure  make  sudo make install 

unfortunately doesn´t solves problem.

i found patching gettext on lion here: https://gist.github.com/1014218 don´t understand here , not sure if fix problem.

if try compile project in terminal command:

§ maven compile 

i warning:

[info] [gettext:dist {execution: convert-po-class}] [info] processing de/de.po [warning] msgfmt --java2 -d /.../workspace/target/classes -r **.**.**.**.translation -l de /.../workspace/po/de/de.po 

(... , ** privacy reasons)

(in eclipse changed builder java builder maven. , if try run project in eclipse , not in terminal error:

 noclassdeffounderror: org/xnap/commons/i18n/i18nfactory 

)

edit: found link: http://code.google.com/p/rudix/source/detail?r=0e7c428f9609

but can´t find documents there told change.

please help

i18nfactory class gettext commons library, need add project's classpath/dependencies. can find here along code snippets , maven configuration example.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -