Compile errors

Problems with Java, jogl, etc?
Post Reply
Bram
Posts: 3
Joined: Fri 23. Jul 2010, 17:10

Compile errors

Post by Bram » Fri 23. Jul 2010, 17:14

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!

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: Compile errors

Post by Andre » Fri 23. Jul 2010, 17:55

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.

Bram
Posts: 3
Joined: Fri 23. Jul 2010, 17:10

Re: Compile errors

Post by Bram » Fri 23. Jul 2010, 18:08

Great, thank you for the quick reply! Problem solved.

Post Reply