Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Ant - <fileset> problem? (http://www.velocityreviews.com/forums/t390645-ant-fileset-problem.html)

tonywinslow1986@gmail.com 02-06-2007 07:52 AM

Ant - <fileset> problem?
 
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???


Lothar Kimmeringer 02-06-2007 06:06 PM

Re: Ant - <fileset> problem?
 
tonywinslow1986@gmail.com wrote:

> 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: spamfang@kimmeringer.de
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

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

=?UTF-8?B?QXJuZSBWYWpow7hq?= 02-10-2007 06:35 PM

Re: Ant - <fileset> problem?
 
tonywinslow1986@gmail.com wrote:
> 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


All times are GMT. The time now is 10:12 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.