Ant - <fileset> problem?

  • Thread starter tonywinslow1986
  • Start date
T

tonywinslow1986

java.lang.NoSuchMethodError:
org.apache.tools.ant.util.FileUtils.getFileUtils()L
org/apache/tools/ant/util/FileUtils;
was thrown when i use <fileset> even the simple build.xml below:

<project name="tmp" default="cp">
<target name="init">
<delete dir="test1"/>
<delete dir="test2"/>
<mkdir dir="test1"/>
<mkdir dir="test2"/>
</target>

<target name="cp" depends="init">

<copy todir="test2">
<fileset dir="test1">
</fileset>
</copy>
</target>
</project>

Can anyone tell me Y???
 
L

Lothar Kimmeringer

java.lang.NoSuchMethodError:
org.apache.tools.ant.util.FileUtils.getFileUtils()L
org/apache/tools/ant/util/FileUtils;
was thrown when i use <fileset> even the simple build.xml below:

How do you call the ant-script? Inside an IDE, directly, within
a script, ...?


Regards, Lothar
--
Lothar Kimmeringer E-Mail: (e-mail address removed)
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
questions!
 
G

Guest

java.lang.NoSuchMethodError:
org.apache.tools.ant.util.FileUtils.getFileUtils()L
org/apache/tools/ant/util/FileUtils;
was thrown when i use <fileset> even the simple build.xml below:

Sounds like running in a too old JVM to me.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top