[MOBY-dev] jMoby: problems with Ant under Windows

Martin Senger senger at ebi.ac.uk
Thu Sep 1 01:19:25 UTC 2005


You are a pool of clever and experiences people - would anybody be able to
help me to write (actually to fix) the current Ant's build.zml so it works
fine also under Windows? I am desperately seeking an advise:

1) The command-line arguments when using target <java> cannot remain empty
(under Windows). For example, the command-line:
    java MosesGenerator -e "" -debug
means (under Linux) a command-line with three arguments, but (under
windows) a command-line with just two arguments (-e and -debug). Is there
a solution for this, at all?

2) The target <javadoc>, when used with rich attributes (like bottom,
headre etc.), does not work under windows. First I had to change double
quotes into single quotes (okay, Ant should do it, but does not; but it's
doable). Second I have to remove newlines from some XML elements - like
the 'bottom' one (okay, doable, but annoying, again Any should do it - as
it does for unix). But third: the line for javadoc is too long for
windows. Well, if you have a windows running, try the current build.xml -
try target 'docs' - and you will see what I am talking about, and perhaps
you will kniw how to rectiry.

   Many thanks for your help,
   Martin

-- 
Martin Senger
   email: martin.senger at gmail.com
   skype: martinsenger
consulting for:
   International Rice Research Institute
   Biometrics and Bioinformatics Unit
   DAPO BOX 7777, Metro Manila
   Philippines, phone: +63-2-580-5600 (ext.2324)




More information about the MOBY-dev mailing list