Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > 675c8c8167236dfcf8d66da674f931e8 > files > 1226

erlang-doc-R15B-03.3.fc17.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css">
<title>Erlang -- Reltool Release Notes</title>
</head>
<body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container">
<script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript">
            <!--
              function getWinHeight() {
                var myHeight = 0;
                if( typeof( window.innerHeight ) == 'number' ) {
                  //Non-IE
                  myHeight = window.innerHeight;
                } else if( document.documentElement && ( document.documentElement.clientWidth ||
                                                         document.documentElement.clientHeight ) ) {
                  //IE 6+ in 'standards compliant mode'
                  myHeight = document.documentElement.clientHeight;
                } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
                  //IE 4 compatible
                  myHeight = document.body.clientHeight;
                }
                return myHeight;
              }

              function setscrollpos() {
                var objf=document.getElementById('loadscrollpos');
                 document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2;
              }

              function addEvent(obj, evType, fn){
                if (obj.addEventListener){
                obj.addEventListener(evType, fn, true);
                return true;
              } else if (obj.attachEvent){
                var r = obj.attachEvent("on"+evType, fn);
                return r;
              } else {
                return false;
              }
             }

             addEvent(window, 'load', setscrollpos);

             //--></script><div id="leftnav"><div class="innertube">
<img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/reltool-0.6.1.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>Reltool</strong><br><strong>Release Notes</strong><br><small>Version 0.6.1</small></p>
<br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p>
<ul class="flipMenu" imagepath="../../../../doc/js/flipmenu"><li id="loadscrollpos" title="Reltool Release Notes" expanded="true">Reltool Release Notes<ul>
<li><a href="notes.html">
              Top of chapter
            </a></li>
<li title="Reltool 0.6.1"><a href="notes.html#id60809">Reltool 0.6.1</a></li>
<li title="Reltool 0.6"><a href="notes.html#id60849">Reltool 0.6</a></li>
<li title="Reltool 0.5.7.1"><a href="notes.html#id59392">Reltool 0.5.7.1</a></li>
<li title="Reltool 0.5.7"><a href="notes.html#id59430">Reltool 0.5.7</a></li>
<li title="Reltool 0.5.6"><a href="notes.html#id59475">Reltool 0.5.6</a></li>
<li title="Reltool 0.5.5"><a href="notes.html#id60440">Reltool 0.5.5</a></li>
<li title="Reltool 0.5.4"><a href="notes.html#id60477">Reltool 0.5.4</a></li>
<li title="Reltool 0.5.3"><a href="notes.html#id62008">Reltool 0.5.3</a></li>
<li title="Reltool 0.5.2"><a href="notes.html#id62038">Reltool 0.5.2</a></li>
<li title="Reltool 0.5.1"><a href="notes.html#id62069">Reltool 0.5.1</a></li>
<li title="Reltool 0.5"><a href="notes.html#id62102">Reltool 0.5</a></li>
<li title="Reltool 0.2.2"><a href="notes.html#id62198">Reltool 0.2.2</a></li>
<li title="Reltool 0.2.1"><a href="notes.html#id63041">Reltool 0.2.1</a></li>
<li title="Reltool 0.2"><a href="notes.html#id63073">Reltool 0.2</a></li>
</ul>
</li></ul>
</div></div>
<div id="content">
<div class="innertube">
<h1>1 Reltool Release Notes</h1>
  
  <p>This document describes the changes made to the Reltool system
    from version to version. The intention of this document is to
    list all incompatibilities as well as all enhancements and
    bugfixes for every release of Reltool. Each release of Reltool
    thus constitutes one section in this document. The title of each
    section is the version number of Reltool.</p>

  <h3><a name="id60809">1.1 
        Reltool 0.6.1</a></h3>

    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    A new sys level configuration parameter
	    <span class="code">{excl_lib,otp_root}</span> is added. When this is set,
	    the target system will not contain anything from
	    <span class="code">$OTP_ROOT</span>. It will only contain a releases
	    directory with rel, script and boot files, and a lib
	    directory with applications found outside of
	    <span class="code">$OTP_ROOT</span> (i.e. "your own" applications).</p>
          <p>
	    Own Id: OTP-9743</p>
        </li>
      </ul>
    



<h3><a name="id60849">1.2 
        Reltool 0.6</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    Miscellaneous corrections: <ul> <li> Start of reltool
	    GUI would sometimes crash with a badmatch in
	    reltool_sys_win:do_init. This has been corrected. </li>
	    <li> Minor corrections of documentation and type
	    specifications of app() and mod() are done. </li>
	    <li> If a module name is duplicated in an app file
	    reltool would return an error. This is now changed to a
	    warning. </li> <li> Reltool would earlier not
	    necessarily keep the order of applications as listed in
	    the rel specification in the configuration. This has been
	    corrected. </li> <li> Reltool would earlier set the
	    default for included applications to an empty list if it
	    was not set in the rel specification in the
	    configuration. This was correct according to
	    sasl/systools documentation, but not according to
	    sasl/systools implementation. We decided to change the
	    documentation and reltool to use the value of
	    included_applications from the .app file as default
	    instead of the empty list, since this seems more
	    intuitive and since systools always has done the same.
	    </li> <li> The value of included applications in the
	    rel specification in the configuration did not overwrite
	    included_applications in the .app file if it was set to
	    an empty list. This has been corrected. </li> <li>
	    Reltool would earlier add load instructions in the
	    script/boot files for ALL modules in the ebin directory
	    of an application even if mod_cond was set to app
	    (include only modules listed in the .app file). This has
	    been corrected. </li> <li> Reltool would earlier add
	    start instructions in the script/boot file for included
	    applications. This has been corrected - included
	    applications shall only be loaded since the including
	    application is responsible for starting them. </li>
	    <li> Status bar now indicates that reltool is working
	    (Processing libraries...) for all configuration changes,
	    and when generating target system. </li> <li> Title
	    of dependecies column in app and mod window is changed
	    from "Modules used by others" to "Modules using this".
	    </li> </ul></p>
          <p>
	    Own Id: OTP-9792</p>
        </li>
        <li>
          <p>
	    Configuration changes via the GUI had a few bugs related
	    to error handling, rollback and undo. A major re-write of
	    the reltool_server has been done in order to align the
	    way reltool_server updates and uses its state and tables
	    for all different kinds of configuration change. </p>
          <p>
	    All configuration changes (except undo) now cause a
	    re-read of the file system, meaning that if something has
	    changed in the file system it will be reflected in the
	    result of the configuration change.</p>
          <p>
	    When loading a new configuration file via the GUI, the
	    old configuration is now completely scratched, and only
	    the new is valid.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-9794</p>
        </li>
        <li>
          <p>
	    Some bug fixes related to the handling of escripts:
	    <ul> <li> Reltool could not handle escripts with
	    inlined applications. This has been corrected. Inlined
	    applications will be visible in the GUI, but not possible
	    to include/exclude separately. </li> <li> Loading a
	    config which contains an escript via the GUI menu did not
	    produce the same result as when using the same
	    configuration at reltool start. Paths, version and label
	    could differ. This has been corrected. </li> <li>
	    Loading config with same escript (source) twice caused
	    reltool to add same module twice. This has been
	    corrected. </li> <li> Loading config with same
	    escript (inlined beam) twice caused reltool to fail
	    saying module is included by two different applications.
	    This has been corrected. </li> <li> Loading config
	    which in addition to an existing escript also adds
	    another escript, for which the name sorts before the
	    existing one, would cause reltool to fail saying
	    "Application name clash". This has been corrected.
	    </li> </ul></p>
          <p>
	    Own Id: OTP-9968</p>
        </li>
        <li>
          <p>
	    Reltool would sometimes generate a .app file containing
	    <span class="code">{start_phases,undefined}</span>, which would cause an
	    exception in systools at parse time. This has been
	    corrected so reltool now omits the <span class="code">start_phases</span>
	    entry if the value is <span class="code">undefined</span>. (Thanks to Juan
	    Jose Comellas)</p>
          <p>
	    In order to align with reltool, sasl will also omit
	    <span class="code">start_phases</span> entries with value <span class="code">undefined</span>
	    in .script files.</p>
          <p>
	    Own Id: OTP-10003</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    A warning list is added to the sys window of the reltool
	    GUI. This list will continuously show all warnings
	    produced by the current configuration.</p>
          <p>
	    Own Id: OTP-9967</p>
        </li>
        <li>
          <p>
	    As a way of specifying one specific version of an
	    application, the following configuration parameter is
	    added on application level:</p>
          <p>
	    {lib_dir,Dir}, Dir = string()</p>
          <p>
	    This can be useful if the parent directory of the
	    application directory is not suitable to use as a lib dir
	    on system level.</p>
          <p>
	    Own Id: OTP-9977</p>
        </li>
      </ul>
    



<h3><a name="id59392">1.3 
        Reltool 0.5.7.1</a></h3>

    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    Added recommendation about <span class="code">RootDir</span> parameter to
	    <span class="code">reltool:eval_target_spec/3</span>.</p>
          <p>
	    Own Id: OTP-9742</p>
        </li>
      </ul>
    



<h3><a name="id59430">1.4 
        Reltool 0.5.7</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    If a module was duplicated in the library directories
	    visible to reltool, and the configuration did not point
	    out which file to use, then reltool:start would always
	    fail. A pop-up is added which asks if you want to
	    continue with a safe and minimal configuration.</p>
          <p>
	    Own Id: OTP-9383</p>
        </li>
        <li>
          <p>
	    wx would sometimes crash due to an empty radiobox on the
	    'releases' tab of the system window. This radiobox is
	    removed, and replaced by a listbox which will always
	    contain at least kernel and stdlib applications.</p>
          <p>
	    Own Id: OTP-9384</p>
        </li>
      </ul>
    



<h3><a name="id59475">1.5 
        Reltool 0.5.6</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    The system level option <span class="code">app_files</span> is documented to
	    allow the values <span class="code">keep | strip | all</span>, but it only
	    allowed <span class="code">keep</span>. This is corrected.</p>
          <p>
	    Own Id: OTP-9135</p>
        </li>
        <li>
          <p>
	    Allow the same module name in multiple applications
	    visible to reltool, as long as all but one of the
	    applications/modules are explicitely excluded. (Thanks to
	    Andrew Gopienko and Jay Nelson)</p>
          <p>
	    Own Id: OTP-9229</p>
        </li>
      </ul>
    



<h3><a name="id60440">1.6 
        Reltool 0.5.5</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    The reltool module contained two seriously erroneous
	    specs which caused bogus warnings when dialyzing reltool
	    and some correct code of users. These were fixed (specs
	    for start_link/1 and eval_server/3)</p>
          <p>
	    - Code cleanups and simplifications - Fix a bug in the
	    calculation of circular dependencies - Eliminate two
	    dialyzer warnings - Put files alphabetically</p>
          <p>
	    Own Id: OTP-9120</p>
        </li>
      </ul>
    



<h3><a name="id60477">1.7 
        Reltool 0.5.4</a></h3>

    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
            Added function <span class="code">zip:foldl/3</span> to iterate over zip
            archives.</p>
          <p>
            Added functions to create and extract escripts. See
            <span class="code">escript:create/2</span> and <span class="code">escript:extract/2</span>.</p>
          <p>
            The undocumented function <span class="code">escript:foldl/3</span> has been
            removed. The same functionality can be achieved with the
            more flexible functions <span class="code">escript:extract/2</span> and
            <span class="code">zip:foldl/3</span>.</p>
          <p>
            Record fields has been annotated with type info. Source
            files as been adapted to fit within 80 chars and trailing
            whitespace has been removed.</p>
          <p>
            Own Id: OTP-8521</p>
        </li>
        <li>
            <p>A new escript, called <span class="code">reltool</span>, has been
            introduced in order to simplify the usage of the reltool
            application from makefiles.</p>
            <p>The handling of applications included in releases has
            been improved. Applications that are required to be
            started before other applications in a release are now
            automatically included in the release. The <span class="code">kernel</span>
            and <span class="code">stdlib</span> applications are always included as
            they are mandatory.</p>
            <p>Applications that are (explicitly or implicitly)
            included in a release are now automatically included as
            if they were explicitly included with the incl_cond
            flag.</p>
            <p>A new <span class="code">embedded_app_type</span> option has been
            introduced. It is intended to be used for embedded
            systems where all included applications must be loaded
            from the boot script, as these systems does not utilize
            dynamic code loading. If <span class="code">embedded_app_type </span> is set
            to something else than <span class="code">undefined</span>, all included
            applications will be included in both the release as well
            as in the boot script. If the <span class="code">profile</span> is
            <span class="code">embedded</span> the <span class="code">embedded_app_type</span> option
            defaults to <span class="code">load</span>.</p>
            <p>A new function called <span class="code">reltool:get_status/1</span> has
            been introduced. It returns status about the
            configuration in the server.</p>
            <p>The API functions that may take <span class="code">PidOrOptions</span> as
            input and actually gets <span class="code">Options</span> does now print out
            warnings.</p>
            <p>The internal error handling has been improved. For
            example <span class="code">{error,Reason}</span> is always returned in case
            of errors even when the server dies.</p>
            <p><span class="code">app</span> and <span class="code">appup</span> files has been added as
            well as a corresponding test suite.</p>
            <p>Various cleanups has been made in the code and in the
            documentation.</p>
          <p>
            Own Id: OTP-8590</p>
        </li>
      </ul>
    

  

    <h3><a name="id62008">1.8 
        Reltool 0.5.3</a></h3>

        <h4>Improvements and New Features</h4>
          <ul>
            <li>
              <p>
                Removed spurious documentation files.</p>
              <p>
                Own Id: OTP-8057</p>
            </li>
          </ul>
        

    

    <h3><a name="id62038">1.9 
        Reltool 0.5.2</a></h3>

        <h4>Improvements and New Features</h4>
          <ul>
            <li>
              <p>
                The documentation is now built with open source tools
                (xsltproc and fop) that exists on most platforms. One
                visible change is that the HTML frames are removed.</p>
              <p>
                Own Id: OTP-8254</p>
            </li>
          </ul>
        

    

    <h3><a name="id62069">1.10 
        Reltool 0.5.1</a></h3>

	<h4>Fixed Bugs and Malfunctions</h4>
          <ul>
            <li>
              <p>
                In the new release of Reltool (0.5) there is a severe bug
                that may cause your source files to be deleted. The bug
                is triggered when you generate a target system WITH
                archive files AND your library directories are given with
                absolute paths. (Library directories are given with the
                ERL_LIBS environment variable or with the lib_dirs
                configuration parameter.)</p>
              <p>
                Own Id: OTP-8199</p>
            </li>
          </ul>
        

    

    <h3><a name="id62102">1.11 
        Reltool 0.5</a></h3>

        <h4>Improvements and New Features</h4>
          <ul>
            <li>
              <p>
                The tool is still experimental. Feedback is appreciated. </p>
              <p>
                Major improvements of the target system generation has
                been performed. Now it is possible to generate a
                relocatable target system that does not need to be
                re-installed if it is moved to a new location. Archive
                files are automatically generated. A detailed
                specification of the target system can be generated
                without actually creating the target system. Relocatable
                escripts are put in the bin directory of the target
                system. etc. etc.</p>
              <p>
                Some new functions has been introduced in the
                <span class="code">reltool</span> module: <span class="code">start/1, start_link/1,
                get_config/3, get_target_spec/1 and
                eval_target_spec/3</span>.</p>
              <p>
                Some new configuration parameters has been introduced:
                <span class="code">profile, incl_sys_filters, excl_sys_filters,
                incl_app_filters, excl_app_filters, incl_archive_filters,
                excl_archive_filters, archive_opts, escript and
                relocatable</span>.</p>
              <p>
                Some parameters have been obsoleted and given new
                semantics: <span class="code">incl_erts_dirs (incl_sys_filters),
                excl_erts_dirs (excl_sys_filters), incl_app_dirs
                (incl_app_filters), excl_app_dirs (excl_app_filters) and
                escripts (escript).</span></p>
              <p>
                *** POTENTIAL INCOMPATIBILITY ***</p>
              <p>
                Own Id: OTP-7949</p>
            </li>
          </ul>
        

     <h4>Known Bugs and Problems</h4>
      
      <ul>
        <li>
          <p>
            The application is experimental. Feedback is appreciated.</p>
        </li>
      </ul>
    

    

    <h3><a name="id62198">1.12 
        Reltool 0.2.2</a></h3>
      
      
      <h4>Fixed Bugs and Malfunctions</h4>
	
	<ul>
	  <li>
	    <p>
	      The tool crashed when rel, script and boot files were
	    generated via the GUI. This has been fixed.</p>
	    <p>
	    Own Id: OTP-7999</p>
	  </li>
	</ul>
      
      
    

  <h3><a name="id63041">1.13 
        Reltool 0.2.1</a></h3>
    

    <h4>Improvements and New Features</h4>
      

      <ul>
	<li>
	  <p>
	  Minor GUI fixes</p>
	  <p>
	  Own Id: OTP-7840</p>
	</li>
      </ul>
    
  
  
  
  <h3><a name="id63073">1.14 
        Reltool 0.2</a></h3>
    
    <h4>Improvements and new features</h4>
      
      <p>This is the first (experimental) release of Reltool.</p>
    

    <h4>Known Bugs and Problems</h4>
      
      <ul>
        <li>
          <p>
            The application is experimental.</p>
        </li>
      </ul>
    
  
</div>
<div class="footer">
<hr>
<p>Copyright © 2009-2012 Ericsson AB, All Rights Reserved</p>
</div>
</div>
</div></body>
</html>