<?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>The eflow blog &#187; ant</title>
	<atom:link href="http://blog.eflow.org/archives/tag/ant/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.eflow.org</link>
	<description>Insert some amazingly witty tagline here</description>
	<lastBuildDate>Fri, 09 Dec 2011 18:59:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Building OpenMRS w/ Ant on CentOS</title>
		<link>http://blog.eflow.org/archives/22</link>
		<comments>http://blog.eflow.org/archives/22#comments</comments>
		<pubDate>Wed, 19 Dec 2007 17:29:49 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[openmrs]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://eflow.org/blog/archives/22</guid>
		<description><![CDATA[I recently had the pleasure of setting up an ant build of OpenMRS on our new servers. After installing ant and the OpenMRS source code I kept getting a never-before-seen error when building: No supported regular expression matcher found I made sure I had jdk 1.6 installed. I tried upgrading to Ant 1.7 (from 1.6.5). [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the pleasure of setting up an ant build of OpenMRS on our new servers.  After installing ant and the OpenMRS source code I kept getting a never-before-seen error when building:</p>
<blockquote><p>No  supported regular expression matcher found</p></blockquote>
<p>I made sure I had jdk 1.6 installed.  I tried upgrading to Ant 1.7 (from 1.6.5).</p>
<p>I ran an &#8220;ant -diagnostics&#8221;.  It wasn&#8217;t showing the optional ant jars so I dropped all of the jars into the ant home lib directory.  Now the jars were showing up but I was still getting the same error as before.</p>
<p>The solution ended up being that Ant lied to me.  It was actually looking for the jars in /usr/share/java/ant (not in its reported /usr/share/ant).  The puzzling thing is that Ant tells me it finds the jars when running &#8220;ant -diagnostics&#8221;.</p>
<p>I ended up installing the optional ant jars via yum. (or apt-get if you&#8217;re on a debian flavor) Yum didn&#8217;t have the explicit ant-optional package, so I just installed all ant-*.jar files.  Voila!  Successful building via ant is now possible.</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=22" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/22/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

