Entwickler Schnellstart

Aus OrgaMon Wiki
Zur Navigation springen Zur Suche springen

Die Enwicklung des Gesamtsystems hat folgende Teilkomponenten die verschiedene Entwicklungsumgebungen benötigen.

verwendete Fremdkomponenten

Komponente Version WebSite Mirror
JCL+JVCL 3.31 http://sourceforge.net/projects/jvcl/ http://orgamon.org/OrgaMon/JCL-JVCL.zip
Synedit 1.04 http://sourceforge.net/projects/synedit/ http://orgamon.org/OrgaMon/synedit.zip
FlexCel 2.6.11 http://www.tmssoftware.com/ kommerziell
Planner   http://www.tmssoftware.com/ kommerziell
ANFiX 1.056 http://cargobay.orgamon.de/anfix32.html http://cargobay.orgamon.de/anfix32.html
IBObjects 4.6 http://www.ibobjects.com kommerziell
XMLRPC   unbekannt http://cargobay.orgamon.de/XMLRPC.html
VCLzip 3.06 http://vclzip.bizland.com/ kommerziell

indirekt eincompilierte Modules:

Modul WebSite
DIMime http://www.zeitungsjunge.de/delphi/mime/index.htm
XML Parser http://www.destructor.de/xmlparser/download.htm


verwendete freie Tools:

Komponente Version WebSite Mirror
InnoSetup 5.1.9 http://www.jrsoftware.org http://orgamon.de/OrgaMon/isetup-5.1.9.zip
UltraVnc Single Click 1.0 http://www.ultravnc.com/ http://www.uvnc.com/pchelpware/creator/index.html
Code Formatierung 2.x http://www.dow.wau.nl/aew/DelForExp.html  
Code Formatierung 2.43 http://jedicodeformat.sourceforge.net/  
StripReloc 1.13 http://www.jrsoftware.org/striprlc.php http://orgamon.org/OrgaMon/Setup-StripReloc-113.zip
FBClient 2.0.0.12748 http://cargobay.orgamon.de/FBClient.html  
firebirdrestore 1.012 http://cargobay.orgamon.de/FirebirdRestore.html  
IBExpert ibep_2004.8.5.1_full.exe kommerziell  
XMLRPC WatchDog 1.002 http://cargobay.orgamon.de/WatchDog.html  

Datenbank

Der (Voll-)Setup des OrgaMon enthält die embedded Version des Firebird SQL Projektes. Dies ist eine DLL die von der Anwendung direkt geladen wird. Wollen Sie den OrgaMon im Mehrplatzbetrieb ausführen, oder Sie verwenden den WebShop, so ist die Installation des Firebird SQL Servers notwendig. Der Server ist für verschiedene Plattformen verfügbar. Am besten ist Linux geeignet, danach ein Windows Server, danach eine Windows Arbeitsstation die als Server verwendet werden kann.

  • Mehr Informationen findet man hier:

http://www.firebirdsql.org/

Webtechnologie

html: Texteditor "notepad++"
WebShop: Apache+PHP
PHP 4.3.x ->TWebShop
PHP 5.x ->TWebShop2

Mobile Technologie

Monda: Turbo Pascal 7.01
JonDa: Java mit Netbeans 4.0 beta 2, JEdit mit Codeformatierungsplugin und Html-Ausgabe Plugin (Code2Hmtl)
Java ->JonDa

Entwicklung Delphi 6

Core: Delphi 6


Delphi 6 Enterprise Installation
delphi 6 BENUTZERDEFINIERT installieren.

  • frage nach "realtimedebugger" drwatson usw mit NEIN beantworten. Delphi soll hier keine Modifikation vornehmen
  • ohne Indy.
  • ohne Interbase Client - wir bneutzen die zuvor installierten fbclient DLLs


folgende delphi-patches einspielen:

gr_D6_Upd2_ent.exe
del6_ent_rtl2_de.exe
IBXDP607.EXE

folgendes add-ons instalieren:

.\delforex nach C:\programme kopieren, nun setup ausf?folgende vcls installieren
D:\Andreas\DelphiDownloads\indy.9.0.15\Source\dclIndy60.dpk
 (bei problemen ev. C:\..indy*.bpl l?en!)
D:\Andreas\DelphiDownloads\ibobjects\src4\IBO40_D6.bpg
 * von oben nach unten in der Gruppe alles versuchen zu insztallieren
   Fehlermeldungen wegen "ist nicht Entwurfszeitopackage" ignorieren
D:\Andreas\DelphiDownloads\xmlparser\src\XmlComponents_D6_D7.dpk
D:\Andreas\DelphiDownloads\jvcl.2.1\Install.bat
D:\Andreas\DelphiDownloads\tms\src\TMSD6.dpk
D:\Andreas\delphi\Components\Email4.dpk
D:\Andreas\delphi\Components\ColorPickerButton.pas
D:\Andreas\delphi\Components\Capi2Han.pas
D:\Andreas\delphi\Components\GIFImage.pas
D:\Andreas\delphi\Components\pngimage.pas
D:\Andreas\delphi\Components\volumes.pas
D:\Andreas\delphi\Components\Serial4.pas
D:\Andreas\DelphiDownloads\md5\src\DCPdelphi6.dpk
D:\Andreas\DelphiDownloads\vclzip\VCLZipD6_3.dpk
D:\Andreas\delphi\Components\SysHot.pas
D:\Andreas\DelphiDownloads\FlexCel\Packages\FlexCel60.dpk
D:\Andreas\DelphiDownloads\synedit\Packages\Synedit_D6_CLX.dpk

-- nur f?tutto

D:\Andreas\delphi\Components\ShortcutLink.pas

-- noch f?

D:\Andreas\delphi\Components\browsedr.pas
D:\Andreas\delphi\Components\xbase.pas

Bei Tools->Umgebungsoptionen->Bibliothek, m?noch alle Suchpfade eingetragen werden:

BibliotheksPfad:

$(DELPHI)\Lib;$(DELPHI)\Bin;$(DELPHI)\Imports;$(DELPHI)\Projects\Bpl;g:\delphi\components;g:\anfix32;G:\DelphiDownloads\jvcl\JCL\Source;G:\DelphiDownloads\jvcl\JVCL\Source;G:\DelphiDownloads\jvcl\JVCL\Common;g:\delphidownloads\vclzip;G:\DelphiDownloads\jvcl.2.1\JCL\Source;G:\DelphiDownloads\jvcl.2.1\JVCL\Source;G:\DelphiDownloads\jvcl.2.1\JVCL\Common;G:\delphidownloads\FlexCel\FlexCel;G:\delphidownloads\FlexCel\FlexCel\xlsadapter;G:\delphidownloads\indy.9.0.15\Source;G:\delphidownloads\capi\src;G:\delphidownloads\synedit\source;G:\delphidownloads\xmlparser\src;G:\delphidownloads\htmlparser\source;G:\DelphiDownloads\htmlparser\Source

SuchPfad:

$(DELPHI)\source\vcl;$(DELPHI)\source\rtl\Corba;$(DELPHI)\source\rtl\Corba40;$(DELPHI)\source\rtl\Sys;$(DELPHI)\source\rtl\Win;$(DELPHI)\source\rtl\common;$(DELPHI)\source\Internet;$(DELPHI)\source\clx;G:\DelphiDownloads\TurboPower\source;G:\DelphiDownloads\TurboPower\Packages;G:\delphidownloads\htmlparser\source;G:\DelphiDownloads\htmlparser\Source

wegen der Indy Meldung CloseGraceFully

Tools->Debugger-Options->Sprach-Exceptions->Hinzuf?gt;"EIdSilentException" mit haken versehen

Entwicklung Delphi 2005

a) Delphi 2005 Proffessional Installation

  1. alle 3 CDs in ein Verzeichnis kopieren - Installieren
  2. Delphi 2005 Update 1 starten

Folgende VCL installieren

.\ibobjects\src4\IBO40_D2005.
 * von oben nach unten in der Gruppe alles versuchen zu insztallieren
   Fehlermeldungen wegen "ist nicht Entwurfszeitopackage" ignorieren
.\xmlparser\src\XmlComponents_D2005.
.\vclzip\VCLZipD6_3.bdsproj
.\jcl\Install.bat
.\jvcl\Install.bat
.\synedit\packages\SynEdit_D2005.bdsproj
.\synedit\packages\SynEdit_R2005.bdsproj
.\flexcel\packages\FlexCel2005.bdsproj
.\DCPcrypt\DCPdelphi2005.bdsproj

Vorgabe: Versuchen, alternativen aus jvcl zu benutzen und keine weitere Komponenten zulassen.

-- versuchen wegzulassen:

D:\Andreas\delphi\Components\pngimage.pas
D:\Andreas\delphi\Components\volumes.pas
D:\Andreas\delphi\Components\SysHot.pas
D:\Andreas\delphi\Components\Serial4.pas
D:\Andreas\DelphiDownloads\tms\src\TMSD6.dpk
D:\Andreas\delphi\Components\Email4.dpk
D:\Andreas\delphi\Components\ColorPickerButton.pas
D:\Andreas\delphi\Components\Capi2Han.pas
D:\Andreas\delphi\Components\GIFImage.pas (auch in jcl enthalten)

-- nur f?tutto

D:\Andreas\delphi\Components\ShortcutLink.pas

-- noch f?

D:\Andreas\delphi\Components\browsedr.pas
D:\Andreas\delphi\Components\xbase.pas

Bei Tools->Umgebungsoptionen->Bibliothek, m?noch alle Suchpfade eingetragen werden:

BibliotheksPfad:

$(DELPHI)\Lib;$(DELPHI)\Bin;$(DELPHI)\Imports;$(DELPHI)\Projects\Bpl;g:\delphi\components;g:\anfix32;G:\DelphiDownloads\jvcl\JCL\Source;G:\DelphiDownloads\jvcl\JVCL\Source;G:\DelphiDownloads\jvcl\JVCL\Common;g:\delphidownloads\vclzip;G:\DelphiDownloads\jvcl.2.1\JCL\Source;G:\DelphiDownloads\jvcl.2.1\JVCL\Source;G:\DelphiDownloads\jvcl.2.1\JVCL\Common;G:\delphidownloads\FlexCel\FlexCel;G:\delphidownloads\FlexCel\FlexCel\xlsadapter;G:\delphidownloads\indy.9.0.15\Source;G:\delphidownloads\capi\src;G:\delphidownloads\synedit\source;G:\delphidownloads\xmlparser\src;G:\delphidownloads\htmlparser\source;G:\DelphiDownloads\htmlparser\Source

SuchPfad:

$(DELPHI)\source\vcl;$(DELPHI)\source\rtl\Corba;$(DELPHI)\source\rtl\Corba40;$(DELPHI)\source\rtl\Sys;$(DELPHI)\source\rtl\Win;$(DELPHI)\source\rtl\common;$(DELPHI)\source\Internet;$(DELPHI)\source\clx;G:\DelphiDownloads\TurboPower\source;G:\DelphiDownloads\TurboPower\Packages;G:\delphidownloads\htmlparser\source;G:\DelphiDownloads\htmlparser\Source

Entwicklung mit Delphi 2006

Voraussetzungen:

  • Delphi 2006 Proffessional Lizenz

Es gibt ein Orgamon - Quelltext - Setup. Dieses umfasst alle notwendigen Quelltexte zur Compilierung des OrgaMon. Der OrgaMon verwendet jedoch noch aus historischen Gründen einige Komponenten (Delphi-Packages), die selbst nicht Open Source sind. Der Entwickler muss entsprechende Lizenzen nachweisen:

  • IBObjects von Jason Warton
  • VCLZip von Kevin Boylank
  • FlexCel von TMS Software

Der Quelltext Setup wird allen Interessenten auf Anfrage zugemailt.

Installationshinweise, Besonderheiten

jcl, jvcl

Download: http://homepages.borland.com/jedi/jvcl/ Installation jcl: .\jcl\install.bat Installation jvcl: .\jvcl\install.bat

Das Office XP Sample Automation Package muss deinstllaiert werden!

Indy (www.indyproject.org)

Open and compile in the following order:

  • IndySystem110.bdsproj (in Lib\System)
  • IndyCore110.bdsproj (in Lib\Core)
  • IndyProtocols110.bdsproj (in Lib\Protocols)

Now open and click install in the following order

  • dclIndyCore (in Lib\Core)
  • dclIndyProtocols (in Lib\Protocols)

Turbo Delphi 2006 Win32

Vorbereitung

  • FBClient von der CargoBay muss installiert sein, oder eine andere gds32.dll, ansonsten fehlt in der Komponentenpalette der Eintrag "Interbase Admin" mit den notwendigen "IB Backup"- und "IB Restore"- Komponenten!
  • Internet Verbindung muss stehen!

Installation anhand der DVD

  • "Borland Turbo Delphi installieren"
  • nun erfolgt eine Umfassende Prüfung der .net Installation, mein Wissenstand ist, dass die .net Komponenten auch dann installiert sein müssen, wenn gar keine .net Applikations-Entwicklung lizensiert ist. Es ist einfach eine Systemanforderung der IDE an das Entwicklungssystem.
  • In der eigentlichen Delphi Installation: "Microsoft Office Controls" NICHT INSTALLIEREN.
  • Installation muss mit Indy 10 erfolgt sein (ist default!).
  • Hotfix-Rollup muss installiert werden (von Borland)!
  • die fehlende Kommandozeilenversion des Compilers muss installiert werden (von Borland)! Die ist notwendig, da sich jcl und jvcl über diesen Compiler selbst installieren.


Nun die Packages im Einzelnen


  1. C:\Programme\Borland\BDS\4.0\Demos\DelphiWin32\VCLWin32\ShellControls\dclshlctrls.dpk
  2. IBObjects: alle D2006 von oben nach unten complilieren, danach installieren
  3. O:\vclzip\VCLZipD9_3.bdsproj
  4. O:\OrgaMonComponents.bdsproj
  5. O:\synedit\Packages\SynEdit_D6.bdsproj
  6. O:\DCPcrypt\DCPdelphi6.bdsproj
  7. O:\tms.40\TMSD2006.bdsproj
  8. O:\FlexCel\Packages\FlexCel2005.bdsproj
  9. O:\jvcl.320\jcl\install.bat
  10. O:\jvcl.320\jvcl\install.bat

Nun müssen Pfade angepasst werden, Tools->Optionen->Umgebungsoptionen->Delphi-Optionen->Bibliothek Win32->Bibliothekspfad

  1. + O:\jvcl.320\jvcl\Run
  2. + O:\jvcl.320\jcl\source\common
  3. + O:\jvcl.320\jcl\source\windows
  4. + O:\Indy\Protocols
  5. + O:\Indy\System
  6. + O:\Indy\Core

Ausblick: weitere Schritte zu Open Source

  1. migration auf die Mercury Database Objects (IBX Nachfolger) http://www.mdolib.com/