[jmsl] jmsl_plugins
jmsl at music.columbia.edu
jmsl at music.columbia.edu
Thu Jan 20 21:55:46 EST 2005
Thanks for your patience and persistence Paul.
I think you've got what it takes to get deep into JMSL & JSyn; mere
mortals would have balked much earlier
Looking forward to hearing some DrumWood and Sine music!
Nick
jmsl at music.columbia.edu wrote:
> Hi Nick,
> oakly doakly...Just got confused with the folders vs packages and
> locations, in the midst of an intensive JSyn/JMSL learning/eval session.
>
> all ok now:-)
>
> thanks for the help,
> paul
>
> -----Original Message-----
> *From:* jmsl-bounces at music.columbia.edu
> [mailto:jmsl-bounces at music.columbia.edu] *On Behalf Of
> *jmsl at music.columbia.edu
> *Sent:* Friday, 21 January 2005 11:40 AM
> *To:* jmsl at music.columbia.edu
> *Subject:* Re: [jmsl] jmsl_plugins
>
> Hi Paul
>
> "jmsl_plugins" is just a folder in the classpath. It is not a
> package.
> When Java is given a folder named, say KLASSES in its classpath,
> it does not consider "KLASSES" to be a package name. If you have
> a class named MyClass in a package mypackage, then Java will look
> for a folder named mypackage inside the KLASSES folder. In there,
> it will expect to find a file called MyClass.class
>
> So the folders listed in the CLASSPATH are just top level folders
> within which fodlers correspond to package names.
>
> You should change your package names back to "patches" or
> something instead of "jmsl_plugins"... but just to illustrate what
> is happening, Java would expect a folder named "jmsl_plugins" (the
> package) to be inside a folder called "jmsl_plugins" (the
> classpath folder).
>
> You should:
> 1) Change the SynthNotepakcages back to "patches"
> 2) Make a folder in jmsl_plugins called "patches"
> 3) Copy DrumWoodFM.class into the "patches folder
>
> That will work
>
> For more, see
> http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html
> Read the section called "Understanding the class path and section
> names"
>
> Let me know how it goes!
> Nick
>
> jmsl at music.columbia.edu wrote:
>
>> Hi Nick,
>>
>> I changed the package of the DrumWoodFM to just be jmsl_plugins.
>> I was assuming (here I be an Ass:-) that as long as the plugins
>> were in the jmsl_plugins directory and conformed to the correct
>> interface they would be scanned.
>> Or...you could have a directory, such as patches, under this if
>> you wished.
>>
>> I just tried another export and have a version of DrumWoodFM in a
>> patches subdirectory but Eclipse does not seem to like sub
>> directory includes.
>> I'm also a little confused about the jmsl_plugins directory. This
>> is also a package name if you are developing plugins, right?
>> Eclipse recognises it as such and automatically adds it as a
>> package name if you drop something in there.
>>
>> Cheers,
>> Paul
>>
>>
>> -----Original Message-----
>> *From:* jmsl-bounces at music.columbia.edu
>> [mailto:jmsl-bounces at music.columbia.edu] *On Behalf Of
>> *jmsl at music.columbia.edu
>> *Sent:* Friday, 21 January 2005 10:57 AM
>> *To:* jmsl at music.columbia.edu
>> *Subject:* Re: [jmsl] jmsl_plugins
>>
>> Hi Paul
>>
>> First a quick question:
>>
>> jmsl at music.columbia.edu wrote:
>>
>>> Contents of jmsl_plugins folder (added via eclipse
>>> properties as a class folder from another project) are:
>>> a copy of SineSynthNote and an exported DrumWoodFM from wire.
>>
>> If these were exported from Wire then they are in a package
>> called "patches"
>> So your "jmsl_plugins" folder must contain a folder called
>> "patches"
>> The "patches" folder should contain two files:
>> DrumWoodFM.class
>> SineSynthNote.class
>>
>> Is this the case?
>>
>> Thanks
>> Nick
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>jmsl mailing list
>>jmsl at music.columbia.edu
>>http://music.columbia.edu/mailman/listinfo/jmsl
>>
>>
>------------------------------------------------------------------------
>
>_______________________________________________
>jmsl mailing list
>jmsl at music.columbia.edu
>http://music.columbia.edu/mailman/listinfo/jmsl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://music.columbia.edu/pipermail/jmsl/attachments/20050120/efb84a5d/attachment-0001.htm
More information about the jmsl
mailing list