Wednesday, November 15, 2006

Status Report for 11/08/2006 -- 11/15/2006

Progress

1. Finish the 1.0 version of CIMA one-step installation with multiple labs. It expands the installation from one lab (IUMSC) to multiple labs (Purdue, ChemMATCars, Minnesota, Myers, JCU, CSAF)

(1) Design

  • A general process for installing cimadminprj, XRaySampleData, and showmysamples portlets for a new lab
  • A general process for adding a new tab for the new lab in GuestUserLayout.xml

(2) Implementation

  • Install 3 portlets for each new lab

- Run Ant by passing in parameters (here is just the labName, e.g. JCU) to an Ant target: Ant –DlabName=JCU addLabs

- In build.xml, load the parameter with

- Install cimadminprj portlet for the new lab

- Install XRaySampleData for the new lab

- Install showmysamples portlet for the new lab

  • Add new tab for each new lab in GuestUserLayout.xml

- Method 1 : Writing JAVA programs the read and write DOM XML document

- Method 2 : Using the standard Ant tasks ‘replace’ or ‘style/xslt’ and defining an XML style sheet.

- Method 3 : Using xmltask

Comparison results:

- Method 1 is complicated

(a) Use an XML parser to read the xml document

(b) Need a DOM document to put the XML into

- Method 2 works well for simple search/replace operations, but lacks the ability to perform powerful searches and complex replacement operations

- Method 3 provides the facility for automatically editing XML files as part of an Ant build. (Best choice)

2. Improves the installation process according to Kia’s feedback

  • Problem : Cannot run properly on Kia’s machine

Solution: Add a host IP address environment variable, and user can input the IP address to run the installation process

  • Problem : There are a few misunderstandings in the user guide

Solution : Clarify it


3. Submit an installation package of the one-step process including all CIMA sites to Kia

  • User Guide
  • Package
    • All installation files
    • CIMA portlet
    • Third party software


Discussion

1. Issues related to lab.properties

2. Build group for iframe portlet for each lab using ANT script

3. Checks CIMA code out from CVS/SVN

4. Create a test user account in Ant script


Future work

1. Get feedback from Kia to improve the installation process

2. Fix bugs in the installation process

3. Try to solve the problems described above in Discussion section

No comments: