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" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to