JBuilder

JBuilder Integration

RSM can be am integrated external tool within JBuilder. The following example illustrates a how to and example tools setups.

Example Tool Setups

When using Eclipse macros for files and directories, alway be sure they are enclosed in quotation marks compliant with the RSM syntax show. This will insure that files and directories with spaces will be processed correctly.

Hint: You can cut and paste directly from these table into the tool setup.

RSM Syntax
Title: RSM - Program Syntax
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -hs
Service: Yes
Notes: none

Project LOC Metrics
Title: RSM - Project LOC Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -r"cpp,h ($ProjectDir) "
Service: Yes
Notes: This is the default behaior from RSM

File LOC Metrics
Title: RSM - File LOC Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: "($FilePath)"
Service: Yes
Notes: none

Project Quality Metrics
Title: RSM - Interactive Project Quality Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -n -r"cpp,h ($ProjectDir) "
Service: Yes
Notes:  

File Quality Metrics
Title: RSM - Interactive File Quality Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -n "($FilePath)"
Service: Yes
Notes:  

Baseline Work File for Project
Title: RSM - Baseline Work File
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -wd -w"create ($ProjectDir) " -w"File dat ($ProjectDir)\baseline.dat" -r"cpp,h ($ProjectDir) "
Service: Yes
Notes: Run this tool when you want to set the baseline work file for performing a metrics differential between the baseline and recent work files.

Recent Work File for Project
Title: RSM - Recent Work File
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -wd -w"create ($ProjectDir) " -w"File dat ($ProjectDir)\recent.dat" -r"cpp,h ($ProjectDir) "
Service: Yes
Notes: Run this tool when you want to set the recent work file for performing a metrics differential between the baseline and recent work files.

Metrics Differentials for Project
Title: RSM - Metrics Differentials
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -wd -w"x ($ProjectDir)\baseline.dat, ($ProjectDir)\recent.dat"
Service:
Yes
Notes: This report is between the baseline.dat and recent.dat work files previously created using the respective custom tools.

Verbose Project Metrics
Title: RSM - Project Verbose Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -v -r"cpp,h ($ProjectDir)"
Service:
Yes
Notes: none

Verbose File Metrics
Title: RSM - Verbose File Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -v "($FilePath)"
Service:
Yes
Notes: none

Object Project Metrics
Title: RSM - Object Project Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -o -i -r"cpp,h ($ProjectDir) "
Service:
Yes
Notes: none

Object File Metrics
Title: RSM - Object File Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -o -i "($FilePath)"
Service:
Yes
Notes: none

Functional Project Metrics
Title: RSM - Functional Project Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -fa -fp -r "cpp,h ($ProjectDir) "
Service:
Yes
Notes: none

Functional File Metrics
Title: RSM - Functional File Metrics
Program: c:\Program Files\MSquared\M2 RSM\rsm.exe
Parameters: -fa -fp "($FilePath)"
Service:
Yes
Notes: none