jakshin / mixcaster

Subscribe to Mixcloud users as RSS podcasts
GNU General Public License v3.0
13 stars 2 forks source link

Build fails saying no junit4 #2

Closed guysoft closed 3 years ago

guysoft commented 5 years ago

Hey, Trying to build here and getting an error:

mixcaster$ ant
Buildfile: /tmp/mixcaster/build.xml

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors:

-init-macrodef-javac:

-init-macrodef-test-impl:

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

-deps-jar-init:
   [delete] Deleting: /tmp/mixcaster/build/built-jar.properties

deps-jar:

-warn-already-built-jar:
[propertyfile] Updating property file: /tmp/mixcaster/build/built-jar.properties

-check-automatic-build:

-clean-after-automatic-build:

-verify-automatic-build:

-pre-pre-compile:

-pre-compile:

-copy-persistence-xml:

-compile-depend:

-do-compile:

-post-compile:

compile:

-pre-pre-compile-test:

-pre-compile-test:

-compile-test-depend:

-do-compile-test:
    [javac] Compiling 14 source files to /tmp/mixcaster/build/test/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:26: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:26: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:26: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/HtmlEntitiesTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/HtmlEntitiesTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/HtmlEntitiesTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/HtmlEntitiesTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/HtmlEntitiesTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/HtmlEntitiesTest.java:26: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/XmlEntitiesTest.java:20: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/XmlEntitiesTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/XmlEntitiesTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/XmlEntitiesTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/XmlEntitiesTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/entities/XmlEntitiesTest.java:25: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/http/ByteRangeParserTest.java:20: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/http/ByteRangeParserTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/http/ByteRangeParserTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/http/ByteRangeParserTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/http/ByteRangeParserTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/http/ByteRangeParserTest.java:25: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudDecoderTest.java:20: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudDecoderTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudDecoderTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudDecoderTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudDecoderTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudDecoderTest.java:25: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudFeedTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudFeedTest.java:26: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudFeedTest.java:27: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudFeedTest.java:28: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudFeedTest.java:29: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/mixcloud/MixcloudFeedTest.java:30: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/podcast/PodcastTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/podcast/PodcastTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/podcast/PodcastTest.java:26: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/podcast/PodcastTest.java:27: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/podcast/PodcastTest.java:28: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/podcast/PodcastTest.java:29: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/DateFormatterTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/DateFormatterTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/DateFormatterTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/DateFormatterTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/DateFormatterTest.java:26: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/DateFormatterTest.java:27: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/FileUtilsTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/FileUtilsTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/FileUtilsTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/FileUtilsTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/FileUtilsTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/FileUtilsTest.java:26: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/MimeTyperTest.java:20: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/MimeTyperTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/MimeTyperTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/MimeTyperTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/MimeTyperTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/MimeTyperTest.java:25: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TimeSpanFormatterTest.java:20: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TimeSpanFormatterTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TimeSpanFormatterTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TimeSpanFormatterTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TimeSpanFormatterTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TimeSpanFormatterTest.java:25: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TrackLocatorTest.java:21: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TrackLocatorTest.java:22: error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TrackLocatorTest.java:23: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TrackLocatorTest.java:24: error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TrackLocatorTest.java:25: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/utils/TrackLocatorTest.java:26: error: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:33: error: cannot find symbol
    [javac]     @BeforeClass
    [javac]      ^
    [javac]   symbol:   class BeforeClass
    [javac]   location: class DownloadComparatorTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:38: error: cannot find symbol
    [javac]     @AfterClass
    [javac]      ^
    [javac]   symbol:   class AfterClass
    [javac]   location: class DownloadComparatorTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:43: error: cannot find symbol
    [javac]     @Before
    [javac]      ^
    [javac]   symbol:   class Before
    [javac]   location: class DownloadComparatorTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:48: error: cannot find symbol
    [javac]     @After
    [javac]      ^
    [javac]   symbol:   class After
    [javac]   location: class DownloadComparatorTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:53: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DownloadComparatorTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadComparatorTest.java:68: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DownloadComparatorTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:33: error: cannot find symbol
    [javac]     @BeforeClass
    [javac]      ^
    [javac]   symbol:   class BeforeClass
    [javac]   location: class DownloadQueueTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:38: error: cannot find symbol
    [javac]     @AfterClass
    [javac]      ^
    [javac]   symbol:   class AfterClass
    [javac]   location: class DownloadQueueTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:43: error: cannot find symbol
    [javac]     @Before
    [javac]      ^
    [javac]   symbol:   class Before
    [javac]   location: class DownloadQueueTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:48: error: cannot find symbol
    [javac]     @After
    [javac]      ^
    [javac]   symbol:   class After
    [javac]   location: class DownloadQueueTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:53: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DownloadQueueTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadQueueTest.java:61: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DownloadQueueTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:33: error: cannot find symbol
    [javac]     @BeforeClass
    [javac]      ^
    [javac]   symbol:   class BeforeClass
    [javac]   location: class DownloadTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:38: error: cannot find symbol
    [javac]     @AfterClass
    [javac]      ^
    [javac]   symbol:   class AfterClass
    [javac]   location: class DownloadTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:43: error: cannot find symbol
    [javac]     @Before
    [javac]      ^
    [javac]   symbol:   class Before
    [javac]   location: class DownloadTest
    [javac] /tmp/mixcaster/test/jakshin/mixcaster/download/DownloadTest.java:48: error: cannot find symbol
    [javac]     @After
    [javac]      ^
    [javac]   symbol:   class After
    [javac]   location: class DownloadTest
    [javac] 100 errors
    [javac] 1 warning

BUILD FAILED
/tmp/mixcaster/nbproject/build-impl.xml:1244: The following error occurred while executing this line:
/tmp/mixcaster/nbproject/build-impl.xml:260: Compile failed; see the compiler error output for details.

Total time: 1 second

What should I do?

I have ran sudo apt-get install junit4 and its installed

jakshin commented 3 years ago

Sorry, I had kind of forgotten about this project for a while there, but I recently wanted to start using it again, so I've dusted it off and made it work again.

guysoft commented 3 years ago

Cool! I don't remember what I needed it for at the time. Think I wanted to download mixcloud tracks.