|
|
@@ -579,9 +579,10 @@ public class WeblogicDeploymentTool extends GenericDeploymentTool { |
|
|
|
javaTask.createArg().setValue("-keepgenerated"); |
|
|
|
} |
|
|
|
if (compiler == null) { |
|
|
|
// try to use the compiler specified by build.compiler. Right now we are just going |
|
|
|
// to allow Jikes |
|
|
|
String buildCompiler = getTask().getProject().getProperty("build.compiler"); |
|
|
|
// try to use the compiler specified by build.compiler. |
|
|
|
// Right now we are just going to allow Jikes |
|
|
|
String buildCompiler |
|
|
|
= getTask().getProject().getProperty("build.compiler"); |
|
|
|
|
|
|
|
if (buildCompiler != null && buildCompiler.equals("jikes")) { |
|
|
|
javaTask.createArg().setValue("-compiler"); |
|
|
@@ -627,7 +628,8 @@ public class WeblogicDeploymentTool extends GenericDeploymentTool { |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
// Have to catch this because of the semantics of calling main() |
|
|
|
String msg = "Exception while calling " + ejbcClassName + ". Details: " + e.toString(); |
|
|
|
String msg = "Exception while calling " + ejbcClassName |
|
|
|
+ ". Details: " + e.toString(); |
|
|
|
|
|
|
|
throw new BuildException(msg, e); |
|
|
|
} |
|
|
|