[kepler-dev] [Bug 5557] Replace hardcoded path separator with File.pathSeparator

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Jan 9 17:50:30 PST 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5557

--- Comment #6 from Christopher Brooks <cxh at eecs.berkeley.edu> 2012-01-09 17:50:30 PST ---
I folded in d. hogan's path (Thanks!)
One change that I made was that we now look for tools.jar by getting the
java.home JDK property.

Unfortunately, I still can't run 'ant javadoc' under Windows, I get messages
like:
--start--
Loading source files for package org.ecoinformatics.seek.R...

C:\Users\Administrator\src\kepler\r\target\classes\org\ecoinformatics\seek\R\RExpression2.class:62:
error: unmappable character for encoding Cp1252
--end--

The above message can be reproduced by creating a file called "doit" that
contains:

--start--
CLASSPATH="C:/Users/Administrator/src/kepler/r/target/classes" javadoc
-sourcepath "C:/Users/Administrators/src/kepler/r/src/" -subpackages org
--end--

and then starting up Cygwin and running
  sh doit

This is with Windows Java 1.7.0:
$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

If I use the javadoc from Java 1.6.0_26, the problem goes away.

I submitted a bug to Oracle, we will see if anything comes of it.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list