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:49:36 GMT
BTW, the manual [1] supplies good material.


Jan

[1] http://ant.apache.org/manual-1.6beta/OptionalTasks/script.html

> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Wednesday, November 19, 2003 11:48 AM
> To: user@ant.apache.org
> Subject: RE: js.jar
> 
> 
> <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