Build fails
thecookie opened this issue · comments
I am not sure if I am doing something wrong. When I try to build with ant I get the following error:
BUILD FAILED
/home/christopher/dev/pythagoras/build.xml:31: /home/christopher/dev/pythagoras/src/main/resources does not exist.
When I try to build with sbt I get the followign error:
[info] Compiling 138 Java sources to /home/christopher/dev/pythagoras/target/classes...
[error] /home/christopher/dev/pythagoras/src/main/java/pythagoras/util/Platform.java:10: duplicate class: pythagoras.util.Platform
[error] public class Platform
[error] ^
[error] 1 error
[error] {file:/home/christopher/dev/pythagoras/}default-9d32fa/compile: javac returned nonzero exit code
[error] Total time: 2 s, completed Aug 15, 2011 11:24:31 AM
When adding the resources dir I get the same compile error with and as with sbt. I guess it's an issue with the super source, but I also guess the build script should handle it :)
Sorry, I hit Comment & Close by mistake.
The Ant build scripts were a bit out of date from the Maven ones. They're fixed now.
SBT build also fixed now.