Note that there are some explanatory texts on larger screens.

plurals
  1. POErrors while applying transformations - Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true
    text
    copied!<p>Please help me to fix this error and warnings:</p> <p>41: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds</p> <p>79: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.</p> <p>Total time: 31 seconds</p> <p>This is my build.xml</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt; &lt;!-- WARNING: Eclipse auto-generated file. Any modifications will be overwritten. To include a user specific buildfile here, simply create one in the same directory with the processing instruction &lt;?eclipse.ant.import?&gt; as the first entry and export the buildfile again. --&gt; &lt;project basedir="." default="build" name="Login"&gt; &lt;property environment="env"/&gt; &lt;property name="ECLIPSE_HOME" value="../../../../opt/eclipse"/&gt; &lt;property name="junit.output.dir" value="junit"/&gt; &lt;property name="debuglevel" value="source,lines,vars"/&gt; &lt;property name="target" value="1.6"/&gt; &lt;property name="source" value="1.6"/&gt; &lt;path id="Login.classpath"&gt; &lt;pathelement location="bin"/&gt; &lt;pathelement location="../../Downloads/JAR/junit-4.10.jar"/&gt; &lt;pathelement location="../../Downloads/JAR/poi-3.2-FINAL.jar"/&gt; &lt;pathelement location="../../Downloads/JAR/selenium-java-2.21.0.jar"/&gt; &lt;pathelement location="../../Downloads/JAR/selenium-java-2.21.0.zip"/&gt; &lt;pathelement location="../../Downloads/JAR/selenium-java-2.21.0-srcs.jar"/&gt; &lt;pathelement location="../../Downloads/JAR/selenium-server-standalone-2.21.0.jar"/&gt; &lt;pathelement location="../../Downloads/JAR/testng-6.5.1.zip"/&gt; &lt;/path&gt; &lt;target name="init"&gt; &lt;mkdir dir="bin"/&gt; &lt;copy includeemptydirs="false" todir="bin"&gt; &lt;fileset dir="src"&gt; &lt;exclude name="**/*.launch"/&gt; &lt;exclude name="**/*.java"/&gt; &lt;/fileset&gt; &lt;/copy&gt; &lt;/target&gt; &lt;target name="clean"&gt; &lt;delete dir="bin"/&gt; &lt;/target&gt; &lt;target depends="clean" name="cleanall"/&gt; &lt;target depends="build-subprojects,build-project" name="build"/&gt; &lt;target name="build-subprojects"/&gt; &lt;target depends="init" name="build-project"&gt; &lt;echo message="${ant.project.name}: ${ant.file}"/&gt; &lt;javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}"&gt; &lt;src path="src"/&gt; &lt;classpath refid="Login.classpath"/&gt; &lt;/javac&gt; &lt;/target&gt; &lt;target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/&gt; &lt;target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"&gt; &lt;copy todir="${ant.library.dir}"&gt; &lt;fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/&gt; &lt;/copy&gt; &lt;unzip dest="${ant.library.dir}"&gt; &lt;patternset includes="jdtCompilerAdapter.jar"/&gt; &lt;fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/&gt; &lt;/unzip&gt; &lt;/target&gt; &lt;target description="compile project with Eclipse compiler" name="build-eclipse-compiler"&gt; &lt;property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/&gt; &lt;antcall target="build"/&gt; &lt;/target&gt; &lt;target name="login.testLogin"&gt; &lt;mkdir dir="${junit.output.dir}"/&gt; &lt;junit fork="yes" printsummary="withOutAndErr"&gt; &lt;formatter type="xml"/&gt; &lt;test name="login" todir="${junit.output.dir}"/&gt; &lt;classpath refid="Login.classpath"/&gt; &lt;/junit&gt; &lt;/target&gt; &lt;target name="login"&gt; &lt;mkdir dir="${junit.output.dir}"/&gt; &lt;junit fork="yes" printsummary="withOutAndErr"&gt; &lt;formatter type="xml"/&gt; &lt;test name="login" todir="${junit.output.dir}"/&gt; &lt;classpath refid="Login.classpath"/&gt; &lt;/junit&gt; &lt;/target&gt; &lt;target name="junitreport"&gt; &lt;junitreport todir="${junit.output.dir}"&gt; &lt;fileset dir="${junit.output.dir}"&gt; &lt;include name="TEST-*.xml"/&gt; &lt;/fileset&gt; &lt;report format="frames" todir="${junit.output.dir}"/&gt; &lt;/junitreport&gt; &lt;/target&gt; &lt;target name="compile"&gt; &lt;mkdir dir="${classes.dir}"/&gt; &lt;javac srcdir="${src.dir}" destdir="${classes.dir}" includeantruntime="false"&gt; &lt;classpath&gt; &lt;path id="application" location="${jar.dir}/${ant.project.name}.jar"/&gt; &lt;path id="junit" location="${lib.dir}/junit-4.9b2.jar"/&gt; &lt;/classpath&gt; &lt;/javac&gt; &lt;/target&gt; &lt;/project&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload