Hmm. A this point am not using javac at all, just Clojure. So (in theory) I would expect to need a config setting on the clojure-maven- plugin instead. I'll give it a spin though!

Stu

Hi,

On 01.04.2010, at 20:00, Stuart Halloway wrote:

(2) When I import the project, the package explorer shows JRE System Library J2SE 1.4. The Clojure REPL then bombs needing Java 1.5 features. I can edit the project properties after the import, but shouldn't there be some way to say this in pom.xml so that Eclipse choose 1.5 during the import?

AFAIR, 1.4 is the default for Maven's javac-plugin. If you add the snippet described in http://maven.apache.org/general.html#Compiling-J2SE-5 to the pom.xml, the specified version will be used; Eclipse (via m2eclipse or "mvn eclipse:eclipse") picks this up correctly.

Regards,
 --Chris

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

To unsubscribe, reply using "remove me" as the subject.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to