aliabaci30 / codeswarm

Automatically exported from code.google.com/p/codeswarm
GNU General Public License v3.0
0 stars 0 forks source link

Incomplete classpath in both build.xml and run.sh #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ant run

1. sh run.sh

What is the expected output? What do you see instead?
Successful build, running project.

What version of the product are you using? On what operating system?
Latest.  svn checkout http://codeswarm.googlecode.com/svn/trunk/ code_swarm

Please provide any additional information below.

You can fix this by including ${libs}/vecmath.jar in your build classpath
in build.xml.  Also, similar changes need to be made to the execution
classpath in run.sh.  I can provide patches or fixed versions of the files
if necessary.

Original issue reported on code.google.com by teslam...@gmail.com on 23 Jul 2008 at 3:42

GoogleCodeExporter commented 9 years ago
Have tested this with the latest checkout on both CentOS5 and Gentoo.  Same
difficulty on each.  Below are diffs on working versions of the files.

mgregson@agave ~/src/code_swarm $ svn diff build.xml 
Index: build.xml
===================================================================
--- build.xml   (revision 202)
+++ build.xml   (working copy)
@@ -21,7 +21,7 @@
     <echo>Running BUILD</echo>
     <mkdir dir="${build}" />
     <javac destdir="${build}" srcdir="${src}"
-classpath="${lib}/core.jar;${lib}/xml.jar;${lib}/jogl.jar;${lib}/opengl.jar"
debug="true" deprecation="false" />
+classpath="${lib}/core.jar;${lib}/xml.jar;${lib}/jogl.jar;${lib}/opengl.jar;${l
ib}/vecmath.jar"
debug="true" deprecation="false" />
     <copy file="${src}/particle.png" todir="${build}" />
   </target>

mgregson@agave ~/src/code_swarm $ svn diff run.sh
Index: run.sh
===================================================================
--- run.sh  (revision 202)
+++ run.sh  (working copy)
@@ -48,7 +48,7 @@
 fi

 # running
-if java -Xmx1000m -classpath dist/code_swarm.jar:lib/core.jar:lib/xml.jar:.
code_swarm $params; then
+if java -Xmx1000m -classpath
dist/code_swarm.jar:lib/core.jar:lib/xml.jar:lib/vecmath.jar:. code_swarm 
$params; then
 # always on error due to no "exit buton" on rendering window
     echo "bye"
 #    echo -n "error, press a key to exit"

Original comment by teslam...@gmail.com on 23 Jul 2008 at 3:48

GoogleCodeExporter commented 9 years ago
Updated to match patch.

Original comment by nawglan on 23 Jul 2008 at 4:45