@@ -207,7 +207,7 @@ public class IPlanetEjbcTask extends Task {
"The standard EJB descriptor must be specified using the \"ejbdescriptor\" attribute.";
"The standard EJB descriptor must be specified using the \"ejbdescriptor\" attribute.";
throw new BuildException(msg, getLocation());
throw new BuildException(msg, getLocation());
}
}
if (( !ejbdescriptor.exists() ) || ( !ejbdescriptor.isFile() )) {
if (!ejbdescriptor.exists() || !ejbdescriptor.isFile()) {
String msg = "The standard EJB descriptor (" + ejbdescriptor
String msg = "The standard EJB descriptor (" + ejbdescriptor
+ ") was not found or isn't a file.";
+ ") was not found or isn't a file.";
throw new BuildException(msg, getLocation());
throw new BuildException(msg, getLocation());
@@ -218,7 +218,7 @@ public class IPlanetEjbcTask extends Task {
"The iAS-speific XML descriptor must be specified using the \"iasdescriptor\" attribute.";
"The iAS-speific XML descriptor must be specified using the \"iasdescriptor\" attribute.";
throw new BuildException(msg, getLocation());
throw new BuildException(msg, getLocation());
}
}
if (( !iasdescriptor.exists() ) || ( !iasdescriptor.isFile() )) {
if (!iasdescriptor.exists() || !iasdescriptor.isFile()) {
String msg = "The iAS-specific XML descriptor (" + iasdescriptor
String msg = "The iAS-specific XML descriptor (" + iasdescriptor
+ ") was not found or isn't a file.";
+ ") was not found or isn't a file.";
throw new BuildException(msg, getLocation());
throw new BuildException(msg, getLocation());
@@ -229,13 +229,13 @@ public class IPlanetEjbcTask extends Task {
"The destination directory must be specified using the \"dest\" attribute.";
"The destination directory must be specified using the \"dest\" attribute.";
throw new BuildException(msg, getLocation());
throw new BuildException(msg, getLocation());
}
}
if (( !dest.exists() ) || ( !dest.isDirectory() )) {
if (!dest.exists() || !dest.isDirectory()) {
String msg = "The destination directory (" + dest
String msg = "The destination directory (" + dest
+ ") was not found or isn't a directory.";
+ ") was not found or isn't a directory.";
throw new BuildException(msg, getLocation());
throw new BuildException(msg, getLocation());
}
}
if (( iashome != null) && ( !iashome.isDirectory() )) {
if (iashome != null && !iashome.isDirectory()) {
String msg =
String msg =
"If \"iashome\" is specified, it must be a valid directory (it was set to "
"If \"iashome\" is specified, it must be a valid directory (it was set to "
+ iashome + ").";
+ iashome + ").";