Page 1 of 1

Compile errors

Posted: Fri 23. Jul 2010, 17:14
by Bram
I just checked out the SVN repository, and tried just running ant (as per the instructions) and came across a compile error of:

Code: Select all

portal:
    [javac] Compiling 19 source files to /Users/abes/lib/jreality/trunk/build/portal
    [javac] /Users/abes/lib/jreality/trunk/src-portal/de/jreality/portal/RemoteExecutor.java:9: package de.jreality.plugin does not exist
    [javac] import de.jreality.plugin.JRViewer;
    [javac]                          ^
    [javac] /Users/abes/lib/jreality/trunk/src-portal/de/jreality/portal/RemoteExecutor.java:10: package de.jreality.plugin.basic does not exist
    [javac] import de.jreality.plugin.basic.ToolSystemPlugin;
    [javac]                                ^

...
I'm assuming this comes from the fact that the plugin package hasn't been built yet. However, when I look through build.xml, the plugin package has a dependency on portal.

Just to test what would happen, I tried removing the portal dependency on plugin, but it appears the dependency is necessary (code still won't compile).

So my question is, am I doing something wrong, or is there really a circular dependency in the build?

Thanks!

Re: Compile errors

Posted: Fri 23. Jul 2010, 17:55
by Andre
It's a known problem, we are working on it. I'll announce when we've solved it. Meanwhile you should add these 2 lines at the 'excludes.txt'
**/RemoteExecutor.java
**/MasterApplication.java
Than should it work.

cheers Andre

EDIT: Keep attention CAVE-setup is possibly not working without these two classes.

Re: Compile errors

Posted: Fri 23. Jul 2010, 18:08
by Bram
Great, thank you for the quick reply! Problem solved.