This is a good start But my question is I don't want to use all those xml
files.Rather I want to use them as targets in ant.As all the columns follow the
same procedure.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 6:31 PM
To: [email protected]
Subject: AW: generic build.xml file
I would start a construct like this:
common.xml
<project name="common">
<property file="build.properties" description="Global properties"/>
<property file="${column}.properties" description="Column properties"/>
<property file="${user.name}.properties" description="User properties"/>
... macros, targets,
</project>
build.xml
* provides the common targets but they doesnt anything just iterating over all
sub buildfiles (see manual of import+subant)
build_PAYMENTCURRENTCOLUMN.xml
<project>
<property name="column" value="PAYMENTCURRENT"/>
<import file="common.xml"/>
</project>
Jan
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 17. September 2008 14:40
An: [email protected]
Betreff: RE: generic build.xml file
Means?I want free help
-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 6:08 PM
To: Ant Users List
Subject: RE: generic build.xml file
compensated help or free help?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and
Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within
this transmission.
Subject: generic build.xml file
Date: Wed, 17 Sep 2008 17:48:28 +0530
From: [EMAIL PROTECTED]
To: [email protected]
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
_________________________________________________________________
See how Windows connects the people, information, and fun that are part
of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]