ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Weintraub" <qazw...@gmail.com>
Subject Re: generic build.xml file
Date Wed, 17 Sep 2008 17:53:26 GMT
How different is the build process between each of these?

You might want to take a look at the <macrodef> task:
<http://ant.apache.org/manual/CoreTasks/macrodef.html>.

What you can do is define the build processes as a series of macros,
then define each built object as a <target> that simply calls your
macros. The "element" parameter is very useful for path style of
definitions.

--
David Weintraub
qazwart@gmail.com



On Wed, Sep 17, 2008 at 8:18 AM,  <rasmita.panda@wipro.com> wrote:
> Just check the list first .
>
> rwxr-xr-x   1 buildadm staff          9559 Sep 17 15:14
> build_SENDLISTCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          4530 Sep 17 15:14
> build_SENDLISTCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff          7601 Sep 17 15:14
> build_SEARCHANDHELPCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          9004 Sep 17 15:14
> build_SEARCHANDHELPCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff         10921 Sep 17 15:14
> build_SAVINGSCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          6439 Sep 17 15:14
> build_SAVINGSCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff         11926 Sep 17 15:14
> build_PAYMENTSCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          9325 Sep 17 15:14
> build_PAYMENTSCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff         11545 Sep 17 15:14
> build_PAYMENTCURRENTCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          9351 Sep 17 15:14
> build_PAYMENTCURRENTCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff          9103 Sep 17 15:14
> build_NAVIGATIONCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          7545 Sep 17 15:14
> build_NAVIGATIONCOLUMN.properties
> --rw-r--r--   1 buildadm staff          7201 Sep 17 15:14
> build_MANAGEMENT.xml
> -rw-r--r--   1 buildadm staff          7541 Sep 17 15:14
> build_MANAGEMENT.properties
> -rwxr-xr-x   1 buildadm staff          9844 Sep 17 15:14
> build_LOYALITYCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          3794 Sep 17 15:14
> build_LOYALITYCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff         10221 Sep 17 15:14
> build_LOGINLOGOUTCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          4799 Sep 17 15:14
> build_LOGINLOGOUTCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff          8976 Sep 17 15:14
> build_HOMEPAGECOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          4365 Sep 17 15:14
> build_HOMEPAGECOLUMN.properties
> -rw-r--r--   1 buildadm staff         12021 Sep 17 15:14
> build_EBPPCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          9234 Sep 17 15:14
> build_EBPPCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff         10729 Sep 17 15:14
> build_DIRECTDEBITCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          5825 Sep 17 15:14
> build_DIRECTDEBITCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff          8725 Sep 17 15:14
> build_CURRENTCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff          4337 Sep 17 15:14 build_CMS.xml
> -rwxr-xr-x   1 buildadm staff         11276 Sep 17 15:14
> build_AUTHORIZATIONCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          7138 Sep 17 15:14
> build_AUTHORIZATIONCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff          9183 Sep 17 15:14
> build_ADRESSBOOKCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff         10623 Sep 17 15:17
> build_ADRESSBOOKCOLUMN.xml
> -rwxr-xr-x   1 buildadm staff          3568 Sep 17 17:03
> build_STATUSLISTCOLUMN.properties
> -rwxr-xr-x   1 buildadm staff          7475 Sep 17 17:24
> build_STATUSLISTCOLUMN.xml
>
>
> Problem:My problem is
>  * I want to run only one build.xml(dependency should be one
> build.properties file ) for all the above columns.Each column uses different
> xml and properties file.Functionalities of all the xml is nearly same but
> locations are different.
>
> * I want to write a generic build script which should not be hardcoded.
>
>
> Can I get help from anyone?
>
>
>
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>

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


Mime
View raw message