Hi,
  I'm running Maven2 on WinXP, with a JDK 1.5 system, but when I try & build
some classes that use some 1.5 features, specifically
MessageFormat.format(String, Object... ), then I get a "cannot find symbol"
error on the compile. (The var-args is new in 1.5)

Compiling via Ant or IntelliJ using the same (as far as I know) JDK give
clean compiles.

  mvn -X doesn't give anything of any obvious help with regards to the
internal compiler version in use, just reporting "javac", but echoing the
JDK that the batch job uses confirms it's the expected one (1.5.0_06).

 M2 doesn't have a bundled 1.4 javac does it?  Any suggestions or thoughts?

  The only 'odd' think about my pom.xml is that I call the xdoclet plugin to
run ejbdoclet, but I don't know if that's involved...

/Gwyn
--
View this message in context: 
http://www.nabble.com/Checking-in-use-compiler--t1469398.html#a3972335
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to