Synth driver code is generally held in a separate folder. If that folder's
not on the classpath, you'll get that error. Use Ant; it'll set everything
up for you and make sure the command is run correctly.

-Bill Zwicky



On Mon, May 13, 2013 at 12:20 PM, Packe <[email protected]> wrote:

> Hi,
>
> I'm trying to write a driver for my Roland D50. I have added the files and
> wanted to generate the synthdrivers.properties file.
>
> Unfortunately the DeviceListDriver application fails. It creates an empty
> file only containing the two first lines of comments in the properties file.
>
> I have added debug prints which gives me this:
>
> In dir .:
>   Checking synthdrivers/AccessVirus
>   Checking synthdrivers/AlesisA6
>   Checking synthdrivers/AlesisDM5
>   Checking synthdrivers/AlesisDMPro
>   Checking synthdrivers/AlesisQS
>   Checking synthdrivers/BehringerFCB1010
> java.lang.ClassNotFoundException: AccessVirusDevice
>         at
> core.DeviceListWriter$MyClassLoader.loadClass(DeviceListWriter.java:336)
>         at core.DeviceListWriter.addClasses(DeviceListWriter.java:72)
>         at core.DeviceListWriter.main(DeviceListWriter.java:389)
> java.lang.ClassNotFoundException: AlesisA6Device
>         at
> core.DeviceListWriter$MyClassLoader.loadClass(DeviceListWriter.java:336)
>         at core.DeviceListWriter.addClasses(DeviceListWriter.java:72)
>         at core.DeviceListWriter.main(DeviceListWriter.java:389)
> java.lang.ClassNotFoundException: AlesisDM5Device
>         at
> core.DeviceListWriter$MyClassLoader.loadClass(DeviceListWriter.java:336)
>         at core.DeviceListWriter.addClasses(DeviceListWriter.java:72)
>         at core.DeviceListWriter.main(DeviceListWriter.java:389)
> […]
>
> When I look at the code I get a bit suspicious about this part:
>
> String devName = synthDevices[j].substring(0,
> synthDevices[j].indexOf('.'));
> try {
>     if(verbose)
>         System.out.println("  Checking " + actSynthDir.getPath());
>
>    Class deviceclass = loader.loadClass(devName, true);
>
> The exception occurs on the last line of this snippet. From the substring
> line I guess only the class name is used as argument for the class loader.
> This should not work according to the API.
>
> Is it just me who runs into this problem?
>
> BR
> /Pascal
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Jsynthlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Jsynthlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel

Reply via email to