ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: js.jar
Date Wed, 19 Nov 2003 10:28:16 GMT
> 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)


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message