File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,12 @@ const NO_ERROR = 0;
25
25
const MIN_TLA_ERROR = 10 ; // Exit codes not related to tooling start from this number
26
26
const LOWEST_JAVA_VERSION = 8 ;
27
27
const DEFAULT_GC_OPTION = '-XX:+UseParallelGC' ;
28
+ const TLA_CMODS_LIB_NAME = 'CommunityModules-deps.jar' ;
28
29
const TLA_TOOLS_LIB_NAME = 'tla2tools.jar' ;
29
30
const TLA_TOOLS_LIB_NAME_END_UNIX = '/' + TLA_TOOLS_LIB_NAME ;
30
31
const TLA_TOOLS_LIB_NAME_END_WIN = '\\' + TLA_TOOLS_LIB_NAME ;
31
32
const toolsJarPath = path . resolve ( __dirname , '../tools/' + TLA_TOOLS_LIB_NAME ) ;
33
+ const cmodsJarPath = path . resolve ( __dirname , '../tools/' + TLA_CMODS_LIB_NAME ) ;
32
34
const javaCmd = 'java' + ( process . platform === 'win32' ? '.exe' : '' ) ;
33
35
const javaVersionChannel = new ToolOutputChannel ( 'TLA+ Java version' ) ;
34
36
const TLA_TOOLS_STANDARD_MODULES = '/tla2sany/StandardModules' ;
@@ -158,7 +160,8 @@ async function runTool(
158
160
159
161
export function moduleSearchPaths ( ) : string [ ] {
160
162
return [
161
- 'jar:file:' + toolsJarPath + '!' + TLA_TOOLS_STANDARD_MODULES
163
+ 'jar:file:' + toolsJarPath + '!' + TLA_TOOLS_STANDARD_MODULES ,
164
+ 'jar:file:' + cmodsJarPath + '!' + '/'
162
165
] ;
163
166
}
164
167
You can’t perform that action at this time.
0 commit comments