Browse Source

Minor edit

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274073 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
18094d3d58
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java

+ 6
- 4
src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java View File

@@ -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);
}


Loading…
Cancel
Save