RE: listing jars built ...

2001-11-03 Thread Jason Rogers

Does it accept excaped Unicode characters (e.g. \u000)?

-jason

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

RE: listing jars built ...

2001-10-31 Thread Azariah Jeyakumar


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]




Re: listing jars built ...

2001-10-31 Thread Terry Steichen

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_testc:\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]




Re: listing jars built ...

2001-10-31 Thread Terry Steichen

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 [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
  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_testc:\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]



 --
 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]