[x3d-public] testing error X3JDJSAIL.
John Carlson
yottzumm at gmail.com
Tue Jul 17 02:18:31 PDT 2018
>From stylesheets folder:
$ ~/apache-ant-1.10.4/bin/ant test.X3DJSAIL
Buildfile: C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
test.mkdir:
test.X3dToJava.xslt:
[echo] org.web3d.x3d.jsail.CommandLine test/arc.x3d -toJava -toFile test/arc.java
[delete] Deleting: C:\x3d-code\www.web3d.org\x3d\stylesheets\test\arc.java
[java] parameter: source file arc.x3d filesize 7523 bytes, parsed using Document Object Model (DOM) X3DLoader
[java] parameter: "-toJava" for conversion to Java source code
[java] parameter: "-toFile" "test/arc.java" for result file name root test/arc
[java] convert to Java:
[java] file conversion successful: arc.java (13257 bytes)
[echo] compile arc.java source...
[javac] Compiling 3 source files to C:\x3d-code\www.web3d.org\x3d\stylesheets\test
[javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\test\HelloWorld.java:6: error: ';' expected
[javac] X3DObject x3dObjectTree = new X3DObject().setProfile(Immersive).setVersion(3.3).setXsd:noNamespaceSchemaLocation(http://www.web3d.org/specifications/x3d-3.3.xsd));
[javac] ^
[javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\test\HelloWorld.java:6: error: invalid method declaration; return type required
[javac] X3DObject x3dObjectTree = new X3DObject().setProfile(Immersive).setVersion(3.3).setXsd:noNamespaceSchemaLocation(http://www.web3d.org/specifications/x3d-3.3.xsd));
[javac] ^
[javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\test\HelloWorld.java:6: error: <identifier> expected
[javac] X3DObject x3dObjectTree = new X3DObject().setProfile(Immersive).setVersion(3.3).setXsd:noNamespaceSchemaLocation(http://www.web3d.org/specifications/x3d-3.3.xsd));
[javac] ^
[javac] 3 errors
BUILD FAILED
C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml:1468: Compile failed; see the compiler error output for details.
Total time: 3 seconds
Sent from Mail for Windows 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180717/cc2a033a/attachment.html>
More information about the x3d-public
mailing list