[[TicketQuery(summary=GROUP_DEPLOYMENT_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = 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: * Research java web start sandbox * For hudson zip: * optimize the assembly plugin to embed files in the distribution and create hudson job for running the assembly maven goal. == Related == [wiki:PLATFORM_DEPLOYMENT_TARGET_JWS_R0] [[BR]] [wiki:PLATFORM_DEPLOYMENT_TARGET_JWS_R1] [[BR]] [wiki:PLATFORM_DEPLOYMENT_TARGET_APPLET_R0] [[BR]] [wiki:PLATFORM_DEPLOYMENT_BUILD_MAVEN_R2] [[BR]] ... == 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: [wiki:GROUP_DEPLOYMENT_JWS_APPLET][[BR]] [wiki:GROUP_DEPLOYMENT_PACKAGES] = Implementation = * Applet basic configuration - [4645]. It shows Sophie 2 using its default my doggy window for now. There will be MDAppletWindow created which will show all of this in the applet frame. 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 after running the command 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 committing the assembly configuration in the trunk. The bash script that will be executed as batch task in hudson is: {{{ #!/bin/bash TODAY=`date +%Y%m%d%H%M` for zip in $(ls struts2/assembly/target/assembly/out/*.zip); do cp $zip /var/www/daily_builds/sophie2-distribution-$TODAY.zip done }}} * dmg package will be generated when testing Mac is available. * java web start running is uploaded on http://sophie2.org/jws/ * applet running is uploaded on http://sophie2.org/applet-demo/ Merged into the trunk at [4691]. = Testing = ^(Place the testing results here.)^ = Comments = ^(Write comments for this or later revisions here.)