Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building of application fails with 100 errors #11

Open
rmackinnon opened this issue Jun 13, 2015 · 2 comments
Open

Building of application fails with 100 errors #11

rmackinnon opened this issue Jun 13, 2015 · 2 comments

Comments

@rmackinnon
Copy link

Greetings,

Following your directions for building with ant on a linux machine and hit a snag during compileTest.

rmackinnon@kuro ~/Develop/ykneo-oath $ ant -DJAVACARD_HOME=/opt/oracle-jck-bin/
Buildfile: /home/rmackinnon/Develop/ykneo-oath/build.xml

init:

compile:

compileMock:

compileTest:
    [javac] Compiling 2 source files to /home/rmackinnon/Develop/ykneo-oath/test/bin
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:20: error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertArrayEquals;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:20: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertArrayEquals;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:21: error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:21: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:22: error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotSame;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:22: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotSame;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:23: error: package org.junit does not exist
    [javac] import static org.junit.Assert.fail;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:23: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.fail;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:37: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:38: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:20: error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertArrayEquals;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:20: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertArrayEquals;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:21: error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:21: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:22: error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotNull;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:22: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotNull;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:23: error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertNull;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:23: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNull;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:24: error: package org.junit does not exist
    [javac] import static org.junit.Assert.fail;
    [javac]                        ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:24: error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.fail;
    [javac] ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:36: error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:37: error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:38: error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:43: error: cannot find symbol
    [javac]     @After
    [javac]      ^
    [javac]   symbol:   class After
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:49: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:58: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:81: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:99: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:114: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:131: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:158: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:170: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:180: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:194: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:207: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:220: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:233: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:245: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:260: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:275: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:297: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:321: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:347: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:52: error: cannot find symbol
    [javac]     @After
    [javac]      ^
    [javac]   symbol:   class After
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:58: error: cannot find symbol
    [javac]     @Before
    [javac]      ^
    [javac]   symbol:   class Before
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:70: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:77: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:105: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:150: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:204: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:227: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:322: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:394: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:429: error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:53: error: cannot find symbol
    [javac]         assertEquals(obj, OathObj.firstObject);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:55: error: cannot find symbol
    [javac]         assertEquals(false, OathObj.firstObject.isActive());
    [javac]         ^
    [javac]   symbol:   method assertEquals(boolean,boolean)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:69: error: cannot find symbol
    [javac]         assertEquals(first, OathObj.firstObject);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:70: error: cannot find symbol
    [javac]         assertEquals(second, first.nextObject);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:71: error: cannot find symbol
    [javac]         assertEquals(third, second.nextObject);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:72: error: cannot find symbol
    [javac]         assertEquals(third, OathObj.lastObject);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:74: error: cannot find symbol
    [javac]         assertEquals(first, obj);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:76: error: cannot find symbol
    [javac]         assertEquals(second, obj);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:78: error: cannot find symbol
    [javac]         assertEquals(third, obj);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:89: error: cannot find symbol
    [javac]         assertEquals(ret, 20);
    [javac]         ^
    [javac]   symbol:   method assertEquals(short,int)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:91: error: cannot find symbol
    [javac]         assertEquals(ret, 20);
    [javac]         ^
    [javac]   symbol:   method assertEquals(short,int)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:95: error: cannot find symbol
    [javac]             assertEquals(0x6982, e.getReason());
    [javac]             ^
    [javac]   symbol:   method assertEquals(int,short)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:107: error: cannot find symbol
    [javac]         assertEquals(ret, 20);
    [javac]         ^
    [javac]   symbol:   method assertEquals(short,int)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:109: error: cannot find symbol
    [javac]         assertEquals(ret, 20);
    [javac]         ^
    [javac]   symbol:   method assertEquals(short,int)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:111: error: cannot find symbol
    [javac]         assertEquals(ret, 20);
    [javac]         ^
    [javac]   symbol:   method assertEquals(short,int)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:120: error: cannot find symbol
    [javac]         assertNotSame(first, second);
    [javac]         ^
    [javac]   symbol:   method assertNotSame(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:124: error: cannot find symbol
    [javac]         assertEquals(second, third);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:128: error: cannot find symbol
    [javac]         assertEquals(first, second);
    [javac]         ^
    [javac]   symbol:   method assertEquals(OathObj,OathObj)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:153: error: cannot find symbol
    [javac]             assertArrayEquals(expect, dest);
    [javac]             ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:167: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:177: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:191: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:204: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:216: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:230: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:242: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:257: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:271: error: cannot find symbol
    [javac]         assertArrayEquals(expected, res);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:294: error: cannot find symbol
    [javac]             assertArrayEquals("challenge: " + challenge, challengeMap.get(chal), result);       }
    [javac]             ^
    [javac]   symbol:   method assertArrayEquals(String,byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:316: error: cannot find symbol
    [javac]             assertArrayEquals("challenge: " + challenge, challengeMap.get(chal), result);
    [javac]             ^
    [javac]   symbol:   method assertArrayEquals(String,byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:343: error: cannot find symbol
    [javac]             assertArrayEquals("at number " + i, expecteds.get(i), result);
    [javac]             ^
    [javac]   symbol:   method assertArrayEquals(String,byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:352: error: cannot find symbol
    [javac]             fail("couldn't find testdata.properties.");
    [javac]             ^
    [javac]   symbol:   method fail(String)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:357: error: cannot find symbol
    [javac]             fail("failed to load testdata.properties: " + e.getMessage());
    [javac]             ^
    [javac]   symbol:   method fail(String)
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/OathObjTest.java:378: error: cannot find symbol
    [javac]             assertArrayEquals(expected, result);
    [javac]             ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class OathObjTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:72: error: cannot find symbol
    [javac]         assertNull(OathObj.firstObject);
    [javac]         ^
    [javac]   symbol:   method assertNull(OathObj)
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:74: error: cannot find symbol
    [javac]         assertArrayEquals(new byte[] {(byte) 0x90, 0x00}, resp);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:79: error: cannot find symbol
    [javac]         assertNull(OathObj.firstObject);
    [javac]         ^
    [javac]   symbol:   method assertNull(OathObj)
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:85: error: cannot find symbol
    [javac]         assertNotNull(OathObj.firstObject);
    [javac]         ^
    [javac]   symbol:   method assertNotNull(OathObj)
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:88: error: cannot find symbol
    [javac]         assertArrayEquals(expect, resp);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:97: error: cannot find symbol
    [javac]         assertArrayEquals(expected, resp);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:102: error: cannot find symbol
    [javac]         assertEquals(false, OathObj.firstObject.isActive());
    [javac]         ^
    [javac]   symbol:   method assertEquals(boolean,boolean)
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:113: error: cannot find symbol
    [javac]         assertNull(OathObj.firstObject);
    [javac]         ^
    [javac]   symbol:   method assertNull(OathObj)
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:115: error: cannot find symbol
    [javac]         assertNotNull(OathObj.firstObject);
    [javac]         ^
    [javac]   symbol:   method assertNotNull(OathObj)
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:116: error: cannot find symbol
    [javac]         assertNull(OathObj.firstObject.nextObject);
    [javac]         ^
    [javac]   symbol:   method assertNull(OathObj)
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:119: error: cannot find symbol
    [javac]         assertArrayEquals(expect, resp);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class YkneoOathTest
    [javac] /home/rmackinnon/Develop/ykneo-oath/test/test/pkgYkneoOathTest/YkneoOathTest.java:129: error: cannot find symbol
    [javac]         assertArrayEquals(expect, resp);
    [javac]         ^
    [javac]   symbol:   method assertArrayEquals(byte[],byte[])
    [javac]   location: class YkneoOathTest
    [javac] 100 errors

BUILD FAILED
/home/rmackinnon/Develop/ykneo-oath/build.xml:57: Compile failed; see the compiler error output for details.

Total time: 1 second

Followed Building.txt to the letter, and seems that things are no-bueno somewhere. Please let me know what I can do to help further the debug/troubleshooting.

Cheers,
--Rob

@klali
Copy link
Member

klali commented Jun 15, 2015

This looks like junit isn't in your classpath, the build script specifically looks for /usr/share/java/junit4.jar which on debian/ubuntu is installed by the package junit4.
This should probably be added to that document..

/klas

@gdestuynder
Copy link

Arguably correct path is /usr/share/java/junit.jar though, but yeah (so your mileage will vary if you use another distro that follows this). Might wanna fix it in your build.xml to get things to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants