I cannot comment on building and running with eclipse. The simplest way to recompile and test manually is:
 
-install ant
-expand the distribution zip
-change directory to /hsqldb/build
-type ant jar
 
This will replace the /lib/hsqldb.jar with a new version.
 
Now copy your modified and changed files to the /hsqldb/src/org/hsqldb/util/ directory and type "ant jar" again. This will create a new hsqldb.jar
 
Write a new .bat file similar to /hsqldb/demo/runmanager.bat to run the swing version and save it in the same directory. Use this to test.
 
If you have added new files, you _MAY_ have to edit the build.xml file slightly to include them. However, this may not be necessary in the case of compiling with JDK 1.4.
 
Fred
----- Original Message -----
From: IchBin
Sent: 20 November 2004 13:16
Subject: [Hsqldb-developers] DatabaseManagerSwing modifications/enhancements Question

Hello all...
 
I have made the following changes to HSQLDB <see below>. I have developed/tested and all work correctly. I Initially isolated these classes and other required classes to run the databaseManagerSwing\ConnectionDialogSwing classes. I did this just for understanding only the Classes required for my changes to run. All worked as designed  when I have these classes in it's on isolated subdirectory.

Problem: When I copy all of the changed Classes back into the HSQLDB Distributed SRC subdirectory. I can not see any of my modifications when i invoke it. I use Eclipse so, I rebuilt the entire project (HSQLDB Distributed SRC subdirectory). This does not work. When I invoke the DatabaseManagerSwing new Version class I only see the old Display of DatabaseManagerSwing. The production HSQLDB.jar had been eliminated from any reference. Has to be something stuid! on my part.
Question: is there any steps documented to build the HSQLDB JAR file. I am some what confused. I have never seen this happen before. Has anyone else run into this situation and/or have any suggestions? I can not submit these modification /enhancement until I resolve or see why this behavior is being produced.
 
DatabaseManagerSwing:
// [EMAIL PROTECTED] 20041109 - patch 1.8.0 - reengineering and enhancements:
//  Added Goodies 'Look and Feel'.
//  Added a Font Changer(Font Type\Style).
//  Added a Color Changer (foreground\background).
//  Added RowCounts for each JTree table nodes (Can select it on of off in menu).
//  Added OneTouchExpandable attribute to JSplitPanes.
//  Moved setFramePositon code to a CommonSwing.setFramePositon() Method.
//  Added a call to CommonSwing.errorMessage(Exception exceptionMsg) for all try/catch exception handling.
     printStackTrace() is allready incorported in that method. Also Notifies user of the exception message.
//  A status bar at the bottom of screen to post processing messages. I can add the initial ones to get it going.
//  A green/red image icon to the left of the status area to indicate when processing.
//  A 'trashcan' and 'little guy running' icons for the tool bar. Will still have the tool bar tips.
//  Changed the, out of the box, cursor for a created custom Cursor to replace then current wait cursor.
// A resource subDirectory for all new ImgeIcons used with this change
 
CommonSwing:
// [EMAIL PROTECTED] 20041109 - patch 1.8.0  - enhancements:
//  Added: setSwingLAF(), setFramePositon(), errorMessage(String errorMessage), errorMessage(Exception exceptionMsg)
//  Modified getIcon() so it can be use for multiple Icon selections based on a string input parameter.
//  general method to handle the status messages.
//  general getIcon() method but for buttons.
 
 
FontDialogSwing:
// [EMAIL PROTECTED] 20041109 - patch patch 1.8.0  - enhancements:
// This is a new Class for the Font and Color processing.
 
ConnectionDialogCommon:
//[EMAIL PROTECTED] - 20041114 - patch patch 1.8.0  - enhancements
// Added MySQL Connector/J jdbcDriver
 
ConnectionDialogSwing:
// [EMAIL PROTECTED] 20041109 - patch 1.8.9 - enhancements: Added color red to error messsage
 
 
DatabaseManagerCommon:
// [EMAIL PROTECTED] - 20041116 - patch 1.8.0 - in 'TestHelp' added 'IF EXISTS' for both DROP table Test statements.
//                                 Now catching the execption that was never caught before. (Catch was {}).
//  Also, Still seems that this thread executed is not stopping because the hourglass does not stop displaying!
//  Happens in the current swing version also.
 
 
What I still want to do:
//  LookAndFeelInfo() Method for other LAF's
// Migrating some of the save functionally from the awt version ConnectionDialog to  ConnectionDialogSwing.
// Migrating DatabaseManager popmenu functionally to  DatabaseManagerSwing.
 
Once I resolve this problem and submit it to Fred, for his validation, will post screenshots to http://home.ptd.net/~weconsul/
 
 
 
Thanks in Advance...
IchBin
__________________________________________________________________________
 
'The meeting of two personalities is like the contact of two chemical substances:
 if there is any reaction, both are transformed.'
-  Carl Gustav Jung,  (1875-1961),  psychiatrist and psychologist

Reply via email to