Hi René,


René Kanters wrote:

Hi Nico,

I replied to Daniel's message regarding this a bit earlier. From what he wrote and the test he suggested, it looks like the problem stems from Eclipse.

I just retrieve the original build files from CVS, and ant (my version in OS X is 1.6.2) works with the original CVS build-i18n.xml file. It is just Eclipse that doesn't seem to know my path. Since you are the Eclipse guru, maybe you know where I may have a setting wrong there...

Could you try running Ant from Eclipse with the flag -debug or -v (remove the -Dgettext_path)
and send me the output of build-i18n.xml ?

Yesterday, I had a look at the source code for the <exec> task in Ant.
It's quite a mess and highly dependent on the OS.
It appears that it's not always directly running xgettext, but maybe trying to run it through ${ant.home}/bin/antRun.
With the log output, it will tell us which method Ant is trying to use.

When you're running Jmol, you should get a line concerning os.name in the output.
What result do you get ?
I have: os.name:Windows 2000
Depending on this value, Ant will use different methods in the <exec> task

The -Dgettext_path=/usr/local/bin/ method you suggest with the modification in the build-i18n.xml file does indeed work. So I could upload this modification to the xml file, but on the other hand, I feel like Eclipse should be able to do the right thing from the get go (without having to change things that do work for other people). I assume that your install of eclipse id not giving you these problems, so it may be just me...

I agree, this modification is only a last solution if we can't find a better one. (On the other hand, this modification can also be useful for systems having gettext tools but not in the path). I don't think it's your install, it's probably more a problem with Eclipse under OS X, I hope we can tell with the logs.

Nicolas




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to