Bug 520437 - [9] Running Releng script with JRE 9 fails

Change-Id: I8c6b81fd09004fe0360df6bfe1d694fabe14a9b6
diff --git a/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/datatransfer/ExportUtil.java b/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/datatransfer/ExportUtil.java
index ae14c04..d7d349e 100644
--- a/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/datatransfer/ExportUtil.java
+++ b/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/datatransfer/ExportUtil.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2004, 2015 Richard Hoefter and others.
+ * Copyright (c) 2004, 2017 Richard Hoefter and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -466,6 +466,9 @@
 		Source source = new DOMSource(doc);
 		Result result = new StreamResult(writer);
 		TransformerFactory factory = TransformerFactory.newInstance();
+		// https://ant.apache.org/manual/Tasks/style.html
+		// Need this feature to set true for Java 9 to enable extension Functions in the presence of Security manager
+		factory.setFeature("http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions", Boolean.TRUE); //$NON-NLS-1$
 		boolean indentFallback = false;
 		try {
 			// indent using TransformerImpl