ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azariah Jeyakumar" <azariah.jeyaku...@tumbleweed.com>
Subject RE: listing jars built ...
Date Wed, 31 Oct 2001 22:10:09 GMT
Terry,

Is it possible that this line:
>            <include name="../*.java"/>

should actually be:
>            <include name="**/*.java"/>

Further, the non-fatal error message that you see can be ignored. It happens
on windows platform if using jdk 1.2. It has not known to cause any problem
for ant to do its job.

Azariah

> -----Original Message-----
> From: Terry Steichen [mailto:terry@net-frame.com]
> Sent: Wednesday, October 31, 2001 2:07 PM
> To: Ant Users List
> Subject: Re: listing jars built ...
> 
> 
> Azariah,
> 
> I was trying to do somewhat the same thing, but it would not 
> work.  Here's
> the code:
> 
> <?xml version="1.0"?>
> 
> <project name="myproject" default="main" basedir=".">
> 
>  <target name="testit" >
>       <fileset dir="." id="src.files">
>            <include name="../*.java"/>
>       </fileset>
>   <pathconvert targetOS="windows" property="javafiles" 
> refid="src.files"/>
>   <echo message="${javafiles}"/>
>   </target>
> 
> </project>
> 
> Here's what this produced (on Windows98):
> -----------------------------
> C:\ant_test>c:\jdk1.2\bin\java.exe -DJAVAC=classic 
> org.apache.tools.ant.Main
> testit
> Buildfile: build.xml
> A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL
> relocation target' has occurred in :
>   'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting
> method.
>   Please report this error in detail to
> http://java.sun.com/cgi-bin/bugreport.cgi
> 
> 
> testit:
>      [echo]
> 
> BUILD SUCCESSFUL
> 
> Total time: 1 second
> ---------------------------
> 
> Any ideas what I'm doing wrong?
> 
> Regards,
> 
> Terry
> 
> ----- Original Message -----
> From: "Azariah Jeyakumar" <azariah.jeyakumar@tumbleweed.com>
> To: "'Ant Users List'" <ant-user@jakarta.apache.org>
> Sent: Wednesday, October 31, 2001 1:40 PM
> Subject: RE: listing jars built ...
> 
> 
> >
> > One way is to use a fileset with all the jar files you 
> need; get all the
> > files in the fileset into a property using pathconvert task 
> and echo.
> >
> > Azariah
> >
> > > -----Original Message-----
> > > From: Aiello, Bob (Exchange) [mailto:raiello@bear.com]
> > > Sent: Wednesday, October 31, 2001 10:38 AM
> > > To: 'Ant Users List'
> > > Subject: listing jars built ...
> > >
> > >
> > > upon completion of a build I want to echo a "done"
> > > message and then
> > > show the jars that I have build.
> > >
> > > how do I do the "ls" (dir for you DOS/Windows experts)??
> > >
> > > My dist target looks like this...
> > > ******************
> > > <target name="dist" depends="compile">
> > >   <echo message="done ...." />
> > > </target>
> > >
> > > ******************
> > >
> > >
> > > ****************************************************************
> > > Bear Stearns is not responsible for any recommendation, 
> solicitation,
> > > offer or agreement or any information about any 
> transaction, customer
> > > account or account activity contained in this communication.
> > > **************************************************************
> > > *********
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:ant-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:   
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message