Line | |
---|
1 | //START of the "main" part of the script. |
---|
2 | //This is the entry point for this script file. |
---|
3 | load("jslib/logger.js"); |
---|
4 | load("jslib/fileUtil.js"); |
---|
5 | load("jslib/buildUtil.js"); |
---|
6 | |
---|
7 | var profileFile = arguments[0]; |
---|
8 | var lineSeparator = java.lang.System.getProperty("line.separator"); |
---|
9 | |
---|
10 | var result = buildUtil.loadDependencyList(buildUtil.evalProfile(profileFile)); |
---|
11 | |
---|
12 | var buildText = "Files included in this profile:" + lineSeparator; |
---|
13 | for(var i = 0; i < result.length; i++){ |
---|
14 | buildText += lineSeparator + result[i].layerName + ":" + lineSeparator; |
---|
15 | buildText += result[i].depList.join(lineSeparator) + lineSeparator; |
---|
16 | } |
---|
17 | |
---|
18 | print(buildText); |
---|
Note: See
TracBrowser
for help on using the repository browser.