English / Dutch [+/-]

Business-to-Business (B2B), Enterprise Service Bus (ESB), Service Oriented Architecture (SOA)
Inter Enterprise Business Hub (IEBH), Project Management, Open Source Solutions
Electronic Invoicing, Electronic Invoice Presentment & Payment (EIPP), E-Procurement, E-Commerce
De wereld van Internetapplicaties en Open Source Oplossingen.
The world of Internet applications and Open Source Solutions.
Find the Electronic Business Knowledge Village (EBKV) on Linkedin
Join Platform eZakendoen on LinkedIn


Verzeker u van 2 GB gratis opslagruimte.

Get Mozy Free


Creative Commons License
Op dit werk is een Creative Commons Licentie van toepassing.

May 2008
M T W T F S S
« Apr   Jun »
 1234
567891011
12131415161718
19202122232425
262728293031  
View danga's profile on LinkedIn




Gratis Opslagruimte voor Windows

Get 2 GB of 100% free backup space.

Get Mozy Free


Bekijk de broncode en start Plazma ERP + CRM in Eclipse

De Plazma software bestaat uit twee componenten
- 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 software has two parts
- 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).

1) Maak een project aan gebaseerd op de broncode
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.

1) Create a project based on the source code
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.

eclipse-create-new-java-project-from-source

2) Importeer de broncode in de werkruimte van Eclipse
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

2) Import the source code into the workspace of Eclipse
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

eclipse-import-existing-project-into-workspace

- Klik op de knop Browse naast het veld Select archive file en ga naar de folder waar het archiefbestand staat

- Click on the button Browse next to the field Select archive file and go to the folder where the zip-file is located

eclipse-import-existing-project-from-archive-file

- Selecteer het archiefbestand en klik op de knop Open

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

- Select the Zip-file and click on the button Open

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

plazma-import-from-archive-file

Tip: Als u echter de broncode download via CVS dan haalt u de meest actuele versie van de broncode in huis. Voor het aanbrengen van aanpassingen aan de software is deze versie natuurlijk een beter uitgangspunt.

Tip: If you download the source code using CVS you will get the most recent version. As a startingpoint for your potential enhancements this is always a better approach.

3) Download de broncode via CVS
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

3) Download the source code through CVS
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.

eclipse-new-repository-location

- U kunt nu de gegevens voor de Plazma CVS Repository vastleggen in het scherm Add CVS Repository.

De waarden die u moet invoeren zijn:
* Host = plazma.cvs.sourceforge.net
* Repository path = /cvsroot/plazma
* User = anonymous

- You can now enter the details for the Plazma CVS Repository in the screen Add CVS Repository.

The values you need to enter are:
* Host = plazma.cvs.sourceforge.net
* Repository path = /cvsroot/plazma
* User = anonymous

plazma-add-cvs-repository

- Klik op de knop Finish om verder te gaan.

- De connectie naar de Plazma CVS Repository is nu klaar. Wanneer u de node Head opent verschijnt daaronder de lijst met alle projecten.

- Click the button Finish to continue.

- 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.

plazma-cvs-repository-connection

Aangezien er geen overkoepelend project is zult u alle projecten afzonderlijk moeten downloaden via Check Out. De functie Check Out neemt de project naam van de CVS module over.

- Klik met uw rechter muisknop op de node bsolution en selecteer de menuoptie Check Out.

Since there is no overall project you wil have to retrieve all projects separately using Check Out. The function Check Out takes over the project name of the CVS module.

- Click with your right mouse button on the node bsolution and select the menu option Check Out.

plazma-cvs-checkout-bsolution

- De broncode van het project bsolution wordt nu opgehaald van de repository. Dit kan enige tijd duren.

- Herhaal nu deze stappen voor de andere projecten.

- The source code of the project bsolution is now retrieved from the repository. This may take some time to finish.

- Repeat these steps for the other projects.

plazma-cvs-checking-out-bsolution

Opstarten van Plazma ERP + CRM via de broncode
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.

When you have downloaded the source code you can start Plazma ERP + CRM from within Eclipse. Open the Java perspective.

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.

plazma-cvs-checked-out-projects

Voor het oplossen van de errors met het build path gaat u de variabele PLAZMA_LIB aanmaken in uw Eclipse omgeving. Deze variabele zorgt ervoor dat de compilatie errors ontstaan door de problemen met het build path verdwijnen.

- 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

To solve the errors with the build path you need to create the variable PLAZMA_LIB in Eclipse. This variable removes the compilation errors caused by the build path.

- 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

plazma-add-classpath-plazmalib

Let op: Het kan zijn dat Eclipse u vraagt of u een volledige rebuild van de source code wilt uitvoeren.

- Click on the button OK

Attention: Eclipse might ask you whether you would like to perform a complete rebuild of the source code.

eclipse-classpath-variable-rebuild-source

- Klik op de knop Yes.

De rebuild neemt enige tijd in beslag maar daarna zijn alle errors die voorheen getoond werden in het Java perspectief verdwenen.

- Click on the button Yes.

The rebuild will take some time but afterwards all errors previously shown in the Java perspective should be gone.

Het starten van Plazma ERP + CRM doet u als volgt:
- Open het menu Run en selecteer de menuoptie Open Run Dialog

To start Plazma ERP + CRM from within Eclipse:
- Open the menu Run and select the menu option Open Run Dialog

eclipse-open-run-dialog

- Selecteer het item Java Application en klik linksboven op de knop New Launch Configuration of dubbelklik op het item.

-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

- Select the item Java Application en click in the left corner on the button New Launch Configuration or double click on the item.

- 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.

plazma-run-dialog-main-class

- Ga daarna naar het tabblad Arguments en vul in het veld VM arguments de waarde -Djava.library.path=”..\lib\swt\win32″ in

- Open the tab Arguments and for the field VM arguments enter the value -Djava.library.path=”..\lib\swt\win32″

plazma-run-dialog-vm-arguments

- Klik daarna op de knop Run om Plazma op te starten.

- Click on the button Run to start Plazma.

plazma-started-from-within-eclipse

Comments »

The URI to TrackBack this entry is: http://danga.blogsome.com/2008/05/21/bekijk-de-broncode-en-start-plazma-erp-crm-in-eclipse/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.


Anti-spam measure: please retype the above text into the box provided.

My Zimbio I Flock
Copyright © 2000 - DanGa Design