<?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>x2on.de &#187; ANT</title>
	<atom:link href="http://www.x2on.de/tag/ant/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x2on.de</link>
	<description>by Felix Schulze - a mobile evangelist. Tutorials for iOS, Android, Mac, Linux, iPhone and more...</description>
	<lastBuildDate>Sun, 29 Jan 2012 18:46:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Shell-Skripte in ANT-Build Datei einbinden</title>
		<link>http://www.x2on.de/2009/10/21/shell-skripte-in-ant-build-datei-einbinden/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=shell-skripte-in-ant-build-datei-einbinden</link>
		<comments>http://www.x2on.de/2009/10/21/shell-skripte-in-ant-build-datei-einbinden/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 20:26:42 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=304</guid>
		<description><![CDATA[Ein kleiner Tip für alle die in einem Projekt Apache ANT benutzen und ein Shell-Skript einbinden wollen. Hierbei gibt es eine Möglichkeit zwischen verschiedenen Betriebssystemen zu unterscheiden, und so unterschiedliche Scripte auszuführen. &#60;target name=&#34;examplescript&#34;&#62; &#60;exec dir=&#34;.&#34; executable=&#34;/bin/bash&#34; os=&#34;Mac OS X&#34;&#62; &#60;arg line=&#34;./examplescript-mac.sh&#34; /&#62; &#60;/exec&#62; &#60;exec dir=&#34;.&#34; executable=&#34;/bin/bash&#34; os=&#34;Linux&#34;&#62; &#60;arg line=&#34;./examplescript-linux.sh&#34; /&#62; &#60;/exec&#62; &#60;exec dir=&#34;.&#34; executable=&#34;cmd&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Ein kleiner Tip für alle die in einem Projekt <a href="http://ant.apache.org/" target="_blank">Apache ANT</a> benutzen und ein Shell-Skript einbinden wollen. Hierbei gibt es eine Möglichkeit zwischen verschiedenen Betriebssystemen zu unterscheiden, und so unterschiedliche Scripte auszuführen.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;examplescript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;.&quot;</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">&quot;/bin/bash&quot;</span> <span style="color: #000066;">os</span>=<span style="color: #ff0000;">&quot;Mac OS X&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">&quot;./examplescript-mac.sh&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;.&quot;</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">&quot;/bin/bash&quot;</span> <span style="color: #000066;">os</span>=<span style="color: #ff0000;">&quot;Linux&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">&quot;./examplescript-linux.sh&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;.&quot;</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">&quot;cmd&quot;</span> <span style="color: #000066;">os</span>=<span style="color: #ff0000;">&quot;Windows NT&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">&quot;/c examplescript-win.bat&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/10/21/shell-skripte-in-ant-build-datei-einbinden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

