Uweheuer: Difference between revisions
| Line 55: | Line 55: | ||
==Eclipse Debugging== | ==Eclipse Debugging== | ||
Debug | Debug Configurations | ||
* uweheuer_applet_laptop | * uweheuer_applet_laptop | ||
* uweheuer_laptop | * uweheuer_laptop | ||
Revision as of 23:14, 15 November 2010
Installation
Create and fill database mysql504 per mysql tools. Copy war-file or directory tree to the webapp directory of the application server.
Operation
Logging
Logging on the server side uses log4j. Configuration is done in the central JBoss log4j configuration jboss-log4j.xml. Application specific configuration with the war file is probably possible but still an open issue (s. Google lookup). The coding uses LogUtil.java an the static method.
Logging on the client side is done via the printDebug() method, which goes at least to the java console.
Documentation
- s. file://C:/Uwes/eclipse/workspace/uweheuer/doc/uweheuer.vsd
- s. file://C:/Uwes/eclipse/workspace/uweheuer/doc/uweheuer.uml
Generierung
Shell
Die Generierung erfolgt über Ant (s. file:///C:/Uwes/eclipse/workspace/uweheuer/build.xml).
ant [war|deploy_laptop_jboss|deploy_laptop|deploy_home|deploy_rootserver]
target deploy_rootserver
Die manuell auszuführenden Tätigkeiten werden von Ant ausgegeben.
Eclipse
Project -> Build Project ruft das target deploy_laptop auf.
DB leeren
- load applet
- clear tables urlx and menux
- PopUp on root and CreateBookmarkTree with empty server field
Crypt Data Handling
Die Generierung eines leeren Data-Files namens 'data.crypt' erfolgt über das Kommando:
C:\Uwes\eclipse\workspace\uweheuer\build\class>java server.CreateCryptDataFile.
Die Datei muss in das Verzeichnis <TOMCAT_HOME>/webapps/uweheuer/data kopiert werden z.B. mit
C:\Uwes\eclipse\workspace\uweheuer\build\class>copy data.crypt \Uwes\xampp\tomcat\webapps\uweheuer\data
Bookmarks
Contacts
Aktualisieren
- Jscript Media:C:/Uwes/WinScripts/CreateCSVFileFromOutlook.js aufrufen
- Erzeugungsbestätigung abwarten
- mit [1] erzeugten File C:/Temp/OutlookContactExport.csv uploaden
Eclipse Debugging
Debug Configurations
- uweheuer_applet_laptop
- uweheuer_laptop