FW: Problem with DumpType
Curtis Rueden
ctrueden at wisc.edu
Tue Jun 13 16:45:20 MDT 2006
Hi Ken,
I did, however, find what appears to be a bug in DumpType.java, line
> 325. This routine does not write to an output stream as advertised. It
> writes to System.out whether you specify an OutputStream or not. The
> problem seems to be in dumpMT, which doesn't use os.
Indeed. I have committed a fix to DumpType.java in CVS. There will be a new
release of VisAD at some point, but probably easiest until then is to
prepend a folder for modifications to your CLASSPATH. For example, you could
set the CLASSPATH to "C:\java;C:\java\visad.jar;." which would look for
class files beneath the C:\java directory structure before resorting to
pulling stuff from visad.jar. This way, you can make a C:\java\visad\jmet
folder and have DumpType.java in there, with the fix, and continue
developing your application.
I have made the fixed DumpType.java temporarily available from:
http://skyking.microscopy.wisc.edu/curtis/DumpType.java
http://skyking.microscopy.wisc.edu/curtis/DumpType.class
Please let me know if it does not solve your problem (I did only minimal
testing).
I am using the visad.jar I recently downloaded and working on Windows.
> I still have not got it to build. Gnumake (from Cygwin) fails and so does
> Nmake. I have not had time to work it out. I would like to build it in
> Eclipse, anyway. The JAR is sufficient to use it, though. (I do have an
> Eclipse RCP application working with it, combining Swing and SWT.)
I do not know Eclipse, but am familiar with building VisAD from the command
line on Windows and Linux. If you continue to have problems or questions,
ask away.
-Curtis
More information about the visad
mailing list