Page tree
Skip to end of metadata
Go to start of metadata
Purpose

The Run Reference Pattern is a task in CAST Management studio that is configured in the Dependencies after having define a Reference Pattern as shown below

  1. Configure the reference pattern

 

       2.  Configure the dependencies by adding the reference finder

Select the log lines that you are interested in from the list below


 

CAST-MS<id>.log.txt

The task Run Reference Pattern is defined in the CAST MS log file. This task contains 5 sub tasks :

1/ Create Source set

2/ Create Target set

3/ Run Reference Finder

4/ Delete Source set

5/ Delete Target set

 

INF: 2016-08-31 10:30:13: starting Task Run reference pattern 'Reference Pattern Log Exercice'


1.First Step : We create the source set


INF: 2016-08-31 10:30:13: starting Task Create source set for Reference Pattern Log Exercice
INF: 2016-08-31 10:30:13: Task message: Number of objects selected : 175
INF: 2016-08-31 10:30:13: No associated log file
INF: 2016-08-31 10:30:13: ending Task Create source set for Reference Pattern Log Exercice

2. Second Step : We create the target set


INF: 2016-08-31 10:30:13: starting Task Create target set for Reference Pattern Log Exercice
INF: 2016-08-31 10:30:13: Task message: Number of objects selected : 41
INF: 2016-08-31 10:30:13: No associated log file
INF: 2016-08-31 10:30:13: ending Task Create target set for Reference Pattern Log Exercice

3.Third Step : The reference Finder is executed


INF: 2016-08-31 10:30:13: starting Task Run Reference Finder Analyzers "RP_Reference Pattern Log Exercice_17571"

Here is the command line to run the Reference Finder


INF: 2016-08-31 10:30:13: <CAST INSTALLATION FOLDER>/anarun.exe -CONNECT_PROFILE('CSS_Server:2280 on CastStorageService.Local_DB') -RUN_RP(183351,185701,'<LISA>\3e931e5ae59f400abab716a927fefe8a\Scr17571\JobSettings.xml') -MANAGED(183351) -SESSION_ID(185701) -LOG('<LOG FOLDER>\3e931e5ae59f400abab716a927fefe8a\RP_Reference Pattern Log Exercice_17571-20160831103013.castlog',TRUNCATE) -LARGESTORAGE('C:\CASTMS\LargeStorage','C:\CASTMS\LargeStorage','3e931e5ae59f400abab716a927fefe8a/Scr17571') -LOGIN(,CASTCORP\SBO,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2016-08-31 10:30:16: About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_Reference Pattern Log Exercice_17571'.
INF: 2016-08-31 10:30:24: Execution date=2016/08/31 08:30
INF: 2016-08-31 10:30:24: Execution duration=0 days, 00 hours, 00 mins, 08 secs
INF: 2016-08-31 10:30:24: Execution result=success
INF: 2016-08-31 10:30:25: Loading ini file: %TEMP%\CAST\CAST\8.0\AMRunResult185701.INI
INF: 2016-08-31 10:30:25: Loading ini file: %TEMP%\CAST\CAST\8.0\AMRunResult185701.INI
INF: 2016-08-31 10:30:25: Task message: No Task message

Here is the Reference Finder Log file


INF: 2016-08-31 10:30:25: Log file: <LOG FOLDER>\3e931e5ae59f400abab716a927fefe8a\RP_Reference Pattern Log Exercice_17571-20160831103013.castlog
INF: 2016-08-31 10:30:25: ending Task Run Reference Finder Analyzers "RP_Reference Pattern Log Exercice_17571"


4. Fourth Step : We delete the source set


INF: 2016-08-31 10:30:25: starting Task Delete source set for Reference Pattern Log Exercice
INF: 2016-08-31 10:30:25: Task message: No Task message
INF: 2016-08-31 10:30:25: No associated log file
INF: 2016-08-31 10:30:25: ending Task Delete source set for Reference Pattern Log Exercice


5. Fifth step : We delete the target set


INF: 2016-08-31 10:30:25: starting Task Delete target set for Reference Pattern Log Exercice
INF: 2016-08-31 10:30:25: Task message: No Task message
INF: 2016-08-31 10:30:25: No associated log file
INF: 2016-08-31 10:30:25: ending Task Delete target set for Reference Pattern Log Exercice
INF: 2016-08-31 10:30:25: Task message: No Task message
INF: 2016-08-31 10:30:25: No associated log file
INF: 2016-08-31 10:30:25: ending Task Run reference pattern 'Reference Pattern Log Exercice'

RP Log

RP_Reference Pattern <Reference Pattern Name>_<ID>-<DateTime>.castlog

Configuration

2016-08-31 10:44:13.439 Information INTERNAL ; Body 64-bit environment
2016-08-31 10:44:13.440 Information INTERNAL ; Body LISA folder: <LISA FOLDER>
2016-08-31 10:44:13.440 Information INTERNAL ; Body LTSA folder: <LTSA FOLDER>
2016-08-31 10:44:13.440 Information INTERNAL ; Body LSA relative folder: 3e931e5ae59f400abab716a927fefe8a/Scr17571
2016-08-31 10:44:14.493 Information INTERNAL ; Body Using Knowledge Base on schema cb802_sbo_local.
2016-08-31 10:44:14.843 Information MODULMSG ; Body Loading meta model from repository . . .
2016-08-31 10:44:15.894 Information MODULMSG ; Body Meta model loaded.
2016-08-31 10:44:15.894 Information INTERNAL ; Body RunAnalysis started


Reference Pattern configuration

2016-08-31 10:44:15.894 Information INTERNAL ; Body Reference Pattern
2016-08-31 10:44:15.894 Information INTERNAL ; Body Do not create links beween differents files : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body Match Case : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body Match whole word only : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body Match case : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body Code : 1
2016-08-31 10:44:15.894 Information INTERNAL ; Body Comments : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body String Literals : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body Enable replacement : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body Replacement regular expression :
2016-08-31 10:44:15.894 Information INTERNAL ; Body Selected Languages
2016-08-31 10:44:15.894 Information INTERNAL ; Body Regular expression (Boost)
2016-08-31 10:44:15.894 Information INTERNAL ; Body Expression : [a-zA-Z_]+
2016-08-31 10:44:15.894 Information INTERNAL ; Body Languages Filter : Don't filter on languages
2016-08-31 10:44:15.894 Information INTERNAL ; Body Link Type : Match
2016-08-31 10:44:15.894 Information INTERNAL ; Body Name Matching : Whole
2016-08-31 10:44:15.894 Information INTERNAL ; Body Match : Object Name

 

Source Configuration

The source is a J2EE analysis unit -- This part is the J2EE Analysis Unit Configuration.

2016-08-31 10:44:15.894 Information INTERNAL ; Body Source
2016-08-31 10:44:15.894 Information INTERNAL ; Body Web Application Descriptor : <Deployment Folder>\J2EE Refined Target\My Package\Business2\WEB-INF\web.xml
2016-08-31 10:44:15.894 Information INTERNAL ; Body Application Root Path : <Deployment Folder>\J2EE Refined Target\My Package\Business2
2016-08-31 10:44:15.894 Information INTERNAL ; Body Client File Extensions : *.html;*.htm;*.htc;*.js;*.vbs
2016-08-31 10:44:15.894 Information INTERNAL ; Body Use Also Application Root Path for Web Client Files : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body Analysis Unit description :
2016-08-31 10:44:15.894 Information INTERNAL ; Body Java File Extensions : *.java;*.sqlj
2016-08-31 10:44:15.894 Information INTERNAL ; Body Web Server File Extensions : *.jsp
2016-08-31 10:44:15.894 Information INTERNAL ; Body Name : BusinessHelloWorld
2016-08-31 10:44:15.894 Information INTERNAL ; Body Project Path : <Deployment Folder>\J2EE Refined Target\My Package\Business2\.project
2016-08-31 10:44:15.894 Information INTERNAL ; Body Use Also Application Root Path for Property Files : 1
2016-08-31 10:44:15.894 Information INTERNAL ; Body Use Also Application Root Path for Web Server Files : 0
2016-08-31 10:44:15.894 Information INTERNAL ; Body XML File Extensions : *.xml
2016-08-31 10:44:15.895 Information INTERNAL ; Body Use Also Application Root Path for XML Files : 0
2016-08-31 10:44:15.895 Information INTERNAL ; Body Class Paths
2016-08-31 10:44:15.895 Information INTERNAL ; Body Web Client Files
2016-08-31 10:44:15.895 Information INTERNAL ; Body File Path : <Deployment Folder>\J2EE Refined Target\My Package\Business2
2016-08-31 10:44:15.895 Information INTERNAL ; Body Permission : Include
2016-08-31 10:44:15.895 Information INTERNAL ; Body Custom J2EE Environment profiles
2016-08-31 10:44:15.895 Information INTERNAL ; Body Custom EJB 2 Environment profile
2016-08-31 10:44:15.895 Information INTERNAL ; Body Custom Web Service Environment profile
2016-08-31 10:44:15.895 Information INTERNAL ; Body Java Files
2016-08-31 10:44:15.895 Information INTERNAL ; Body File Path : <Deployment Folder>\J2EE Refined Target\My Package\Business2\src
2016-08-31 10:44:15.895 Information INTERNAL ; Body Permission : Include
2016-08-31 10:44:15.895 Information INTERNAL ; Body Property Files
2016-08-31 10:44:15.895 Information INTERNAL ; Body Web Server Files
2016-08-31 10:44:15.895 Information INTERNAL ; Body File Path : <Deployment Folder>\J2EE Refined Target\My Package\Business2
2016-08-31 10:44:15.895 Information INTERNAL ; Body Permission : Include
2016-08-31 10:44:15.895 Information INTERNAL ; Body Text Replacement
2016-08-31 10:44:15.895 Information INTERNAL ; Body XML Files
2016-08-31 10:44:15.895 Information INTERNAL ; Body File Path : <Deployment Folder>\J2EE Refined Target\My Package\Business2\WEB-INF\.content.xml
2016-08-31 10:44:15.895 Information INTERNAL ; Body Permission : Include
2016-08-31 10:44:15.895 Information INTERNAL ; Body File Path : <Deployment Folder>\J2EE Refined Target\My Package\Business2\WEB-INF\ipredirection\.content.xml
2016-08-31 10:44:15.895 Information INTERNAL ; Body Permission : Include
2016-08-31 10:44:15.895 Information INTERNAL ; Body CICS ECI/CTG Used? : Yes
2016-08-31 10:44:15.895 Information INTERNAL ; Body Is Common-logging Used? : Yes
2016-08-31 10:44:15.895 Information INTERNAL ; Body Default Client Scripting Language : JavaScript
2016-08-31 10:44:15.895 Information INTERNAL ; Body Is Dom4J Used? : Yes
2016-08-31 10:44:15.895 Information INTERNAL ; Body EJB Version : Not Used
2016-08-31 10:44:15.895 Information INTERNAL ; Body Hibernate Version : Not Used
2016-08-31 10:44:15.895 Information INTERNAL ; Body Is JUnit Used? : Yes
2016-08-31 10:44:15.895 Information INTERNAL ; Body Java Version : JDK 6.0
2016-08-31 10:44:15.895 Information INTERNAL ; Body Exclude standard JavaScript libraries? : Yes
2016-08-31 10:44:15.895 Information INTERNAL ; Body JSF Version : Not Used
2016-08-31 10:44:15.895 Information INTERNAL ; Body Is Log4J Used? : Yes
2016-08-31 10:44:15.895 Information INTERNAL ; Body Is MX4J Used? : Yes
2016-08-31 10:44:15.895 Information INTERNAL ; Body JSP/Servlet standard version : Servlet 2.4/JSP 2.0
2016-08-31 10:44:15.895 Information INTERNAL ; Body Spring Version : Not Used
2016-08-31 10:44:15.895 Information INTERNAL ; Body Struts Version : Not Used
2016-08-31 10:44:15.895 Information INTERNAL ; Body WBS Version : Not Used
2016-08-31 10:44:15.895 Information INTERNAL ; Body Target
2016-08-31 10:44:15.895 Information INTERNAL ; Body SESSION CONTEXT details:
183351 ; 185701 = "J2EE Refined Target"."RP_Reference Pattern Log Exercice_17571"

 

The Reference Finder is running

2016-08-31 10:44:15.895 1 ; Job execution
2016-08-31 10:44:15.895 Information INTERNAL ; Job execution About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_Reference Pattern Log Exercice_17571'.
2016-08-31 10:44:16.245 Information MODULMSG ; Job execution Total physical memory: 8080 MB.
2016-08-31 10:44:18.002 MODULMSG ; Job execution Comparing objects on server . . .
2016-08-31 10:44:21.512 MODULMSG ; Job execution Comparison completed.
2016-08-31 10:44:21.512 MODULMSG ; Job execution Merging objects on server . . .
2016-08-31 10:44:25.018 MODULMSG ; Job execution Merge completed.
2016-08-31 10:44:26.072 Information INTERNAL ; Job execution New Job status
2016-08-31 10:44:26.072 Information INTERNAL ; Job execution Execution date=2016/08/31 08:44
2016-08-31 10:44:26.072 Information INTERNAL ; Job execution Execution duration=0 days, 00 hours, 00 mins, 10 secs
2016-08-31 10:44:26.072 Information INTERNAL ; Job execution Execution result=success
2016-08-31 10:44:26.072 MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 1 warning(s); 6 information message(s). 0 0 anarun 0
0 ; 0 0
2016-08-31 10:44:26.072 1048575 ; Job execution
2016-08-31 10:44:26.141 Information INTERNAL ; Body Analysis completed

  • No labels