<?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>Joey Gibson&#039;s Blog &#187; Ant</title>
	<atom:link href="http://joeygibson.com/category/tech/java/ant/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeygibson.com</link>
	<description>Java, Clojure, Scala, Groovy, Ruby, Python, Lisp, Objective-C, OSX, politics, religion, Koine Greek, Tae Kwon Do, Spanish and much more!</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:50:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Free Eclipse Classpath Ant Task</title>
		<link>http://joeygibson.com/2004/06/15/free-eclipse-classpath-ant-task/</link>
		<comments>http://joeygibson.com/2004/06/15/free-eclipse-classpath-ant-task/#comments</comments>
		<pubDate>Tue, 15 Jun 2004 23:11:00 +0000</pubDate>
		<dc:creator>Joey Gibson</dc:creator>
				<category><![CDATA[Ant]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://EclipseClasspathTask</guid>
		<description><![CDATA[This software is no longer supported! I have neither used nor updated this software since I originally posted it, back in 2004. You are welcome to both the binary and source versions, but I no longer do anything with it &#8230; <a href="http://joeygibson.com/2004/06/15/free-eclipse-classpath-ant-task/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><!-- _tech_java_Ant_EclipseClasspathTask -->
<p style="border: solid red 1px; padding: 5px;">  	<strong>This software is no longer supported!</strong> I have neither used  	nor updated this software since I originally posted it, back in 2004. You are  	welcome to both the binary and source versions, but I no longer do  	anything with it <em>or support it</em>. If you need something changed, you will have to do it  	yourself, using the source. Sorry, but after I released it, I realized how  	little I really needed it, and thus stopped using it.  </p>
<p>    I&#8217;ve just released version 1.0 of a <em>free</em>   <a href="http://ant.apache.org">Ant</a>  custom task to make it a little easier to work on a project using  both Ant and <a href="http://www.eclipse.org">Eclipse</a>. What this  task does is read the <tt>.classpath</tt> file that Eclipse uses to  maintain your project&#8217;s classpath, combines that with your Eclipse  preferences to expand classpath variables and then creates a path-like  structure in your Ant project that you can compile against.  <br/><br/>  I wrote this because I use Eclipse and I always also have a  build file. Keeping the two in sync, classpath-wise, was always a  hassle. Now I can simply update the classpath inside Eclipse, and  whenever I do an Ant build it will automatically be in sync.  <br/><br/>  I wrote it against Eclipse 3.0 M8 originally. Then I upgraded to M9   and it stopped working. So with a bit of futzing about, I got it to   work with both 3.0 versions <em>and</em> 2.1.3, all three of which   keep the preferences file in completely different places with   completely different names. But that&#8217;s taken care of now. I have also   tested on both WindowsXP and Linux, but more on XP than Linux.   <br/><br/>    To use it, drop the jar file (plus <a   href="http://www.jdom.org">jdom.jar</a>    if you don&#8217;t already have  it) in ANT_HOME/lib. Then <tt>taskdef</tt> the task<br />
<blockquote>
<pre>  <font color="#008080"><</font><font color="#008080">taskdef</font><font color="#008080"> </font><font color="#2e8b57"><b>resource</b></font>=<font color="#daa520">"com/joeygibson/ant/eclipseclasspath.properties"</font><font color="#008080">/></font>  </pre>
</blockquote>
<p>  Then call the task. There are several optional attributes, but if you  want the classpath to end up in a path called &#8220;classpath&#8221;, then you  can probably get by with just this<br />
<blockquote>
<pre>  <font color="#008080"><</font><font color="#008080">eclipsecp</font><font color="#008080"> </font><font color="#2e8b57"><b>workspace</b></font>=<font color="#daa520">"/home/me/workspace"</font><font color="#008080">/></font>  </pre>
</blockquote>
<p>  If you are on Windows, and using Eclipse 3.0 M8 or later and you keep  your workspace in <tt>C:/Eclipse/workspace</tt> then you don&#8217;t even  have to do that much. You can get by with<br />
<blockquote>
<pre>  <font color="#008080"><</font><font color="#008080">eclipsecp/></font><font color="#008080"> </font></font>  </pre>
</blockquote>
<p>  Once you&#8217;ve executed the task, just reference the newly-created path   from your <tt>javac</tt> task or anything else that takes a path as an   argument.   <br/><br/>    You can read more about it in the <a   href="/projects/ect/readme.txt">README.txt</a>   <br/><br/>  I&#8217;ve got several downloadable versions available, in both zip and  tar.gz formats, with and without source, and with and without  jdom.jar. If you use it and like it/don&#8217;t like it/have suggestions,  please let me know.  <br/><br/>
<div align="center">
<table border="1" width="60%">
<tr>
<td colspan="2">Downloads</td>
</tr>
<tr>
<td valign="top">Binary only</td>
<td><a href="/projects/ect/ect.zip">ect.zip</a><br/>  	      <a href="/projects/ect/ect.tar.gz">ect.tar.gz</a></td>
</tr>
<tr>
<td valign="top">Binary w/ JDOM</td>
<td><a href="/projects/ect/ect-with-jdom.zip">ect-with-jdom.zip</a><br/>  	      <a href="/projects/ect/ect-with-jdom.tar.gz">ect-with-jdom.tar.gz</a></td>
</tr>
<tr>
<td valign="top">Source only</td>
<td><a href="/projects/ect/ect-src.zip">ect-src.zip</a><br/>  	      <a href="/projects/ect/ect-src.tar.gz">ect-src.tar.gz</a></td>
</tr>
</table></div>
<p>  <br/>  I&#8217;ve heard there are other tools out there that do this, but I didn&#8217;t   find them, so I wrote my own. Please <a   href="mailto:joey@joeygibson.com">email me</a> with any comments you   have about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://joeygibson.com/2004/06/15/free-eclipse-classpath-ant-task/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Ant Talk At CJUG</title>
		<link>http://joeygibson.com/2004/04/09/ant-talk-at-cjug/</link>
		<comments>http://joeygibson.com/2004/04/09/ant-talk-at-cjug/#comments</comments>
		<pubDate>Fri, 09 Apr 2004 07:24:00 +0000</pubDate>
		<dc:creator>Joey Gibson</dc:creator>
				<category><![CDATA[Ant]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://CJUG</guid>
		<description><![CDATA[I want to thank the folks at CJUG for having me up last night to speak on Ant. I thought the talk went well, though I did run long. I must say it&#8217;s rather embarrassing to discover that your presentation, &#8230; <a href="http://joeygibson.com/2004/04/09/ant-talk-at-cjug/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I want to thank the folks at <a  href="http://www.cjug.net/index.jsp">CJUG</a> for having me up last  night to speak on <a href="http://ant.apache.org">Ant</a>. I thought  the talk went well, though I did run long. I must say it&#8217;s rather embarrassing to  discover that your presentation, which is supposed to fit in about an  hour and a half, in reality needs three hours to be done right&#8230; I  need to pare it down so this doesn&#8217;t happen again. Those in attendance  didn&#8217;t seem to mind too much, and everyone stuck around a bit longer  than planned, which was nice to see.  <br/><br/>  What I&#8217;d  <em>really</em> like to do is to extract a subset of the slides into a  smaller presentation, yet still have them linked so that I would only  have to revise the slides in one PowerPoint file instead of two. Does  anyone know if that&#8217;s possible?</p>
]]></content:encoded>
			<wfw:commentRss>http://joeygibson.com/2004/04/09/ant-talk-at-cjug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Golden Gem</title>
		<link>http://joeygibson.com/2003/06/10/a-golden-gem/</link>
		<comments>http://joeygibson.com/2003/06/10/a-golden-gem/#comments</comments>
		<pubDate>Tue, 10 Jun 2003 08:06:00 +0000</pubDate>
		<dc:creator>Joey Gibson</dc:creator>
				<category><![CDATA[Ant]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://BookReview</guid>
		<description><![CDATA[JavaPro Magazine has done a review of my book, Ant Developer&#8217;s Handbook!!! The first line is the best: The Ant Developer&#8217;s Handbook is one of those golden gems that appear every once in a while. That is music to my &#8230; <a href="http://joeygibson.com/2003/06/10/a-golden-gem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fawcette.com/javapro/">JavaPro Magazine</a> has done a <a href="http://www.fawcette.com/javapro/2003_07/magazine/departments/bookreviews/page2.asp">review</a> of my book, <a href="http://www.amazon.com/exec/obidos/ASIN/0672324261/joeygibsostakeon">Ant Developer&#8217;s Handbook</a>!!! The first line is the best:<br />
<blockquote> The Ant Developer&#8217;s Handbook is one of those golden gems that appear every once in a while. </p></blockquote>
<p> That is music to my ears. Now go <a href="http://www.fawcette.com/javapro/2003_07/magazine/departments/bookreviews/page2.asp">read the whole review</a> and then go <a href="http://www.amazon.com/exec/obidos/ASIN/0672324261/joeygibsostakeon">buy your very own copy</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://joeygibson.com/2003/06/10/a-golden-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ant Developer&#8217;s Handbook at JavaRanch</title>
		<link>http://joeygibson.com/2003/03/11/ant-developers-handbook-at-javaranch/</link>
		<comments>http://joeygibson.com/2003/03/11/ant-developers-handbook-at-javaranch/#comments</comments>
		<pubDate>Tue, 11 Mar 2003 09:09:00 +0000</pubDate>
		<dc:creator>Joey Gibson</dc:creator>
				<category><![CDATA[Ant]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://BookPromo</guid>
		<description><![CDATA[Starting today over at Java Ranch they are doing a book promotion with my book, Ant Developer&#8217;s Handbook. If you are interested in Ant and want a chance to win a copy of my book, go register with JavaRanch and &#8230; <a href="http://joeygibson.com/2003/03/11/ant-developers-handbook-at-javaranch/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Starting today over at <a href="http://www.javaranch.com">Java Ranch</a> they are doing a book promotion with <em>my</em> book,  <a href="http://www.amazon.com/exec/obidos/ASIN/0672324261/joeygibsostakeon">Ant Developer&#8217;s Handbook</a>. If you are interested in <a href="http://ant.apache.org/">Ant</a> and want a chance to <strong>win a copy</strong> of my book, go register with JavaRanch and hang out in the  <a href="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&#038;f=67">Ant Forum</a> and you just might. They are giving away four copies of the book this week and <a href="http://kirk.blog-city.com/">Kirk</a>, <a href="http://andy.blog-city.com/">Andy</a> and I will all be around answering questions all week.</p>
]]></content:encoded>
			<wfw:commentRss>http://joeygibson.com/2003/03/11/ant-developers-handbook-at-javaranch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

