ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: js.jar
Date Wed, 19 Nov 2003 10:47:42 GMT
<script language="javascript"> <![CDATA[
    java.lang.System.out.println("Hello World");
]]></script>


Maybe <script>s text area must not be empty (if no external script is
referenced).



Jan

> -----Original Message-----
> From: Parimala [mailto:parimala@medicomsoft.com]
> Sent: Wednesday, November 19, 2003 11:52 AM
> To: 'Ant Users List'
> Subject: RE: js.jar
> 
> 
> 
> I have written only this much
> 
> <script language="javascript">
> </script>
> 
> giving java.lang.NoSuchMethodError
> 
> what to doooo
> 
> 
> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Wednesday, November 19, 2003 3:58 PM
> To: user@ant.apache.org
> 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 :-(
> 
> no
> 
> 
> 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)
> 
> 
> Jan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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