moving tools to 1.5 for VM compatibility
diff --git a/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF b/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF
index d8876c1..b9dff40 100644
--- a/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF
@@ -3,7 +3,7 @@
 Bundle-Name: %Bundle-Name.0
 Bundle-SymbolicName: org.eclipse.wtp.releng.tools;singleton:=true
 Bundle-Version: 1.0.0.qualifier
-Require-Bundle: org.apache.ant
+Require-Bundle: org.apache.ant;bundle-version="[1.7.0,2.0.0)"
 Bundle-Localization: plugin
 Bundle-ClassPath: wtpRelengTools.jar
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/CustomizeAccessRules.java b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/CustomizeAccessRules.java
index ec56b60..c58ad35 100644
--- a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/CustomizeAccessRules.java
+++ b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/CustomizeAccessRules.java
@@ -105,7 +105,7 @@
 			String bakName = name + BACKUP_FILE_EXTENSION;
 			File bakFile = new File(javaCompilerFile.getParentFile(), bakName);
 
-			// if backup file already exists, take that as a sign we do not 
+			// if backup file already exists, take that as a sign we do not
 			// need to process again ... we already have.
 			if (!bakFile.exists()) {
 
@@ -144,7 +144,8 @@
 						}
 						else {
 							// or, add if not already there
-							//System.out.println("     Info: customized access rules with pattern: " + customizedRules);
+							// System.out.println(" Info: customized access
+							// rules with pattern: " + customizedRules);
 							newFileWriter.write(ADAPTER_ACCESS + cp + LBRACKET + customizedRules + ar + RBRACKET + EOL);
 						}
 					}
@@ -387,10 +388,20 @@
 	}
 
 	public void setBundleDirectory(String bundleDirectory) {
-		this.bundleDirectory = bundleDirectory;
+		if (bundleDirectory == null) {
+			this.bundleDirectory = "";
+		}
+		else {
+			this.bundleDirectory = bundleDirectory;
+		}
 	}
 
 	public void setDefaultRules(String defaultRules) {
-		this.defaultRules = defaultRules;
+		if (defaultRules == null) {
+			this.defaultRules = "";
+		}
+		else {
+			this.defaultRules = defaultRules;
+		}
 	}
 }