Re: Hi, Ant dev, I have questiones on multiple run Target

2007-12-27 Thread Frank W. Zammetti
question. FYI, I personally would use antcall for a situation like this, make the targets much more like reusable functions than dependent task, but that's just me. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yaho

RE: Re: Ant vs Apache

2007-11-08 Thread Frank W. Zammetti
ere could have been one in "Food Of The Gods" though ;) > Charles Knell Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java

Re: Ant vs Apache

2007-11-08 Thread Frank W. Zammetti
Ant vs. Apache ... am I the only one that had a picture pop into their head of a 1950's sci-fi movie featuring a giant Indian fighting a radiation-mutated giant insect? (I'm off from work tomorrow, so *this* is my Friday LOL) Frank -- Frank W. Zammetti Founder and Chief Software

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
love Antform by the way, I now have a nice little front end to my build process, really cool! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, February 14, 2006 1:46 pm, Patrick Martin

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
is nothing but: appmode_dev=true do_unit_tests=true do_static_analysis_checkstyle=true -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, February 14, 2006 12:33 pm, Ivan \"Rambius\&q

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
I don't know if it's the right way to do it, or if there is some reason not to do it this way, but I found a solution... I took the contents of the target that executed Antform and put it in a macrodef... doing that, the properties DO get changed as expected. -- Frank W. Zammetti F

Re: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
al with it). Thanks! P.S., I just noticed , but that didn't seem to do it either. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, February 14, 2006 11:57 am, [EMAIL

Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
properties from the file that was written out by Antform. Is that possible? Thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL

Re: Way to examine a property value?

2006-02-14 Thread Frank W. Zammetti
Ok, slap me :) And I found ant-contrib, which is what I was thinking of. I think I'm all set. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, February 14, 2006 10:39 am,

Way to examine a property value?

2006-02-14 Thread Frank W. Zammetti
Maybe someone can refresh my memory... I seem to remember a contrib to Ant that allows you to check the value of a property rather than just checking if a property has been defined or not... a *real* if statement! Can anyone point me in the right direction? Thanks! -- Frank W. Zammetti Founder

Re: AW: How to use ANT as a command shell

2005-12-09 Thread Frank W. Zammetti
___ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: Another simple one perhaps: zip tasl

2005-08-25 Thread Frank W. Zammetti
I am *SO* hating myself right now. ;) Thank you Jeff, perfect! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, August 25, 2005 3:47 pm, Jeffrey E Care said: > basedir="${ddir}"> > > > >

Another simple one perhaps: zip tasl

2005-08-25 Thread Frank W. Zammetti
I'll probably feel silly after this one to, but here goes... I'm trying to use the task, and I've done this: This works fine, I get a file named project_v6_beta_bin.zip out (v6_beta is the value of project_version_filename). Here's the problem... what I want to happen is when this archive is

Re: Copy task that excludes directories

2005-08-25 Thread Frank W. Zammetti
Ugh. That did it. I wish it was something more complex so I didn't have to feel so stupid right now :( Thank you Alexey! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, August 25, 2005 3:20 pm, Alexey N. Solofnenko said:

Copy task that excludes directories

2005-08-25 Thread Frank W. Zammetti
Hi all, I'm trying to set up a task that will copy an entire directory tree starting at a given root directory, but which will EXCLUDE certain directories in the tree. I started with the entire copy: Basically, I'm trying to exclude a single directory: src in WEB-

Re: Ant dependencies task

2005-08-15 Thread Frank W. Zammetti
> or you make every target conditional > > unless="compile.disabled" > > and then turn on and off on the command line For the way I work, this isn't feasible... I don't use an IDE, I use UltraEdit... I have a single keystroke that executes the script, and I don't have the opportunity to alter the

Re: Open a shell and run a batchfile

2005-08-15 Thread Frank W. Zammetti
Even better! I hadn't seen that. One suggestion... adding spawn="true" to the exec tag should cause the script to continue even while the spawned window has not been closed... yep, just tried it, at least on XP that's the case. Frank On Mon, August 15, 2005 1:57 am, Ruchira Amarasinghe said: >

Re: Open a shell and run a batchfile

2005-08-14 Thread Frank W. Zammetti
stead of "dir" it's your batch file... I'm almost completely certain that will work exactly the same. Frank Frank W. Zammetti wrote: Hi Frank (from one Frank to another!), I don't see any way to do that directly from Ant, but maybe someone else does. Assuming there

Re: Open a shell and run a batchfile

2005-08-14 Thread Frank W. Zammetti
bet more appropriate since I'm guessing you want to determine what directory to list from the Ant script?) and you should be all set. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Frank Schaare wrote: Hi, i´d like to automate some t

Re: Ant dependencies task

2005-08-13 Thread Frank W. Zammetti
guy :) So I have not problem believing this isn't the "right" way to do things if that's what anyone wants to tell me... I know it works well for me though :) Frank Steve Loughran wrote: Frank W. Zammetti wrote: Hi again, This did the trick, almost... there was one o

Re: Ant dependencies task

2005-08-13 Thread Frank W. Zammetti
-Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 2:54 PM To: user@ant.apache.org Subject: Ant dependencies task Does anyone have any experience with this add-on? http://www.httpunit.org/doc/dependencies.html It works great for m

Re: Ant dependencies task

2005-08-13 Thread Frank W. Zammetti
Hi Brian, That didn't seem to work... I get: BUILD FAILED The type doesn't support the nested "target" element. Using Ant 1.6.1 Frank Dick, Brian E. wrote: You can recode as -Original Message- From: Frank W. Zam

Ant dependencies task

2005-08-12 Thread Frank W. Zammetti
and scoping or some such, but I don't know what it is. FYI, the reason I'd prefer to do the antcalls is that I have like 15 targets that get called, and having a big comma-sepated lists in the depends attribute is kind of unwieldly. Thanks! -- Frank W. Zammetti Founder and Ch

Re: Task to delete CVS directories

2005-08-01 Thread Frank W. Zammetti
further, except as a curiosity now because I thought it should have worked. Thanks Gisbert! :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, August 1, 2005 3:13 am, Gisbert Amm said: > Out of curiosity: Why do you need to delete all

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

2005-07-31 Thread Frank W. Zammetti
umber of them. As with writing actual code, if you space things well and comment decently, the visual cues of where the various parts are makes it look relatively organized. Frank THUFIR HAWAT wrote: On 7/31/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: 50 lines? I have one scr

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

2005-07-31 Thread Frank W. Zammetti
--- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubsc

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

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

2005-07-30 Thread Frank W. Zammetti
, so no problem doing that a bunch of times. Frank THUFIR HAWAT wrote: 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

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

2005-07-30 Thread Frank W. Zammetti
u get looks more like a warning than an error to me, but that's the reason it is different above. Is that what you meant? Frank THUFIR HAWAT wrote: 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 t

Re: Task to delete CVS directories

2005-07-30 Thread Frank W. Zammetti
rds, so I'm a bit stumped. First I'm stumped at why the original script didn't delete the directory as well, and second why that additional delete task didn't do it either (it'd be better if I didn't need the second delete obviously). Frank Juergen Hermann wrote: On S

Re: Task to delete CVS directories

2005-07-29 Thread Frank W. Zammetti
ask (http://ant.apache.org/manual/CoreTasks/defaultexcludes.html) to remove the CVS patterns: -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-ma

Task to delete CVS directories

2005-07-29 Thread Frank W. Zammetti
#x27;s me :) Thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: replaceregexp problem

2005-07-22 Thread Frank W. Zammetti
Thanks Chad, that did the trick perfectly! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Fri, July 22, 2005 2:43 pm, Chad Armstrong said: > Hi Frank, > The * looks a little weird below in the "match" string, * means 0

replaceregexp problem

2005-07-22 Thread Frank W. Zammetti
defined previously, it just seems to not be finding the matching text. Any ideas? Thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL

Exception in CheckStyle task

2005-07-08 Thread Frank W. Zammetti
* that the task is still working. Here is the task: Any ideas? Thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscri

Re: How can i update DTD file?

2005-06-29 Thread Frank W. Zammetti
ag> </taglib> The task allows you to replace sections of a text file. As long as you have some text you can key off of, you can use it to do what you want. There is also a that is very similar but that allows for regular expressions. That might be of more help to you. Here'

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

2005-06-24 Thread Frank W. Zammetti
ywhere (I've never done that, I'd have to look up how frankly!), so that isn't a concern. Does if really spawn a whole new project instance? I wasn't aware of that... I wonder if that's true if the targets are all in the same script? -- Frank W. Zammetti Founder a

Re: AW: Multiple IFs, or IFs on tasks

2005-06-24 Thread Frank W. Zammetti
ite a bit to be able to explain why this worked in my case, but suffice it to say it does :) Thanks everyone, I appreciate all the suggestions! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Fri, June 24, 2005 1:04 am, [EMAIL PROTECTED]

JAR task problems

2005-06-23 Thread Frank W. Zammetti
see SOMETHING from them, no? So what am I missing? TIA! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple IFs, or IFs on tasks

2005-06-23 Thread Frank W. Zammetti
Ah, thank you Ninju! I wasn't aware of the task, I think that will do the trick. One extra step, but not a hassle. By the way, your name is only one letter off from ultimate coolness, but I'm sure you know that already :) -- Frank W. Zammetti Founder and Chief Software Archite

Multiple IFs, or IFs on tasks

2005-06-23 Thread Frank W. Zammetti
ave two if attributes, but that threw an error, and I tried a comma-separated list within a single if, but that resulted in the task not executing. Second, I might be missing it, but there doesn't seem to be an if attribute on a task (like copy for instance), is that correct? Thanks all! -- Fr

JAR task problem

2005-06-21 Thread Frank W. Zammetti
e would like to tap me on the shoulder with a suggestion, I'd appreciate it :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PR

Re: Weird error with Jar task

2005-06-21 Thread Frank W. Zammetti
t is going on? Frank Frank W. Zammetti wrote: Hi all... I have a strange situation with a JAR task... I'm dealing with a build script that has always worked and has not changed. The version of Ant has not changed (1.6.1) and in fact nothing else that I can identify has changed. The error I

Weird error with Jar task

2005-06-21 Thread Frank W. Zammetti
mbox/[EMAIL PROTECTED] ...where the Log4J crew seems to experience this sporadically. Problem is, I have rebooted, re-checked out the project from CVS and tried to build probably 30 times now, and it keeps happening. Any pointers? Thanks! -- Frank W. Zammetti Founder and Chief Software

Re: Removing Comments During Build

2005-06-11 Thread Frank W. Zammetti
--- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com -

Re: Removing Comments During Build

2005-06-10 Thread Frank W. Zammetti
with the source code, but I want them removed when I build and deploy the application. We use Ant to build so I'm thinking there might be a way to do this using Ant tasks. Just wondering how others are handling something like this. -- Frank W. Zammetti Founder and Chief Sof

Re: Ant for non-java development

2005-06-06 Thread Frank W. Zammetti
etups for that compile. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 6, 2005 11:10 am, [EMAIL PROTECTED] said: > Can ant be used to build non-java applications?If so, how ?And does anyone > tried this on this list? > Th

Re: Replacing (Overwriting) a file in a war?

2005-06-06 Thread Frank W. Zammetti
I do this in one script I wrote... it's doing it to a JAR, but I believe the same works for the war task... Basically, I have a directory /org under what ${classes} points to, which contains some class files to be updated. That seems to be all there is to it. -- Frank W. Zammetti Fo

Re: Axis and JAX-RPC

2005-05-10 Thread Frank W. Zammetti
r even the Struts list to get some better answers... as Mark said, it has been discussed at great length at various times in the past on the Struts list. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Mark Benussi wrote: The struts mailing list a

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
only three files, so not a nightmare in any case. I'll make it more elegant later :) Thanks to everyone that responded! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, February 28, 2005 1:33 pm, Matt Benson said: > ---

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
#x27;m learning alot :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, February 28, 2005 1:07 pm, Matt Benson said: > > --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: >> Is it possible, and if so how, to do cond

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
Can you point me at some doc for "conditional targets"? I'm not familiar with that (I'm still relatively new to Ant). Thanks Jeffrey! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, February 28, 2005 1:04 pm,

Conditionals

2005-02-28 Thread Frank W. Zammetti
". I'm looking through the manual now but haven't come across what seems to fit the bill. Thank you once again! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com -

RE: Checkstyle task

2005-02-28 Thread Frank W. Zammetti
Ah! That's the piece of information I needed... I didn't realize the classpath had to be defined within the taskdef, I thought I could add the checkstyle JAR to my global classpath and it would work. Yes, that makes all the different, thank you! -- Frank W. Zammetti Founder and Chie

Checkstyle task

2005-02-28 Thread Frank W. Zammetti
wers to what to do about it. Can anyone help? Thanks very much! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Video Game written in Ant 1.6 and Ant-Contrib

2005-02-25 Thread Frank W. Zammetti
That is simultaneously one of the coolest, and more thoroughly pointless things I've ever seen. I love it! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Stefan Bodewig wrote: I simply must share that http://jonaquino.blogspot.com/20

Re: Multiple loggers?

2005-02-22 Thread Frank W. Zammetti
s you said though and it worked perfectly, so thanks very much! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, February 22, 2005 11:00 am, Stefan Bodewig said: > On Tue, 22 Feb 2005, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:

Multiple loggers?

2005-02-22 Thread Frank W. Zammetti
s all! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: JUnit task problem

2005-02-17 Thread Frank W. Zammetti
Ah, that helped! Turns out the path to my testcase class wasn't there (which it wouldn't have been based on the rest of the build script). That's it, problem solved! Thanks a lot Kajsa! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.

RE: JUnit task problem

2005-02-17 Thread Frank W. Zammetti
I thought of that too... I wasn't sure it it was needed or not so I left it out just to have a slightly simpler class... however, I did try putting it in and it doesn't make the error go away. I'll leave it in for now anyway, but that doesn't seem to be it. -- Frank W.

JUnit task problem

2005-02-17 Thread Frank W. Zammetti
, and I can't seem to find a way to turn on any sort of verbose of extended output, so I can't tell what the error is. What am I missing? Thanks all! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://

Re: [Fwd: Re: How to exclude directories]

2005-02-17 Thread Frank W. Zammetti
Thanks Kajsa, that did the trick exactly! And your assumption was correct, I wanted the source directory, and anything in it excluded. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com > Have you tried source/**/*? I'm assuming you

How to exclude directories

2005-02-16 Thread Frank W. Zammetti
just fine, but no matter what I try for the directory I can't get it to work (I've tried **/source, source, **/source/*.*, and a few others I don't even remember right now). What is my naive little brain missing? Thanks all! -- Frank W. Zammetti Founder and Chief Softwar