Problem with ant build

Have jReality programming problems or questions? Post them here.
Post Reply
csm5125
Posts: 19
Joined: Tue 6. Jul 2010, 19:45

Problem with ant build

Post by csm5125 » Mon 26. Jul 2010, 18:27

Beginning with revision 5181 and continuing to at least revision 5195, I am unable to build using the included build file and Ant. When running the default target, I get the following output (from a clean svn checkout, with proper library references):

Buildfile: C:\Documents and Settings\csm5125\workspace\jreality_trunk\build.xml
init:
core:
audio:
tools:
backends-share:
io:
proxies:
jogl:
soft:
renderman:
ui:
portal:
[javac] Compiling 18 source files to C:\Documents and Settings\csm5125\workspace\jreality_trunk\build\portal
[javac] C:\Documents and Settings\csm5125\workspace\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] C:\Documents and Settings\csm5125\workspace\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] ^
[javac] C:\Documents and Settings\csm5125\workspace\jreality_trunk\src-portal\de\jreality\portal\RemoteExecutor.java:11: package de.jreality.plugin.basic does not exist
[javac] import de.jreality.plugin.basic.View;
[javac] ^
[javac] C:\Documents and Settings\csm5125\workspace\jreality_trunk\src-portal\de\jreality\portal\RemoteExecutor.java:55: cannot find symbol
[javac] symbol : class JRViewer
[javac] location: class de.jreality.portal.RemoteExecutor
[javac] JRViewer v = JRViewer.getLastJRViewer();
[javac] ^
[javac] C:\Documents and Settings\csm5125\workspace\jreality_trunk\src-portal\de\jreality\portal\RemoteExecutor.java:55: cannot find symbol
[javac] symbol : variable JRViewer
[javac] location: class de.jreality.portal.RemoteExecutor
[javac] JRViewer v = JRViewer.getLastJRViewer();
[javac] ^
[javac] C:\Documents and Settings\csm5125\workspace\jreality_trunk\src-portal\de\jreality\portal\RemoteExecutor.java:57: cannot find symbol
[javac] symbol : class View
[javac] location: class de.jreality.portal.RemoteExecutor
[javac] viewingComponent = v.getPlugin(View.class).getViewer().getViewingComponent();
[javac] ^
[javac] C:\Documents and Settings\csm5125\workspace\jreality_trunk\src-portal\de\jreality\portal\RemoteExecutor.java:58: cannot find symbol
[javac] symbol : class ToolSystemPlugin
[javac] location: class de.jreality.portal.RemoteExecutor
[javac] toolSystem = v.getPlugin(ToolSystemPlugin.class).getToolSystem();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: C:\Documents and Settings\csm5125\workspace\jreality_trunk\src-portal\de\jreality\portal\PortalServerViewer.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors

BUILD FAILED
C:\Documents and Settings\csm5125\workspace\jreality_trunk\build.xml:463: Compile failed; see the compiler error output for details.

I am using Java 6 and Ant 1.7.1

I just want to build the newer revisions for the improved cave support. On that note, are the JAR files in the "Download" section really the absolute latest revision?

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

Re: Problem with ant build

Post by Andre » Mon 26. Jul 2010, 19:10

please see here:

same failure

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

Re: Problem with ant build

Post by Andre » Mon 26. Jul 2010, 19:15

Sorry but this solution is probably not working for cave-setup, because you need the remoteexecutor...

Maybe the best solution is when you check out the newest version of jReality and let eclipse compile. Then you just have to add the libs and binarys to your classpath.

csm5125
Posts: 19
Joined: Tue 6. Jul 2010, 19:45

Re: Problem with ant build

Post by csm5125 » Mon 26. Jul 2010, 21:24

Thanks, and sorry for not seeing that topic earlier.

Following your suggestion and also including jrworkspace.jar did the trick.

Post Reply