samskivert / pythagoras

A portable library of geometry classes for Java
Apache License 2.0
44 stars 14 forks source link

Build fails #4

Closed thecookie closed 13 years ago

thecookie commented 13 years ago

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

thecookie commented 13 years ago

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 :)

thecookie commented 13 years ago

Sorry, I hit Comment & Close by mistake.

samskivert commented 13 years ago

The Ant build scripts were a bit out of date from the Maven ones. They're fixed now.

samskivert commented 13 years ago

SBT build also fixed now.