Entwickler Schnellstart: Unterschied zwischen den Versionen

Aus OrgaMon Wiki
Zur Navigation springen Zur Suche springen
Zeile 2: Zeile 2:


== verwendete Fremdkomponenten ==
== verwendete Fremdkomponenten ==
{|
|
|-
|Komponente
|Version
|WebSite
|}


Innosetup 5.1.9 installieren http://www.jrsoftware.org
Innosetup 5.1.9 installieren http://www.jrsoftware.org

Version vom 14. Dezember 2006, 11:39 Uhr

Die Enwicklung des Gesamtsystems hat folgende Teilkomponenten die verschiedene Entwicklungsumgebungen ben?en.

verwendete Fremdkomponenten

Komponente Version WebSite

Innosetup 5.1.9 installieren http://www.jrsoftware.org DaSi JCL, JVCL http://homepages.borland.com/jedi/jvcl/

Datenbank

Firebird: fbclient, IBExpert, firebirdrestore

Webtechnologie

html: Beliebiger Texteditor
WebShop: Apache+PHP
PHP 4.3.x ->TWebShop

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

  • Installation muss mit Indy 10 erfolgt sein!
  • 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.
  • FBClient von der CargoBay muss installiert sein, oder eone andere gds32.dll, ansonsten fehlt in der Komponentenpalette der Eintrag "Interbase Admin" mit den Backup und Restorekomponenten!


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/