softlang / megalib

A library of megamodels
6 stars 5 forks source link

Ant build is vacuously successful #4

Closed rlaemmel closed 8 years ago

rlaemmel commented 8 years ago

/cc @AndrEm12 @MarcelH91

Ant seems to complete build fine; see below. ... but ANTLR is not invoked and obviously there must be Java errors. No Java errors reach the console.

So make sure to avoid having vacuous success. Also, make sure the build actually completes successfully.

 ant
Buildfile: /Users/laemmel/github/softlang/megalib/checker/build.xml

create_run_jar:

BUILD SUCCESSFUL
Total time: 0 seconds
le-cram commented 8 years ago

In CheckerTests.java, I also see this

import static org.hamcrest.CoreMatchers.instanceOf;
import static org.junit.Assert.assertThat;

Hamcrest and JUnit are both not in the build path after building with your ANT script build.xml.

DerMusicus commented 8 years ago

see #1