litesoft
Diff Revisions
361
vs
362
for /trunk/Java/ScarPlus/src/com/esotericsoftware/scar/ProjectParameters.java
|
@@ -46,7 +46,9 @@ |
46 |
46 |
|
|
47 |
47 |
|
public static final Parameter APPDIR = def( "appdir", Form.STRING, "Directory path to bring together all files (both JARs and 'dist', for this project " + "and all dependencies, recursively) the application needs to be run from JAR files." ); |
48 |
48 |
|
|
49 |
|
- |
public static final Parameter ONEJAR = def( "onejar", Form.STRING, "JAR name w/ optional path for the JAR ('.jar' added to the end if does not end with 'jar', case insensitive), that all 'exploded' dependendend JARs and dist files will be JAR into (this should make a single JAR application." ); |
|
49 |
+ |
public static final Parameter ONEJAR = def( "onejar", Form.STRING, "JAR name w/ optional path for the JAR ('.jar' added to the end if does not end with 'jar', case insensitive), that all 'exploded' dependendend JARs and dist files will be JAR'd into (this should make a single JAR application)." ); |
|
50 |
+ |
|
|
51 |
+ |
public static final Parameter WAR = def( "war", Form.STRING, "Target WAR directory or WAR name (if ends w/ '.war'), produces a war directory (as specified, or a default one if a '.war' is requested) then if a '.war' is requested, packages the war directory into the specified '.war' file." ); |
50 |
52 |
|
|
51 |
53 |
|
// ------------------------------------------------ GWT Parameters ------------------------------------------------- |
52 |
54 |
|
|
|
@@ -266,6 +268,21 @@ |
266 |
268 |
|
return getPath( APPDIR.getName() ); |
267 |
269 |
|
} |
268 |
270 |
|
|
|
271 |
+ |
public String getWar() |
|
272 |
+ |
{ |
|
273 |
+ |
return get( WAR.getName() ); |
|
274 |
+ |
} |
|
275 |
+ |
|
|
276 |
+ |
public String getWarPath() |
|
277 |
+ |
{ |
|
278 |
+ |
return getPath( WAR.getName() ); |
|
279 |
+ |
} |
|
280 |
+ |
|
|
281 |
+ |
public File getWarPathFile() |
|
282 |
+ |
{ |
|
283 |
+ |
return new File( getWarPath() ); |
|
284 |
+ |
} |
|
285 |
+ |
|
269 |
286 |
|
public String getGWT() |
270 |
287 |
|
{ |
271 |
288 |
|
return get( GWT.getName() ); |