Bekijk de broncode en start Plazma ERP + CRM in Eclipse
- het Plazma Platform
- de Plazma Business Solutions
De softwaremodules van Plazma bestaan uit:
- bsolution:
Bevat de algemene basis en server functionaliteit met beans/persistence objects en services. De basis functionaliteit bestaat uit standaard entiteiten waaronder organization, bank, goods, product en document.
- bsolution.gui: bevat de swing client
- bsolution.rich: bevat de SWT client
- bsolution.configuration:
Bevat de systeem configuratie instellingen met ondermeer .xml- en .properties- bestanden.
- bsolution.database:
Bevat instellingen voor de verschillende databases die worden ondersteund en daarnaast SQL scripts en initialisatie / test data voor het inrichten van de databases.
- bsolution.reportstorage: bevat de report storage
- framework: bevat het gemeenschappelijk raamwerk.
- lib: bevat de gemeenschappelijke .jar-bestanden
- rcp: bevat het raamwerk voor de rich client.
De broncode van de Plazma software kunt u gratis downloaden via:
1) CVS (Concurrent Versions System), het versiebeheersysteem dat voor het beheer van de Plazma software wordt gebruikt.
2) de download pagina op de Plazma website.
Met behulp van Eclipse kunt u daarna de broncode bekijken, onderhouden en/of eventueel aanpassen.
Download en installeer de laatste versie van Eclipse volgens de instructies in mijn bloart Downloaden en installeren van Eclipse SDK.
U kunt het bestand uitpakken naar de folder C:\ProgramFiles\eclipse-sdk-3.3.2\ of een folder van uw keuze . Klik daarna op het bestand eclipse.exe om Eclipse op te starten.
Nadat u de Eclipse SDK hebt geïnstalleerd moet u nog een specifieke werkruimte aanmaken voor uw Plazma omgeving. Volg daarvoor de instructies in mijn bloart Aanmaken van een specifieke workspace in Eclipse.
Wanneer u de broncode hebt gedownload kunt u deze op een aantal manieren overnemen in Eclipse. Dit kan door een project aan te maken gebaseerd op de broncode (1) of de broncode te importeren in uw werkruimte (2). Een andere mogelijkheid is dat u de broncode van de Plazma software download via CVS (3).
- the Plazma Platform
- the Plazma Business Solutions
The software modules of Plazma are:
- bsolution:
Contains common and server functionality with beans/persistence objects and services. The common functionality consist of standard entities such as organization, bank, goods, product en document.
- bsolution.gui: contains the swing client
- bsolution.rich: contains the SWT client
- bsolution.configuration:
Contains the system configuration settings such as .xml- en .properties- files.
- bsolution.database:
Contains the settings for the supported databases and the SQL scripts, initialization / test data for setting up the databases
- bsolution.reportstorage: contains the report storage
- framework: contains the common framework
- lib: contains the common .jar- files
- rcp: contains the framework for the rich client.
You can download the source code of the software:
1) using CVS (Concurrent Versions System), the version control system used to manage the Plazma software.
2) through the download section at the Plazma website.
You can investigate, maintain and/or change the source code with Eclipse.
Download and install the latest version of Eclipse following the instructions in my bloart Download and install the Eclipse SDK.
Unzip the file you downloaded to the folder C:\ProgramFiles\eclipse-sdk-3.2.2\ or a folder of your choice and click on the executable eclipse.exe to start Eclipse.
After you have installed the Eclipse SDK you will have to create a separate workspace for your Plazma environment following the instructions in my bloart Creating a specific workspace in Eclipse.
When you downloaded the source code you can create a project based on the source code (1) or import the source code into your workspace (2). An other way is to download the source code of the Plazma software through CVS (3).
Zorg dat u de broncode hebt gedownload en pak deze uit naar een folder van uw keuze. Nu kunt u een project aanmaken gebaseerd op deze broncode.
U kunt nu Eclipse opstarten en een project voor de Plazma software aanmaken als volgt:
- Open het menu File en selecteer New > Java Project
- Geef uw project de naam PlazmaForge
- Vink de optie Create project from existing source aan onder Contents en geef het pad op naar de directory waar u de broncode hebt staan. In dit geval wordt de broncode niet geïmporteerd in de werkruimte van Eclipse.
- Klik op de knop Next en daarna op de knop Finish.
Make sure you downloaded and unzipped the source code to a folder of your choice. Now you can create a project from this source code.
You can start Eclipse and create a new project for the Plazma software.
- Open the menu File and select New > Java Project
- Enter the name PlazmaForge for your project
- Select the option Create project from existing source under Contents and enter the path to the directory where you stored the source code. In this case the source code will not be imported into the workspace.
- Click on the button Next and in the next window click on the button Finish to start creating the project.

Het is ook mogelijk om de broncode te importeren in de werkruimte van Eclipse uitgaande van het archiefbestand (plazma-source-x.y.x.zip) dat u hebt gedownload.
Ga daarvoor als volgt te werk:
- Open het menu File en selecteer de menuoptie Import
- Open de node General en selecteer de optie Existing Projects into Workspace
- Klik op de knop Next om verder te gaan
You can also import the source code into the workspace of Eclipse using the zip-file (plazma-source-x.y.z.zip) which you downloaded.
Proceed as follows:
- Open the menu File and select the menu option Import
- Open the node General and select the option Existing Projects into workspace
- Click on the button Next to proceed
In de lijst met projecten ziet u nu al de projecten verschijnen waaruit de Plazma software bestaat.
- Klik op de knop Finish om al deze projecten te importeren in de werkruimte van Eclipse
In the list with projects you will see all the projects that exist within the Plazma software.
- Click on the button Finish to import all these projects into the workspace of Eclipse
Voor het downloaden van de broncode via CVS moet u de volgende stappen volgen:
- Wijzig eerst het Java perspectief naar CVS Repository Exploring. Klik op het ikoontje Open Perspective in de rechter bovenhoek en selecteer de optie Other. Kies het perspectief CVS Repository Exploring en klik op de knop OK.
- Maak daarna een verbinding maken met de CVS repository van Plazma. Klik met uw rechter muisknop in het tabblad CVS Repositories en selecteer de menuoptie New > Repository Location
To download the source code using CVS follow the steps below:
- First you will have to change the Java perspective into the CVS Repository Exploring perspective. Click on the icon Open Perspective in the upper right corner and select the option Other. Choose the perspective CVS Repository Exploring and click on the button OK.
- Now you will have to make a connection with the CVS repository of Plazma. Click with your right mouse button in the tab CVS Repositories and select the menuoption New > Repository Location.
De waarden die u moet invoeren zijn:
* Host = plazma.cvs.sourceforge.net
* Repository path = /cvsroot/plazma
* User = anonymous
The values you need to enter are:
* Host = plazma.cvs.sourceforge.net
* Repository path = /cvsroot/plazma
* User = anonymous
- De connectie naar de Plazma CVS Repository is nu klaar. Wanneer u de node Head opent verschijnt daaronder de lijst met alle projecten.
- The connection with the Plazma CVS Repository is now ready. When you open the node Head you will see the list of all the projects.

- Klik met uw rechter muisknop op de node bsolution en selecteer de menuoptie Check Out.
- Click with your right mouse button on the node bsolution and select the menu option Check Out.

- Herhaal nu deze stappen voor de andere projecten.
- Repeat these steps for the other projects.
Wanneer u de broncode hebt gedownload kunt u Plazma ERP + CRM opstarten vanuit Eclipse. Open daarvoor het Java perspectief.
In de Package Explorer ziet u de verschillende projecten waaruit Plazma is opgebouwd. Een aantal van deze projecten hebben een rood kruisje in de node staan. Dit is een teken dat er problemen zijn met deze projecten.
In het tabblad Problems, welke u rechtsonder in Eclipse kunt vinden, ziet u de Errors en Warnings die zijn geïdentificeerd. Bij de errors ziet u dat er problemen zijn met het build path. Deze problemen gaat u zo oplossen en daarna kunt u Plazma opstarten vanuit Eclipse, dus gebruikmakende van de broncode.
In the Package Explorer you see the different projects from the Plazma software. Some of the projects have a red mark in the node indicating that there are errors.
In the tab Problems, which you can find in the screen below in Eclipse , you can see the errors and warnings that Eclipse identified. If you look at the errors you wil see that there are problems with the build path. Hereafter I will show you how to solve these problems and how to start Plazma from within Eclipse.
- Open het menu Window en selecteer de menuoptie Preferences
- Open de node Java > Build Path > Classpath Variables
- Klik op de knop New en voeg de variabele PLAZMA_LIB toe met als Path de waarde C:\DataFiles\eclipse\plazma-workspace\lib
- Klik op de knop OK
- Open the menu Window and select the menu option Preferences
- Open the node Java > Build Path > Classpath Variables
- Click on the button New and add the variable PLAZMA_LIB with the Path value C:\DataFiles\eclipse\plazma-workspace\lib
Attention: Eclipse might ask you whether you would like to perform a complete rebuild of the source code.

De rebuild neemt enige tijd in beslag maar daarna zijn alle errors die voorheen getoond werden in het Java perspectief verdwenen.
The rebuild will take some time but afterwards all errors previously shown in the Java perspective should be gone.
- Open het menu Run en selecteer de menuoptie Open Run Dialog
- Open the menu Run and select the menu option Open Run Dialog

-Klik in het tabblad Main op de knop Browse voor het veld Project
en selecteer uit het overzicht het project bsolution.rich.
- Vul in het veld Main class de waarde net.sf.plazma.rcp.swt.app.SWTApplication in voor de software versie 0.1.7.
Voor de latere software versies (CVS) vul in org.plazmaforge.rcp.swt.app.SWTApplication
- Click in the tab Main on the button Browse of the field Project and select from the list the project bsolution.rich.
- In the field Main class enter the value net.sf.plazma.rcp.swt.app.SWTApplication for the software version 0.1.7.
For later versions (CVS) enter org.plazmaforge.rcp.swt.app.SWTApplication.