Re: [Bluemusic-users] blue and common-music(more)
Brought to you by:
kunstmusik
From: Steven Yi <ste...@gm...> - 2005-09-30 04:24:26
|
Hi Ben, This seems like a weird setup issue. My guess is you have the java 1.4 javac compiler in your PATH, but you have JAVA_HOME set to the 1.5 JDK home, such that it is compiling with 1.4 compiler but using 1.5 system library. Could you check that to see if that is the case? steven On 9/29/05, Ben McAllister <be...@gm...> wrote: > Correction: > > " This usually indicates a mismatch of some binary and jdk, I thought, b= ut > it looks like some BINARIES :) checked into cvs are specific to 1.4.2_xx?= I > will check this out more tomorrow." > > Here's the output under the latest 1.5 release from Sun: > > compile: > [javac] Compiling 484 source files to > E:\Csound\bluelatest\blue\target\class > es > [javac] > E:\Csound\bluelatest\blue\src\main\java\Silence\XMLSerializer.java:2 > : cannot access java.io.BufferedReader > [javac] bad class file: C:\Program > Files\Java\jdk1.5.0_05\jre\lib\rt.jar(jav > a/io/BufferedReader.class) > [javac] class file has wrong version 49.0, should be 48.0 > [javac] Please remove or make sure it appears in the correct > subdirectory of > the classpath. > [javac] import java.io.BufferedReader; > [javac] ^ > [javac] 1 error > > > I haven't screwed with 1.5 much, so maybe this is something obvious to y= ou > all... Anyways, I'll check into it more tomorrow. > b > > On 9/29/05, Ben McAllister <be...@gm...> wrote: > > Thanks - I remember last time I asked you were revamping the code base,= so > I'm glad I asked again. One of these days I will find the time to > contribute.. > > > > I have cvs access, so I can grab it. Thanks. I'm getting the following > when I try to build - maybe you can point me to the correct versions of j= dk > and ant: > > Exception in thread "main" > java.lang.UnsupportedClassVersionError: blue/Blue (Un > > supported major.minor version 48.0) > > at java.lang.ClassLoader.defineClass0(Native > Method) > > at java.lang.ClassLoader.defineClass(Unknown > Source) > > at > java.security.SecureClassLoader.defineClass(Unknown Source) > > at java.net.URLClassLoader.defineClass(Unknown > Source) > > at java.net.URLClassLoader.access$100(Unknown > Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at > java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown > Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at > sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at > java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > > > > This usually indicates a mismatch of some binary and jdk, I thought, bu= t > it looks like some checked into cvs are specific to 1.4.2_xx? I will che= ck > this out more tomorrow. > > > > Btw - I'm running 1.4.2_08, and ant 1.6.1 > > > > Thanks - b > > > > > > > > > > > > On 9/27/05, Steven Yi <ste...@gm... > wrote: > > > Hi Ben, > > > > > > Thanks for offering to put an example together! > > > > > > As for undo, it didn't take but a few minutes as the code for the > > > ExternalEditor is very similar to the one for the GenericEditor. As > > > is the case with undo's around blue, it'll be there while the editor > > > is still focused, and once you select another soundObject or simply > > > defocus the editor, the undo buffer is going to clear. So, good for > > > if you just made a mistake or are editing and testing, editing and > > > testing the same soundObject. Also added a ctrl-T shortcut as is > > > found in the GenericEditor. > > > > > > The change is in CVS now so if you have access to that it's there. I= f > > > not, I can push out a release for you. Though, I think I'm about to > > > make a soundObject that is like the blueSynthBuilder but instead you > > > could used either pythonCode or maybe external code. That way you > > > could make your own UI's for score generators, either for those > > > written in python or say for your CM scripts. That really shouldn't > > > take too long as the BSB code is pretty modularized and easy to drop > > > in, so maybe a couple days to build I think. > > > > > > Also, I'm not sure why I used ctrl-shift-z for redo but just now I > > > found it rather awkward. Any objections on changing it to ctrl-y? > > > > > > steven > > > > > > > > > On 9/27/05, Ben McAllister < be...@gm...> wrote: > > > > I will cobble together an example for you. > > > > > > > > While we're on the subject, I am still using blue for most of my > csound > > > > work, and the external object editor doesn't have any undo capabili= ty. > Any > > > > chance that's an easy fix? As always, keep up the good work.. > > > > > > > > b > > > > > > > > > > > > On 9/26/05, Steven Yi < ste...@gm...> wrote: > > > > > > > > > > Hi Ben, > > > > > > > > > > Thanks very much for posting the example! I'll be giving it a wh= irl > > > > > as soon as I can. It'd be great to have a simple example .blue f= ile > > > > > to include with blue so that in the future other users who might = be > > > > > interested in using CM and blue can have something to look at. I= 'm > > > > > going to aim to put together something, but my experience with CM= is > > > > > pretty minimal so any help in that would be very much appreciated= ! > > > > > > > > > > steven > > > > > > > > > > > > > > > On 9/26/05, Ben McAllister <be...@gm... > wrote: > > > > > > Ooops - apologies for being soooo verbose - I meant to only pos= t > the > > > > relevant parts of that file. I guess more info is better than less= ;) > > > > > > b > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is sponsored by: > > > > > Tame your development challenges with Apache's Geronimo App Serve= r. > > > > > Download it for free - -and be entered to win a 42" plasma tv or > your very > > > > > own Sony(tm)PSP. Click here to play: > > > > http://sourceforge.net/geronimo.php > > > > > _______________________________________________ > > > > > Bluemusic-users mailing list > > > > > Blu...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, > discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > |