Well I appreciate the help. Some of the problems I am having have nothing to do 
with JSynthLib itself so I appreciate everyones patience.

Progress report...

Development Platform - Windows XP

I removed all JRE and JDK installs and then reinstalled JDK then made sure the 
path included "F:\Sun\SDK\bin;F:\Sun\SDK\jdk\bin"
.
I used SUN's example HelloWorld java to prove that javac works and then 
executed it using java.

F:\workspace\HelloWorld>java HelloWorldApp
Hello World!

I then removed the Eclipse workspace completely.

Then I downloaded JSynthLib in tar format and unzipped into the JSynthLib 
directory.

I opened Eclipse and created a new project "JSynthLib". Eclipse detected the 
folder and built a new project hierarchy.

I then was able to "Run As" DeviceListWriter. Although the resulting 
devicesfile was empty of any device definitions it was "touched".

I then copied my KorgHawk800 java files over into the project and reran 
DeviceListWriter with the following results.

#Generated devicesfile
#Mon Jan 19 22:15:15 EST 2009
inquriyID.KorgHawk800=F07E..0602423500..00..00..00F7
deviceClass.KorgHawk800=synthdrivers.KorgHawk800.KorgHawk800Device
manufacturer.KorgHawk800=Korg
deviceName.KorgHawk800=Korg HAWK-800 Driver

My first question is - why don't I see all of the other drivers in this devices 
file?

I then ran JSynthLib from within Eclipse. It does run but it opens with "Unable 
to load user preferences. Defaults loaded instead".

Is this to be expected? If not, is there a command line I should be using in 
Eclipse to avoid this problem?

After several initial attempts at running JSynthLib where the Korg Hawk 800 
device did not appear in the available devices it finally did appear and I was 
able to select it.

What would be a reason or reasons why it would not appear the first few times 
around? (I know that's terribly vague but perhaps someone might have some good 
known reasons).

Next, the JSynthLib programmers documentation specifies the following command 
line should work:

F:\workspace\JSynthLib> java -classpath '.;groovy.jar' JSynthLib -D 3

But I only get the following:

Exception in thread "main" java.lang.NoClassDefFoundError: JSynthLib
Caused by: java.lang.ClassNotFoundException: JSynthLib
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: JSynthLib.  Program will exit.

If I attempt to run JSynthLib with no command line parameters from within the 
JSynthLib home directory with the following result:

F:\workspace\JSynthLib> java JSynthLib -D 3
Exception in thread "main" java.lang.NoClassDefFoundError: core/ErrorMsg
        at core.PatchEdit.<init>(PatchEdit.java:34)
        at JSynthLib.main(JSynthLib.java:33)
Caused by: java.lang.ClassNotFoundException: core.ErrorMsg
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 2 more

I confirmed that both the java and class files are in the JSynthLib root 
directory as follows:

01/19/2009  09:54 PM             1,531 JSynthLib.class
03/01/2005  10:53 PM             2,411 JSynthLib.java

So why can't I get that to run?

I guess the good news is that I have atleast progressed to the point where I 
can actually develop a device driver for my specialised hardware.

A few more painful questions to round things out.

i) I don't see any built in support in Eclipse for SVN. Am I just too newbie to 
know better?
ii) If I write the device driver and send the java files to a developer can 
they integrate them into the JSynthLib project for me?

Should I make my emails to this list shorter or longer? OK, don't answer that.

Mike.


      
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Jsynthlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel

Reply via email to