Patch 200603291-0 - Apex 4.0.0b for any UNIX O/S ----------------------------------------------------------- To install this patch, download these 3 files and run the install script: install_200603291_0 any.patch.200603291-0.inventory any.patch.200603291-0.tar.Z Description NOTE: This is a Share series patch, common for all architectures. This patch supersedes all previous Share (series or not) patches. This patch contains changes to address the following defects: Defect RATLC00144273 Request to change speed factor for Apex A scaled time feature has been added to the Apex threaded runtimes. This feature is available through the package Ada.Real_Time.Scaled_Time in the views of real_time_systems.ss. This patch has the associated script changes. Defect RATLC00386342 update apex_versions to list all unique patches The apex_versions script has been enhanced to provide more complete information. Refert to the results of apex_versions -help for a list of new options/functionality. This patch also contains the following previously patched changes: Defect PEBU00008673 apex_upgrade The apex_upgrade.ash script occasionally failed to upgrade the list of imported views (instead dropping one or more of the imported subsystems). Defect PEBU00008665 apex_upgrade The apex_upgrade.ash script failed to remove old value of RUNTIMES switch from Policy/Switches when adding new one. Defect PEBU00008615 apex_upgrade The apex upgrade utility broght the COVERAGE Policy/Switches entry forward into later products even though the switch was not used by Testmate for post-3.2.0 versions of Apex. The patch causes apex_upgrade to remove the COVERAGE switch. Defect PEBU00008531 Added Policy/Customization.mk to list of files to check_out Defect PEBU00008518 The apex_upgrade script now correctly allows users to upgrade AIX 3.2.0 views to 4.0.0 and beyond, even though the $APEX_ARCH is different. Defect PEBU00008497 The -restore option now correctly reverts compiler_key values to their original. Defect PEBU00008326 The apexinit script has been updated to use XMICONSEARCHPATH and XMICONBMSEARCHPATH variables to specify the location of icons. Defect PEBU00008322 Correct an error where debugging was not properly handling the -L option used to indicate the view context of the program under debug. Defect PEBU00008319 Corrected case where apex_upgrade.ash script would get an error if the language variable is not set (for subsystem the language is not set). Defect PEBU00008277 On HP 11.00 platforms with the most recent HP-UX 11.00 patch set - (march 2002) applied, applications compiled with the threaded models would fail during execution. The patch brought to light an issue with link time library selection, which has been corrected. Defect PEBU00008227 apex_upgrade's customization functions (used to make complex upgrades to Policy/Switches entries) are no longer version-specific. Defect PEBU00008167 Handle winkin for c/c++ as well as ada views. Defect PEBU00008074 Improvements to the Usage/Unused dialog windows and operation Defect PEBU00008013 Performed cleanup of enable/disable dialogs Defect PEBU00008011 Added Policy/Code_Rules.sw to list of files to check_out Defect PEBU00003709 Add check-out/in options to Add/Remove Exclusion dialogs Defect PEBU00008028 apex_upgrade modified views even when the -effort_only option was specified. Defect PEBU00008027 apex_upgrade did not correctly process # comments in Policy/Switches files. Defect PEBU00008022 If the File > Debug dialog was invoked from a directory viewer in which the directory name was highlighted, the dialog would not function properly. Defect PEBU00007994 apex_upgrade was incorrectly replacing vads_compatibility.ss imports with vads_compatibility_static.ss imports. Defect PEBU00007973 Cleaned up a misleading error message. Defect PEBU00007965 Undefined variable error from apex_upgrade.ash apex_upgrade did not properly report usage errors when invoked from the command line. Instead, it failed with the error "action: undefined variable". Defect PEBU00007959 Apex upgrade sometimes produced the following error message: "failed to exec the child process m.mutual_imports" Defect PEBU00007778/PEBU00007765 Apex Upgrade failed to correctly upgrade mutually imported views. Also, the dialog and underlying script disagreed on the spelling of the -no_clean option. Defect PEBU00007773 Link dialog keep_load_map overrides $APEX_KEEP_LOAD_MAP Updated the compileLink dialog to take into account the value of environment variable APEX_KEEP_LOAD_MAP when set. Defect PEBU00007703 apex_ada_link_phase discards ld -verbose stdout/stderr The script has been modified so that ld warnings can be captured. Messages are placed in a file with the suffix ".ldout". To get this info the option "-keep_load_map always" should be specified. Additionally, if the APEX_RLD_DEBUG environment variable is set the script will generate a .com file for the Ada+C++ combination. Previously this was only implemented for Ada. Defect PEBU00007667 model information not shown when selecting source model for new->new bsp Model Selector did not initialize the "Information on selected model" field when the Available Models list contained a single item. Defect PEBU00007652 tools->convert gives wrong option when converting to vox Defect PEBU00007440 - No error message for the -lpinit option For The -lpinit option if a bad argument was given there was no error message produced. Defect PEBU00006877 - Apex consuming license if DISPLAY isn't set correctly If Apex was started with the Display incorrectly set a license was consumed even though a session was not started. Defect PEBU00006735 Help->Print Manuals gives incomplete set Defect PEBU00007488 Apex Upgrade did not process testmate-related models and views correctly. Defect PEBU00007635 apex_BOM fails on solaris8 The scripts were referencing routines that may not be available on all installations. Defect PEBU00007666 Help->Support Report does not exist Updated GUI menus to make Support Report option available from the help menus. Defect PEBU00007465 Linking with link.map "on error" option always generates link map When linking Embedded programs, the map file was left in place even if the user requested that it be saved "never", or only "on error". Defect PEBU00007521 Shift-click on File:Run does not use the default Context If not in a directory server window, using Shift-click on File:Run was not running the program under the correct context. Defect PEBU00007571 Tools:Profiling initial Data File not always correct The Tools:Profiling dialog sometimes failed to locate a generated mon.out file if it was in a subdirectory of a view. Defect PEBU00007573 das not found if show -> disassembly on .o file Compile > Show > Disassembly: now allows a user to specify a *.o file from a C/C++ view as the file to be disassembled. Defect PEBU00007582 Script apex_profile getting Subscript out of range message on Native platforms. A test specific to embedded platforms was causing the script to fail with Subscript out of range for the native platforms. Defect PEBU00007590 apex upgrade does not guarantee views are processed in correct order The apex_upgrade script has been updated to properly order the views being processed. Defect PEBU00007617 Math libraries are not automatically loaded Linking now includes the standard math libraries for LynxOS, which are required for the relaxed models. This change only affects Apex Embedded for LynxOS. Defect PEBU00007627 Compile:Maintenance:Enable C++ Linking dialog failure Compile > Maintain > Enable C++ Linking / Disable C++ Linking did not work when invoked in a ClearCase view. Defect PEBU00006706 Link Map generation The link dialog now specifically offers the option of generating a map file. Defect PEBU00007161 When linking an executable for Apex Embedded for LynxOS, the map file is not generated unless it is specifically requested. This change speeds up links for this target" Defect PEBU00007160 Fix for a problem that was causing debugging LynxOS programs via NFS to not work. Defect PEBU00007448 Using File:Debug for both native and embedded applications resulted in embedded specific options being included in the native debug command line. Migration tools needed to migrate existing subsystems and views controlled under CMVC to Rational Subsystems controlled under ClearCase VOB's. Please refer to the section on Migration in the Getting Started guide for further details. NOTE: Updated docs with the section on Migration are contained in Patch 200102222-0. Tools:Trace now sends error messages to message window instead of to the log file Fix to allow Apex Embedded users to download a kernel without having to download an application program as well. Fix to allow Apex Embedded users to specify a debugger session other than the default. A change to the Add Import dialog to better handle wild cards. Fix for defect PEBU00007296 Rose menu items for ada_menu gives startup errors in Apex Fix for defect PEBU00007422 Fix for problems with apex_upgrade. The -use_model_map option was incorrectly re-creating the model map file. Changes to Policy/Switches file were not being properly reported. Warning messages that were applicable to the -create_model_map option were being displayed even if that option was not being used. Corrections to Model Navigation dialogs display of VxWorks models. Corrections to apex_profile script for Apex Embedded. Correction to apexinit script to handle a setting of "unlimited" for the environment variable stacksize when checking the limit on Solaris. Modifications to the apex_ada_link_phase script for Embedded. Conversion of relocatable objects generated for Apex Embedded Tornado to their omf formats takes place in the link phase itself with this patch. The Apex runtime for LynxOS 3.1.0 has been ported to POSIX.1c removing the need for the option posix-pre1c when linking Lynx Objects. Enhancements to the rreport script to include conditional collection of information. An updated Apex upgrade dialog and script which addresses Defect PEBU00007307 and Defect PEBU00007325.