Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. #Design
  2. #Development
    1. #Environment
    2. #Dependencies
    3. #Test inside Eclipse
    4. #Release with Eclipse

Design

...

  • ezJCA (version R0-0-10)
  • javainterfaces (current version)
  • Oracle JDBC driver (under $MPSCONFIG_ROOT/lib/)
  • Sqlite JDBC driver (under $MPSCONFIG_ROOT/lib/)
  • xal4lcls
    • ext.jar (current version)
    • xal.jar (current version)

Test inside Eclipse

  • To test your changes, you can run the MPS GUI
    • Check out the MPSGui project
    • Add the MPSConfig project to MPSGui's build path
    • Remove the library mpsconfig.jar from MPSGui's build path
    • Run MPS GUI from inside Eclipse

Release with Eclipse

  • Update the application version in $MPSGUI_ROOT/src/edu.stanford.slac.mpsgui.MpsGuiProperties
  • Add a note in $MPSGUI_ROOT/RELEASE_NOTES
    • Increment the tag version accordingly
  • Commit to CVS
  • Tag with mpsguimpsconfig-R#-#-#
  • Check out the tagged version into production
    Code Block
    cd $PHYSICS_TOP/release
    cvs co -r mpsguimpsconfig-R#-#-# -d mpsguimpsconfig-R#-#-# physics/mps/mpsguimpsconfig
    
  • Select File => New Java project => Create project from existing source
  • Select $PHYSICS_TOP/release/mpsguimpsconfig-R#-#-#
  • Name the project mpsguimpsconfig-R#-#-#
  • Press "Finish"
  • Right-click on the new project mpsguimpsconfig-R#-#-# => Export...
  • Select Java => JAR file
  • Check mpsguimpsconfig-R#-#-# in "Resources to export"
  • Check "Export generated class files and resources"
  • As the export destination, type (and/or select)
    Code Block
    $PHYSICS_TOP/release/mpsguimpsconfig-R#-#-#/jar/mpsguimpsconfig.jar
    
  • Press "Finish"
  • Move the symbolic link
    Code Block
    cd $PHYSICS_TOP/
    rm -rf mpsguimpsconfig; ln -s release/mpsguimpsconfig-R#-#-# mpsguimpsconfig
    
  • Launch MPS GUI from lclshome
    • MPS Global => MPS GUI...
    • MPS Global => MPS CUD...