<?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 Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/ant/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/ant/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 10:15:09 +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>Apache Ant: A Build Tool</title>
		<link>https://www.scmgalaxy.com/tutorials/apache-ant-a-build-tool/</link>
					<comments>https://www.scmgalaxy.com/tutorials/apache-ant-a-build-tool/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 21:27:47 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Build Tools]]></category>
		<category><![CDATA[java]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4795</guid>

					<description><![CDATA[<p>Apache Ant (or simply Ant) is an XML-based build scripting language used heavily by the Open Source community. Ant automates tasks [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apache-ant-a-build-tool/">Apache Ant: A Build Tool</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Apache Ant</strong> (or simply Ant) is an XML-based build scripting language used heavily by the Open Source community. Ant automates tasks such as compiling source code, building deployment packages and automatically checking dependencies of what items need to be updated in a build set.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apache-ant-a-build-tool/">Apache Ant: A Build Tool</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/apache-ant-a-build-tool/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Using Ant to build J2EE Applications</title>
		<link>https://www.scmgalaxy.com/tutorials/using-ant-to-build-j2ee-applications/</link>
					<comments>https://www.scmgalaxy.com/tutorials/using-ant-to-build-j2ee-applications/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 21:26:12 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[Another Neat Tool]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Build tool]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[java]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4792</guid>

					<description><![CDATA[<p>Apache Ant (Another Neat Tool) is a build tool, mainly for Java projects. A build tool can be used to automate [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/using-ant-to-build-j2ee-applications/">Using Ant to build J2EE Applications</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Apache Ant</strong> (Another Neat Tool) is a build tool, mainly for Java projects. A build tool can be used to automate certain repetitive tasks, e.g. compiling source code, running software tests, creating jar files, javadocs, etc.</p>
<p>A build process typically includes:</p>
<div>
<ul>
<li>the compilation of the Java source code into Java bytecode</li>
<li>creation of the .jar file for the distribution of the code</li>
<li>creation of the Javadoc documentation</li>
</ul>
</div>
<p>Ant uses a xml file for its configuration. This file is usually called &#8220;build.xml&#8221;. Within this build file you specify the targets for ant. A target is a step which ant will perform. You also can specific dependencies. If target A depends on target B, ant will first do B and then A. Also you specify the main target. This target is the target ant will try to execute per default. If this target depends on other targets then ant will automatically perform these task first and so on and so on.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/using-ant-to-build-j2ee-applications/">Using Ant to build J2EE Applications</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/using-ant-to-build-j2ee-applications/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Useful links for Sonar with Ant</title>
		<link>https://www.scmgalaxy.com/tutorials/useful-links-for-sonar-with-ant/</link>
					<comments>https://www.scmgalaxy.com/tutorials/useful-links-for-sonar-with-ant/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 08:30:07 +0000</pubDate>
				<category><![CDATA[source code analysis tools]]></category>
		<category><![CDATA[ANT]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2629</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Useful links for Sonar with Ant Sonar with Ant sonar.codehaus.org/a-new-hudson-plugin-f&#8230;egration-with-sonar/ old.nabble.com/Ant-Integration-td20105950.html old.nabble.com/JUNIT&#8212;ANT-Build-File-td21797773.html docs.codehaus.org/display/SONAR/Analyzing+Java+Projects Regards, Rajesh Kumar [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/useful-links-for-sonar-with-ant/">Useful links for Sonar with Ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Useful links for Sonar with Ant</strong></p>
<p>Sonar with Ant<br />
<a href="http://sonar.codehaus.org/a-new-hudson-plugin-f...egration-with-sonar/">sonar.codehaus.org/a-new-hudson-plugin-f&#8230;egration-with-sonar/ </a><br />
<a href="http://twitter.com/RajeshKumarIn">old.nabble.com/Ant-Integration-td20105950.html </a><br />
<a href="http://old.nabble.com/JUNIT---ANT-Build-File-td21797773.html">old.nabble.com/JUNIT&#8212;ANT-Build-File-td21797773.html </a><br />
<a href="http://docs.codehaus.org/display/SONAR/Analyzing+Java+Projects">docs.codehaus.org/display/SONAR/Analyzing+Java+Projects</a></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p><strong>rajeshkumar replied the topic: Re: Useful links for Sonar with Ant</strong><br />
Sonar and Other Quality Tools</p>
<p><a href="http://sonar.codehaus.org/what-makes-checkstyle...acker-complementary/">sonar.codehaus.org/what-makes-checkstyle&#8230;acker-complementary/ </a><br />
<a href="http://itspice.net/cms/tools/java-development/s...e-quality-management">itspice.net/cms/tools/java-development/s&#8230;e-quality-management </a><br />
<a href="http://ganeshrenganathan.wordpress.com/2009/07/29/sonar-hudson/">ganeshrenganathan.wordpress.com/2009/07/29/sonar-hudson/</a></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/useful-links-for-sonar-with-ant/">Useful links for Sonar with Ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/useful-links-for-sonar-with-ant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ant cpptask with ivy</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-cpptask-with-ivy/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-cpptask-with-ivy/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 11:41:07 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1924</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: ant cpptask with ivy Questions: A company I am working for, has some c binaries build [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-cpptask-with-ivy/">Ant cpptask with ivy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: ant cpptask with ivy</strong><br />
Questions:<br />
A company I am working for, has some c binaries build with ant using cpptask. They use ivy to retrieve shared c libraries every time we start a build which wastes a significant amount of time comparing the revisions and downloading, when then only need to be download if the header files have changed. I have added a target which sets a var, which causes the build to skip over the ivy steps but I&#8217;d like a better solution. I see that cpptask creates a file history.xml and only rebuilds to binary if any of the sources have change. I&#8217;d like to know if there is way to independently test if the binary needs to build, and it does, I&#8217;d like it fire off the ivy targets. I&#8217;d also like for a variable to be set if the binary was rebuilt so that I can conditionally start an rpm generation task</p>
<p>Answer:
<project name="conditional_compile" default="build">
<p>    <condition property="file.modified"><br />
        <isfileselected file="test.txt"><br />
            <modified/><br />
        </isfileselected><br />
    </condition></p>
<p>    <target name="build" if="file.modified"><br />
        <echo message="This is a compile step that depends on the modification of a file"/><br />
    </target></p>
</project>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-cpptask-with-ivy/">Ant cpptask with ivy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-cpptask-with-ivy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ant+Unable to create directory as a file already</title>
		<link>https://www.scmgalaxy.com/tutorials/antunable-to-create-directory-as-a-file-already/</link>
					<comments>https://www.scmgalaxy.com/tutorials/antunable-to-create-directory-as-a-file-already/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 11:32:07 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1917</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Ant+Unable to create directory as a file already Hi, I have one file called djir.ear and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/antunable-to-create-directory-as-a-file-already/">Ant+Unable to create directory as a file already</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Ant+Unable to create directory as a file already</strong><br />
Hi,</p>
<p>I have one file called djir.ear and I am trying to create a folder with the same name &#8220;jir.ear&#8221; same location using ant script.<br />
but i get error message saying that<br />
Unable to create directory as a file alr<br />
eady exists with that name</p>
<p>Can you suggest me any solution for this? as i build is failing and mkdir do not support failonerror propertry <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/antunable-to-create-directory-as-a-file-already/">Ant+Unable to create directory as a file already</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/antunable-to-create-directory-as-a-file-already/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Help in copy files from list using ant</title>
		<link>https://www.scmgalaxy.com/tutorials/help-in-copy-files-from-list-using-ant/</link>
					<comments>https://www.scmgalaxy.com/tutorials/help-in-copy-files-from-list-using-ant/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 11:24:55 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ANT]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1913</guid>

					<description><![CDATA[<p>scmuser created the topic: Help in copy files from list using ant Help in copy files from list using ant [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/help-in-copy-files-from-list-using-ant/">Help in copy files from list using ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Help in copy files from list using ant</strong><br />
Help in copy files from list using ant</p>
<p>Hi,</p>
<p>I have one file called list.txt where i have mentioned all the files which need to be copied from specific directry.</p>
<p>can you please help me with the right copy task syntax which read the files name from list.txt and copy to destination directory???</p>
<p>tpatil replied the topic: Re:Help in copy files from list using ant<br />
You can &#8220;for&#8221; loop in build to achieve this<br />
Build.xml:-</p>
<p><code><for list="${copy.files}" param="val"><br />
    <sequential><br />
       <echo>Copying File @{val}</echo><br />
       <copy file="@{val}" todir="${destination_dir}"/><br />
    </sequential><br />
</for></p>
<p>Build.properties:-<br />
copy.files=${src_dir1}/build/build.xml,\<br />
         	${src_dir2}/build/build.xml</code></p>
<p><strong>rajeshkumar replied the topic: Re:Help in copy files from list using ant</strong><br />
I would recommend following command for same&#8230;</p>
<p><copy todir="${}/lib" overwrite="true" failonerror="false"><br />
<fileset dir="${}"><br />
<includesfile name="${}/file1.txt"/><br />
</fileset><br />
</copy><br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p><strong>scmuser replied the topic: Re:Help in copy files from list using ant</strong><br />
<copy todir=""><fileset dir="" includelist="filelist.txt"/></copy></p>
<p><strong>amitanand123 replied the topic: Re:Help in copy files from list using ant</strong><br />
<copy todir="${dest.dir}/"><br />
<fileset dir="${src}" includes="**/*.*"/><br />
</copy></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/help-in-copy-files-from-list-using-ant/">Help in copy files from list using ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/help-in-copy-files-from-list-using-ant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ant Scripting Issue</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-scripting-issue/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-scripting-issue/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 10:55:59 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1910</guid>

					<description><![CDATA[<p>ant-qa created the topic: Ant Scripting Issue 1) I have many ant build files ( .xml files / test scripts) [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-scripting-issue/">Ant Scripting Issue</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>ant-qa created the topic: Ant Scripting Issue</strong><br />
1) I have many ant build files ( .xml files / test scripts) in folder : bin/execute</p>
<p>2) I have another testsuit.xml file (ant build file) that works as a test suit. All the test cases in folder : bin/execute are executed in the order they appear in testsuit.xml</p>
<p>3) I want to write code maybe another ant test (.xml file) to make sure that all the test cases are added (executed) in the test suit.</p>
<p>4) Test cases in the testsuit.xml can be identified by : <runant antfile="testcasename.xml" /></p>
<p>Any thoughts will be extremely appreciated</p>
<p>Thanks</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-scripting-issue/">Ant Scripting Issue</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-scripting-issue/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Condition with Task in Ant</title>
		<link>https://www.scmgalaxy.com/tutorials/condition-with-task-in-ant/</link>
					<comments>https://www.scmgalaxy.com/tutorials/condition-with-task-in-ant/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 10:54:15 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1908</guid>

					<description><![CDATA[<p>scmuser created the topic: Condition with Task in Ant Hi, How can i use conditions in Ant Task execution? Any [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/condition-with-task-in-ant/">Condition with Task in Ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Condition with Task in Ant</strong><br />
Hi,</p>
<p>How can i use conditions in Ant Task execution?</p>
<p>Any idea?</p>
<p><strong>tpatil replied the topic: Re: Condition with Task in Ant</strong><br />
[i]<target name="check-props"></p>
<p>	<!-- Ensure that entry doesn't exists in list --><br />
        <condition property="entry-exists"><br />
             <contains string="${tag.list}" substring="${build.label}" /><br />
        </condition><br />
        <fail if="entry-exists" message="Entry already exists.Please specify another." /></p>
<p>	<!-- Ensure dir is configured correctly and exists--><br />
        <condition property="dir-configured"><br />
            <and><br />
                <isset property="dir" /><br />
                <available file="${dir}" type="dir" /><br />
            </and><br />
        </condition><br />
        <fail unless="dir-configured" message="dir not configured" /></p>
<p></target></p>
<p><!-- Execute the ant based on condition is set or not --><br />
<target name="-set-props-if-set" if="property1">
	    <property name="property2" value="string1"/>
	    <property name="property3" value="string2"/>
</target></p>
<p><target name="-set-props-if-not-set" unless="property1">
	    <property name="property2" value="string2"/>
	    <property name="property3" value="string1"/>
</target>[/i]</p>
<p><strong>rajeshkumar replied the topic: Re: Condition with Task in Ant</strong><br />
Hi,</p>
<p>I guess questions was based on applying condition for Aant TASK instead of Ant Target. Following ways i mean using <condition> you can set the conditional properties value but set condition with TASK.</p>
<p>There is one external lib ant-contrib which can be used to put conditional Task such you can find more details in links below&#8230;..<br />
<a href="http://ant-contrib.sourceforge.net/tasks/tasks/if.html">ant-contrib.sourceforge.net/tasks/tasks/if.html</a><br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/condition-with-task-in-ant/">Condition with Task in Ant</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/condition-with-task-in-ant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ANT Build Integration with InstallAnywhere</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-build-integration-with-installanywhere/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-build-integration-with-installanywhere/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 02 Dec 2017 05:17:34 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Build Integration]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=859</guid>

					<description><![CDATA[<p>installanywhereExpert created the topic: ANT Build Integration with InstallAnywhere ANT Build Integration with InstallAnywhere ANT is a powerful, Java based [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-build-integration-with-installanywhere/">ANT Build Integration with InstallAnywhere</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>installanywhereExpert created the topic: ANT Build Integration with InstallAnywhere</strong><br />
ANT Build Integration with InstallAnywhere</p>
<p>ANT is a powerful, Java based build tool developed by the Apache Foundation’s Jakarta Project. It can be used to control complex build tasks in Java and other development environments. ANT manages specific actions though &#8220;tasks&#8221; which can either be part of the core ANT distribution or available as extensions. InstallAnywhere comes with an ANT task to build installers from ANT. The InstallAnywhere ANT task is located in your InstallAnywhere application folder, inside &#8220;resource&#8221; and then inside &#8220;/build&#8221;.. Add &#8220;iaant.jar&#8221; to your classpath when executing ANT to get access to the InstallAnywhere ANT task. ANT uses an XML file to specify the order of tasks for your build process. More information on ANT can be found on the Apache Foundation&#8217;s Jakarta Project Web site.</p>
<p>Task Name and Class<br />
The InstallAnywhere ANT task is specified as follows:<br />
<taskdef name="buildinstaller"
classname="com.zerog.ia.integration.ant.InstallAnywhereAntTask"/></p>
<p>This task can be found inside the iaant.jar file, in your InstallAnywhere application<br />
folder, inside &#8220;resource&#8221; and then inside &#8220;build&#8221;.</p>
<p>Parameters<br />
After defining the task, specify any parameter necessary for the build settings:<br />
<buildinstaller
IAlocation="C:\Program Files\InstallAnywhere 6 Enterprise"
IAProjectFile="C:\Projects\myproject.iap_xml"
additionalparameter=value
/><br />
Replace the IAlocation with the absolute path to your own InstallAnywhere<br />
application folder. If InstallAnywhere cannot be found, ANT will search for it in one of<br />
the default locations or look in the registry to find where InstallAnywhere was<br />
installed to.<br />
Specify the path and file name of the project to build in the IAProjectFile parameter.<br />
All other properties are optional. The parameters closely match the properties found<br />
in the Build Properties File described above. The following table shows the available<br />
parameters.</p>
<p><strong>ashok423 replied the topic: Re: ANT Build Integration with InstallAnywhere</strong><br />
Hi, The parameters table which you mentioned is missing from the post. Can you please post it again.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-build-integration-with-installanywhere/">ANT Build Integration with InstallAnywhere</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-build-integration-with-installanywhere/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 10 DevOps Tools which is mostly used by DevOps Engineers &#124; scmGalaxy</title>
		<link>https://www.scmgalaxy.com/tutorials/top-10-devops-tools-which-is-mostly-used-by-devops-engineers/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-10-devops-tools-which-is-mostly-used-by-devops-engineers/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 16 Mar 2017 11:02:28 +0000</pubDate>
				<category><![CDATA[DevOps Tooling]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Apache Maven]]></category>
		<category><![CDATA[Best]]></category>
		<category><![CDATA[Best DevOps Tools]]></category>
		<category><![CDATA[Chef]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[DevOps Engineers]]></category>
		<category><![CDATA[DevOps Tools]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Gradle]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[List of DevOps Tools]]></category>
		<category><![CDATA[Logstash]]></category>
		<category><![CDATA[New Relic]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Top]]></category>
		<category><![CDATA[Top DevOps Tools]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/03/16/top-10-devops-tools-which-is-mostly-used-by-devops-engineers/</guid>

					<description><![CDATA[<p>DevOps is an important component for software industry today. Developing and implementing a DevOps culture helps to focus IT results [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-10-devops-tools-which-is-mostly-used-by-devops-engineers/">Top 10 DevOps Tools which is mostly used by DevOps Engineers | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img fetchpriority="high" decoding="async" class="aligncenter wp-image-2996 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/top-10-devops-tools-which-i.png" alt="top-10-devops-tools" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/top-10-devops-tools-which-i.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/top-10-devops-tools-which-i-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div style="text-align: justify;"><strong>DevOps</strong> is an important component for software industry today. Developing and implementing a DevOps culture helps to focus IT results and to save time and money as the gap between developers and IT operations teams closes. Just as the term and culture are new, so are many of the best DevOps tools these DevOps engineers use to do their jobs efficiently and productively. To help you in your DevOps process, we have searched and created this list of DevOps tools which is mostly used by DevOps Engineers in their projects.</div>
<div style="text-align: justify;"></div>
<p><strong>1. Chef</strong></p>
<p><img decoding="async" class="alignnone wp-image-541 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/chef-scmgalaxy.png" alt="devops-tool-chef" width="400" height="200" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/chef-scmgalaxy.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/chef-scmgalaxy-300x150.png 300w" sizes="(max-width: 400px) 100vw, 400px" /></p>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Chef</strong> is an extremely popular tool among DevOps engineers. From IT automation to configuration management, Chef relies on recipes and resources so you can manage unique configurations and feel secure knowing Chef is checking your nodes and bringing them up to date for you.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Manage nodes from a single server</li>
<li style="text-align: justify;">Cross-platform management for Linux, Windows, Mac OS, and more</li>
<li style="text-align: justify;">Integrates with major cloud providers</li>
<li style="text-align: justify;">Premium features available</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">
<p><strong>2. Jenkins</strong></p>
<p><img decoding="async" class="alignnone wp-image-542 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/jenkins-scmgalaxy.png" alt="devops-tool-jenkins" width="400" height="200" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/jenkins-scmgalaxy.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/jenkins-scmgalaxy-300x150.png 300w" sizes="(max-width: 400px) 100vw, 400px" /></p>
<p>&nbsp;</p>
</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">An extensible continuous integration engine, Jenkins is a top tool for DevOps engineers who want to monitor executions of repeated jobs. With Jenkins, DevOps engineers have an easier time integrating changes to projects and have access to outputs to easily notice when something goes wrong.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Permanent links</li>
<li style="text-align: justify;">RSS/email/IM integration</li>
<li style="text-align: justify;">After-the-fact tagging</li>
<li style="text-align: justify;">JUnit/TestNG test reporting</li>
<li style="text-align: justify;">Distributed builds</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>3. Puppet</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-543 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/puppet-scmgalaxy.png" alt="devops-tool-puppet" width="400" height="200" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/puppet-scmgalaxy.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/puppet-scmgalaxy-300x150.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
</div>
<div style="text-align: justify;">Puppet is an open-source configuration management tool. It runs on many Unix-like systems as well as on Microsoft Windows, and includes its own declarative language to describe system configuration. DevOps engineers often rely on Puppet for IT automation. Get a handle on configuration management and software while making rapid, repeatable changes with Puppet.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Automatically enforce consistency of environments</li>
<li style="text-align: justify;">Works across physical and virtual machines</li>
<li style="text-align: justify;">A common tool-chain</li>
<li style="text-align: justify;">Support key DevOps best practices, including continuous delivery</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">
<p><strong>4. Ant</strong></p>
<p>&nbsp;</p>
</div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-544 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/apache-ant-scmgalaxy.png" alt="devops-tool-ant" width="400" height="200" /></p>
</div>
<div style="text-align: justify;">A Java library and command-line tool, Apache Ant looks “to drive processes described in build files as targets and extension points dependent upon each other.” This build automation tool is one that saves DevOps engineers a great deal of time.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Supplies a number of built-in tasks for compiling, assembling, testing, and running Java applications</li>
<li style="text-align: justify;">Builds non-Java applications, such as C or C++ applications</li>
<li style="text-align: justify;">Pilot any type of process which can be described in terms of targets and tasks</li>
<li style="text-align: justify;">Extremely flexible and does not impose coding conventions or directory layouts to the Java projects which adopt it as a build tool</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">
<p><strong>5. Apache Maven</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-545 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/maven-scmgalaxy.png" alt="devops-tool-apache-maven" width="400" height="200" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/maven-scmgalaxy.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/maven-scmgalaxy-300x150.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">DevOps engineers can manage a project’s build, reporting, and documentation from a central piece of information with Apache Maven. A software project management and comprehension tool, Maven has been a reliable tool for DevOps engineers.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Simple project setup follows best practices</li>
<li style="text-align: justify;">Easily work with multiple projects at one time</li>
<li style="text-align: justify;">Large repository of libraries and metadata that continue to grow</li>
<li style="text-align: justify;">Extensible, with the ability to write plugins in Java or scripting languages</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>6. Logstash</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-546 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/logstash-scmgalaxy.png" alt="devops-tool-logstash" width="400" height="200" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/logstash-scmgalaxy.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/logstash-scmgalaxy-300x150.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<p>For open source log processing, search, and analytics, Logstash is a popular tool among DevOps engineers. Because Logstash is licensed under Apache 2.0, you can use it in the way that best suits your needs.</p>
</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Collects, parses, and stores logs for later use</li>
<li style="text-align: justify;">Includes a web interface for searching and drilling into all of your logs</li>
<li style="text-align: justify;">Ship logs from any source, parse them, timestamp them correctly, index them, and search them</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">
<p><strong>7. Docker</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-547 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/docker-scmgalaxy.png" alt="devops-tool-docker" width="400" height="200" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/docker-scmgalaxy.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/docker-scmgalaxy-300x150.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<p>&nbsp;</p>
</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">An open platform for distributed applications, Docker is an application for DevOps engineers who want to “build, ship, and run any app, anywhere.” With Docker, you can quickly assemble apps from components and work collaboratively.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Assemble multi-container apps and run on any infrastructure</li>
<li style="text-align: justify;">Compose an app using both proprietary containers and Docker Hub Official Repos</li>
<li style="text-align: justify;">Manage all containers of an app as a single group</li>
<li style="text-align: justify;">Cluster an app’s containers to optimize resources and provide high-availability</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>8. New Relic</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-548 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/newrelic-scmgalaxy.png" alt="devops-tool-new-relic" width="400" height="200" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/newrelic-scmgalaxy.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/newrelic-scmgalaxy-300x150.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
</div>
<div style="text-align: justify;">With New Relic APM, DevOps engineers spend less time monitoring applications and more time on building and deploying. A popular, reliable tool, New Relic APM is a great choice for DevOps engineers.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Helps in the build, deployment, and maintenance of web software</li>
<li style="text-align: justify;">Application monitoring in one place</li>
<li style="text-align: justify;">Cross application and transaction tracing</li>
<li style="text-align: justify;">Database and availability and error monitoring</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>9. Gradle</strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-549 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/gradle-scmgalaxy.png" alt="devops-tool-gradle" width="400" height="200" /></p>
<p>&nbsp;</p>
</div>
<div style="text-align: justify;">Gradle is a robust tool for automating building, testing, publishing, and deploying software packages and other projects. With the combined power and flexibility of Ant and Maven, Gradle is an open source build automation system which is perfect and very useful for DevOps engineers.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Declarative builds and build-by-convention</li>
<li style="text-align: justify;">Language for dependency-based programming</li>
<li style="text-align: justify;">Structure your build</li>
<li style="text-align: justify;">Deep API</li>
<li style="text-align: justify;">Multi-project builds</li>
<li style="text-align: justify;">Ease of migration</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>10. Git </strong></div>
<div style="text-align: justify;">
<p><img loading="lazy" decoding="async" class="alignnone wp-image-550 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/03/git-scmgalaxy.png" alt="devops-tool-git " width="400" height="200" /></p>
<p>&nbsp;</p>
</div>
<div style="text-align: justify;">Git is a mature, actively maintained open source project originally developed in 2005 by Linus Torvalds, the famous creator of the Linux operating system kernel. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><strong>Key Features:</strong></div>
<ul>
<li style="text-align: justify;">Working offline</li>
<li style="text-align: justify;">Fast to Work With</li>
<li style="text-align: justify;">Repositories Are Smaller</li>
<li style="text-align: justify;">Moving or Adding files</li>
<li style="text-align: justify;">Ignore Certain Files</li>
<li style="text-align: justify;">Branches</li>
<li style="text-align: justify;">Check the Status of Your Changes</li>
<li style="text-align: justify;">Stash Branches</li>
<li style="text-align: justify;">Cherry Pick Changes from Branches</li>
<li style="text-align: justify;">Find version that Introduced a bug using Binary Search</li>
</ul>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">These are the most popular DevOps tools which are used by DevOps engineers or practitioners these days. But to make most out of these tools you need to have proper knowledge of these tools like installation process, implementation process, where to you use, how to use, troubleshooting and much more. So, if you think you need help or training for these tools or for DevOps related helps than we are here to assist you with our industry expertise professionals.</div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-10-devops-tools-which-is-mostly-used-by-devops-engineers/">Top 10 DevOps Tools which is mostly used by DevOps Engineers | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-10-devops-tools-which-is-mostly-used-by-devops-engineers/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Build and Release Course Training with Jenkins / Maven /Ant/ SVN &#038; Git</title>
		<link>https://www.scmgalaxy.com/tutorials/build-and-release-training-with-jenkins-maven-ant-svn-git-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/build-and-release-training-with-jenkins-maven-ant-svn-git-2/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 13 Feb 2015 11:05:53 +0000</pubDate>
				<category><![CDATA[Training]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Bangalore]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Build and Release]]></category>
		<category><![CDATA[Build and Release Course]]></category>
		<category><![CDATA[Build and Release Training]]></category>
		<category><![CDATA[Build and Release Training Program]]></category>
		<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Course]]></category>
		<category><![CDATA[Courses]]></category>
		<category><![CDATA[Delivery]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[Engineer]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Hyderabad]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Online]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trainer]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Usa]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/02/13/build-and-release-training-with-jenkins-maven-ant-svn-git-2/</guid>

					<description><![CDATA[<p>Upcoming Training Dates &#124; Training Agenda &#124; Training Calender &#124; FAQ &#124; Why scmGalaxy Online Training Click Here Mode – Online based Email – info@scmgalaxy.com [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-and-release-training-with-jenkins-maven-ant-svn-git-2/">Build and Release Course Training with Jenkins / Maven /Ant/ SVN &#038; Git</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="size-full wp-image-3521 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/build-and-release-training-.png" alt="build-and-release-training-with-jenkins-maven-ant-svn-git" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/build-and-release-training-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/build-and-release-training--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><a title="DevOps Training Registration" href="events/register/index.html" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class=" size-full wp-image-1" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/registernow.jpg" alt="" width="232" height="104" /></a></p>
<h4><a href="list.html" target="_blank" rel="noopener">Upcoming Training Dates</a> | <a href="training/" target="_blank" rel="noopener">Training Agenda</a> | <a href="calender/" target="_blank" rel="noopener">Training Calender</a> | <a href="training/faq.html" target="_blank" rel="noopener">FAQ</a> | <a href="training/advantage-of-online-training-at-scmgalaxy.html" target="_blank" rel="noopener">Why scmGalaxy Online Training</a></h4>
<p><a title="upcoming training dates" href="index.php?option=com_icagenda&amp;view=list&amp;Itemid=389"><img loading="lazy" decoding="async" class=" size-full wp-image-4" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/upcoming-training-dates.png" alt="" width="200" height="100" /></a><strong><a title="Upcoming Training Dates" href="index.php?option=com_icagenda&amp;view=list&amp;Itemid=389">Click Here</a></strong></p>
<p><strong>Mode – Online based</strong><br />
<strong>Email – info@scmgalaxy.com</strong></p>
<p><strong>Lab Setup Details &#8211; Prerequisites</strong><br />
Operating Systems &#8211; Windows 7 or Linux(RHEL 7.X or Ubantu)<br />
JDK 1.7 or Higher<br />
SCM Tool Clients Installed (SVN, GIT, Perforce)<br />
Servlet container like GlassFish and Tomcat (If one wants to host Jenkins outside) – Optional</p>
<p>[If trainee is having any specific learning agenda to be addressed in this training apart from the table of Content as below; please email me @ info@scmgalaxy.com]</p>
<p align="center"><strong>Table of Content</strong></p>
<p><strong>Continuous Integration with Jenkins</strong></p>
<ul>
<li>What is Software Configuration Management</li>
<li>What is Build and Release Engineering</li>
<li>Introduction of Version Control Management?
<ul>
<li>Basic usage of Subversion</li>
<li>Basic usage of git</li>
</ul>
</li>
<li>Introduction of Build Management?
<ul>
<li>How to write ant script?</li>
<li>How to write Maven script?</li>
<li>How to write MSBuild Script?</li>
</ul>
</li>
<li>Introduction of Release Management?</li>
<li>Benefit of Continuous Integration?</li>
<li>Different Continuous Integration Tools?</li>
<li>Focus on Jenkins</li>
<li>Installation and Setup of Jenkinks</li>
<li>Configure a Job to Build the Project using SVN /GIT and ANT/Maven</li>
<li>Using Build Script (Ant, Maven and MSBuild) with Jenkins</li>
<li>Authentication and Authorization in Jenkins</li>
<li>Lab and Assignment</li>
<li>Nodes Setup in Jenkins</li>
<li>Labels, Tags and Notification using Jenkins</li>
<li>Empowered with Plugins in Jenkins</li>
<li>20 Popular Plugins and Their Usage</li>
<li>Integrating Jenkins with Junit for automated testing</li>
<li>Integrating Jenkins with HP-QC for automated testing</li>
<li>Integrating Jenkins with Cobertura for test Coverage</li>
<li>Integrating Jenkins with Sonar for static code analysis</li>
<li>Release and Deployments using Jenkins and Nexus</li>
<li>Advance Jenkins
<ul>
<li>Jenkins Scripting</li>
<li>Jenkins Command line</li>
</ul>
</li>
<li>Reporting and Dashboard using Jenkins</li>
<li>Lab and Assignment</li>
</ul>
<p><a title="Build and Release Training In Bangalore" href="index.php?option=com_k2&amp;view=item&amp;id=931">Build and Release Training In Bangalore</a> | <a title="Build and Release Training in India" href="index.php?option=com_k2&amp;view=item&amp;id=923">Build and Release Training in India</a> | <a title="Build and Release Training in Hydrabad" href="index.php?option=com_content&amp;view=article&amp;id=40">Build and Release Training in Hyderabad</a> | <a title="Build and Release Training in Delhi" href="index.php?option=com_content&amp;view=article&amp;id=39">Build and Release Training in Delhi</a> | <a title="Build and Release Training in Pune" href="index.php?option=com_content&amp;view=article&amp;id=40">Build and Release Training in Pune</a> | <a title="Build and Release Trainer In Bangalore" href="index.php?option=com_k2&amp;view=item&amp;id=923">Build and Release Trainer In Bangalore</a> | <a title="Build and Release Trainer in India" href="index.php?option=com_content&amp;view=article&amp;id=39">Build and Release Trainer in India</a> | <a title="Build and Release Trainer in Hydrabad" href="index.php?option=com_content&amp;view=article&amp;id=40">Build and Release Trainer in Hyderabad</a> | <a title="Build and Release Trainer in Delhi" href="index.php?option=com_content&amp;view=article&amp;id=39">Build and Release Trainer in Delhi</a> | <a title="Build and Release Trainer in Pune" href="index.php?option=com_content&amp;view=article&amp;id=19">Build and Release Trainer in Pune</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-and-release-training-with-jenkins-maven-ant-svn-git-2/">Build and Release Course Training with Jenkins / Maven /Ant/ SVN &#038; Git</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/build-and-release-training-with-jenkins-maven-ant-svn-git-2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Apache Ant Training &#124; Apache Ant Course &#124; Online &#124; Classroom &#124; India</title>
		<link>https://www.scmgalaxy.com/tutorials/apache-ant-training/</link>
					<comments>https://www.scmgalaxy.com/tutorials/apache-ant-training/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 17 Sep 2014 13:59:55 +0000</pubDate>
				<category><![CDATA[Training]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant Course]]></category>
		<category><![CDATA[Ant Trainer]]></category>
		<category><![CDATA[Ant Training]]></category>
		<category><![CDATA[Bangalore]]></category>
		<category><![CDATA[Classroom]]></category>
		<category><![CDATA[Classroom Ant Training]]></category>
		<category><![CDATA[Course]]></category>
		<category><![CDATA[Hyderabad]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Mumbai]]></category>
		<category><![CDATA[Netherlands]]></category>
		<category><![CDATA[Online]]></category>
		<category><![CDATA[Online Ant Training]]></category>
		<category><![CDATA[Pune]]></category>
		<category><![CDATA[Trainer]]></category>
		<category><![CDATA[UK]]></category>
		<category><![CDATA[Usa]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/09/17/apache-ant-training/</guid>

					<description><![CDATA[<p>Course SummaryThis course introduces Ant and how to use it for test-driven Java application development. A single application of increasing [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apache-ant-training/">Apache Ant Training | Apache Ant Course | Online | Classroom | India</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-3550 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/09/apache-ant-training.png" alt="apache-ant-training" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/09/apache-ant-training.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/09/apache-ant-training-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><a title="DevOps Training Registration" href="https://docs.google.com/a/scmgalaxy.com/forms/d/1kZs21fbihV4AK2a530-9rHbCuCJR-lQj1aAmC3C0aKE/viewform" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class=" size-full wp-image-1" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/registernow.jpg" alt="" width="232" height="104" /></a></p>
<p>Course SummaryThis course introduces Ant and how to use it for test-driven Java application development. A single application of increasing complexity, followed throughout the class, shows how an application evolves and how to handle the problems of building and testing. Coverage of large-projects, Ant&#8217;s advanced features, and the details and depth of the discussion-all unavailable elsewhere is included in the course. Advanced topics include how to manage large projects, Library management, Enterprise Java Continuous integration, Deployment, writing new Ant tasks and data types.</p>
<div class="heading">opics Covered In This Course</div>
<div id="content-section">
<h1 class="section">Introduction</h1>
<ul class="topic">
<li>What is Ant?</li>
<li>What makes Ant so special?</li>
<li>When to use Ant</li>
<li>When not to use Ant</li>
<li>Alternatives to Ant</li>
</ul>
<h1 class="section">A First Ant build</h1>
<ul class="topic">
<li>Defining the first project</li>
<li>Step zero: creating the project directory</li>
<li>Step one: verifying the tools are in place</li>
<li>Step two: writing your first Ant build file</li>
<li>Step three: running your first build</li>
<li>Step four: imposing structure</li>
<li>Step five: running our program</li>
<li>Ant command-line options</li>
<li>Examining the final build file</li>
<li>Running the build under an IDE</li>
</ul>
<h1 class="section">Understanding Ant Datatypes and Properties</h1>
<ul class="topic">
<li>Preliminaries</li>
<li>Introducing datatypes and properties with</li>
<li>Paths</li>
<li>Filesets</li>
<li>Selectors</li>
<li>Additional Ant datatypes</li>
<li>Properties</li>
<li>Controlling Ant with properties</li>
<li>References</li>
<li>Managing library dependencies</li>
<li>Resources: Ant?s secret data model</li>
<li>Best practices</li>
</ul>
<h1 class="section">Testing with JUnit</h1>
<ul class="topic">
<li>What is testing, and why do it?</li>
<li>Introducing the application</li>
<li>How to test a program</li>
<li>Introducing JUnit</li>
<li>The JUnit task:</li>
<li>Generating HTML test reports</li>
<li>Advanced techniques</li>
<li>Best practices</li>
</ul>
<h1 class="section">Packaging Projects</h1>
<ul class="topic">
<li>Working with files</li>
<li>Introducing mappers</li>
<li>Modifying files as you go</li>
<li>Preparing to package</li>
<li>Creating JAR files</li>
<li>Testing with JAR files</li>
<li>Creating Zip files</li>
<li>Packaging for Unix</li>
<li>Working with resources</li>
</ul>
<h1 class="section">Executing Programs</h1>
<ul class="topic">
<li>Running programs under Ant?an introduction</li>
<li>Running native programs</li>
<li>Advanced and</li>
<li>Bulk operations with</li>
<li>Best practices</li>
</ul>
<h1 class="section">Distributing an Application</h1>
<ul class="topic">
<li>Preparing for distribution</li>
<li>FTP-based distribution of a packaged application</li>
<li>Email-based distribution of a packaged application</li>
<li>Secure distribution with SSH and SCP</li>
<li>HTTP download</li>
<li>Distribution over multiple channels</li>
</ul>
<h1 class="section">Putting It All Together</h1>
<ul class="topic">
<li>How to write good build files</li>
<li>Building the diary library</li>
<li>Adopting Ant</li>
<li>Building an existing project under Ant</li>
</ul>
<h1 class="section">Beyond Ant?s Core Tasks</h1>
<ul class="topic">
<li>The many different categories of Ant tasks</li>
<li>Installing optional tasks</li>
<li>Optional tasks in action</li>
<li>Software configuration management under Ant</li>
<li>Using third-party tasks</li>
<li>The Ant-contrib tasks</li>
<li>Code auditing with Checkstyle</li>
</ul>
<h1 class="section">Working with Big Projects</h1>
<ul class="topic">
<li>Master builds: managing large projects</li>
<li>Controlling child project builds</li>
<li>Advanced delegation</li>
<li>Inheriting build files through</li>
<li><em>Applying </em></li>
<li><em>Ant?s macro facilities</em></li>
<li><em>Writing macros with</em></li>
</ul>
<h1 class="section"><em><em>Managing Dependencies</em></em></h1>
<ul class="topic">
<li><em><em>Introducing Ivy</em></em></li>
<li><em><em>Installing Ivy</em></em></li>
<li><em><em>Resolving, reporting, and retrieving</em></em></li>
<li><em><em>Working across projects with Ivy</em></em></li>
</ul>
<h1 class="section"><em><em>Developing for the Web</em></em></h1>
<ul class="topic">
<li><em><em>Developing a web application</em></em></li>
<li><em><em>Building the WAR file</em></em></li>
<li><em><em>Deployment</em></em></li>
</ul>
</div>
<div class="heading">What You Can Expect</div>
<p>At the end of the course, students will be able to:</p>
<ul>
<li>Understand Ant</li>
<li>Install Ant</li>
<li>Understand Ant concepts and terminologies</li>
<li>Work with embedded properties and external properties using properties files</li>
<li>Integrate ANT into their IDE</li>
<li>Use Ant in Business Applications</li>
<li>Understand Ant Tasks</li>
<li>Automate their build and testing through Ant tasks</li>
<li>Use Ant for automated deployment</li>
<li>Create Custom Ant tasks</li>
</ul>
<div class="heading">Who Should Take This Course</div>
<p>This course is designed for Build Engineers and Developers working on projects that use Ant as an automated build tool.</p>
<div class="heading">Training Style</div>
<p>Lecture (50%) / Workshop (50%)</p>
<p><strong>scmGalaxy</strong> is a community initiatives based on Software configuration management that helps community members to optimize their software development process, Software Development Life Cycle optimization, Agile Methodologies and improve productivity across all aspects of Java development, including Build Scripts, Testing, Issue Tracking, Continuous Integration, Code Quality and more. scmGalaxy group that helps organisations optimize their software development process. We provide consulting, training and mentoring services in Agile Development Practices such as Version Management, Continuous Integration, Build Management, Test-Driven Development, Acceptance-Test Driven Development, Build Automation, Code Quality Practices and Automated Testing.</p>
<p>We provide job oriented training in the area of Configuration management, Build and Release Engineering. Candidates with engineering or software background and looking to either start or change their career to Build and Release Engineering, would benefit most from this training. Instructor-led training course offered in India, Bangalore, Delhi, Pune, Mumbai and Hydrabad. Instructor is an expert in Software configuration management, Build and release engineering with more than 15 years industry experience in india.The Goal of the course make the training attendants equip with all the concepts of build and release engineering.</p>
<p><strong>Contact us at info@scmGalaxy.com</strong></p>
<p><strong>Course Objectives</strong><br />
To bring your team up to speed with agile development, We can also run the from Continuous Integration to Continuous Delivery with autoamted course within your premises.</p>
<p><strong>Course Schedule</strong><br />
This course is an intensive 1-day &amp; 2-day workshop with a mixture of teaching and lab exercises. Currently, this course is offered exclusively as an on-site course. Please contact us for more details.</p>
<p><strong>Audience</strong><br />
This is a hands-on, practical course designed to teach specialised skills for real-world development situations. It is thus primarily aimed at a SCM Engineer, Build/Release Engineer and developer audience.</p>
<p><strong>Approach</strong><br />
The course is modular and flexible &#8211; depending on specific student needs and requests. Through our trainings, you benefit from the wide experience and architectural expertise of our team. We bring that experience to you in an highly interactive, intensely hands-on setting.</p>
<p><strong>Assumptions</strong><br />
We assume participants have a reasonable understanding of Development in any language as well as a basic understanding of the Software Development Life Cycle.</p>
<p><strong>Lab Work</strong><br />
All our courses are above all practical in nature. We believe that the best way to learn is by doing. So the course contains approximately 80% lab work.</p>
<p><strong>Learning Resources</strong><br />
Each registrant will receive a copy of the student notes and lab solutions, a certificate of completion, and a CD containing all the tools covered in the course and CD containing all the tools covered in the course.</p>
<p><strong>Contact Us<br />
</strong>This course is provided on-site, and can be tailored to your particular requirements. If you would like our trainings delivered at your premises, or for any additional information please contact us. Please email us at <strong>info@scmGalaxy.com | Call – +91 700 483 5930 | Skype – scmGalaxy</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apache-ant-training/">Apache Ant Training | Apache Ant Course | Online | Classroom | India</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/apache-ant-training/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Maven Vs Ant &#124; Maven or Ant which is better ?</title>
		<link>https://www.scmgalaxy.com/tutorials/maven-vs-ant/</link>
					<comments>https://www.scmgalaxy.com/tutorials/maven-vs-ant/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 25 Sep 2013 05:56:20 +0000</pubDate>
				<category><![CDATA[Tools Comparison]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Build tools Comparison]]></category>
		<category><![CDATA[Choose]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Maven Ant Comparision]]></category>
		<category><![CDATA[Maven Ant Differences]]></category>
		<category><![CDATA[Maven or Ant]]></category>
		<category><![CDATA[maven or ant which is better]]></category>
		<category><![CDATA[Maven vs Ant]]></category>
		<category><![CDATA[maven vs ant comparison]]></category>
		<category><![CDATA[maven vs ant differences]]></category>
		<category><![CDATA[Select]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2013/09/25/maven-vs-ant/</guid>

					<description><![CDATA[<p>Maven Vs Ant</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/maven-vs-ant/">Maven Vs Ant | Maven or Ant which is better ?</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-3741 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/09/maven-vs-ant.png" alt="maven-vs-ant" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/09/maven-vs-ant.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/09/maven-vs-ant-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Maven Vs Ant</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/maven-vs-ant/">Maven Vs Ant | Maven or Ant which is better ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/maven-vs-ant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to put comment in Ant &#124; Comments in Apache Ant</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-put-comment-in-ant-comments-in-apache-ant/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-put-comment-in-ant-comments-in-apache-ant/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2010 11:09:52 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant COmment Block]]></category>
		<category><![CDATA[Ant commenting]]></category>
		<category><![CDATA[Ant comments]]></category>
		<category><![CDATA[Ant multiline comments]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Comments in Ant build]]></category>
		<category><![CDATA[Comments in Apache Ant]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[How to put comment in Ant]]></category>
		<category><![CDATA[Instructions]]></category>
		<category><![CDATA[Method]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/07/22/how-to-put-comment-in-ant-comments-in-apache-ant/</guid>

					<description><![CDATA[<p>How to put comment in Ant &#124; Comments in Apache Ant Method 1: &#60;!&#8211; Comments are just as important in [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-put-comment-in-ant-comments-in-apache-ant/">How to put comment in Ant | Comments in Apache Ant</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-4418 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/comments-in-apache-ant.png" alt="comments-in-apache-ant" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/comments-in-apache-ant.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/comments-in-apache-ant-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>How to put comment in Ant | Comments in Apache Ant </strong></p>
<p><strong>Method 1:</strong></p>
<p>&lt;!&#8211; Comments are just as important in buildfiles, do not &#8211;&gt;<br />
&lt;!&#8211; avoid writing them! &#8211;&gt;<br />
&lt;!&#8211; Example build file for &#8220;Ant: The Definitive Guide&#8221; &#8211;&gt;<br />
&lt;!&#8211; and its sample project: irssibot &#8211;&gt;</p>
<p><strong>Method 2: Echo</strong><br />
<strong>Description</strong><br />
Writes a message to the Ant logging facilities. A message may be supplied<br />
as nested text to this task.<br />
Echoes a message to the current loggers and listeners which means System.out unless overridden. A level can be specified, which controls at what logging level the message is filtered at.<br />
The task can also echo to a file, in which case the option to append rather than overwrite the file is available, and the level option is ignored</p>
<h3>Parameters</h3>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top"><strong>Attribute</strong></td>
<td valign="top"><strong>Description</strong></td>
<td valign="top">
<p align="center"><strong>Required</strong></p>
</td>
</tr>
<tr>
<td valign="top">message</td>
<td valign="top">the message to echo.</td>
<td valign="top">
<p align="center">No. Text may also be included in a character section within this element. If neither is included a blank line will be emitted in the output.</p>
</td>
</tr>
<tr>
<td valign="top">file</td>
<td valign="top">the file to write the message to.</td>
<td valign="top">
<p align="center">No</p>
</td>
</tr>
<tr>
<td valign="top">append</td>
<td valign="top">Append to an existing file (or <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/FileWriter.html#FileWriter(java.lang.String, boolean)" target="_blank" rel="noopener">open a new file / overwrite an existing file</a>)?</td>
<td valign="top">
<p align="center">No &#8211; default is false.</p>
</td>
</tr>
<tr>
<td valign="top">level</td>
<td valign="top">Control the level at which this message is reported. One of &#8220;error&#8221;, &#8220;warning&#8221;, &#8220;info&#8221;, &#8220;verbose&#8221;, &#8220;debug&#8221; (decreasing order)</td>
<td valign="top">
<p align="center">No &#8211; default is &#8220;warning&#8221;.</p>
</td>
</tr>
<tr>
<td valign="top">encoding</td>
<td valign="top">encoding to use, default is &#8220;&#8221;; the local system encoding. <em>since Ant 1.7</em></td>
<td valign="top">
<p align="center">No</p>
</td>
</tr>
</tbody>
</table>
<p><strong>Examples</strong><br />
<strong>Style 1:</strong><br />
&lt;echo message=&#8221;Hello, world&#8221;/&gt;</p>
<p><strong>Style 2:</strong><br />
&lt;echo message=&#8221;Embed a line break:${line.separator}&#8221;/&gt;</p>
<p><strong>Style 3:</strong><br />
&lt;echo&gt;Embed another:${line.separator}&lt;/echo&gt;</p>
<p><strong>Style 4:</strong><br />
&lt;echo&gt;This is a longer message stretching over<br />
two lines.<br />
&lt;/echo&gt;</p>
<p><strong>Style 5:</strong><br />
&lt;echo&gt;<br />
This is a longer message stretching over<br />
three lines; the first line is a blank<br />
&lt;/echo&gt;</p>
<p><strong>Style 5:</strong><br />
&lt;echo message=&#8221;Deleting drive C:&#8221; level=&#8221;debug&#8221;/&gt;<br />
A message which only appears in -debug mode.</p>
<p><strong>Style 6:</strong><br />
&lt;echo level=&#8221;error&#8221;&gt;<br />
Imminent failure in the antimatter containment facility.<br />
Please withdraw to safe location at least 50km away.<br />
&lt;/echo&gt;<br />
A message which appears even in -quiet mode.</p>
<p><strong>Style 7:</strong><br />
&lt;echo file=&#8221;runner.csh&#8221; append=&#8221;false&#8221;&gt;#\!/bin/tcsh<br />
java-1.3.1 -mx1024m ${project.entrypoint} $$*<br />
&lt;/echo&gt;<br />
Generate a shell script by echoing to a file. Note the use of a double $ symbol to stop Ant filtering out the single $ during variable expansion<br />
Depending on the loglevel Ant runs, messages are print out or silently ignored:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top"><strong>Ant-Statement</strong></td>
<td valign="top">
<p align="center"><strong>-quiet, -q</strong></p>
</td>
<td valign="top">
<p align="center"><strong><em>no statement</em></strong></p>
</td>
<td valign="top">
<p align="center"><strong>-verbose, -v</strong></p>
</td>
<td valign="top">
<p align="center"><strong>-debug, -d</strong></p>
</td>
</tr>
<tr>
<td valign="top"><strong>&lt;echo message=&#8221;This is error message.&#8221; level=&#8221;error&#8221; /&gt;</strong></td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
</tr>
<tr>
<td valign="top"><strong>&lt;echo message=&#8221;This is warning message.&#8221; /&gt;</strong></td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
</tr>
<tr>
<td valign="top"><strong>&lt;echo message=&#8221;This is warning message.&#8221; level=&#8221;warning&#8221; /&gt;</strong></td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
</tr>
<tr>
<td valign="top"><strong>&lt;echo message=&#8221;This is info message.&#8221; level=&#8221;info&#8221; /&gt;</strong></td>
<td valign="top">
<p align="center">not logged</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
</tr>
<tr>
<td valign="top"><strong>&lt;echo message=&#8221;This is verbose message.&#8221; level=&#8221;verbose&#8221; /&gt;</strong></td>
<td valign="top">
<p align="center">not logged</p>
</td>
<td valign="top">
<p align="center">not logged</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
</tr>
<tr>
<td valign="top"><strong>&lt;echo message=&#8221;This is debug message.&#8221; level=&#8221;debug&#8221; /&gt;</strong></td>
<td valign="top">
<p align="center">not logged</p>
</td>
<td valign="top">
<p align="center">not logged</p>
</td>
<td valign="top">
<p align="center">not logged</p>
</td>
<td valign="top">
<p align="center">ok</p>
</td>
</tr>
</tbody>
</table>
<p><strong>Method 3:</strong><br />
Description</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-put-comment-in-ant-comments-in-apache-ant/">How to put comment in Ant | Comments in 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/how-to-put-comment-in-ant-comments-in-apache-ant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to run ant build in intellij? &#8211; IntelliJ/Ant integration Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/intellij-ant-integration/</link>
					<comments>https://www.scmgalaxy.com/tutorials/intellij-ant-integration/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2010 11:06:46 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant Build]]></category>
		<category><![CDATA[Ant Integration in IntelliJ]]></category>
		<category><![CDATA[Configure IntelliJ using Ant]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How to run ant build in intellij]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[IntelliJ]]></category>
		<category><![CDATA[Intellij configure ant]]></category>
		<category><![CDATA[IntelliJ/Ant integration]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/07/22/intellij-ant-integration/</guid>

					<description><![CDATA[<p>IntelliJ/Ant integration By Alvin J. Alexander, devdaily.com The fact that IntelliJ is off-the-shelf ready to work with Ant is a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/intellij-ant-integration/">How to run ant build in intellij? &#8211; IntelliJ/Ant integration Guide</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-4412" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/intellij-ant-integration.png" alt="intellij-ant-integration" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/intellij-ant-integration.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/intellij-ant-integration-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>IntelliJ/Ant integration</strong><br />
By Alvin J. Alexander, devdaily.com<br />
The fact that IntelliJ is off-the-shelf ready to work with Ant is a great, great feature. It&#8217;s also simple to configure and use.<br />
Assuming that you already know how to use Ant, and you have a build.xml file ready to go, just follow these steps to (a) configure your build script to run from within IntelliJ, and (b) run Ant:</p>
<ul>
<li>Assuming you&#8217;re in an IntelliJ project, select 6: Ant Build from the slide-in menu bar (&#8220;Tool Window Bar&#8221;) on the right side of your screen.</li>
<li>Click the large plus sign icon to add your build.xml file to IntelliJ&#8217;s list of known build scripts for this project.</li>
<li>Navigate the filesystem until you find your build script (i.e., your build.xml file for this project). Select that file.</li>
<li>To run a desired Ant task, double-click the task name that you want to run. My main task is usually named deploy, so I double-click that.</li>
<li>Ant should run properly for you, and deploy your application.</li>
</ul>
<p>It&#8217;s really that simple.<br />
The worst problem I&#8217;ve run into so far is that when I work on projects on multiple computer systems, my build scripts rely on an environment parameter named ANT_HOST_NAME existing. So, when my build script failed the first time, I said &#8220;Oh, dummy Al, you need to set your ANT_HOST_NAME environment parameter. Once I did this and restarted IntelliJ, the Ant build process worked like a champ.<br />
Kudos, dear IntelliJ developers. Great product feature!</p>
<p>Best Example of &lt;Copy&gt;<br />
Type 1:<br />
&lt;copy todir=&#8221;${Temp}/uaw/Uaw_compilescripts&#8221; overwrite=&#8221;true&#8221; failonerror=&#8221;false&#8221;&gt;<br />
&lt;fileset dir=&#8221;${SVNCheckout}/scripts/compilescripts&#8221; includes=&#8221;BuildSh,Compsh,vsamc,buildc.sh,script,compl2,main.sh,makefile,makepl1,script&#8221; /&gt;<br />
&lt;/copy&gt;</p>
<p>Type 2:<br />
&lt;copy todir=&#8221;${Temp}/uaw/Uaw_compilescripts&#8221; overwrite=&#8221;true&#8221; failonerror=&#8221;false&#8221;&gt;<br />
&lt;fileset dir=&#8221;${SVNCheckout}/scripts/compilescripts&#8221; includes=&#8221;BuildSh,Compsh,vsamc,buildc.sh,script,compl2,main.sh,makefile,makepl1,script&#8221; /&gt;<br />
&lt;/copy&gt;</p>
<p>Type 3:<br />
&lt;copy todir=&#8221;${Temp}/uaw/Uaw_compilescripts&#8221; overwrite=&#8221;true&#8221; failonerror=&#8221;false&#8221;&gt;<br />
&lt;fileset dir=&#8221;${SVNCheckout}/scripts/compilescripts”&gt;<br />
&lt;include name=&#8221;BuildSh&#8221;/&gt;<br />
&lt;include name=&#8221;Compsh&#8221;/&gt;<br />
&lt;include name=&#8221;vsamc&#8221;/&gt;<br />
&lt;/fileset&gt;</p>
<p>&lt;/copy&gt;</p>
<p>Type4:<br />
&lt;copy todir=&#8221;${Temp}/uaw/Uaw_compilescripts&#8221; overwrite=&#8221;true&#8221; failonerror=&#8221;false&#8221;&gt;<br />
&lt;fileset dir=&#8221;${SVNCheckout}/scripts/compilescripts&#8221;&gt;<br />
&lt;includesfile name=&#8221;${List}/Uaw_compilescripts_list.txt&#8221;/&gt;<br />
&lt;/fileset&gt;<br />
&lt;/copy&gt;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/intellij-ant-integration/">How to run ant build in intellij? &#8211; IntelliJ/Ant integration Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/intellij-ant-integration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A sample Ant build script that builds a WAR file &#8211;  Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/a-sample-ant-build-script-that-builds-a-war-file/</link>
					<comments>https://www.scmgalaxy.com/tutorials/a-sample-ant-build-script-that-builds-a-war-file/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2010 11:05:35 +0000</pubDate>
				<category><![CDATA[Build Management & Tools]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant Build]]></category>
		<category><![CDATA[Ant build script]]></category>
		<category><![CDATA[Ant build script for WAR file]]></category>
		<category><![CDATA[Ant script to build War file]]></category>
		<category><![CDATA[Ant WAR task]]></category>
		<category><![CDATA[ant war task meta inf example]]></category>
		<category><![CDATA[Build WAR file]]></category>
		<category><![CDATA[Build War file using Ant]]></category>
		<category><![CDATA[Build War File with Ant]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[create war file using ant command]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Sample]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WAR file]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/07/22/a-sample-ant-build-script-that-builds-a-war-file/</guid>

					<description><![CDATA[<p>A sample Ant build script that builds a WAR file &#60;project name=&#8221;MyWebApplication&#8221; basedir=&#8221;..&#8221; default=&#8221;install&#8221;&#62; &#60;!&#8211; project-specific variables &#8211;&#62; &#60;property name=&#8221;jsp.dir.name&#8221; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-sample-ant-build-script-that-builds-a-war-file/">A sample Ant build script that builds a WAR file &#8211;  Guide</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-4408" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/ant-build-script.png" alt="ant-build-script-war-file" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/ant-build-script.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/ant-build-script-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>A sample Ant build script that builds a WAR file</strong></p>
<p>&lt;project name=&#8221;MyWebApplication&#8221; basedir=&#8221;..&#8221; default=&#8221;install&#8221;&gt;</p>
<p>&lt;!&#8211; project-specific variables &#8211;&gt;<br />
&lt;property name=&#8221;jsp.dir.name&#8221; value=&#8221;myapp&#8221; /&gt;<br />
&lt;property name=&#8221;package.name&#8221; value=&#8221;${jsp.dir.name}.war&#8221; /&gt;<br />
&lt;property name=&#8221;webapp.dir&#8221; value=&#8221;/Users/al/tomcat-6.0.16/webapps&#8221; /&gt;</p>
<p>&lt;property environment=&#8221;env&#8221; /&gt;<br />
&lt;property name=&#8221;build.dir&#8221; value=&#8221;build&#8221; /&gt;<br />
&lt;property file=&#8221;${build.dir}/build.${env.HOSTNAME}&#8221; /&gt;</p>
<p>&lt;property name=&#8221;lib.dir&#8221; value=&#8221;lib&#8221; /&gt;<br />
&lt;property name=&#8221;pages.dir&#8221; value=&#8221;pages&#8221; /&gt;<br />
&lt;property name=&#8221;src.dir&#8221; value=&#8221;src&#8221; /&gt;<br />
&lt;property name=&#8221;src.tests.dir&#8221; value=&#8221;src-tests&#8221; /&gt;<br />
&lt;property name=&#8221;resources.dir&#8221; value=&#8221;resources&#8221; /&gt;<br />
&lt;property name=&#8221;dest.dir&#8221; value=&#8221;target&#8221; /&gt;</p>
<p>&lt;!&#8211; put everything in a temp folder with the right structure during the build &#8211;&gt;<br />
&lt;property name=&#8221;temp.dir&#8221; value=&#8221;temp&#8221; /&gt;<br />
&lt;property name=&#8221;temp.dir.web-inf&#8221; value=&#8221;${temp.dir}/WEB-INF&#8221; /&gt;<br />
&lt;property name=&#8221;temp.dir.lib&#8221; value=&#8221;${temp.dir.web-inf}/lib&#8221; /&gt;<br />
&lt;property name=&#8221;temp.dir.classes&#8221; value=&#8221;${temp.dir.web-inf}/classes&#8221; /&gt;<br />
&lt;property name=&#8221;temp.dir.meta-inf&#8221; value=&#8221;${temp.dir}/META-INF&#8221; /&gt;</p>
<p>&lt;property name=&#8221;package.file&#8221; value=&#8221;${dest.dir}/${package.name}&#8221; /&gt;</p>
<p>&lt;path id=&#8221;build.class.path&#8221;&gt;<br />
&lt;fileset dir=&#8221;lib&#8221;&gt;<br />
&lt;include name=&#8221;**/*.jar&#8221; /&gt;<br />
&lt;/fileset&gt;<br />
&lt;/path&gt;</p>
<p>&lt;target name=&#8221;clean&#8221;&gt;<br />
&lt;delete&gt;<br />
&lt;fileset dir=&#8221;${dest.dir}&#8221; includes=&#8221;**/*&#8221;/&gt;<br />
&lt;/delete&gt;<br />
&lt;delete dir=&#8221;${temp.dir}&#8221; /&gt;<br />
&lt;delete dir=&#8221;${temp.dir.classes}&#8221; /&gt;<br />
&lt;delete dir=&#8221;${temp.dir.meta-inf}&#8221; /&gt;<br />
&lt;delete dir=&#8221;${temp.dir.web-inf}&#8221; /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;target name=&#8221;prepare&#8221; depends=&#8221;clean&#8221;&gt;<br />
&lt;mkdir dir=&#8221;${dest.dir}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.lib}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.meta-inf}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.web-inf}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.classes}&#8221; /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;!&#8211; COMPILE &#8211;&gt;<br />
&lt;target name=&#8221;compile&#8221; depends=&#8221;prepare&#8221;&gt;<br />
&lt;echo&gt;=== COMPILE ===&lt;/echo&gt;<br />
&lt;echo&gt;Compiling ${src.dir} files &#8230;&lt;/echo&gt;<br />
&lt;javac debug=&#8221;on&#8221; srcdir=&#8221;${src.dir}&#8221; destdir=&#8221;${temp.dir.classes}&#8221; includes=&#8221;**/*&#8221;&gt;<br />
&lt;classpath refid=&#8221;build.class.path&#8221; /&gt;<br />
&lt;/javac&gt;</p>
<p>&lt;!&#8211; compile files on the src-tests path &#8211;&gt;<br />
&lt;echo&gt;Compiling ${src.tests.dir} files &#8230;&lt;/echo&gt;<br />
&lt;javac debug=&#8221;on&#8221; srcdir=&#8221;${src.tests.dir}&#8221; destdir=&#8221;${temp.dir.classes}&#8221; includes=&#8221;com/**&#8221;&gt;<br />
&lt;classpath refid=&#8221;build.class.path&#8221; /&gt;<br />
&lt;/javac&gt;<br />
&lt;/target&gt;</p>
<p>&lt;!&#8211; PACKAGE &#8211;&gt;<br />
&lt;target name=&#8221;package&#8221; depends=&#8221;compile&#8221;&gt;<br />
&lt;echo&gt;=== PACKAGE ===&lt;/echo&gt;</p>
<p>&lt;!&#8211; copy the config files &#8211;&gt;<br />
&lt;copy file=&#8221;${resources.dir}/MANIFEST.MF&#8221; tofile=&#8221;${temp.dir.meta-inf}/MANIFEST.MF&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/web.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/web.xml&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/managed-beans.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/managed-beans.xml&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/navigation-rules.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/navigation-rules.xml&#8221; overwrite=&#8221;true&#8221; /&gt;</p>
<p>&lt;copy todir=&#8221;${temp.dir.classes}&#8221;&gt;<br />
&lt;fileset dir=&#8221;${src.dir}&#8221;&gt;<br />
&lt;include name=&#8221;**/*.xml&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.xsl&#8221;/&gt;<br />
&lt;/fileset&gt;<br />
&lt;/copy&gt;</p>
<p>&lt;!&#8211; with all resources in place, create the war file &#8211;&gt;<br />
&lt;war destfile=&#8221;${package.file}&#8221; webxml=&#8221;${temp.dir.web-inf}/web.xml&#8221; basedir=&#8221;${temp.dir}&#8221;&gt;<br />
&lt;fileset dir=&#8221;${pages.dir}&#8221;/&gt;<br />
&lt;lib dir=&#8221;${lib.dir}&#8221; /&gt;<br />
&lt;classes dir=&#8221;${temp.dir.classes}&#8221; /&gt;<br />
&lt;/war&gt;<br />
&lt;/target&gt;</p>
<p>&lt;!&#8211; JUST DEPLOY JSP&#8217;s &#8211;&gt;<br />
&lt;target name=&#8221;jsps&#8221;&gt;<br />
&lt;echo&gt;=== DEPLOY JSP&#8217;S ===&lt;/echo&gt;<br />
&lt;!&#8211; i&#8217;m trying to be explicit about what i put out there &#8211;&gt;<br />
&lt;copy todir=&#8221;${webapp.dir}/${jsp.dir.name}&#8221;&gt;<br />
&lt;fileset dir=&#8221;${pages.dir}&#8221;&gt;<br />
&lt;include name=&#8221;**/*.jsp&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.html&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.css&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.gif&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.jpg&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.png&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.js&#8221;/&gt;<br />
&lt;/fileset&gt;<br />
&lt;/copy&gt;<br />
&lt;/target&gt;</p>
<p>&lt;!&#8211; INSTALL &#8211;&gt;<br />
&lt;target name=&#8221;install&#8221; depends=&#8221;package&#8221;&gt;<br />
&lt;echo&gt;=== INSTALL ===&lt;/echo&gt;<br />
&lt;copy file=&#8221;${package.file}&#8221; tofile=&#8221;${webapp.dir}/${package.name}&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;/project&gt;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-sample-ant-build-script-that-builds-a-war-file/">A sample Ant build script that builds a WAR file &#8211;  Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/a-sample-ant-build-script-that-builds-a-war-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Samples/Examples of the Ant copy task &#8211; Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/samples-of-the-ant-copy-task/</link>
					<comments>https://www.scmgalaxy.com/tutorials/samples-of-the-ant-copy-task/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2010 11:04:10 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant Copy task examples]]></category>
		<category><![CDATA[ANt copy Task Guide]]></category>
		<category><![CDATA[Ant Copy Task Samples]]></category>
		<category><![CDATA[Ant Task Copy/Delete examples]]></category>
		<category><![CDATA[Apache Ant copy]]></category>
		<category><![CDATA[Copy task]]></category>
		<category><![CDATA[How to use Ant copy task]]></category>
		<category><![CDATA[Samples]]></category>
		<category><![CDATA[Samples Ant copy task]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/07/22/samples-of-the-ant-copy-task/</guid>

					<description><![CDATA[<p>Samples of the Ant copy task &#60;copy file=&#8221;${resources.dir}/MANIFEST.MF&#8221; tofile=&#8221;${temp.dir.meta-inf}/MANIFEST.MF&#8221; overwrite=&#8221;true&#8221; /&#62; &#60;copy file=&#8221;${resources.dir}/managed-beans.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/managed-beans.xml&#8221; overwrite=&#8221;true&#8221; /&#62; &#60;copy file=&#8221;${resources.dir}/navigation-rules.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/navigation-rules.xml&#8221; overwrite=&#8221;true&#8221; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/samples-of-the-ant-copy-task/">Samples/Examples of the Ant copy task &#8211; Guide</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-4396 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/ant-copy-task.png" alt="ant-copy-task" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/ant-copy-task.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/ant-copy-task-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Samples of the Ant copy task<br />
</strong><br />
&lt;copy file=&#8221;${resources.dir}/MANIFEST.MF&#8221; tofile=&#8221;${temp.dir.meta-inf}/MANIFEST.MF&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/managed-beans.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/managed-beans.xml&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/navigation-rules.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/navigation-rules.xml&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/monitoring-managed-beans.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/monitoring-managed-beans.xml&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/monitoring-navigation-rules.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/monitoring-navigation-rules.xml&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/faces-config.xml&#8221; tofile=&#8221;${temp.dir.web-inf}/faces-config.xml&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/log4j.properties&#8221; tofile=&#8221;${temp.dir.classes}/log4j.properties&#8221; overwrite=&#8221;true&#8221; /&gt;<br />
&lt;copy file=&#8221;${resources.dir}/commons-logging.properties&#8221; tofile=&#8221;${temp.dir.classes}/commons-logging.properties&#8221; overwrite=&#8221;true&#8221; /&gt;</p>
<p>&lt;copy todir=&#8221;${temp.dir.classes}&#8221;&gt;<br />
&lt;fileset dir=&#8221;${src.dir}&#8221;&gt;<br />
&lt;include name=&#8221;**/*.xml&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.xsl&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.properties&#8221;/&gt;<br />
&lt;/fileset&gt;<br />
&lt;/copy&gt;</p>
<p>&lt;copy todir=&#8221;${dist}&#8221;&gt;<br />
&lt;fileset dir=&#8221;${src}&#8221;<br />
includes=&#8221;**/images/*&#8221;<br />
excludes=&#8221;**/*.gif&#8221;<br />
/&gt;<br />
&lt;/copy&gt;</p>
<p><strong>This copies all files in directories called images that are located in the directory tree defined by ${src} to the destination directory defined by ${dist}, but excludes all *.gif files from the copy.</strong></p>
<p>&lt;copy todir=&#8221;${dist}&#8221;&gt;<br />
&lt;fileset dir=&#8221;${src}&#8221;&gt;<br />
&lt;include name=&#8221;**/images/*&#8221;/&gt;<br />
&lt;exclude name=&#8221;**/*.gif&#8221;/&gt;<br />
&lt;/fileset&gt;<br />
&lt;/copy&gt;</p>
<p><strong>The same as the example above, but expressed using nested elements.</strong></p>
<p>&lt;delete dir=&#8221;${dist}&#8221;&gt;<br />
&lt;include name=&#8221;**/images/*&#8221;/&gt;<br />
&lt;exclude name=&#8221;**/*.gif&#8221;/&gt;<br />
&lt;/delete&gt;</p>
<p><strong>Deleting the original set of files, the delete task can act as an implicit fileset.</strong></p>
<p><strong>Flatten directories when performing an Ant copy</strong><br />
Here&#8217;s a code snippet from an Ant build script where I begin with a hierarchical structure of jar files in my development environment, then flatten out all my lib subdirectories into one directory in my production environment when I copy all the jar files to my production library directory:</p>
<p>&lt;!&#8211; build a temporary lib dir, and flatten out the jars into one folder &#8211;&gt;</p>
<p>&lt;copy todir=&#8221;${temp.dir.lib}&#8221; flatten=&#8221;true&#8221;&gt;<br />
&lt;fileset dir=&#8221;${lib.dir}&#8221;&gt;<br />
&lt;exclude name=&#8221;${cob.lib.dir}&#8221; /&gt;<br />
&lt;exclude name=&#8221;junit*&#8221; /&gt;<br />
&lt;include name=&#8221;**/*.jar&#8221;/&gt;<br />
&lt;include name=&#8221;**/*.zip&#8221;/&gt;<br />
&lt;/fileset&gt;<br />
&lt;/copy&gt;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/samples-of-the-ant-copy-task/">Samples/Examples of the Ant copy task &#8211; Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/samples-of-the-ant-copy-task/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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 loading="lazy" 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="auto, (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>How to Integrate Subversion Into Your Ant Build ? &#8211; Step by step guide</title>
		<link>https://www.scmgalaxy.com/tutorials/integrating-subversion-into-your-ant-build/</link>
					<comments>https://www.scmgalaxy.com/tutorials/integrating-subversion-into-your-ant-build/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 14 Apr 2010 07:45:35 +0000</pubDate>
				<category><![CDATA[Training]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant Build]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[How to integrate SVN in Ant build]]></category>
		<category><![CDATA[Implement Subversion into Ant build]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Subversion and Ant Integration]]></category>
		<category><![CDATA[Subversion Integration]]></category>
		<category><![CDATA[Subversion Integration in Ant Build]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[SVN Integration in Ant Build Guide]]></category>
		<category><![CDATA[SVN Integration in Ant Build Instruction]]></category>
		<category><![CDATA[SVN Integration in Ant Build Tutorial]]></category>
		<category><![CDATA[SVNAnt]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/14/integrating-subversion-into-your-ant-build/</guid>

					<description><![CDATA[<p>SVNAnt SVNAnt is an Ant task allowing you to interact with Subversion within the convenience of your Ant build script. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/integrating-subversion-into-your-ant-build/">How to Integrate Subversion Into Your Ant Build ? &#8211; Step by step guide</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-4256" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/integrating-subversion-into.png" alt="svn-integration-in-ant-build " width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/integrating-subversion-into.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/integrating-subversion-into-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><b>SVNAnt<a class="mceItemAnchor" name="SVNAnt"></a></b><br />
SVNAnt is an Ant task allowing you to interact with Subversion within the convenience of your Ant build script. No more writing custom scripts to get the revision of your repository to tag your release jars. Nor do you have to make command line calls to checkout your latest and greatest as part of your continuous integration process. With SVNAnt, you have the familiarity of the Ant syntax and the flexibility you need for interacting with Subversion.<br />
<b>Features<a class="mceItemAnchor" name="Features"></a></b><br />
SVNAnt is a full-featured Subversion client capable of using the native Java bindings or command-line wrappering depending on which is available. Beyond how it works, SVNAnt allows you to do all <b>svn</b> subcommands but the following:</p>
<table class="mceItemTable" border="0" width="50%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>blame</td>
<td>cleanup</td>
<td>help</td>
<td>list</td>
</tr>
<tr>
<td>lock</td>
<td>log</td>
<td>merge</td>
<td>propedit</td>
</tr>
<tr>
<td>proplist</td>
<td>resolved</td>
<td>unlocked</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<p>If the <b>svn</b> subcommand is not listed here, you can use it in your Ant build file. Before we continue start using SVNAnt, we have to install it and configure Ant to use it.<br />
<b>Installation<a class="mceItemAnchor" name="Installation"></a></b><br />
Now that we know what SVNAnt is and what its features are, lets install SVNAnt so that you can begin to use SVNAnt to access Subversion within your Ant build cycle.</p>
<p><b>Step 1. (Download, Compile and Extract)</b><br />
This step will download, compile, and &#8220;install&#8221; the latest version of SVNAnt.<br />
<b>1.1</b> Using Subversion, checkout the SVNAnt project located here: <a href="http://subclipse.tigris.org/svn/subclipse/trunk/svnant"><b>http://subclipse.tigris.org/svn/subclipse/trunk/svnant</b></a><br />
<b>1.2</b> From the command line, while inside of the location where you checked out SVNAnt to, run <b>&#8220;ant makeDistrib&#8221;</b><br />
<b>1.3</b> Extract the .zip file created in the <b>build</b> directory of your SVNAnt source to a location of your choosing</p>
<p><b>Step 2. (Modify your build.xml)</b><br />
The next step is to tell Ant how to find your SVNAnt task by adding the following to your build.xml file:<br />
&lt;path id= &#8220;svnant.classpath&#8221; &gt;<br />
&lt;fileset dir= &#8220;/PATH/TO/YOUR/EXTRACTED/SVNANT-ZIP&#8221; &gt;<br />
&lt;include name= &#8220;*.jar&#8221; /&gt;<br />
&lt;/fileset&gt;<br />
&lt;/path&gt;</p>
<p>&lt;typedef resource=&#8221;org/tigris/subversion/svnant/svnantlib.xml&#8221; classpathref=&#8221;svnant.classpath&#8221; /&gt;<br />
That should be it. I know that it appears to be too good to be true so lets verify this.</p>
<p><b>Step 3. (Verify installation)</b><br />
Building upon <b>Step 2</b>, lets create a new ant task that will use the <a href="http://subclipse.tigris.org/svn/subclipse/trunk/svnant/doc/svn.html#wcVersion">wcVersion</a> feature of SVNAnt to get some information about your repository from a local working copy:<br />
&lt;target name=&#8221;testSVNAnt&#8221;&gt;<br />
&lt;svn&gt;<br />
&lt;wcVersion path= &#8220;PATH/TO/YOUR/WORKINGCOPY&#8221; /&gt;<br />
&lt;/svn&gt;</p>
<p>&lt;echo message= &#8220;Subversion repository url: ${repository.url}&#8221; /&gt;<br />
&lt;/target&gt;<br />
<b>(Note: In the event that you need to pass credentials to Subversion, look </b><a href="http://subclipse.tigris.org/svn/subclipse/trunk/svnant/doc/svn.html"><b>here</b></a><b>.)</b><br />
The output should be something similar to this:<br />
$ ant testSVNAnt</p>
<p>Buildfile: build.xml</p>
<p>testSVNAnt:<br />
[svn] &lt;WcVersion&gt; started &#8230;<br />
[svn]  finished.<br />
[echo] Subversion repository url: http://svn.apache.org/repos/asf/incubator/openejb/trunk</p>
<p>BUILD SUCCESSFUL<br />
Total time: 43 seconds</p>
<p>Pat yourself on the back. You have successfully installed SVNAnt and you are ready to implement Subversion into your Ant build cycle. Instead of us going through each available feature for SVNAnt, please view the <a href="http://subclipse.tigris.org/svn/subclipse/trunk/svnant/doc/svn.html">SVNAnt Documentation</a>. Now lets talk about why you may want to use SVNAnt to allow for Subversion interaction inside of your Ant build cycle.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/integrating-subversion-into-your-ant-build/">How to Integrate Subversion Into Your Ant Build ? &#8211; Step by step guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/integrating-subversion-into-your-ant-build/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Apache Ant &#8211; A Complete TASK Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/apache-ant-a-complete-task-reference/</link>
					<comments>https://www.scmgalaxy.com/tutorials/apache-ant-a-complete-task-reference/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 14 Apr 2010 07:10:16 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant Task Complete Guide]]></category>
		<category><![CDATA[Apache Ant Task]]></category>
		<category><![CDATA[Apache Ant Task CheatSheet]]></category>
		<category><![CDATA[Apache Ant Task Guide]]></category>
		<category><![CDATA[Apache Ant Task Overview]]></category>
		<category><![CDATA[Apache Ant Task Reference]]></category>
		<category><![CDATA[checksum]]></category>
		<category><![CDATA[Complete TASK Reference]]></category>
		<category><![CDATA[Concat]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[FAIL]]></category>
		<category><![CDATA[ReplaceRegExp]]></category>
		<category><![CDATA[TASK Reference]]></category>
		<category><![CDATA[zip]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/14/apache-ant-a-complete-task-reference/</guid>

					<description><![CDATA[<p>Apache Ant Task: zip Description: Creates a zipfile. The basedir attribute is the reference directory from where to zip. Note [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apache-ant-a-complete-task-reference/">Apache Ant &#8211; A Complete TASK Reference</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-4237" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/apache-ant-a-complete-task-.png" alt="apache-ant-complete-task-reference" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/apache-ant-a-complete-task-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/apache-ant-a-complete-task--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<table class="mceItemTable" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<h2 class="ant_h2">Apache Ant Task: zip</h2>
</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Description:</h3>
</td>
</tr>
<tr>
<td colspan="2">Creates a zipfile.</p>
<p>The basedir attribute is the reference directory from where to zip.</p>
<p>Note that file permissions will not be stored in the resulting zipfile.</p>
<p>It is possible to refine the set of files that are being zipped. This can be done with the includes, includesfile, excludes, excludesfile and defaultexcludes attributes. With the includes or includesfile attribute you specify the files you want to have included by using patterns. The exclude or excludesfile attribute is used to specify the files you want to have excluded. This is also done with patterns. And finally with the defaultexcludes attribute, you can specify whether you want to use default exclusions or not. See the section on directory based tasks, on how the inclusion/exclusion of files works, and how to write patterns.</p>
<p>This task forms an implicit FileSet and supports all attributes of (dir becomes basedir) as well as the nested , and elements.</p>
<p>Or, you may place within it nested file sets, or references to file sets. In this case basedir is optional; the implicit file set is only used if basedir is set. You may use any mixture of the implicit file set (with basedir set, and optional attributes like includes and optional subelements like ); explicit nested elements so long as at least one fileset total is specified. The ZIP file will only reflect the relative paths of files within each fileset. The Zip task and its derivatives know a special form of a fileset named zipfileset that has additional attributes (described below).</p>
<p>The Zip task also supports the merging of multiple zip files into the zip file. This is possible through either the src attribute of any nested filesets or by using the special nested fileset zipgroupfileset.</p>
<p>The update parameter controls what happens if the ZIP file already exists. When set to yes, the ZIP file is updated with the files specified. (New files are added; old files are replaced with the new versions.) When set to no (the default) the ZIP file is overwritten if any of the files that would be added to the archive are newer than the entries inside the archive. Please note that ZIP files store file modification times with a granularity of two seconds. If a file is less than two seconds newer than the entry in the archive, Ant will not consider it newer.</p>
<p>The whenempty parameter controls what happens when no files match. If skip (the default), the ZIP is not created and a warning is issued. If fail, the ZIP is not created and the build is halted with an error. If create, an empty ZIP file (explicitly zero entries) is created, which should be recognized as such by compliant ZIP manipulation tools.</p>
<p>This task will now use the platform&#8217;s default character encoding for filenames &#8211; this is consistent with the command line ZIP tools, but causes problems if you try to open them from within Java and your filenames contain non US-ASCII characters. Use the encoding attribute and set it to UTF8 to create zip files that can safely be read by Java.</p>
<p>Starting with Ant 1.5.2, can store Unix permissions inside the archive (see description of the filemode and dirmode attributes for ). Unfortunately there is no portable way to store these permissions. Ant uses the algorithm used by Info-Zip&#8217;s implementation of the zip and unzip commands &#8211; these are the default versions of zip and unzip for many Unix and Unix-like systems.</p>
<p><b>Please note that the zip format allows multiple files of the same fully-qualified name to exist within a single archive. This has been documented as causing various problems for unsuspecting users. If you wish to avoid this behavior you must set the duplicate attribute to a value other than its default, &#8220;add&#8221;.</b></td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Parameters:</h3>
</td>
</tr>
<tr>
<td colspan="2">
<table border="1" width="100%">
<tbody>
<tr>
<td class="ant_parameters" width="20%">Attribute</td>
<td class="ant_parameters" width="70%">Description</td>
<td class="ant_parameters" width="10%">Required</td>
</tr>
<tr>
<td>destfile</td>
<td>the zip-file to create.</td>
<td>Exactly one of the two.</td>
</tr>
<tr>
<td>zipfile</td>
<td>the <i>deprecated</i> old name of destfile.</td>
<td>No</td>
</tr>
<tr>
<td>basedir</td>
<td>the directory from which to zip the files.</td>
<td>No</td>
</tr>
<tr>
<td>compress</td>
<td>Not only store data but also compress them, defaults to true. Unless you set the <i>keepcompression</i> attribute to false, this will apply to the entire archive, not only the files you&#8217;ve added while updating.</td>
<td>No</td>
</tr>
<tr>
<td>keepcompression</td>
<td>For entries coming from existing archives (like nested <i>zipfileset</i>s or while updating the archive), keep the compression as it has been originally instead of using the <i>compress</i> attribute. Defaults false. <i>Since Ant 1.6</i></td>
<td>No</td>
</tr>
<tr>
<td>encoding</td>
<td>The character encoding to use for filenames inside the zip file. For a list of possible values see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html. Defaults to the platform&#8217;s default character encoding.</td>
<td>No</td>
</tr>
<tr>
<td>filesonly</td>
<td>Store only file entries, defaults to false</td>
<td>No</td>
</tr>
<tr>
<td>includes</td>
<td>comma- or space-separated list of patterns of files that must be included. All files are included when omitted.</td>
<td>No</td>
</tr>
<tr>
<td>includesfile</td>
<td>the name of a file. Each line of this file is taken to be an include pattern</td>
<td>No</td>
</tr>
<tr>
<td>excludes</td>
<td>comma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted.</td>
<td>No</td>
</tr>
<tr>
<td>excludesfile</td>
<td>the name of a file. Each line of this file is taken to be an exclude pattern</td>
<td>No</td>
</tr>
<tr>
<td>defaultexcludes</td>
<td>indicates whether default excludes should be used or not (&#8220;yes&#8221;/&#8221;no&#8221;). Default excludes are used when omitted.</td>
<td>No</td>
</tr>
<tr>
<td>update</td>
<td>indicates whether to update or overwrite the destination file if it already exists. Default is &#8220;false&#8221;.</td>
<td>No</td>
</tr>
<tr>
<td>whenempty</td>
<td>behavior when no files match. Valid values are &#8220;fail&#8221;, &#8220;skip&#8221;, and &#8220;create&#8221;. Default is &#8220;skip&#8221;</td>
<td>No</td>
</tr>
<tr>
<td>duplicate</td>
<td>behavior when a duplicate file is found. Valid values are &#8220;add&#8221;, &#8220;preserve&#8221;, and &#8220;fail&#8221;. The default value is &#8220;add&#8221;.</td>
<td>No</td>
</tr>
<tr>
<td>roundup</td>
<td>Whether the file modification times will be rounded up to the next even number of seconds.<br />
Zip archives store file modification times with a granularity of two seconds, so the times will either be rounded up or down. If you round down, the archive will always seem out-of-date when you rerun the task, so the default is to round up. Rounding up may lead to a different type of problems like JSPs inside a web archive that seem to be slightly more recent than precompiled pages, rendering precompilation useless.<br />
Defaults to true. <i>Since Ant 1.6.2</i></td>
<td>No</td>
</tr>
<tr>
<td>comment</td>
<td>Comment to store in the archive. <i>Since Ant 1.6.3</i></td>
<td>No</td>
</tr>
<tr>
<td>level</td>
<td>Non-default level at which file compression should be performed. Valid values range from 0 (no compression/fastest) to 9 (maximum compression/slowest). <i>Since Ant 1.7</i></td>
<td>No</td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Example:</h3>
</td>
</tr>
<tr>
<td class="ant_example_desc">Zips all files in the htdocs/manual directory into a file called manual.zip in the ${dist} directory.</td>
<td class="ant_example_desc">zips all files in the htdocs/manual directory into a file called manual.zip in the ${dist} directory. If manual.zip doesn&#8217;t exist, it is created; otherwise it is updated with the new/changed files.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>basedir=&#8221;htdocs/manual&#8221;<br />
/&gt;</td>
<td class="ant_example_code">Code:</p>
<p>basedir=&#8221;htdocs/manual&#8221;<br />
update=&#8221;true&#8221;<br />
/&gt;</td>
</tr>
<tr>
<td class="ant_example_output">&nbsp;</td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Zips all files in the htdocs/manual directory. Files in the directory mydocs, or files with the name todo.html are excluded.</td>
<td class="ant_example_desc">Zips all files in the htdocs/manual directory. Only html files under the directory api are zipped, and files with the name todo.html are excluded.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>basedir=&#8221;htdocs/manual&#8221;<br />
excludes=&#8221;mydocs/**, **/todo.html&#8221;<br />
/&gt;</td>
<td class="ant_example_code">Code:</p>
<p>basedir=&#8221;htdocs/manual&#8221;<br />
includes=&#8221;api/**/*.html&#8221;<br />
excludes=&#8221;**/todo.html&#8221;<br />
/&gt;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Zips all files in the htdocs/manual directory, and also adds the file ChangeLog.txt in the current directory. ChangeLog.txt will be added to the top of the ZIP file, just as if it had been located at htdocs/manual/ChangeLog.txt.</td>
<td class="ant_example_desc">zips all files in the htdocs/manual directory into the docs/user-guide directory in the archive, adds the file ChangeLog27.txt in the current directory as docs/ChangeLog.txt, and includes all the html files in exampleszip under docs/examples. The archive might end up containing the files:</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code:: docs/user-guide/html/index.html<br />
docs/ChangeLog.txt<br />
docs/examples/index.html</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">zips all files in the htdocs/manual directory into the docs/user-guide directory in the archive and includes all the files in any file that maches examples*.zip, such as all files within examples1.zip or examples_for_brian.zip.</td>
<td class="ant_example_desc">Re-packages a TAR archive as a ZIP archive. If Unix file permissions have been stored as part of the TAR file, they will be retained in the resulting ZIP archive.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code::</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Debugging</h3>
</td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table class="mceItemTable" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<h2 class="ant_h2">Apache Ant Task: Concat</h2>
</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Description:</h3>
</td>
</tr>
<tr>
<td colspan="2">Concatenates one or more resources to a single file or to the console. The destination file will be created if it does not exist. Since Ant 1.7.1, this task can be used as a Resource Collection that will return exactly one resource.</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Parameters:</h3>
</td>
</tr>
<tr>
<td colspan="2">
<table border="1" width="100%">
<tbody>
<tr>
<td class="ant_parameters" width="20%">Attribute</td>
<td class="ant_parameters" width="70%">Description</td>
<td class="ant_parameters" width="10%">Required</td>
</tr>
<tr>
<td>destfile</td>
<td>The destination file for the concatenated stream. If not specified the console will be used instead.</td>
<td>No</td>
</tr>
<tr>
<td>append</td>
<td>Specifies whether or not the file specified by &#8216;destfile&#8217; should be appended. Defaults to &#8220;no&#8221;.</td>
<td>No</td>
</tr>
<tr>
<td>force</td>
<td>Specifies whether or not the file specified by &#8216;destfile&#8217; should be written to even if it is newer than all source files. <i>since Ant 1.6</i>. Defaults to &#8220;yes&#8221;.</td>
<td>No</td>
</tr>
<tr>
<td>encoding</td>
<td>Specifies the encoding for the input files. Please see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html for a list of possible values. Defaults to the platform&#8217;s default character encoding.</td>
<td>No</td>
</tr>
<tr>
<td>outputencoding</td>
<td>The encoding to use when writing the output file <i>since Ant 1.6</i>. Defaults to the value of the encoding attribute if given or the default JVM encoding otherwise.</td>
<td>No</td>
</tr>
<tr>
<td>fixlastline</td>
<td>Specifies whether or not to check if each file concatenated is terminated by a new line. If this attribute is &#8220;yes&#8221; a new line will be appended to the stream if the file did not end in a new line. <i>since Ant 1.6</i>. Defaults to &#8220;no&#8221;. This attribute does not apply to embedded text.</td>
<td>No</td>
</tr>
<tr>
<td>eol</td>
<td>Specifies what the end of line character are for use by the fixlastline attribute. <i>since Ant 1.6</i> Valid values for this property are:</p>
<ul>
<li>cr: a single CR</li>
<li>lf: a single LF</li>
<li>crlf: the pair CRLF</li>
<li>mac: a single CR</li>
<li>unix: a single LF</li>
<li>dos: the pair CRLF</li>
</ul>
<p>The default is platform dependent. For Unix platforms, the default is &#8220;lf&#8221;. For DOS based systems (including Windows), the default is &#8220;crlf&#8221;. For Mac OS, the default is &#8220;cr&#8221;.</td>
<td>No</td>
</tr>
<tr>
<td>binary</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Example:</h3>
</td>
</tr>
<tr>
<td class="ant_example_desc">Concatenate a string to a file:</td>
<td class="ant_example_desc">Concatenate a series of files to the console:</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>Hello, World!</td>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output">&nbsp;</td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Concatenate a single file, appending if the destination file exists:</td>
<td class="ant_example_desc">Concatenate a series of files, update the destination file only if is older that all the source files:</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code:</p>
<p>force=&#8221;no&#8221;&gt;</p>
<p>files=&#8221;introduction.xml,overview.xml&#8221;/&gt;</p>
<p>includes=&#8221;sections/*.xml&#8221;<br />
excludes=&#8221;introduction.xml,overview.xml&#8221;/&gt;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Concatenate a series of files, expanding ant properties</td>
<td class="ant_example_desc">Filter the lines containing project from build.xml and output them to report.output, prepending with a header</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code::</p>
<p>&nbsp;</p>
<header>Lines that contain project<br />
==========================</header>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Concatenate a number of binary files.</td>
<td class="ant_example_desc"></td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code::</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Debugging</h3>
</td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table class="mceItemTable" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<h2 class="ant_h2">Apache Ant Task: ReplaceRegExp</h2>
</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Description:</h3>
</td>
</tr>
<tr>
<td colspan="2">ReplaceRegExp is a directory based task for replacing the occurrence of a given regular expression with a substitution pattern in a selected file or set of files.The output file is only written if it differs from the existing file. This prevents spurious rebuilds based on unchanged files which have been regenerated by this task.</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Parameters:</h3>
</td>
</tr>
<tr>
<td colspan="2">
<table border="1" width="100%">
<tbody>
<tr>
<td class="ant_parameters" width="20%">Attribute</td>
<td class="ant_parameters" width="70%">Description</td>
<td class="ant_parameters" width="10%">Required</td>
</tr>
<tr>
<td>file</td>
<td>file for which the regular expression should be replaced.</td>
<td>Yes if no nested is used</td>
</tr>
<tr>
<td>match</td>
<td>The regular expression pattern to match in the file(s)</td>
<td>Yes, if no nested is used</td>
</tr>
<tr>
<td>replace</td>
<td>The substitution pattern to place in the file(s) in place of the regular expression.</td>
<td>Yes, if no nested is used</td>
</tr>
<tr>
<td>flags</td>
<td>The flags to use when matching the regular expression. For more information, consult the Perl5 syntax<br />
g : Global replacement. Replace all occurrences found<br />
i : Case Insensitive. Do not consider case in the match<br />
m : Multiline. Treat the string as multiple lines of input, using &#8220;^&#8221; and &#8220;$&#8221; as the start or end of any line, respectively, rather than start or end of string.<br />
s : Singleline. Treat the string as a single line of input, using &#8220;.&#8221; to match any character, including a newline, which normally, it would not match.</td>
<td>No</td>
</tr>
<tr>
<td>byline</td>
<td>Process the file(s) one line at a time, executing the replacement on one line at a time (<i>true/false</i>). This is useful if you want to only replace the first occurrence of a regular expression on each line, which is not easy to do when processing the file as a whole. Defaults to <i>false</i>.</td>
<td>No</td>
</tr>
<tr>
<td>encoding</td>
<td>The encoding of the file. <i>since Ant 1.6</i></td>
<td>No &#8211; defaults to default JVM encoding</td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Example:</h3>
</td>
</tr>
<tr>
<td class="ant_example_desc">Replaces occurrences of the property name &#8220;OldProperty&#8221; with &#8220;NewProperty&#8221; in a properties file, preserving the existing value, in the file ${src}/build.properties</td>
<td class="ant_example_desc">This task supports a nested Regexp element to specify the regular expression. You can use this element to refer to a previously defined regular expression datatype instance.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>match=&#8221;OldProperty=(.*)&#8221;<br />
replace=&#8221;NewProperty=\1&#8243;<br />
byline=&#8221;true&#8221;/&gt;</td>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output">&nbsp;</td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">This task supports a nested Substitution element to specify the substitution pattern. You can use this element to refer to a previously defined substitution pattern datatype instance.</td>
<td class="ant_example_desc">Replaces occurrences of the property name &#8220;OldProperty&#8221; with &#8220;NewProperty&#8221; in a properties file, preserving the existing value, in all files ending in .properties in the current directory</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Replaces all whitespaces (blanks, tabs, etc) by one blank remaining the line separator. So with input</td>
<td class="ant_example_desc">Check that both files one.txt and two.txt are present otherwise the build will fail.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>replaces all whitespaces (blanks, tabs, etc) by one blank remaining the line separator. So with input</p>
<p>&lt;&gt;</p>
<h1>T E S T</h1>
<p>&lt;&gt;<br />
&lt;&gt;</p>
<p>would converted to</p>
<p>&nbsp;</p>
<h1>T E S T</h1>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code::</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Debugging</h3>
</td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</tbody>
</table>
<table class="mceItemTable" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<h2 class="ant_h2">Apache Ant Task: Checksum</h2>
</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Description:</h3>
</td>
</tr>
<tr>
<td colspan="2">Generates checksum for files. This task can also be used to perform checksum verifications.</p>
<p>Note that many popular message digest functions &#8211; including MD5 and SHA-1 &#8211; have been broken recently. If you are going to use the task to create checksums used in an environment where security is important, please take some time to investigate the algorithms offered by your JCE provider. Note also that some JCE providers like the one by The Legion of the Bouncy Castle, the GNU project or the Technical University Graz offer more digest algorithms than those built-in into your JDK.</p>
<p>Warning: the case of the extension is that of the algorithm used. If you ask for &#8220;SHA1&#8221;, you get a .SHA1 extension; if you ask for &#8220;sha1&#8221;, you get a file ending in .sha1. The Java Crypto Engines are case-insensitive in matching algorithms, so choose a name to match your desired output extension, or set the fileext attribute.</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Parameters:</h3>
</td>
</tr>
<tr>
<td colspan="2">
<table border="1" width="100%">
<tbody>
<tr>
<td class="ant_parameters" width="20%">Attribute</td>
<td class="ant_parameters" width="70%">Description</td>
<td class="ant_parameters" width="10%">Required</td>
</tr>
<tr>
<td>file</td>
<td>The file to generate checksum for.</td>
<td>One of either file or at least one nested (filesystem-only) resource collection.</td>
</tr>
<tr>
<td>todir</td>
<td>The root directory where checksums should be written.</td>
<td>No. If not specified, checksum files will be written to the same directory as the files themselves. <i>since Ant 1.6</i></td>
</tr>
<tr>
<td>algorithm</td>
<td>Specifies the algorithm to be used to compute the checksum. Defaults to &#8220;MD5&#8221;. Other popular algorithms like &#8220;SHA&#8221; may be used as well.</td>
<td>No</td>
</tr>
<tr>
<td>provider</td>
<td>Specifies the provider of the algorithm.</td>
<td>No</td>
</tr>
<tr>
<td>fileext</td>
<td>The generated checksum file&#8217;s name will be the original filename with the fileext added to it. Defaults to a &#8220;.&#8221; and the algorithm name being used.</td>
<td>No</td>
</tr>
<tr>
<td>property</td>
<td>This attribute can mean two different things, it depends on the presence of the verifyproperty attribute.<br />
<b>If you don&#8217;t set the verifyproperty attribute</b>, property specifies the name of the property to be set with the generated checksum value.<br />
<b>If you set the verifyproperty attribute</b>, property specifies the checksum you expect to be generated (the checksum itself, not a name of a property containing the checksum).<br />
This cannot be specified when fileext is being used or when the number of files for which checksums is to be generated is greater than 1.</td>
<td>No</td>
</tr>
<tr>
<td>pattern</td>
<td>Specifies the pattern to use as a pattern suitable for MessageFormat where {0} is replaced with the checksum and {1} with the file name.</td>
<td>No &#8211; default is &#8220;{0}&#8221;.</td>
</tr>
<tr>
<td>format</td>
<td>Specifies the pattern to use as one of a well-known format. Supported values are</p>
<table border="1">
<tbody>
<tr>
<th>name</th>
<th>pattern</th>
<th>description</th>
</tr>
<tr>
<td>CHECKSUM</td>
<td>{0}</td>
<td>only the checksum itself</td>
</tr>
<tr>
<td>MD5SUM</td>
<td>{0} *{1}</td>
<td>the format of GNU textutils md5sum</td>
</tr>
<tr>
<td>SVF</td>
<td>MD5 ({1}) = {0}</td>
<td>the format of BSDs md5 command</td>
</tr>
</tbody>
</table>
</td>
<td>No &#8211; default is &#8220;CHECKSUM&#8221;.</td>
</tr>
<tr>
<td>totalproperty</td>
<td>If specified, this attribute specifies the name of the property that will hold a checksum of all the checksums and file paths. The individual checksums and the relative paths to the files within the resource collections in which they are defined will be used to compute this checksum. (The file separators in the paths will be converted to &#8216;/&#8217; before computation to ensure platform portability). <i>since Ant 1.6</i></td>
<td>No</td>
</tr>
<tr>
<td>forceoverwrite</td>
<td>Overwrite existing files even if the destination files are newer. Defaults to &#8220;no&#8221;.</td>
<td>No</td>
</tr>
<tr>
<td>verifyproperty</td>
<td>Specifies the name of the property to be set with &#8220;true&#8221; or &#8220;false&#8221; depending upon whether the generated checksum matches the existing checksum. When this is set, the generated checksum is not written to a file or property, but rather, the content of the file or property is used to check against the generated checksum.</td>
<td>No</td>
</tr>
<tr>
<td>readbuffersize</td>
<td>The size of the buffer (in bytes) to use when reading a file. Defaults to &#8220;8192&#8221; &#8211; you may get a better performance on big files if you increase this value.</td>
<td>No</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Example:</h3>
</td>
</tr>
<tr>
<td class="ant_example_desc">Generates a MD5 checksum for foo.bar and stores the checksum in the destination file foo.bar.MD5. foo.bar.MD5 is overwritten only if foo.bar is newer than itself.</td>
<td class="ant_example_desc">Generates a MD5 checksum for foo.bar and stores the checksum in foo.bar.MD5. If foo.bar.MD5 already exists, it is overwritten.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output">&nbsp;</td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Generates a MD5 checksum for foo.bar and stores it in the Project Property foobarMD5.</td>
<td class="ant_example_desc">Generates a MD5 checksum for foo.bar, compares it against foo.bar.MD5 and sets isMD5ok to either true or false, depending upon the result</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Generates a SHA checksum for foo.bar and stores the checksum in the destination file foo.bar.asc. foo.bar.asc is overwritten only if foo.bar is newer than itself.</td>
<td class="ant_example_desc">Generates a MD5 checksum for foo.bar, compares it against the value of the property md5, and sets isEqual to either true or false, depending upon the result.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code::</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_desc">Works just like Example 1, but generates a .MD5 file for every file that begins with the name foo.</td>
<td class="ant_example_desc">Works like Example 4, but only sets isChecksumEqual to true, if the checksum matches &#8211; it will never be set to false. This example demonstrates use with the Condition task.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code::</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td class="ant_example_output"></td>
<td class="ant_example_output"></td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Debugging</h3>
</td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</tbody>
</table>
<table class="mceItemTable" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<h2 class="ant_h2">Apache Ant Task: Fail</h2>
</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Description:</h3>
</td>
</tr>
<tr>
<td colspan="2">Exits the current build (just throwing a BuildException), optionally printing additional information.The message of the Exception can be set via the message attribute or character data nested into the element.</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Parameters:</h3>
</td>
</tr>
<tr>
<td colspan="2">
<table border="1" width="100%">
<tbody>
<tr>
<td class="ant_parameters" width="20%">Attribute</td>
<td class="ant_parameters" width="70%">Description</td>
<td class="ant_parameters" width="10%">Required</td>
</tr>
<tr>
<td>message</td>
<td>A message giving further information on why the build exited</td>
<td>No</td>
</tr>
<tr>
<td>if</td>
<td>Only fail if a property of the given name exists in the current project</td>
<td>No</td>
</tr>
<tr>
<td>unless</td>
<td>Only fail if a property of the given name doesn&#8217;t exist in the current project</td>
<td>No</td>
</tr>
<tr>
<td>status</td>
<td>Exit using the specified status code; assuming the generated Exception is not caught, the JVM will exit with this status. <i>Since Ant 1.6.2</i></td>
<td>No</td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Example:</h3>
</td>
</tr>
<tr>
<td class="ant_example_desc">Exit the current build with no further information given.</td>
<td class="ant_example_desc">Exit the current build and print something like the following to wherever your output goes:</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output">BUILD FAILED<br />
build.xml:4: No message</td>
<td class="ant_example_output">BUILD FAILED<br />
build.xml:4: Something wrong here.</td>
</tr>
<tr>
<td class="ant_example_desc">Exit the current build and print something like the following to wherever your output goes:</td>
<td class="ant_example_desc">Exit the current build and print something like the following to wherever your output goes:</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>Something wrong here.</td>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output">BUILD FAILED<br />
build.xml:4: Something wrong here.</td>
<td class="ant_example_output">BUILD FAILED<br />
build.xml:2: unless=thisdoesnotexist</td>
</tr>
<tr>
<td class="ant_example_desc">Using a condition to achieve the same effect</td>
<td class="ant_example_desc">Check that both files one.txt and two.txt are present otherwise the build will fail.</td>
</tr>
<tr>
<td class="ant_example_code">Code:</p>
<p>&nbsp;</td>
<td class="ant_example_code">Code::</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="ant_example_output">BUILD FAILED<br />
build.xml:2: condition satisfied</td>
<td class="ant_example_output">Output:</td>
</tr>
<tr>
<td colspan="2">
<h3 class="ant_heading">Debugging</h3>
</td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apache-ant-a-complete-task-reference/">Apache Ant &#8211; A Complete TASK Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/apache-ant-a-complete-task-reference/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
