manifest attribute named "NAME"

2005-07-30 Thread THUFIR HAWAT
from the command line (question at end): [EMAIL PROTECTED] java]$ [EMAIL PROTECTED] java]$ cat build.xml -n 1 2 3 4 5 6 7 8 9 10 11 12 13

Re: echo foo.txt, like "cat foo.txt"

2005-07-30 Thread Andrew Goktepe
Try it without the trailing slash in the dir attribute (dir="/home/thufir/java"). On 7/30/05, THUFIR HAWAT <[EMAIL PROTECTED]> wrote: > > > Heh, thanks. Here's what I have: > > > dir ="/home/thufir/java/" > files ="foo.txt" > /> > > > I want "/home/thufir/java/foo.txt" to be appended to

Re: Calling ANT from a Servlet

2005-07-30 Thread KrustyDerClown
Hello, thanks for the article. It works very fine, but i have one question. Maybe anybody know an answer. The Project Configuration works with the following command in my servlet: ProjectHelper.configureProject(project, buildFile); I get the Warning in Eclipse: The method configurePro

Re: Task to delete CVS directories

2005-07-30 Thread Frank W. Zammetti
Still not working for me. Is there any problem deleting a directory that is hidden, or read-only, as I believe the CVS directories are? Frank Juergen Hermann wrote: On Sat, 30 Jul 2005 09:24:24 -0400, Frank W. Zammetti wrote: Ciao, Jürgen -- Frank W. Zammetti Founder and Chi

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-30 Thread Frank W. Zammetti
Well, I'm not sure how one calls another whole script, perhaps someone else reading this does. However, if they are all typical build scripts in the sense that there is one particular target that is called to get things going, you can certainly antcall that target in each of the scripts. That

Re: Task to delete CVS directories

2005-07-30 Thread Juergen Hermann
On Sat, 30 Jul 2005 09:24:24 -0400, Frank W. Zammetti wrote: > Ciao, Jürgen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-30 Thread THUFIR HAWAT
On 7/30/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: ... > Executing build.xml results in the test2 target being executed after > test1 is. The project name has to be different, although what you get > looks more like a warning than an error to me, but that's the reason it > is different above

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-30 Thread Frank W. Zammetti
If I understand what your asking correctly, here's an example... build.xml: -- build2.xml -- Executing build.xml results in the test2 target being executed after test1 is. The project name has to be different, although what you get

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-30 Thread THUFIR HAWAT
On 6/24/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I may not have explained what I did very well... > > I have a base target that is like this: > > > > > > > > ... > > > There's probably 10-15 more where you see the ... All the > called targets are wit

Count copied files

2005-07-30 Thread KrustyDerClown
Hello, i have the following copy task: Can i count the files which are copied and write this number to a property ? Thank you for answers. Greets Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: echo foo.txt, like "cat foo.txt"

2005-07-30 Thread THUFIR HAWAT
On 7/30/05, Juergen Hermann <[EMAIL PROTECTED]> wrote: > On Sat, 30 Jul 2005 08:32:45 +0100, THUFIR HAWAT wrote: > > >I'm looking at but > >don't see how to echo a file to the screen (System.out?). > > what you'd use in linux, namely . > > Ciao,

Re: concealing passwords

2005-07-30 Thread Jeffrey E Care
In WebSphere we use a two-tier property file system: *user.build.properties (located in $HOME) contains user specific properties (such as passwords) and any local settings the user wishes to override (such as whether to build the javadocs) *build.properties (located in the source tree) contains

improving the manual

2005-07-30 Thread Roedy Green
I am working on some material I hope to post this weekend at http://mindprod.com/jgloss/ant.html Canadian Mind Products[EMAIL PROTECTED] #327 - 964 Heywood Avenue Victoria, BC CANADA V8V 2Y5 http://mindprod.com roedy green(250) 361-9093 emergency --

concealing passwords

2005-07-30 Thread Roedy Green
I notice that in all the scripts I have seen people just insert their passwords as plain text in the scripts, e.g. for jarsigning. I don't want to do that since I will be distributing the scripts along with source code. It seems there are several ways you could handle it: 1. put the password

Re: Task to delete CVS directories

2005-07-30 Thread Frank W. Zammetti
ARGH! I will have to smack myself around for missing that :) However, what it winds up doing is deleting all the files in the CVS directory, but not the directory itself. I can't seem to get it to do that. I tried adding a second task in that target: But that didn't work. I also tried us

Re: echo foo.txt, like "cat foo.txt"

2005-07-30 Thread Juergen Hermann
On Sat, 30 Jul 2005 08:32:45 +0100, THUFIR HAWAT wrote: >I'm looking at but >don't see how to echo a file to the screen (System.out?). what you'd use in linux, namely . Ciao, Jürgen

Re: Task to delete CVS directories

2005-07-30 Thread Juergen Hermann
On Sat, 30 Jul 2005 00:26:20 -0400, Frank W. Zammetti wrote: It's easier to do . The rest is a matter of case (look really hard ;). >Hmm, I certainly understand what you wrote (didn't know about that >before, but makes perfect sense), but it doesn't seem to have helped. >My complete script is

echo foo.txt, like "cat foo.txt"

2005-07-30 Thread THUFIR HAWAT
I'm looking at but don't see how to echo a file to the screen (System.out?). I'm in linux, so it'd be something like: $ cat foo.txt or $ cat foo.txt -n in windows C:> type foo.txt How would is that done from ant so that it's platform indepen