1 | String getAdditionalModulesParameter() {↵ | | 1 | String getTargetTypeParameter() {↵
|
2 | if (notEmpty(additionalModules)) {↵ | | 2 | if (notEmpty(targetType)) {↵
|
3 | return "/addmodule:" + additionalModules;↵ | | 3 | return "/target:" + targetType;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | return null;↵ | | 5 | return null;↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
|
| | | 8 | /**↵
|
| | | 9 | * Set the filename of icon to include.↵
|
| | | 10 | *↵
|
| | | 11 | *@param fileName path to the file. Can be relative, absolute, whatever.↵
|
| | | 12 | */↵
|
| | | 13 | public void setWin32Icon(File fileName) {↵
|
| | | 14 | win32icon = fileName;↵
|
| | | 15 | }↵
|
|
|
8 | /**↵ | | 16 | /**↵
|
9 | * get the argument or null for no argument needed↵ | | 17 | * get the argument or null for no argument needed↵
|
10 | *↵ | | 18 | *↵
|
11 | *@return The OutputFile Parameter to CSC↵ | | 19 | *@return The Win32Icon Parameter to CSC↵
|
12 | */↵ | | 20 | */↵
|
13 | protected String getDestFileParameter() {↵ | | 21 | protected String getWin32IconParameter() {↵
|
14 | if (outputFile != null) {↵ | | 22 | if (win32icon != null) {↵
|
15 | return "/out:" + outputFile.toString();↵ | | 23 | return "/win32icon:" + win32icon.toString();↵
|
16 | } else {↵ | | 24 | } else {↵
|
17 | return null;↵ | | 25 | return null;↵
|
18 | }↵ | | 26 | }↵
|
19 | | | 27 |
|