note description: "[ Constant values specific to the Eiffel environment. ]" legal: "See notice at end of class." status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" class EIFFEL_CONSTANTS feature -- Variable names ise_eiffel_env: STRING = "ISE_EIFFEL" -- Installation location. ise_library_env: STRING = "ISE_LIBRARY" -- Location of the ISE Eiffel library folder. eiffel_library_env: STRING = "EIFFEL_LIBRARY" -- Location of the Eiffel library folder. -- note: it can be the same as ise_library_env ise_iron_path_env: STRING = "ISE_IRON_PATH" -- Location of the iron libraries installation iron_path_env: STRING = "IRON_PATH" -- Location of the iron libraries installation, if `ise_iron_path_env' is not defined. ise_precomp_env: STRING = "ISE_PRECOMP" -- Precompile location. ise_platform_env: STRING = "ISE_PLATFORM" -- Platform. ise_c_compiler_env: STRING = "ISE_C_COMPILER" -- C compiler (windows only) ise_c_compiler_ver_env: STRING = "ISE_C_COMPILER_VER" -- C compiler version (windows only) ise_projects_env: STRING = "ISE_PROJECTS" -- Project locations ise_user_files_env: STRING = "ISE_USER_FILES" -- User files location ise_app_data_env: STRING = "ISE_APP_DATA" -- User configuration files location ec_name_env: STRING = "EC_NAME" -- ec executable name. feature -- Variables names / Dotnet specific ise_dotnet_assemblies_path_env: STRING = "ISE_DOTNET_ASSEMBLIES_PATH" -- .Net Metadata assemblies cache location ise_emdc_env: STRING = "ISE_EMDC" -- Location of the .Net MetaData consumer "(n)emdc" executable feature -- File extensions config_extension: STRING = "ecf" -- Extension for configuration file without the dot. ace_extension: STRING = "ace" -- Extension for old format configuration file without the dot. dotted_config_extension: STRING = ".ecf" -- Extension for configuration file with the dot separator. feature -- Version major_version: NATURAL_16 = 24 -- Major release version. minor_version: NATURAL_16 = 03 -- Minor release version. two_digit_minimum_major_version: STRING -- Two-digit or more string representation of `major_version'. once Result := two_digit_minimum_string (major_version) ensure two_digits_or_more: Result.count >= 2 end two_digit_minimum_minor_version: STRING -- Two-digit or more string representation of `minor_version'. once Result := two_digit_minimum_string (minor_version) ensure two_digits_or_more: Result.count >= 2 end feature -- Helpers two_digit_minimum_string (v: INTEGER): STRING -- Two-digit or more string representation of `v'. do create Result.make (2) if v < 10 then Result.append_character ('0') end Result.append_integer (v) ensure two_digits_or_more: Result.count >= 2 end note copyright: "Copyright (c) 1984-2023, Eiffel Software" license: "GPL version 2 (see http://www.eiffel.com/licensing/gpl.txt)" licensing_options: "http://www.eiffel.com/licensing" copying: "[ This file is part of Eiffel Software's Eiffel Development Environment. Eiffel Software's Eiffel Development Environment is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License (available at the URL listed under "license" above). Eiffel Software's Eiffel Development Environment is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Eiffel Software's Eiffel Development Environment; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ]" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end