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
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
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
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
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
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
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
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
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,
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
___
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
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}">
>
>
>
>
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
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:
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-
> 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
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:
>
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
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
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
-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
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
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
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
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
---
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
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
, 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
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
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
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
#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]
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
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
* 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
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'
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
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]
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]
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
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
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
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
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
---
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
-
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
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
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
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
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:
> ---
#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
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,
". 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
-
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
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]
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
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:
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]
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.
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.
, 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://
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
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
63 matches
Mail list logo