[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: how to call another target in this target
From:       Ying Wang <yingwang () hawaii ! edu>
Date:       2002-02-27 22:53:17
[Download RAW message or body]

Thank you so much! :)))
I just figure out in lunchtime that I can write another generic .xml file,
and use ant to run this xml file in each ejbjar.
It has the same functionality with the antcall, but it can be used in any
other build file.

Ying Wang

On Wed, 27 Feb 2002, Diane Holt wrote:

> --- Ying Wang <yingwang@hawaii.edu> wrote:
> >   I have a lot of ejbjar. The process to generate the ejbjar is :
> >
> > make temp folder
> > javac
> > copyDDFiles
> > ejbjar
> > clean temp folder
> >
> > How do I avoid to write the duplicate tasks in each ejbjar?
>
> If everything's the same but the names of things, make a generic target
> that references properties, then use <antcall> to run the target, passing
> in the values for the properties via the nested <param> element. (I do
> this sort of thing for building parsers, if you need an example.)
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - Send FREE e-cards for every occasion!
> http://greetings.yahoo.com
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic