Changes between Version 4 and Version 5 of pm-howdoi


Ignore:
Timestamp:
Jul 11, 2008 2:32:34 PM (12 years ago)
Author:
rlh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pm-howdoi

    v4 v5  
    1212
    1313== How do I update my project's .xml (e.g., http://www.coin-or.org/projects/Cgl.xml) ? ==
     14A: You don't! It's automatic. You don't need to do anything other than commit the new stable/release version of your project. It works as follows:
    1415
     16  1. Your  Cgl/conf/projDesc.xml file is the same as the source code http://www.coin-or.org/projects/Cgl.xml (Cgl.xml is not generated it is just a copy of projDesc.xml) and this xml file is what the browser downloads.
     17  1. The browser also simultaneously downloads http://www.coin-or.org/projects/autoGen.xsl/
     18  1. The autoGen.xsl is code I wrote in XSLT - Exstensible Style Sheet Language Translation. The autoGen.xsl code is read by the browser. Modern browsers have XSLT engines that generates the html you actually view based on the xml file. 
     19  1. In the autoGen.xsl there is code that looks for your project name. Based on your program name it automatically downloads to the browser the png file http://www.coin-or.org/LatestRelease/Cgl-latest-stable.png . This file is updated daily on the COIN-OR server based on Laci's  scripts. Note: The project name needs to be the exact match for the project name so the png file can be found. For exmample, if the !CoinUtils.xml file filled out the following tag as [[br]]
     20
     21<projectName>COIN-OR Utilities</projectName>
     22
     23This would cause a problem, becuase the "official" project name is "!CoinUtils" and this is what should be in the <projectName> tag.