<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ant Script Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/ant-script/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/ant-script/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:55:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Flow Diagram and GUI tools for Apache Ant</title>
		<link>https://www.scmgalaxy.com/tutorials/flow-diagram-and-gui-tools-for-apache-ant/</link>
					<comments>https://www.scmgalaxy.com/tutorials/flow-diagram-and-gui-tools-for-apache-ant/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 29 Jun 2010 09:21:42 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[About Grand]]></category>
		<category><![CDATA[About Vizant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant Script]]></category>
		<category><![CDATA[Ant Script Visualizer]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Flow Diagram]]></category>
		<category><![CDATA[Flow Diagram tools for Apache Ant]]></category>
		<category><![CDATA[Grand]]></category>
		<category><![CDATA[Grand Overview]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[GUI tools for Apache Ant]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Vizant]]></category>
		<category><![CDATA[Vizant Overview]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/06/29/flow-diagram-and-gui-tools-for-apache-ant/</guid>

					<description><![CDATA[<p>Nurflugel AntScript Visualizer Link: http://www.nurflugel.com/webstart/AntScriptVisualizer About: Ant Script Visualizer is a program I&#8217;ve written to make visualizing how your Ant [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/flow-diagram-and-gui-tools-for-apache-ant/">Flow Diagram and GUI tools for Apache Ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4435 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/flow-diagram-and-gui-tools-.png" alt="apache-ant-flow-diagram-and-gui-tools" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/flow-diagram-and-gui-tools-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/flow-diagram-and-gui-tools--300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h1>
<h1><strong>Nurflugel AntScript Visualizer </strong></h1>
<p><strong>Link:</strong><br />
<a href="http://www.nurflugel.com/webstart/AntScriptVisualizer" target="_blank" rel="noopener">http://www.nurflugel.com/webstart/AntScriptVisualizer</a></p>
<p><strong>About:</strong><br />
Ant Script Visualizer is a program I&#8217;ve written to make visualizing how your Ant targets and scripts are related to one another.</p>
<p>Ever take a look at an Ant build script and, although perfectly readable, not really &#8220;see&#8221; all the dependencies between targets?</p>
<p>What targets depend on a certain taskdef? Or a macrodef? Do macrodefs rely on other macrodefs? And all those imported Ant scripts &#8211; where do they fit in? This program was designed to show that, by importing your Ant scripts and creating graphic file representations of them. Say what?</p>
<p>OK, here&#8217;s an example of the output for the build file used for this program:</p>
<p><strong>Features</strong><br />
# Parses build files for the following task usages:</p>
<p>* target<br />
* ant<br />
* antcall<br />
* depends<br />
* property<br />
* import<br />
* taskdef<br />
* macrodef</p>
<p># Groups results by build file subgraphs (default), or optionally, all items together in one graph<br />
# Ability to filter/show included obects by target, imported files, ant calls, taskdefs, and macrodefs<br />
# Output formats: PNG (default for PC), PDF (default for OS X, not available otherwise), SVG.</p>
<p>&nbsp;</p>
<h1>Grand</h1>
<p><strong>Links: </strong><br />
<a href="http://www.ggtools.net/grand/" target="_blank" rel="noopener">http://www.ggtools.net/grand/</a><br />
<strong>About: </strong><br />
Grand is a tool to create visual representation of ant target dependencies. It differs from tools like Vizant or AntGraph  by a totally different approach, relying on the Ant API rather than parsing directly the XML files. This enables Grand to provide some nifty features such as the support of the ant 1.6.x tasks like import or subant.</p>
<p>&nbsp;</p>
<h1>Vizant</h1>
<p><strong>Links: </strong><br />
<a href="http://vizant.sourceforge.net/" target="_blank" rel="noopener">http://vizant.sourceforge.net/</a></p>
<p><strong>About:</strong><br />
Vizant is an Apache Ant task to create Graphviz DOT source code from an Ant buildfile. The image created from the DOT source code shows the targets dependency.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/flow-diagram-and-gui-tools-for-apache-ant/">Flow Diagram and GUI tools for Apache Ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/flow-diagram-and-gui-tools-for-apache-ant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Usage of ANT_OPTS in Ant Script &#124; ANT_OPTS capabilities</title>
		<link>https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/</link>
					<comments>https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 14 Apr 2010 07:00:20 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[ANT OPTS]]></category>
		<category><![CDATA[ANT OPTS capabilities]]></category>
		<category><![CDATA[Ant Opts in Ant Script]]></category>
		<category><![CDATA[ANT OPTS Usage]]></category>
		<category><![CDATA[ANT OPTS Usage in Ant Script]]></category>
		<category><![CDATA[Ant Script]]></category>
		<category><![CDATA[Capabilities]]></category>
		<category><![CDATA[Capabilities of Ant opts]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How to use Ant opts in Ant Script]]></category>
		<category><![CDATA[Instruction]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Usage]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/14/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/</guid>

					<description><![CDATA[<p>Usage of ANT_OPTS in Ant Script &#124; ANT_OPTS capabilities Ant has three environment variables that you can use to set [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/">Usage of ANT_OPTS in Ant Script | ANT_OPTS capabilities</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-4239" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ant_opts-in-ant-script.png" alt="ant_opts-in-ant-script" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ant_opts-in-ant-script.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ant_opts-in-ant-script-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><b>Usage of ANT_OPTS in Ant Script | ANT_OPTS capabilities</b></p>
<p>Ant has three environment variables that you can use to set its default behavior.<br />
• ANT_ARGS Set this variable to include those options you use frequently.<br />
• ANT_OPTS is a list of arguments that you want to pass to the JVM that will run Ant.<br />
• JAVACMD is the absolute path to the Java executable you want Ant to use. you may specify a value for the JAVACMD environment variable. This defaults to %JAVA_HOME%\bin\java, typically invoking the JVM provided in Sun&#8217;s Java Development Kit. Ant provides JAVACMD for those who wish to specify an alternate JVM. full path of the Java executable. Use this to invoke a different JVM than JAVA_HOME/bin/java(.exe).</p>
<p>These are useful environment variables that the Ant wrapper scripts use when<br />
invoking Ant: ANT_OPTS and ANT_ARGS. Neither of these is typically set by users,<br />
but each can provide value for certain situations.</p>
<p>The ANT_OPTS environment variable provides options to the JVM executing Ant,<br />
such as system properties and memory configuration. ANT_OPTS &#8211; command-line arguments that should be passed to the JVM. For example, you can define system properties or set the maximum Java heap size here.</p>
<p><b>For authenticated proxy: </b><br />
Set your ANT_OPTS environment variable to configure your proxy if you have one. For instance:<br />
set ANT_OPTS=-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=3128</p>
<p>You can set these properties by either modifying Ant&#8217;s startup script, or by<br />
using the ANT_OPTS environment variable. The following example shows the Windows commands to specify these properties using ANT_OPTS, and then to invoke Ant:<br />
set ANT_OPTS=-DproxySet=true -DproxyHost=localhost -DproxyPort=80<br />
ant mytarget<br />
The same trick works on Unix, although the syntax is slightly different depending on which<br />
shell you use:<br />
$ export ANT_OPTS=&#8221;-DproxySet=true -DproxyHost=localhost -DproxyPort=80&#8243;<br />
$ ant mytarget</p>
<p>set ANT_OPTS=-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=8080 -Dhttp.proxyUserName=myproxyusername -Dhttp.proxyPassword=myproxypassword -Dhttps.proxyHost=myproxyhost -Dhttps.proxyPort=8080</p>
<p>&nbsp;</p>
<p><b>Use </b><b>ANT_OPTS </b><b>to control Ant’s virtual machine settings.</b><br />
Some tasks may require more memory, which you can set in the ANT_OPTS environment variable, using the appropriate mechanism for your platform:<br />
set ANT_OPTS=-Xmx500M<br />
export ANT_OPTS=-Xmx500M</p>
<p>Setting the maximum heap size is another common use of ANT_OPTS. Here is how we set the maximum size to 128 MB when using Sun&#8217;s JDK:<br />
set ANT_OPTS=-Xmx128m</p>
<p>One environment variable you may wish to set is ANT_OPTS. The value of this variable is passed as a JVM argument. Specifying system properties is a common use. In this simple<br />
<b>example, we pass the </b><b>log.dir </b><b>system property to the JVM running Ant:</b><br />
$ set ANT_OPTS=-Dlog.dir=C:\logs<br />
$ ant run<br />
Now this property is available within the buildfile, for instance:<br />
&lt;echo&gt;Log directory is set to: ${log.dir}&lt;/echo&gt;<br />
If the buildfile runs a Java application, the property may be retrieved from within it as<br />
follows:<br />
String logDir = System.getProperty(&#8220;log.dir&#8221;);</p>
<p>&nbsp;</p>
<p><b>Troubleshoot: Illegal Java options in the ANT_OPTS variable</b><br />
The environment variable ANT_OPTS provides a means to pass options into Ant,<br />
such as a permanent definition of some properties, or the memory parameters for<br />
Java. The variable must contain only options the local JVM recognizes. Any invalid<br />
parameter will generate an error message such as the following (where ANT_OPTS was<br />
set to –3):<br />
Unrecognized option: -3<br />
Could not create the Java virtual machine.</p>
<p>If the variable contains a string that is mistaken for the name of the Java class to run<br />
as the main class, then a different error appears:</p>
<p>Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: error-string<br />
Test: Examine ANT_OPTS and verify that the variable is unset or contains valid<br />
JVM options.<br />
Fix: Correct or clear the variable.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/">Usage of ANT_OPTS in Ant Script | ANT_OPTS capabilities</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to use ant Script to Reset BuildNumber?</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-script-to-reset-buildnumber/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-script-to-reset-buildnumber/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 05:16:53 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[ant reset build number]]></category>
		<category><![CDATA[Ant Script]]></category>
		<category><![CDATA[ant Script to Reset BuildNumber]]></category>
		<category><![CDATA[Build number]]></category>
		<category><![CDATA[BuildNumber]]></category>
		<category><![CDATA[change BuildNumber]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Reset]]></category>
		<category><![CDATA[Reset BuildNumber]]></category>
		<category><![CDATA[Reset BuildNumber by ant Script]]></category>
		<category><![CDATA[resetting build numbers]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Use ant script to reset BuildNumber]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/ant-script-to-reset-buildnumber/</guid>

					<description><![CDATA[<p>To use this code, you need to have the file build.number containging: major.number=1 minor.number=0 hotfix.number=0 revision.number=0 continuous.number=0 Then the following 3 targets: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-script-to-reset-buildnumber/">How to use ant Script to Reset BuildNumber?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><!-- [if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:TrackMoves/>   <w:TrackFormatting/>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:DoNotPromoteQF/>   <w:LidThemeOther>EN-US</w:LidThemeOther>   <w:LidThemeAsian>X-NONE</w:LidThemeAsian>   <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>    <w:SplitPgBreakAndParaMark/>    <w:DontVertAlignCellWithSp/>    <w:DontBreakConstrainedForcedTables/>    <w:DontVertAlignInTxbx/>    <w:Word11KerningPairs/>    <w:CachedColBalance/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>   <m:mathPr>    <m:mathFont m:val="Cambria Math"/>    <m:brkBin m:val="before"/>    <m:brkBinSub m:val="--"/>    <m:smallFrac m:val="off"/>    <m:dispDef/>    <m:lMargin m:val="0"/>    <m:rMargin m:val="0"/>    <m:defJc m:val="centerGroup"/>    <m:wrapIndent m:val="1440"/>    <m:intLim m:val="subSup"/>    <m:naryLim m:val="undOvr"/>   </m:mathPr></w:WordDocument> </xml><![endif]--><!-- [if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true" DefSemiHidden="true" DefQFormat="false" DefPriority="99" LatentStyleCount="267">   <w:LsdException Locked="false" Priority="0" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Normal"/>   <w:LsdException Locked="false" Priority="9" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>   <w:LsdException Locked="false" Priority="39" Name="toc 1"/>   <w:LsdException Locked="false" Priority="39" Name="toc 2"/>   <w:LsdException Locked="false" Priority="39" Name="toc 3"/>   <w:LsdException Locked="false" Priority="39" Name="toc 4"/>   <w:LsdException Locked="false" Priority="39" Name="toc 5"/>   <w:LsdException Locked="false" Priority="39" Name="toc 6"/>   <w:LsdException Locked="false" Priority="39" Name="toc 7"/>   <w:LsdException Locked="false" Priority="39" Name="toc 8"/>   <w:LsdException Locked="false" Priority="39" Name="toc 9"/>   <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>   <w:LsdException Locked="false" Priority="10" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Title"/>   <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>   <w:LsdException Locked="false" Priority="11" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>   <w:LsdException Locked="false" Priority="22" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Strong"/>   <w:LsdException Locked="false" Priority="20" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>   <w:LsdException Locked="false" Priority="59" SemiHidden="false" UnhideWhenUsed="false" Name="Table Grid"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>   <w:LsdException Locked="false" Priority="1" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 1"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 1"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 1"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>   <w:LsdException Locked="false" Priority="34" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>   <w:LsdException Locked="false" Priority="29" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Quote"/>   <w:LsdException Locked="false" Priority="30" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 1"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 1"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 2"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 2"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 2"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 2"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 2"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 3"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 3"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 3"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 3"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 3"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 4"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 4"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 4"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 4"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 4"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 5"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 5"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 5"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 5"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 5"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 6"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 6"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 6"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 6"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 6"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>   <w:LsdException Locked="false" Priority="19" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>   <w:LsdException Locked="false" Priority="21" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>   <w:LsdException Locked="false" Priority="31" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>   <w:LsdException Locked="false" Priority="32" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>   <w:LsdException Locked="false" Priority="33" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>   <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>   <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>  </w:LatentStyles> </xml><![endif]--> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> <!-- [if gte mso 10]>



<style>  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman","serif";} </style>

 <![endif]--></p>
<p><img decoding="async" class="alignnone size-full wp-image-4095 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-to-reset-buildnu.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-to-reset-buildnu.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-to-reset-buildnu-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p class="MsoNormal">To use this code, you need to have the file build.number containging:</p>
<p class="MsoNormal">
<p class="MsoNormal">major.number=1</p>
<p class="MsoNormal">minor.number=0<br />
hotfix.number=0</p>
<p class="MsoNormal">revision.number=0<br />
continuous.number=0</p>
<p class="MsoNormal">
<p class="MsoNormal">Then the following 3 targets:</p>
<p class="MsoNormal">
<p class="MsoNormal">  &lt;taskdef resource=&#8221;net/sf/antcontrib/antlib.xml&#8221;/&gt;<br />
&lt;taskdef name=&#8221;unset&#8221; classname=&#8221;ise.antelope.tasks.Unset&#8221;/&gt;</p>
<p class="MsoNormal">    &lt;target name=&#8221;initBuildNum&#8221; description=&#8221;Get current build number properties&#8221;&gt;<br />
&lt;property file=&#8221;build.number&#8221;/&gt;<br />
&lt;var name=&#8221;next.major&#8221; value=&#8221;${major.number}&#8221;/&gt;<br />
&lt;var name=&#8221;next.minor&#8221; value=&#8221;${minor.number}&#8221;/&gt;<br />
&lt;var name=&#8221;next.hotfix&#8221; value=&#8221;${hotfix.number}&#8221;/&gt;<br />
&lt;var name=&#8221;next.revision&#8221; value=&#8221;${revision.number}&#8221;/&gt;<br />
&lt;var name=&#8221;next.continuous&#8221; value=&#8221;${continuous.number}&#8221;/&gt;<br />
&lt;/target&gt;</p>
<p class="MsoNormal">
<p class="MsoNormal">    &lt;target name=&#8221;getBuildNum&#8221;&gt;<br />
&lt;switch value=&#8221;${increment}&#8221;&gt;<br />
&lt;case value=&#8221;rebuild&#8221;/&gt;<br />
&lt;case value=&#8221;major&#8221;&gt;<br />
&lt;!&#8211;Increment major, minor to 1, hotfix to 0, revision to 1&#8211;&gt;<br />
&lt;math result=&#8221;next.major&#8221; operand1=&#8221;${next.major}&#8221; operation=&#8221;+&#8221; operand2=&#8221;1&#8243; datatype=&#8221;int&#8221;/&gt;<br />
&lt;var name=&#8221;next.minor&#8221; value=&#8221;1&#8243; /&gt;<br />
&lt;var name=&#8221;next.hotfix&#8221; value=&#8221;0&#8243; /&gt;<br />
&lt;var name=&#8221;next.revision&#8221; value=&#8221;1&#8243; /&gt;<br />
&lt;/case&gt;<br />
&lt;case value=&#8221;minor&#8221;&gt;<br />
&lt;!&#8211;Major stays the same, minor increments, hotfix goes to 0, revision to 1&#8211;&gt;<br />
&lt;math result=&#8221;next.minor&#8221; operand1=&#8221;${next.minor}&#8221; operation=&#8221;+&#8221; operand2=&#8221;1&#8243; datatype=&#8221;int&#8221;/&gt;<br />
&lt;var name=&#8221;next.hotfix&#8221; value=&#8221;0&#8243; /&gt;<br />
&lt;var name=&#8221;next.revision&#8221; value=&#8221;1&#8243; /&gt;<br />
&lt;/case&gt;<br />
&lt;case value=&#8221;hotfix&#8221;&gt;<br />
&lt;!&#8211;Major stays the same, minor stays the same, hotfix increments, revision goes to 1&#8211;&gt;<br />
&lt;math result=&#8221;next.hotfix&#8221; operand1=&#8221;${next.hotfix}&#8221; operation=&#8221;+&#8221; operand2=&#8221;1&#8243; datatype=&#8221;int&#8221;/&gt;<br />
&lt;var name=&#8221;next.revision&#8221; value=&#8221;1&#8243; /&gt;<br />
&lt;/case&gt;<br />
&lt;case value=&#8221;continuous&#8221;&gt;<br />
&lt;!&#8211;For continuous integration don&#8217;t change anything but 5th build digit&#8211;&gt;<br />
&lt;math result=&#8221;next.continuous&#8221; operand1=&#8221;${next.continuous}&#8221; operation=&#8221;+&#8221; operand2=&#8221;1&#8243; datatype=&#8221;int&#8221;/&gt;<br />
&lt;/case&gt;<br />
&lt;case value=&#8221;contReset&#8221;&gt;<br />
&lt;!&#8211;Continuous build, but they want the 5th digit reset (i.e. new week)&#8211;&gt;<br />
&lt;var name=&#8221;next.continuous&#8221; value=&#8221;1&#8243;/&gt;<br />
&lt;/case&gt;<br />
&lt;default&gt;<br />
&lt;!&#8211;Update revision number only, they didn&#8217;t ask for anything special&#8211;&gt;<br />
&lt;math result=&#8221;next.revision&#8221; operand1=&#8221;${next.revision}&#8221; operation=&#8221;+&#8221; operand2=&#8221;1&#8243; datatype=&#8221;int&#8221;/&gt;<br />
&lt;/default&gt;<br />
&lt;/switch&gt;<br />
&lt;/target&gt;</p>
<p class="MsoNormal">
<p class="MsoNormal">    &lt;target name=&#8221;setBuildNumber&#8221; depends=&#8221;initBuildNum,getBuildNum&#8221;&gt;<br />
&lt;!&#8211;First save the build number properties&#8211;&gt;<br />
&lt;propertyfile file=&#8221;build.number&#8221;&gt;<br />
&lt;entry key=&#8221;major.number&#8221; value=&#8221;${next.major}&#8221;/&gt;<br />
&lt;entry key=&#8221;minor.number&#8221; value=&#8221;${next.minor}&#8221;/&gt;<br />
&lt;entry key=&#8221;hotfix.number&#8221; value=&#8221;${next.hotfix}&#8221;/&gt;<br />
&lt;entry key=&#8221;revision.number&#8221; value=&#8221;${next.revision}&#8221;/&gt;<br />
&lt;entry key=&#8221;continuous.number&#8221; value=&#8221;${next.continuous}&#8221;/&gt;<br />
&lt;/propertyfile&gt;<br />
&lt;!&#8211;Unset the properties so that we can change their values&#8211;&gt;<br />
&lt;unset name=&#8221;major.number&#8221;/&gt;<br />
&lt;unset name=&#8221;minor.number&#8221;/&gt;<br />
&lt;unset name=&#8221;hotfix.number&#8221;/&gt;<br />
&lt;unset name=&#8221;revision.number&#8221;/&gt;<br />
&lt;unset name=&#8221;continuous.number&#8221;/&gt;<br />
&lt;property file=&#8221;build.number&#8221;/&gt;<br />
&lt;!&#8211;set the full.buildnumber property to be used by the build&#8211;&gt;<br />
&lt;if&gt;<br />
&lt;or&gt;<br />
&lt;equals arg1=&#8221;${increment}&#8221; arg2=&#8221;continuous&#8221;/&gt;<br />
&lt;equals arg1=&#8221;${increment}&#8221; arg2=&#8221;contReset&#8221;/&gt;<br />
&lt;/or&gt;<br />
&lt;then&gt;<br />
&lt;property name=&#8221;full.buildnumber&#8221; value=&#8221;${major.number}.${minor.number}.${hotfix.number}.${revision.number}.${continuous.number}&#8221;/&gt;<br />
&lt;/then&gt;<br />
&lt;else&gt;<br />
&lt;property name=&#8221;full.buildnumber&#8221; value=&#8221;${major.number}.${minor.number}.${hotfix.number}.${revision.number}&#8221;/&gt;<br />
&lt;/else&gt;<br />
&lt;/if&gt;<br />
&lt;echo&gt;${full.buildnumber}&lt;/echo&gt;<br />
&lt;/target&gt;</p>
<p class="MsoNormal">
<p class="MsoNormal">Add these three targets to your ant script.  Put a &#8220;depends&#8221; to &#8220;setBuildNumber&#8221; at invocation of your ant script.  Depending on what you want to do, you&#8217;ll set different vars on the way in as follows:</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Usage:</strong><br />
To build and increment revision number only:<br />
&gt;Ant<br />
To move to the next major build number:<br />
&gt;Ant -Dincrement=major<br />
To move to the next minor build number:<br />
&gt;Ant -Dincrement=minor<br />
To move to the next hotfix build number:<br />
&gt;Ant -Dincrement=hotfix</p>
<p class="MsoNormal">  To do a continuous integration build incrementing 5th digit:<br />
&gt;Ant -Dincrement=continuous<br />
To do a continuous integration build resetting 5th digit to 1:<br />
&gt;Ant -Dincrement=contReset</p>
<p class="MsoNormal">
<p class="MsoNormal">Note that if you don&#8217;t set the value of increment, the build number will only have 4 digits.  The var that holds the build number after this is called is ${full.buildnumber}.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-script-to-reset-buildnumber/">How to use ant Script to Reset BuildNumber?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-script-to-reset-buildnumber/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ant Script with Shell script, How to run shell script from Ant Script?</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:09:39 +0000</pubDate>
				<category><![CDATA[others scripting language]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[Ant and Shell script Commands]]></category>
		<category><![CDATA[Ant Script]]></category>
		<category><![CDATA[Ant Script with Shell script]]></category>
		<category><![CDATA[Ant via a shell script]]></category>
		<category><![CDATA[Call]]></category>
		<category><![CDATA[call shell script from ant script]]></category>
		<category><![CDATA[How to run shell script using ant]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[Shell script]]></category>
		<category><![CDATA[shell script using Ant]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/ant-script-with-shell-script/</guid>

					<description><![CDATA[<p>Ant Script with Shell script How to set files Permission in Ant &#124; How to set files Permission in Unix [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/">Ant Script with Shell script, How to run shell script from Ant Script?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4013 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-with-shell-scrip.png" alt="ant-script-with-shell-script" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-with-shell-scrip.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-with-shell-scrip-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<table class="mceItemTable" border="0" width="100%">
<tbody>
<tr>
<td class="HEADING"><b>Ant Script with Shell script</b></td>
</tr>
<tr>
<td class="HEADING_BODY"><b>How to set files Permission in Ant</b> | <b>How to set files Permission in Unix</b> | <b>Set files Permission in Ant in Unix Environment</b></td>
</tr>
<tr>
<td class="HEADING"><b>Command:</b></td>
</tr>
<tr>
<td class="HEADING_BODY">&nbsp;</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="HEADING"><b>Ant Script to Replace some character in any files</b></td>
</tr>
<tr>
<td class="HEADING_BODY">&nbsp;</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="HEADING"><b>How to run shell script using ant/</b></td>
</tr>
<tr>
<td class="HEADING_BODY">&nbsp;</td>
</tr>
<tr>
<td class="HEADING"><b>To Remove Some Special Character from Files</b></td>
</tr>
<tr>
<td class="HEADING_BODY">for name in `find PWD -type f`<br />
do<br />
if [ -f $name ]; then<br />
tr -d &#8220;\015&#8221; ${name}XXXYYYZZZ<br />
mv ${name}XXXYYYZZZ $name<br />
echo &#8220;$name updated&#8221;<br />
fi<br />
done</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/">Ant Script with Shell script, How to run shell script from Ant Script?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
