Hi,
First of all, thank you for AntInstaller we use in our Open Source project, Ldap Synchronization Connector (lsc-project.net). But I just encountered an error while upgrading Ant to 1.7.1 with AntInstaller 0.8beta : I'm trying to run a build file at the end of the installation process with a use of a replaceregexp ant task and I get the following exception. I join the build file but I think that I've found a guy which has encountered the same type of error : http://www.nabble.com/grails-upgrade-fails-with-NoSuchMethodException-for-createTemporaryFile\()-td22957488.html.
Any idea to fix it ?
org.tp23.antinstaller.InstallException: Error running the install, java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;ZZ)Ljava/io/File;
at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(AntProjectFilter.java:172)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
at org.tp23.antinstaller.selfextract.NonExtractor.main(NonExtractor.java:59)
Caused by: jar:file:/home/sbahloul/workspaces/linid/org.lsc.lsc-sample-1.1-SNAPSHOT/lib/lsc-sample-generator.jar!/build.xml:92: java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;ZZ)Ljava/io/File;
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(AntProjectFilter.java:166)
... 2 more
<.../>
Build file failing on line 92