ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parimala" <>
Subject RE: js.jar
Date Wed, 19 Nov 2003 10:51:59 GMT

I have written only this much

<script language="javascript">

giving java.lang.NoSuchMethodError

what to doooo

-----Original Message-----
From: []
Sent: Wednesday, November 19, 2003 3:58 PM
Subject: RE: js.jar

> now a new problem, build build execution simply says "No such method
> error"..
> is there no end for this chain of problems :-(


ok, just kidding :-)
If you use <script> you´re using the API methods of Java and Ant. Therefore
you have
to use the right signatures.

E.g. getting the DirectoryScanner from a fileset would NOT be:
    ds = myFileset.getDirectoryScanner()
because there is no such a method. Now guess which error occurs ...
If you read the Javadoc, you´ll get the solution:
    ds = myFileset.getDirectoryScanner(project)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message