ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ying Wang <yingw...@hawaii.edu>
Subject Re: how to call another target in this target
Date Wed, 27 Feb 2002 22:53:17 GMT
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>


Mime
View raw message