wiki:GROUP_DEPLOYMENT_R0

Version 6 (modified by deyan, 16 years ago) (diff)

--

Ticket Summary Owner Status Type Component Priority Effort Importance
#1790 GROUP_DEPLOYMENT_R0 deyan closed unplanned_task uncategorized major

Reported by pav, 16 years ago.

Description

wiki page: GROUP_DEPLOYMENT_R0

Analysis_owners

pav, tsachev

Analysis_reviewers

dido

Analysis_score

4

Design_owners

pav, tsachev

Design_reviewers

meddle

Design_score

4

Imp._owners

pav, tsachev

Imp._reviewers

meddle

Imp._score

3

Test_score

0

Analysis

Overview

The main goal of this group of tasks is to design and create prototypes of the following deployment related things:

  • Run the application through applet
  • Windows, Mac and may be linux installers of Sophie 2
  • Zip with the application uploaded on the Hudson build server

And to optimize(design):

  • Java Web Start resource management

Task requirements

  • Create two pages -
    • Related to the applet/jws design and links with their tickets:
      • Application to Applet should be researched and the results should be described in the page as well as the applet design
      • JWS should be designed to create permanent directory in the file system where config files can be stored
      • All related tickets should be linked and if there is need for new ones they should be created
    • About the installers for the different OSes and links with their tickets:
      • include assembly plugin fixing steps in the design.
      • write the steps in which zip distribution in hudson will be created.
      • think about making sophie installer under different OSes. Research different libaries and write down the results.
  • Implement:
    • Prototype with running applet which starts felix and show part of Sophie
    • Distribution zip in the hudson server which is created by hudson in period of time.
    • different packages with the distribution(optional: one installer) - zip, deb, rpm, dmg

Task result

  • Wiki page with stable design of the upper things.
  • Separation of the tasks to smaller tasks(tickets).
  • Applet prototype
  • Hudson download zip distrubition
  • Different distribution packages.

Implementation idea

  • For the applet:
    • Create new main class which extends applet and starts felix in this applet. Use sophie2.org server for deployment.
  • For JWS:
  • For hudson zip:
    • optimize the assembly plugin to embed files in the distribution and create hudson job for running the assembly maven goal.

PLATFORM_DEPLOYMENT_TARGET_JWS_R0
PLATFORM_DEPLOYMENT_TARGET_JWS_R1
PLATFORM_DEPLOYMENT_TARGET_APPLET_R0
PLATFORM_DEPLOYMENT_BUILD_MAVEN_R2
...

How to demo

  • Show the running java web start and applet on sophie2.org/jws and sophie2.org/applet-demo
  • Download the distribution zip from hudson and run Sophie 2 from there
  • Show the created different OS packages.

Design

The following pages are created:

GROUP_DEPLOYMENT_JWS_APPLET
GROUP_DEPLOYMENT_PACKAGES

Implementation

  • Applet basic configuration - [4645]. It shows Sophie 2 using its default layout for now. There will be AppletMyDoggyLayout class which will show all of this in the applet. This is related to the GUI redesign and will be implemented there - it is no something complicated just using JApplet instead of JFrame for showing the application.
  • Configuration of the assembly plugin(zip and tar.gz package) is here - [4631]. The command is
 mvn package assembly:assembly

and the generated editions are in sophie2-platform/target

  • Running java web start(it was broken because of the unused dependencies cleaning and some new modules and it become part of this task to be fixed) - [4630]
  • Hudson distribution zip will be created after commiting the assembly configuration in the trunk.
  • dmg package will be generated when testing Mac is available.
  • java web start running on http://sophie2.org/jws/
  • applet running on http://sophie2.org/applet-demo/

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)