# ant-user mailing list archives

##### Site index · List index
Message view
Top
From Jason Rogers <jacae...@yahoo.com>
Subject RE: listing jars built ...
Date Sat, 03 Nov 2001 21:27:53 GMT
```Does it accept excaped Unicode characters (e.g. \u000)?

-jason

--- Azariah Jeyakumar <azariah.jeyakumar@tumbleweed.com>
wrote:
> Terry,
>
> You probably already noticed that pathconvert can accept
> a directory
> separator. I dont know if it accepts a CRLF character.
>
> Azariah
>
> > -----Original Message-----
> > From: Terry Steichen [mailto:terry@net-frame.com]
> > Sent: Wednesday, October 31, 2001 6:14 PM
> > To: Ant Users List
> > Subject: Re: listing jars built ...
> >
> >
> > Azariah,
> >
> > That change didn't do it either.  However, I then
> copied some
> > of the java
> > files into the current directory (from the parent that
> I was trying to
> > reference), changed to <include name="*.java"?> and
> that
> > worked.  Apparently
> > ant has trouble with the '../' prefix?
> >
> > Second question though - using the code shown below
> (with the
> > above change)
> > the filenames come out separated by a semi-colon.  How
> would
> > I change it to
> > make them come out one-per-line (that is, is there a
> way to make the
> > separator a CR-LF?
> >
> > 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 5:10 PM
> > Subject: RE: listing jars built ...
> >
> >
> > > 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
> > > > 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>
> > >
> > >
> >
> >
> > --
> > 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>
> <mailto:ant-user-help@jakarta.apache.org>
>

=====
-----------------------------------------
Keep it simple...
(1 Corinthians 2:2, Galatians 2:20, 6:14)

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

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