douglascraigschmidt / LiveLessons

This repository contains all the source code examples from my LiveLessons course on "Java Concurrent Programming" and my various LiveTraining courses, as described at http://www.dre.vanderbilt.edu/~schmidt/DigitalLearning.
596 stars 665 forks source link

Does not build out of box on mac #10

Open powder366 opened 4 years ago

powder366 commented 4 years ago

gradle build :compileJava :processResources UP-TO-DATE :classes :jar :assemble :compileTestJava /oreilly/JavaConcurrency-2:e/LiveLessons/BuggyQueue/src/test/java/edu/vandy/BuggyQueueTest.java:34: error: cannot find symbol private static class Producer<BQ extends BoundedQueue> ^ symbol: class BoundedQueue location: class BuggyQueueTest /oreilly/JavaConcurrency-2:e/LiveLessons/BuggyQueue/src/test/java/edu/vandy/BuggyQueueTest.java:68: error: cannot find symbol private static class Consumer<BQ extends BoundedQueue> ^ symbol: class BoundedQueue location: class BuggyQueueTest /oreilly/JavaConcurrency-2:e/LiveLessons/BuggyQueue/src/test/java/edu/vandy/BuggyQueueTest.java:141: error: cannot find symbol final BuggyQueue buggyQueue = ^ symbol: class BuggyQueue location: class BuggyQueueTest /Users/jonas/source/courses new BuggyQueue<>(sQUEUE_SIZE); ^ symbol: class BuggyQueue location: class BuggyQueueTest 4 errors :compileTestJava FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 3.519 secs


Using:

[521] → gradle --version


Gradle 3.0

Build time: 2016-08-15 13:15:01 UTC Revision: ad76ba00f59ecb287bd3c037bd25fc3df13ca558

Groovy: 2.4.7 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_121 (Oracle Corporation 25.121-b13) OS: Mac OS X 10.15.1 x86_64

douglascraigschmidt commented 4 years ago

Thanks - I think I've fixed this and have pushed the updates!

powder366 commented 4 years ago

Works now. Thanks for responding so quickly.