From: <tt_...@gm...> - 2004-09-07 17:15:57
|
Hi, I've tried to compile the last current CVS version but without success. While compiling the org.jsynthlib.* classes I run into trouble. Since these classes are needed to run JSynthLib (at least 'org/jsynthlib/jsynthlib/xml/DeviceLoadHandler') I'm currently not able to start JSynthLib. Maybe I forgot something or I missed an information. Does anybody has an idea? Bye Torsten P.S. The errormessages of my compiler (SDK 1.4.2_05 under Linux) are: #javac org/jsynthlib/jsynthlib/xml/*java org/jsynthlib/jsynthlib/xml/Sequence.java:5: package org.codehaus.groovy.control does not exist import org.codehaus.groovy.control.CompilationFailedException; ^ org/jsynthlib/jsynthlib/xml/Sequence.java:29: cannot resolve symbol symbol : class CompilationFailedException location: class org.jsynthlib.jsynthlib.xml.Sequence public String[] getSequence() throws CompilationFailedException, IOException { ^ ./org/jsynthlib/plugins/PluginRegistry.java:3: package groovy.lang does not exist import groovy.lang.GroovyClassLoader; ^ ./org/jsynthlib/plugins/PluginRegistry.java:4: package groovy.lang does not exist import groovy.lang.GroovyShell; ^ ./org/jsynthlib/plugins/PluginRegistry.java:13: package org.codehaus.groovy.control does not exist import org.codehaus.groovy.control.CompilationFailedException; ^ ./org/jsynthlib/plugins/PluginRegistry.java:26: cannot resolve symbol symbol : class GroovyShell location: class org.jsynthlib.plugins.PluginRegistry private static GroovyShell shell = new GroovyShell(); ^ ./org/jsynthlib/plugins/PluginRegistry.java:27: cannot resolve symbol symbol : class GroovyClassLoader location: class org.jsynthlib.plugins.PluginRegistry private static GroovyClassLoader loader = new GroovyClassLoader(); ^ ./org/jsynthlib/plugins/PluginRegistry.java:49: cannot resolve symbol symbol : class CompilationFailedException location: class org.jsynthlib.plugins.PluginRegistry public static void loadPlugins() throws CompilationFailedException, IOException { ^ ./org/jsynthlib/plugins/PluginRegistry.java:70: cannot resolve symbol symbol : class CompilationFailedException location: class org.jsynthlib.plugins.PluginRegistry public static Decoder getDecoder(String name) throws InstantiationException, IllegalAccessException, InvocationTargetException, CompilationFailedException, IOException { ^ ./org/jsynthlib/plugins/PluginRegistry.java:81: cannot resolve symbol symbol : class CompilationFailedException location: class org.jsynthlib.plugins.PluginRegistry public static Checksum getChecksum(String name) throws InstantiationException, IllegalAccessException, InvocationTargetException, CompilationFailedException, IOException { ^ ./org/jsynthlib/plugins/PluginRegistry.java:91: cannot resolve symbol symbol : class GroovyShell location: class org.jsynthlib.plugins.PluginRegistry public static GroovyShell groovyShell() { ^ ./org/jsynthlib/plugins/PluginRegistry.java:94: cannot resolve symbol symbol : class GroovyClassLoader location: class org.jsynthlib.plugins.PluginRegistry public static GroovyClassLoader groovyLoader() { ^ ./org/jsynthlib/plugins/PluginRegistry.java:26: cannot resolve symbol symbol : class GroovyShell location: class org.jsynthlib.plugins.PluginRegistry private static GroovyShell shell = new GroovyShell(); ^ ./org/jsynthlib/plugins/PluginRegistry.java:27: cannot resolve symbol symbol : class GroovyClassLoader location: class org.jsynthlib.plugins.PluginRegistry private static GroovyClassLoader loader = new GroovyClassLoader(); ^ 14 errors |
From: <tt_...@gm...> - 2004-09-08 15:02:55
|
Hi Hiroo, Hi Ryan, Hiroo Hayashi wrote: > tt_ml_2_g7> I've tried to compile the last current CVS version but without success. > tt_ml_2_g7> While compiling the org.jsynthlib.* classes I run into trouble. > > See the Rib's mail on Aug 31 titled as 'XML Drivers'; > > Rib> missing. I've added two jar files which you will need to put in your > Rib> classpath. These are for the Groovy scripting language, which has > > # I also missed this line first. Hiroo Hayashi wrote: > Rib> missing. I've added two jar files which you will need to put in your > Rib> classpath. These are for the Groovy scripting language, which has > > I've updated the compile procedure in doc/programming.html as follows; > > javac core/*.java > javac synthdrivers/*/*/*.java synthdrivers/*/*.java > javac -classpath '.;Groovy.jar' org/jsynthlib/*/*/*.java org/jsynthlib/*/*.java > javac *.java > > Please update Makefile and build.xml. > someone Rib Rdb wrote: > You need to set the classpath to include asm.jar and groovy.jar. > Maybe we should change JAVAC_FLAGS in makefile.vars to "-g -classpath > .:groovy.jar:asm.jar" > Thanks for your reminder resp. hints. I tried both ways and got different results. - Ryans hint to change makefile.vars works very well. - Following Hiroo's hint I run into trouble. But with this commands I can compile successfull: export CLASSPATH=.:groovy.jar:asm.jar:$CLASSPATH javac core/*.java javac synthdrivers/*/*/*.java synthdrivers/*/*.java javac org/jsynthlib/*/*/*.java org/jsynthlib/*/*.java javac *.java Maybe I made a simple mistake or Hiroo's way doesn't work under Linux. I don't know. I just want give you this feedback. Bye Torsten |
From: Hiroo H. <hir...@co...> - 2004-09-11 04:07:48
|
tt_ml_2_g7> > javac core/*.java tt_ml_2_g7> > javac synthdrivers/*/*/*.java synthdrivers/*/*.java tt_ml_2_g7> > javac -classpath '.;Groovy.jar' org/jsynthlib/*/*/*.java org/= jsynthlib/*/*.java tt_ml_2_g7> > javac *.java =2E.. tt_ml_2_g7> > You need to set the classpath to include asm.jar and groovy.j= ar. tt_ml_2_g7> > Maybe we should change JAVAC_FLAGS in makefile.vars to "-g -c= lasspath tt_ml_2_g7> > .:groovy.jar:asm.jar" =2E.. tt_ml_2_g7> - Following Hiroo's hint I run into trouble. It seems that only Windows environment uses semicolon instead of colon. I don't use asm.jar now. Is it really required? --=20 Hiroo Hayashi |
From: Rib R. <ri...@gm...> - 2004-09-11 09:53:57
|
It's required at run time, maybe not for compilation. On Fri, 10 Sep 2004 22:07:46 -0500, Hiroo Hayashi <hir...@co...> wrote: > It seems that only Windows environment uses semicolon instead of colon. > I don't use asm.jar now. Is it really required? |