fmgasparino / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
0 stars 0 forks source link

Build doesn't work if compile with Java 1.6 in Mac #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile(ant dist) with Java 1.6
2. Try to use it on Mac.

What is the expected output? What do you see instead?
Gin working. Gin doesn't work.

What version of the product are you using? On what operating system?
SVN revision 110.

Please provide any additional information below.
If I compile using target 1.6 it will not work on Macs.

Solution: 

Add  target="1.5" on build.xml in javac tag.

Original issue reported on code.google.com by terciofi...@gmail.com on 27 Aug 2009 at 6:45

GoogleCodeExporter commented 9 years ago
Is this true in general? Maybe you just have set your default JRE set to 1.5 on 
your
mac and could switch it to 1.6? Macs nowadays support Java6.

Original comment by aragos on 27 Aug 2009 at 10:11

GoogleCodeExporter commented 9 years ago
True, but GWT 1.7 using a 1.5, gives you an error if using a compiled for 1.6 
version.

Original comment by terciofi...@gmail.com on 27 Aug 2009 at 10:39

GoogleCodeExporter commented 9 years ago
Adding to this, if you try to compile at all in Snow Leopard with GWT 1.7.1, 
the default build.xml will fail. The 
workaround is to add '-d32' to the <macJvmArgs> property at the beginning of 
the script. Not a fix for all 
environments unfortunately, since this will then break on non-Snow Leopard Mac 
machines...

Original comment by Bitmei...@gmail.com on 27 Oct 2009 at 3:56

GoogleCodeExporter commented 9 years ago
With GWT 2.0, this is no more a issue.

Original comment by terciofi...@gmail.com on 8 Jan 2010 at 2:32

GoogleCodeExporter commented 9 years ago
Since there is a workaround and a compiled release now I'll close this issue.

Original comment by aragos on 8 Jan 2010 at 5:00