Mercurial > hg > ishara
view audio/setup_ishara_java.m @ 46:63cefb01cbab
Creating Java build process (incomplete)
author | samer |
---|---|
date | Sat, 17 Jan 2015 14:13:07 +0000 |
parents | |
children | a12a6902f23e |
line wrap: on
line source
% ishara_java_cp - Set Java classpath for audio support components function setup_ishara_java(kind) Jar=[fileparts(which('setup_ishara_java')),'/java/ishara_audio.jar']; switch kind case 'dynamic' javaaddpath(Jar); fprintf('Added %s to DYNAMIC Java classpath.\n',Jar); case 'static' system(sprintf('echo "%s" >> "%s"/javaclasspath.txt',Jar,prefdir)); otherwise error('Unrecognised argument: must ''static'' or ''dynamic'','); end