ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subramani Muniyandi - TLS , Chennai" <Subrama...@hcl.in>
Subject RE: How to control the version number using ANT
Date Tue, 04 Jul 2006 07:40:32 GMT
hi,
  while i'm going to build in Netbeans 5.0 using ANT as a build Tool, i got
message as
'You may only execute Ant scripts residing on disk.'  how can i rectify
this.

subbu.

-----Original Message-----
From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de]
Sent: Tuesday, July 04, 2006 12:56 PM
To: Ant Users List; nagender_malik@intersolutions.stpn.soft.net
Subject: RE: How to control the version number using ANT



Hi,

either use the builtin <buildnumber /> ant task

see Ant Manual CoreTasks / BuildNumber

or
http://ant.ryangrier.com/

or maybe
http://jreleaseinfo.sourceforge.net/overview_e.html

or go with antcontrib's math task
http://ant-contrib.sourceforge.net/

or use a script solution with javascript / beanshell / groovy /
judoscript  ...

or write your own task

...

So you see, there's a whole bunch of possible solutions.


Regards, Gilbert

 

-----Original Message-----
From: Nagender Malik
[mailto:nagender_malik@intersolutions.stpn.soft.net] 
Sent: Tuesday, July 04, 2006 9:13 AM
To: Ant Users List
Subject: How to control the version number using ANT

Hi 
 
Is it possible to control the build number using ant?
 
I want to use the version in the format: <major.minor.others>. 
 
Regards,
Nagender Malik

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
DISCLAIMER 
The contents of this e-mail and any attachment(s) are confidential and intended for the 

named recipient(s) only. It shall not attach any liability on the originator or HCL or its


affiliates. Any views or opinions presented in this email are solely those of the author and


may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction,


dissemination, copying, disclosure, modification, distribution and / or publication of this


message without the prior written consent of the author of this e-mail is strictly 

prohibited. If you have received this email in error please delete it and notify the sender


immediately. Before opening any mail and attachments please check them for viruses and 

defect.

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


Mime
View raw message