Difference between revisions of "JGuiGen Demo"

From lightwiki
Jump to: navigation, search
Line 8: Line 8:
 
# Assumed to have installed: sdk, eclipse 3.1.2
 
# Assumed to have installed: sdk, eclipse 3.1.2
 
# svn checkout https://svn.sourceforge.net/svnroot/jguigen/JGuiGen/trunk/ jguigen
 
# svn checkout https://svn.sourceforge.net/svnroot/jguigen/JGuiGen/trunk/ jguigen
## JGuiGenCode
+
# cd jguigen
## JGuiGenJars
+
# ./build.sh
## JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank
+
# classpath=".:"`echo lib/*.jar | tr " " ":"`
 +
# java -cp $classpath JGuiGen
 +
# JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank
 
# tar xf JGuiGen.tar; cd JGuiGen; unzip JGuiGenMisc.zip
 
# tar xf JGuiGen.tar; cd JGuiGen; unzip JGuiGenMisc.zip
 
# classpath=".:"`echo *.jar | tr " " ":"`
 
# classpath=".:"`echo *.jar | tr " " ":"`

Revision as of 03:28, 11 April 2006

Back to Main Page

  1. Assumed to have installed: sdk, eclipse 3.1.2
  2. svn checkout https://svn.sourceforge.net/svnroot/jguigen/JGuiGen/trunk/ jguigen
  3. cd jguigen
  4. ./build.sh
  5. classpath=".:"`echo lib/*.jar | tr " " ":"`
  6. java -cp $classpath JGuiGen
  7. JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank
  8. tar xf JGuiGen.tar; cd JGuiGen; unzip JGuiGenMisc.zip
  9. classpath=".:"`echo *.jar | tr " " ":"`
  10. javac -classpath $classpath com/*/standard/*.java com/*/standard/XML/*.java com/*/src/*.java JGuiGen.java
  11. vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm"
  12. launch db admin. sh ./runUtil.sh DatabaseManager ... type: "... Standalone", driver: JGuiGenDb ... Ok
  13. cut and paste new table "Lead"
  14. cut and paste new columns: id, date, address
  15. run JGuiGen from the command line java -cp $classpath JGuiGen
  16. Basic flow ... start in the Data Dictionary
    1. Check Data Dictionary, Leave Flags, Run Now
    2. Edit Data Dict ... Do a bunch of stuff for each column
    3. Generate Application
    4. Exit from the Internationalization causes a write
    5. Generate HTML (optional)
  17. Compile and run the new gui
    1. show out-of-the-box features of the gui
    2. View, Add, Edit, Delete ... right click duplicate
    3. Search for some rows
    4. Oh ... what's this? ... Reports!
    5. try closing a window after a change
    6. try changing the row to edit after a change
  18. wash, rinse, repeat ?, ?, ?, and ? showing features
    1. Quickly adding a column, such as: ssn, phone, address
    2. Internationalization
    3. Hot keys
    4. Change validation error message and Test
    5. blast the coffee cup
    6. run test scripts against the gui
    7. show test script output
  19. launch eclipse


Notea about getting JGuiGen installed on SourceForge. I ran into two "issues" while moving a new project to SourceForge as a Subversion version control project. 1. SourceForce wants a Subversion dump file to start with which menat I needed to place JGuiGen into subversion locally. I created a repository using the Tortisesvn client. I imported the files into the repository and checked them out again. Then it was time to create the dump. TortiseSvn doesn't create dump files so I needed to use the command line. No problem. The instructions said use the svnadmin tool to create the dump file. The issue came with figuring out what folder to be in when I ran svnadmin. I finally found out that being in the main repository folder worked. That seems like a strange place to work from but it worked.

2. The instructions on uploading a new project said to use scp and copy the file to scp FILENAME.ZIP USERNAME@shell.sourceforge.net:/home/groups/P/PR/PROJECTNAME/FILENAME.ZIP

I tried this and it didn't work scp jguigen.zip Halepringle@shell.sourceforge.net:/home/groups/P/PR/jguigen.zip.

What they don't mention in these instructions is that the "P/PR" are the first letter and first two letters of our project name. This worked scp jguigen.zip Halepringle@shell.sourceforge.net:/home/groups/J/JG/jguigen.zip.

Hale 4/10/2006