[x3d-public] FW: X3DJSAIL build. Junit jar missing.

Don Brutzman brutzman at nps.edu
Thu Jun 28 16:04:03 PDT 2018


Thanks for report.  Please see stylesheets/ directory, ant build.xml target "get.junit5.jars" to remedy the situation.  am fiddling with stylesheets/nbproject/ and stylesheets/java/nbproject/ files too, just committed some trial changes there.

note that destination property ${junit5.site} is based on ANT_HOME environmental variable, and depends on ant v1.10.3, and remains experimental (i.e. not yet working).  i have a eXtreme programming session planned Friday afternoon to either successfully finish the port to junit5, or else back off and use junit4 instead.

results will be in the "tests" package so don't worry if the FieldObjectTests.java trial program there doesn't yet work.  better yet, a beverage of choice awaits anyone who gets it working...  8)


On 6/26/2018 9:01 PM, John Carlson wrote:
>      [javac] Compiling 1 source file to C:\x3d-code\www.web3d.org\x3d\stylesheets\java\classes
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:34: error: package org.junit.jupiter.api does not exist
> 
>      [javac] import org.junit.jupiter.api.Test;
> 
>      [javac]                             ^
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:35: error: package org.junit.jupiter.api does not exist
> 
>      [javac] import static org.junit.jupiter.api.Assertions.assertEquals;
> 
>      [javac]                                    ^
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:35: error: static import only from classes and interfaces
> 
>      [javac] import static org.junit.jupiter.api.Assertions.assertEquals;
> 
>      [javac] ^
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:36: error: package org.junit.jupiter.api does not exist
> 
>      [javac] import static org.junit.jupiter.api.Assertions.assertTrue;
> 
>      [javac]                                    ^
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:36: error: static import only from classes and interfaces
> 
>      [javac] import static org.junit.jupiter.api.Assertions.assertTrue;
> 
>      [javac] ^
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:57: error: cannot find symbol
> 
>      [javac]     @Test
> 
>      [javac]      ^
> 
>      [javac]   symbol:   class Test
> 
>      [javac]   location: class FieldObjectTests
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:63: error: cannot find symbol
> 
>      [javac]         assertTrue(false, "this test should fail");
> 
>      [javac]         ^
> 
>     [javac]   symbol:   method assertTrue(boolean,String)
> 
>      [javac]   location: class FieldObjectTests
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:64: error: cannot find symbol
> 
>      [javac]         assertTrue(SFBoolObject.matches("blah"), "SFBoolObject.matches(\"blah\") should fail");
> 
>      [javac]         ^
> 
>      [javac]   symbol:   method assertTrue(boolean,String)
> 
>      [javac]   location: class FieldObjectTests
> 
>      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:65: error: cannot find symbol
> 
>      [javac]         assertTrue(testSFBoolObject.matches(),   "testSFBoolObject.matches()");
> 
>      [javac]         ^
> 
>      [javac]   symbol:   method assertTrue(boolean,String)
> 
>      [javac]   location: class FieldObjectTests
> 
>      [javac] 9 errors
> 
> BUILD FAILED
> 
> C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml:343: Compile failed; see the compiler error output for details.
> 
> Total time: 28 seconds
> 
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 
> 
> 
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> 


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman




More information about the x3d-public mailing list