...
- Repeat the steps a-e from 'Setup mywms.as module in Eclipse' but choose 'los.common-ejb' instead of 'mywms.as'.
- To configure the build path open the context menu on 'los.common-ejb'-project and choose 'Build Path - Configure Build Path'. Choose 'Add' in 'Projects'-tab and click 'select all'. Press 'OK'.
- Switch to the 'Libraries'-tab and choose 'Add Library' and add 'WildFly 8.x' as 'Server Runtime'. Press 'Finish'.
- Choose 'Add External JARs...' Browse to
$media/server.app/lib/external
. Select all the jar files there and press 'OK'.
•
Project setup for 'los.location-ejb'.
a) Repeat all steps from Project setup for 'los.common-ejb', but choose 'los.locationejb'.•
Project setup for 'los.inventory-ejb'.
a) Repeat all steps from Project setup for 'los.common-ejb' for 'los.inventory-ejb'.•
Project setup for 'los.stocktaking-ejb'.
a) Repeat all steps from Project setup for 'los.common-ejb' for 'los.stocktaking-ejb'.• Repeat project
Project setup for 'los.mobile'.
a) Repeat all steps from Project setup for 'los.common-ejb' for 'los.mobile'.
• There is another module
Project setup for 'project-ejb'
This project is needed for customization. So repeat project setup for 'project-ejb'.
a) Repeat all steps from Project setup for 'los.common-ejb' for 'los.project-ejb'.•
Project setup for 'server.app'
This project is needed in Eclipse just to To access build file $media/server.app/build.xml
it is necessary to create a new
Project in Eclipse.a)
- Choose 'File - New - Project'. In the project type selection wizard select
...
- 'General/Project'. It is important not to create a new 'Java Project'.
...
- Name it 'LOS Reference Server App' and disable option 'Use default location'.
...
- Browse to and select
$media/server.app
and press 'Finish'.
...
- Open Ant view with 'Window - Show View -
...
- Ant'. Drag 'build.xml' from newly
...
- created project into the 'Ant'-view.
...
- Run target 'components.build', 'ear.package' and 'jboss.deploy'. This will build all
...
- LOS server modules and deploy them to WildFly. Maybe you have to grant
...
- JavaVM access to the internet.
...
Project setup for 'LOS Reference DB'
This project is neeeded in Eclipse to acces ant buid files for database setup.
- Create a new plain project, not a java-project,
...
- likein the step before and name it 'LOS
...
- Reference DB'.
...
- Disable 'Use default location' and browse to
$media/database/postgres
and
...
- check 'OK', then 'Finish'.
...
- Maybe you want to check connection.properties to configure
...
- another database.
...
- Drag 'build.xml' from the newly created project into the 'Ant'-view.
...
- Run '
postgres.local.createSchema
'.
...
- Run '
postgres.local.init
'.
...
- Start the server ('Window - Show View - Other - Server - Servers', right click in
...
- 'Server'-view on the 'WildFly 8.x at localhost [Stopped]' and select 'Start').
...
Info |
---|
Now all LOS Server Modules are available to you. |
...
Point a web browser to 'http://localhost:8080/los-mobile'. |
...
Now you should be able to login with 'admin', 'admin'. |
Setup Client (Netbeans)
• If you wish to work with workspaces in Netbeans too, you have to do a little workaround,
because Netbeans is not aware of workspaces.•
- Start Netbeans with parameter userdir
...
-
$media/workspace
...
- Choose 'File / Open
...
- Project' and browse to
$media/rich.client/los.clientsuite
.
...
- You will get a project called 'LinogistiX LOS Client'. To see the content of the suite
...
- expand 'LinogistiX LOS Client / Modules'.
...
- Open context menu on the project and choose 'Clean and Build'.
• There is another netbeans suite available called 'LOS Reference Client'
This is a reference implementation of the basic 'LinogistiX LOS Client'. To start this
application, you first have to create a netbeans platform based on the 'LinogistiX LOS
Client' and then you can build and start the reference-implementation.•
- Open the context menu on the project 'Linogistix LOS Client'.
...
- Select 'Package as | ZIP Distribution'.
...
- Choose 'File / Open Project' and browse to
...
$media/rich.client/los.reference.
• You will get a project called 'LOS Reference Client'.•
- Open the context menu on the project 'LOS Reference Client'. And choose
...
- 'Properties'.
...
- Navigate to the Libraries category and select 'Manage Platforms...'
...
- Choose 'Add Platform...'
...
- Navigate to
...
- $media/rich.client/los.clientsuite/nbplatform/linogistix_clientsuite
...
- and Choose 'Finish'.
...
- Now you are able to select the NetBeans Platform 'Linogistix LOS Client'
...
- . Make sure that all platform modules are included!
...
- Finish this step with 'OK'.
...
- Open the context menu on the project 'LOS Reference Client'. Choose 'Run'.
Info |
---|
On |
...
start up a login dialog is displayed and you should be able to log in with 'admin', |
...
'admin' |