If you really wanted you could "break" up one big build.xml into a set of
smaller .xml files and use the task to bring them all back together at
run-time...
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
Not really... each target performs a specific task, and the one main
target antcalls all t
Not really... each target performs a specific task, and the one main
target antcalls all the others in the proper sequence. It's really no
more complicated than a series of method calls. Each target, or method
in the analogy, is fairly small and simple, there just happens to be a
fair number
On 7/31/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> 50 lines?
>
> I have one script that is upwards of 700 lines. I wouldn't worry about
> 50 ;)
>
> Frank
How do you organize that? 700 lines is just way too big to read, isn't it?
-Thufir
--
50 lines?
I have one script that is upwards of 700 lines. I wouldn't worry about
50 ;)
Frank
THUFIR HAWAT wrote:
On 7/31/05, Andrew Goktepe <[EMAIL PROTECTED]> wrote:
The 'ant' task might be what you're looking for - it works like antcall, but
on a separate build file.
http://ant.apache.o
On 7/31/05, Andrew Goktepe <[EMAIL PROTECTED]> wrote:
> The 'ant' task might be what you're looking for - it works like antcall, but
> on a separate build file.
> http://ant.apache.org/manual/CoreTasks/ant.html
> Example:
>
> -Andrew
...
Yes, thank you. (I stumbled across that, too!) I lik
The 'ant' task might be what you're looking for - it works like antcall, but
on a separate build file.
http://ant.apache.org/manual/CoreTasks/ant.html
Example:
-Andrew
On 7/30/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> Well, I'm not sure how one calls another whole script, perh
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
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
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
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
t;
>>-Ursprüngliche Nachricht-
>>Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
>>Gesendet: Freitag, 24. Juni 2005 15:32
>>An: Ant Users List
>>Cc: user@ant.apache.org
>>Betreff: Re: AW: Multiple IFs, or IFs on tasks
>>
>>Thank you Jan,
>An: Ant Users List
>Cc: user@ant.apache.org
>Betreff: Re: AW: Multiple IFs, or IFs on tasks
>
>Thank you Jan, that's a good approach too.
>
>FYI, I wound up taking a simple approach, after I thought
>about this some more... I simply have an antcall from one
>target t
7:42
>>An: Ant Users List
>>Cc: Ant Users List
>>Betreff: Re: Multiple IFs, or IFs on tasks
>>
>>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 i
Common pattern:
All conditions set
...
Jan
>-Ursprüngliche Nachricht-
>Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 23. Juni 2005 17:42
>An: Ant Users List
>Cc: Ant Users List
>Betreff: Re: Multiple IFs, or
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 Architect
Omnytex Techn
Correct on both counts,
For the first one, you may want to use a task to "consolidate" all
the individual flags into one property which you use in the if="" attribute.
As for the second, it is touch-and-go as to which tasks have an if/unless
attribute (i.e. some have them and some don't). T
Hi all... I'm trying to solve a problem and one of the following two
approaches would work, and although it doesn't seem possible from my
testing, I wanted to run it by you guys...
First, is it possible to do if checks on a target against multiple
properties? I tried simply have two if attributes
17 matches
Mail list logo