cloudcoderdotorg / CloudCoder

A web-based programming exercise system.
GNU Affero General Public License v3.0
71 stars 60 forks source link

Build fails #98

Open LosWochos76 opened 6 years ago

LosWochos76 commented 6 years ago

Some dependencies cant be downloaded as the URLs are outdated. Can be fixed by using the Maven Repository. But then th build script fails with "includeantruntime" was not set. No clue what that means.

sidstamm commented 6 years ago

I got around a very similar error by updating my dependencies (though I am using Eclipse and not the build.pl script). See this changeset in my fork: https://github.com/sidstamm/CloudCoder/commit/94e86297268d1abd6120bfe863f1ad00e7935b97

I also had to clean out the downloaded dependencies and re-fetch them because fetchdeps.pl put some empty .jar files into the source tree (due to HTTP 404 errors).

@LosWochos76: you may need to remove (again, possibly) one or more failed dependencies that may have been copied into the source tree by the fetchdeps.pl script.

I'm still not having luck running the GWT app in eclipse due to a java.lang.NoSuchFieldError: originalSourceLevel when I try to launch org.CloudCoder.app in super-dev mode (following the Hacking instructions on the Wiki).

sidstamm commented 6 years ago

@LosWochos76 - I got it to build on Mac OS X using Eclipse. I had to make a few changes to the project files and such, but it seems operational. You can grab my fork if you want or see the changes. Are you still having problems?

davidamin commented 4 years ago

@sidstamm Were you able to get past the java.lang.NoSuchFieldError: originalSourceLevel issue? I've tried different versions of GWT and Java, as well as updating my deps, but have still be unable to get past the error.

sidstamm commented 4 years ago

@davidamin - I haven't tried in a couple of years. I got what I needed working outside eclipse and have been using it that way. Have you tried my fork? It's probably a bit old at this point, but it's what I'm using.

https://github.com/sidstamm/CloudCoder