[MOBY-dev] non-English characters & windows & jMoby

Iván Párraga García ivanp at mmb.pcb.ub.es
Tue Feb 20 23:08:09 UTC 2007


Dear list,

I've experienced a strange effect trying to compile jmoby with the
build.bat and build-dev.bat scripts under Windows.

I was using Eclipse as CVS client. Eclipse needs to create a project
under the selected workspace to store the local version of the code. The
default workspace is created in the user folder under "Documents &
Settings". In my case, my username is Iván (and notice this accented
non-English "á"). In short, the path becomes like this:

C:\Documents and Settings\Iván\workspace\moby-live\Java

Well, when I tried to compile it, I got this message:

C:\Documents and Settings\Iván\workspace\moby-live\Java>build-dev.bat
Buildfile: build.xml

BUILD FAILED
Error reading project file C:\Documents and
Settings\Ivßn\workspace\moby-live\Java\build.xml: no protocol: xmls/libraries.xml


As you can see the "á" becomes a "ß"...

This can be solved in two different ways:
- the easy one: move the location of moby-live to another path without
non-English characters
- the tricky one (works but generates ugly warnings): modify the
build.xml file by replacing all the occurrences of

<!ENTITY libraries SYSTEM "xmls/whatever.xml">

for

<!ENTITY libraries      SYSTEM "file:xmls/whatever.xml">

in lines from 3 to 12



Regards,

-- 
------------------------------------------------
Iván Párraga García
Computer Scientist
Molecular Modelling & Bioinformatics Unit
INB - Instituto Nacional de Bioinformática
Josep Samitier 1-5
08028 Barcelona
Spain
tel.: +34 93 403 71 55
fax.: +34 93 403 71 57
e-mail: ivanp at mmb.pcb.ub.es
group page: http://mmb.pcb.ub.es 
pgp key: http://mmb.pcb.ub.es/~ivanp/pubkey.asc
------------------------------------------------




More information about the MOBY-dev mailing list