Jeff Turner <[EMAIL PROTECTED]> writes: > Hi, > > I'm trying to build Maven from CVS, following the instructions at > http://jakarta.apache.org/turbine/maven/bootstrap.html > > When I get to the 'ant maven:jar' stage, the compile fails with this sort of error: > > javac.compile: > [mkdir] Created dir: >/home/jeff/apache/jakarta/jakarta-turbine-maven/target/classes > [javac] Compiling 220 source files to >/home/jeff/apache/jakarta/jakarta-turbine-maven/target/classes > [javac] > [javac] Found 9 semantic errors compiling >"/home/jeff/apache/jakarta/jakarta-turbine-maven/src/java/org/apache/maven/importscrubber/Resources_fr.java": > [javac] > [javac] 60. {FILE_BROWSER_TITLE, "Note: les fichiers binaires >(.class) et les fichiers sources doivent \u00/*tre dans le m\u00/*me >r\u00/)pertoire"}, > [javac] ><-------------------------------------------------------------------------------------------------> > ... > [javac] 75. {BREAK_NONE, "Pas d'arr\u00/*ts"}, > [javac] <------------> > [javac] *** Error: The value of this "String" literal is invalid. Perhaps it >contains a bad escape sequence? > > > It looks like the 8-bit characters in Resources_fr.java need to be escaped with > Java's \uXXXX syntax. The attached patch does this. > > In general, it might be better to store strings like this in properties files, > where Java's encoding rules don't cause problems. > > Also, the build process assumes the user has junit.jar in their ${ant.home}/lib > directory. The second attached patch documents this.
FWIW, I've had problems of this type using Jikes 1.13. Using javac from JDK 1.3.1 worked. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
