Closed GoogleCodeExporter closed 8 years ago
What ant version are you running? This error looks like Ant failing to find
the right class.
Assigning to Freeland, I think he wrote the build.properties.
Original comment by dragonsinth
on 5 Jul 2012 at 6:26
To make it work in ubuntu, I had to use a ppa installer to get java7 setup
right http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html
Also make sure you set JAVA_HOME and ANT_HOME in .bashrc.
And you should also check ant -version as well. <1.8.4 = no go.
Original comment by Ja...@wetheinter.net
on 5 Jul 2012 at 6:30
Should be fixed now.
9d9db58011dced140f542ba8b6aa5e37e6c7b417
Original comment by dragonsinth
on 5 Jul 2012 at 4:51
As suggested, I pinned to ant 1.8... we are using the "javac1.7" word
(introduced in ant 1.8.2, though we could have instead used "modern" as its
synonym). But in practice I think we all have been using 1.8.2-or-4, and
pinning seems to avoid any such confusions in the future.
As a side note, however, anything in build.properties can be overridden by
creating your own local.properties, and setting it there, so (previously) if
you wanted to use ant 1.7, you could have set javac.compiler=modern there, and
I think it would have worked... unless there is some other dependency, which I
hadn't noticed, and that possibility is why I agreed to pin it.
Side fix in the same update, "ant clean" will now recreate the generated source
directories, which helps keep Eclipse from whining if they go mis sing.
Original comment by srthomas...@gmail.com
on 5 Jul 2012 at 10:55
BUILD FAILED
/home/hemanth/lab/collide/java/com/google/collide/client/build.xml:69: The
following error occurred while executing this line:
/home/hemanth/lab/collide/macros.ant.xml:197: Java returned: 1
Original comment by hemanth...@gmail.com
on 9 Jul 2012 at 9:51
Original issue reported on code.google.com by
hemanth...@gmail.com
on 5 Jul 2012 at 5:25