ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Raj-Need of ANT Scripts
Date Fri, 12 Mar 2004 12:03:07 GMT
> Hi Ant Developers,

Wrong list :-)
Usually these questions are topic of the user list.



> Please let me know how to call one build.xml will call 
> another build.xml

<ant> task, see the manual [1]

> file. Give one example.
> 2. How to pass command line agrs? Give one example.

Use nested <property>s. If you want to do more ant specific
(the -XX options, -verbose, -lib, ...) you have to start a
new ant instance. You can use <java> or <exec> with nested <args>.
See [2].

> 3. Can you write a small build file in that one  target tag 
> has to execute
> in windows -M/C and another target tag has to execute in Sun 
> Solaris -M/C?

Use targetĀ“s if/unless attributes and the <os> task. Or more simply
if you do a call like
  <ant target="${os.name}"/>



> 4.How to handle the oracle with ANT also.

<sql> task.


Jan
  


[1] http://ant.apache.org/manual/CoreTasks/ant.html
[2] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14941

> Thanks and Regards,
> Raj
> 
> 
> 
> 
> 
> 
> Sree Naga Raja Sekhar .M
> HCL Tech,J-16,Anna Nagar,
> Chennai-600 102-India.
> 
> Disclaimer:
> This message and any attachment(s) contained here are 
> information that is
> confidential, proprietary to HCL Technologies and its 
> customers. Contents
> may be privileged or otherwise protected by law. The 
> information is solely
> intended for the individual or the entity it is addressed to. 
> If you are not
> the intended recipient of this message, you are not 
> authorized to read,
> forward, print, retain, copy or disseminate this message or 
> any part of it.
> If you have received this e-mail in error, please notify the sender
> immediately by return e-mail and delete it from your computer.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message