Wednesday, November 29, 2006

Status Report for 11/22/2006 -- 11/29/2006

Progress

1. Finish one-step installation with IUMSC according to requirement from Kia

2. Submit a final user guide and a package of the one-step process to Kia

3. Back to work on multiple lab installation again

(1) When login as root, the user should see all the portlets under the Administration Group

(2) Add public sample portlet for each lab on Guest User Layout Screen

Discussion

1. Issues related to multiple lab installation during last week

2. CIMA CVS/SVN

3. Group for iframe portlet for each lab

Future work

1. Continue working on multiple lab installation process

2. Improve the multiple lab installation process according to Kia’s feedback

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


Wednesday, November 22, 2006

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

Progress

1. Finish improves made on one-step installation with IUMSC according to feedbacks from Kia

(1) Add public sample portlet for each lab on Guest User Layout

Call a general target to add new tabs for new labs in GuestUserLayout.xml

(2) Host IP address

Provide user interface to input IP address of the host machine where CIMA is running

(3) Fix bugs

  • Bug 1 : Assume Ant was installed in the user machine and call Ant targets to install Ant for CIMA

Solution: Install Ant as the 1st step for the whole installation

  • Bug 2 : Errors on setting environment variables

Solution : Modify env.sh and installcima.sh

2. Discuss issues related to multiple lab installation

Discussion

1. Issues related to multiple lab installation

(1) Content of user interface after the user logins to CIMA as root and a specific user account

(2) Provide user interface to install specific lab as user wants

(3) How we can tell who logins to the CIMA and just show the contents related to their own lab (most important)

2. CIMA CVS/SVN

3. Group for iframe portlet for each lab

Future work

1. Get feedback from Kia to improve the installation process

2. Fix bugs in the installation process

3. Some modifications on content of user interface after user logs in to the system as root or a specific user

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

5. Submit an updated user guide and a package of the one-step process to Kia

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

Wednesday, November 08, 2006

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

Progress

1. Finish the one-step process which includes two CIMA sites (IUMSC and JCU) and fix bugs in it

(1) Design

  • Add a process for installing cimadminprj, XRaySampleData, and showmysamples portlets for JCU
  • Add a process for adding JCU tab for JCU in GuestUserLayout.xml

(2) Implementation

  • Install 3 portlets for JCU

- Modify build.properties for cimadminprj, XRaySampleData, and showmysamples

- Run ant install

  • Add new tab for JCU in GuestUserLayout.xml

(3) Bugs

  • Bug 1 : Cannot show detailed information of each sample in sample data

Solution: Copy sample information data to related directory

  • Bug 2 : A wrong information related to labname in showmysamples portlet

Solution : Modify cima.properties

  • Bug 3 : Some small bugs related to user interface settings

Solution : Modify the files related

2. Reorganize the project directories and submit an updated user guide and a package of the one-step process to Kia

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

Discussion

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

2. Check CIMA code out from CVS/SVN

3. 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. Write general processes to install multiple labs

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


Friday, November 03, 2006

Status Report for 10/25/2006 -- 11/01/2006

Summary of previous work before this week

1. Install CIMA portal (with IUMSC) manually

  • Install all third part software(Java, Ant, Tomcat, Gridsphere)
  • Install CIMA portal
    • Deploy and configure “iframe portlet”
    • Get the 3 CIMA portlets(cimadminprj, showmysamples, XRaySampleData) installed in my GS portal and configure them
    • Make a tab(IUMSC) that has the following 3 sub-menus: Current Status, Public Sample portlet, and About

2. Install the "internal" build system that in a single step does all of the following:

  • Provide an organizational directory structure for the project, including third party tar files for Gridsphere, Tomcat, Ant
  • Install (unpacks, builds) all third party software(Ant, Tomcat, Gridsphere) from tars.
  • Build and deploy all of the CIMA portlets.
  • Automatically customize Gridsphere to have the look and feel, layout, color scheme, and logo of the CIMA portal.
  • Build anonymous user views and IUMSC tab.

This is based on Apache Ant.

Progress of this week

1. Fix many small bugs in earlier deliverable

2. Extend earlier deliverable of "internal" build system to include all CIMA sites (Purdue, ChemMATCars, Minnesota, Myers, JCU,CSAF)

3. Write a simple user’s guide to Kia and let her check the CIMA portal built by this one-step process

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

Discussion

1. Checks CIMA code out from CVS/SVN

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