Changeset 530 for CMT


Ignore:
Timestamp:
Nov 28, 2009, 10:39:25 PM (15 years ago)
Author:
rybkin
Message:

See C.L. 417

Location:
CMT/HEAD
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r529 r530  
     12009-11-28    <rybkin@lal.in2p3.fr> 417
     2
     3        * source/cmt_error.h: Introduce error wrong_symbol_type
     4        * source/cmt_error.cxx: idem, improve error messages
     5        * source/cmt_parser.cxx: In functions Cmt::do_show_action,
     6        Cmt::do_show_macro, replace warnings with the introduced error
     7        * source/cmt_symbol.cxx: In function Symbol::action, resolve relative
     8        script path without using PACKAGEROOT environment variable in case of
     9        standalone package (as the variable is not set for it)
     10       
    1112009-11-27    <rybkin@lal.in2p3.fr> 416
    212
  • CMT/HEAD/source/cmt_error.cxx

    r528 r530  
    2525    error_names.add() = "language not found";
    2626    error_names.add() = "syntax error";
    27     error_names.add() = "command_not_implemented";
    28     error_names.add() = "package_not_found";
    29     error_names.add() = "path_not_found";
    30     error_names.add() = "version_conflict";
    31     error_names.add() = "file_access_error";
    32     error_names.add() = "configuration_error";
    33     error_names.add() = "execution_error";
    34     error_names.add() = "cannot_lock";
     27    error_names.add() = "command not implemented";
     28    error_names.add() = "package not found";
     29    error_names.add() = "path not found";
     30    error_names.add() = "version conflict";
     31    error_names.add() = "file access error";
     32    error_names.add() = "configuration error";
     33    error_names.add() = "execution error";
     34    error_names.add() = "cannot lock";
    3535    error_names.add() = "cannot_write_lock";
    3636    error_names.add() = "cannot_run_lock_command";
     
    3939    error_names.add() = "cannot_remove_lock";
    4040    error_names.add() = "conflicting_lock";
    41     error_names.add() = "unknown_command";
    42     error_names.add() = "project_release_conflict";
    43     error_names.add() = "execution_failed";
     41    error_names.add() = "unknown command";
     42    error_names.add() = "wrong symbol type";
     43    error_names.add() = "project release conflict";
     44    error_names.add() = "execution failed";
    4445    m_execution_error = 0;
    4546  }
  • CMT/HEAD/source/cmt_error.h

    r528 r530  
    4141    conflicting_lock,
    4242    unknown_command,   
     43    wrong_symbol_type,   
    4344    project_release_conflict,
    4445    execution_failed
  • CMT/HEAD/source/cmt_parser.cxx

    r529 r530  
    37683768                }
    37693769
    3770               CmtError::set (CmtError::warning, t);
     3770              CmtError::set (CmtError::wrong_symbol_type, t);
    37713771            }
    37723772        }
     
    40784078                }
    40794079
    4080               CmtError::set (CmtError::warning, t);
     4080              CmtError::set (CmtError::wrong_symbol_type, t);
    40814081            }
    40824082        }
     
    40914091              t += "macro";
    40924092
    4093               CmtError::set (CmtError::warning, t);
     4093              CmtError::set (CmtError::wrong_symbol_type, t);
    40944094            }
    40954095        }
  • CMT/HEAD/source/cmt_symbol.cxx

    r529 r530  
    972972          else
    973973            {
    974               if (use->get_strategy ("SetupRoot"))
     974              if (use->get_strategy ("SetupRoot") &&
     975                  use->get_package_name () != "cmt_standalone")
    975976                {
    976977#ifdef WIN32
Note: See TracChangeset for help on using the changeset viewer.