[Mathlib-develop] make.linux.sh/ sources for GUI-version
Status: Beta
Brought to you by:
st_mueller
From: bblochl2 <bbl...@co...> - 2008-07-03 11:35:49
|
The problem of moving windows files to lunix I have described ina preceeding mail. That stays valid. Initially I have not read the comment at the start of the shell script until today, that it is to run in the source dir. So I first tried to run it in the subdir Classes. There the check if [ -d "../Classes/MathLib" ] is ok, but `find . | grep ".java"` will find the subdir MathLib, but will not find any java-files to compile, because there are class files only. As a result there was not compiled anything. Now I moved the shell script to the Source-dir "src" and tried again. In the src direcrory MathLib cannot be found, because it is not in the src dir! So one has to change the path to the dir MathLib to enable the start of the script from that dir "src" if [ -d "../Classes/MathLib" ] then echo " Ok." else echo " ERROR." exit 1 fi With this change it will compile the source files to the directories jmathlib and jmathlibtests. But the files in MathLib are not touched, there stay the classes datetd to Jan 03 2005. So the problem (described in another mail) stays virulent - all functions do not work properly. The problem with the missing "M" from MathLib....... has not appeared again, but the functions do not work with the M either: > plot([1,2,3]) class java.lang.NoClassDefFoundError : IllegalName: MathLib/Functions/Graphics/Graph2d/plot > The path seems to be correct now, but the command does still not work. There is a whole bunch of error messages in the console window after closing the window I do not understand in detail. (If anyone needs that I will post it immediatley. I myself do not know the complete architecture of the project to find that useful. ) The applet-version (JMathLib.html) works correct even with the plot command - I dont know if this one has complete functionality and if this is accessing other class files. As I confessed in another mail in the past I am not a really competent shell coder, so I need some help: is intended with that shell code to compile all the classe in the MathLib subdirs as well? If yes I will try to make that code work. That needs some more study of the code. I do not see the sources for the GUI-version, so I assume that this is not intended. There are only sources for the files in jmathlib and jmathlibtests from june 07 2008. And that do work properly after compilation. But otherwise, where may I get corrected updated class files of the subdir MathLib/Classes - later than 2005? Regards BB |