From: David B. <ad...@us...> - 2007-03-05 13:19:33
|
Update of /cvsroot/octave/octave-forge/extra/java In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14042/extra/java Modified Files: PKG_ADD Log Message: Don't use which in autoload, but a command that identifies a function that coexists with the PKG_ADD file in which the autoload is found Index: PKG_ADD =================================================================== RCS file: /cvsroot/octave/octave-forge/extra/java/PKG_ADD,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- PKG_ADD 24 Feb 2007 21:59:16 -0000 1.1 +++ PKG_ADD 5 Mar 2007 13:19:28 -0000 1.2 @@ -1,7 +1,7 @@ -autoload ("java_init", which ("__java__")); -autoload ("java_exit", which ("__java__")); -autoload ("java_new", which ("__java__")); -autoload ("java_invoke", which ("__java__")); -autoload ("java_get", which ("__java__")); -autoload ("java_set", which ("__java__")); +autoload ("java_init", fullfile (fileparts (mfilename ("fullpath")), "__java__.oct")); +autoload ("java_exit", fullfile (fileparts (mfilename ("fullpath")), "__java__.oct")); +autoload ("java_new", fullfile (fileparts (mfilename ("fullpath")), "__java__.oct")); +autoload ("java_invoke", fullfile (fileparts (mfilename ("fullpath")), "__java__.oct")); +autoload ("java_get", fullfile (fileparts (mfilename ("fullpath")), "__java__.oct")); +autoload ("java_set", fullfile (fileparts (mfilename ("fullpath")), "__java__.oct")); atexit ("java_exit"); |