Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Repeat the steps a-e from 'Setup mywms.as module in Eclipse' but choose 'los.common-ejb' instead of 'mywms.as'.
  2. 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'.
  3. Switch to the 'Libraries'-tab and choose 'Add Library' and add 'WildFly 8.x' as 'Server Runtime'. Press 'Finish'.
  4. 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)

  1. Choose 'File - New - Project'. In the project type selection wizard select

...

  1. 'General/Project'. It is important not to create a new 'Java Project'.

...

  1. Name it 'LOS Reference Server App' and disable option 'Use default location'.

...

  1. Browse to and select $media/server.app and press 'Finish'.

...

  1. Open Ant view with 'Window - Show View -

...

  1. Ant'. Drag 'build.xml' from newly

...

  1. created project into the 'Ant'-view.

...

  1. Run target 'components.build', 'ear.package' and 'jboss.deploy'. This will build all

...

  1. LOS server modules and deploy them to WildFly. Maybe you have to grant

...

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

  1. Create a new plain project, not a java-project,

...

  1. likein  the step before and name it 'LOS

...

  1. Reference DB'.

...

  1. Disable 'Use default location' and browse to $media/database/postgres and

...

  1. check 'OK', then 'Finish'.

...

  1. Maybe you want to check connection.properties to configure

...

  1. another database.

...

  1. Drag 'build.xml' from the newly created project into the 'Ant'-view.

...

  1. Run 'postgres.local.createSchema'.

...

  1. Run 'postgres.local.init'.

...

  1. Start the server ('Window - Show View - Other - Server - Servers', right click in

...

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

  1. Start Netbeans with parameter userdir

...

  1. $media/workspace

...

  1. Choose 'File / Open

...

  1. Project' and browse to $media/rich.client/los.clientsuite.

...

  1. You will get a project called 'LinogistiX LOS Client'. To see the content of the suite

...

  1. expand 'LinogistiX LOS Client / Modules'.

...

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

  1. Open the context menu on the project 'Linogistix LOS Client'.

...

  1. Select 'Package as | ZIP Distribution'.

...

  1. Choose 'File / Open Project' and browse to

...

  1. $media/rich.client/los.reference.

You will get a project called 'LOS Reference Client'.

  1. Open the context menu on the project 'LOS Reference Client'. And choose

...

  1. 'Properties'.

...

  1. Navigate to the Libraries category and select 'Manage Platforms...'

...

  1. Choose 'Add Platform...'

...

  1. Navigate to

...

  1. $media/rich.client/los.clientsuite/nbplatform/linogistix_clientsuite

...

  1. and Choose 'Finish'.

...

  1. Now you are able to select the NetBeans Platform 'Linogistix LOS Client'

...

  1. . Make sure that all platform modules are included!

...

  1. Finish this step with 'OK'.

...

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