<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Evadnoob</title>
	<atom:link href="http://evadnoob.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://evadnoob.wordpress.com</link>
	<description>Emacs, Unix, Programming</description>
	<lastBuildDate>Fri, 26 Nov 2010 02:35:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='evadnoob.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Evadnoob</title>
		<link>http://evadnoob.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://evadnoob.wordpress.com/osd.xml" title="Evadnoob" />
	<atom:link rel='hub' href='http://evadnoob.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Building Qt 4.7.1 with -qt-sql-oci</title>
		<link>http://evadnoob.wordpress.com/2010/11/26/building-qt-4-7-1-with-qt-sql-oci/</link>
		<comments>http://evadnoob.wordpress.com/2010/11/26/building-qt-4-7-1-with-qt-sql-oci/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 02:35:17 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/?p=54</guid>
		<description><![CDATA[I&#8217;ve been attempting to build Qt 4.7.1 for the last hour. I spent a few hours earlier getting Oracle 10.2.0.4 installed on my Mac (Snow Leopard 10.6). Qt &#8216;configure&#8217; failed when attempting to test compile an oci.cpp file: OCI auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/macx-g++ -I. -I../../../../oracle/instantclient_10_2/sdk/include -o oci.o oci.cpp g++ -headerpad_max_install_names [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=54&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been attempting to build Qt 4.7.1 for the last hour.  I spent a few hours earlier getting Oracle 10.2.0.4 installed on my Mac (Snow Leopard 10.6).</p>
<p>Qt &#8216;configure&#8217; failed when attempting to test compile an oci.cpp file:<br />
<code><br />
OCI auto-detection... ()<br />
g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/macx-g++ -I. -I../../../../oracle/instantclient_10_2/sdk/include -o oci.o oci.cpp<br />
g++ -headerpad_max_install_names -o oci oci.o     -L/Users/evadnoob/oracle/instantclient_10_2 -lnnz10 -lclntsh<br />
ld: library not found for -lclntsh<br />
collect2: ld returned 1 exit status<br />
make: *** [oci] Error 1<br />
OCI disabled.<br />
Oracle (OCI) support cannot be enabled due to functionality tests!<br />
 Turn on verbose messaging (-v) to ./configure to see the final report.<br />
 If you believe this message is in error you may use the continue<br />
 switch (-continue) to ./configure to continue.<br />
</code></p>
<p>I noticed that I got no complaints from the linking of &#8220;nnz10&#8243;: -lnnz10.  The only difference between -lclntsh and -lnnz10 where in the file names.</p>
<p><code><br />
-rw-r--r--@ 1 evadnoob  staff       288 Apr  1  2009 BASIC_LITE_README<br />
-rw-r--r--@ 1 evadnoob  staff       282 Apr  1  2009 SQLPLUS_README<br />
-r--r--r--@ 1 evadnoob  staff   1609607 Feb  2  2008 classes12.jar<br />
-rwxr-xr-x@ 1 evadnoob  staff     34168 Apr  1  2009 genezi*<br />
-r-xr-xr-x@ 1 evadnoob  staff      1525 Aug 30  2004 glogin.sql*<br />
-rwxr-xr-x@ 1 evadnoob  staff  25582048 Nov 25 21:19 libclntsh.dylib*<br />
-rwxr-xr-x@ 1 evadnoob  staff  25582048 Mar 31  2009 libclntsh.dylib.10.1*<br />
-rwxr-xr-x@ 1 evadnoob  staff   2062528 Mar  3  2009 libnnz10.dylib*<br />
-rwxr-xr-x@ 1 evadnoob  staff   1277896 Mar  3  2009 libocci.dylib.10.1*<br />
-rwxr-xr-x@ 1 evadnoob  staff   4305504 Apr  1  2009 libociicus.dylib*<br />
-rwxr-xr-x@ 1 evadnoob  staff    118672 Mar 25  2009 libocijdbc10.dylib*<br />
-rwxr-xr-x@ 1 evadnoob  staff    118672 Mar 25  2009 libocijdbc10.jnilib*<br />
-rwxr-xr-x@ 1 evadnoob  staff   1108736 Mar 25  2009 libsqlplus.dylib*<br />
-rwxr-xr-x@ 1 evadnoob  staff   1438288 Mar  3  2009 libsqlplusic.dylib*<br />
-r--r--r--@ 1 evadnoob  staff   1555682 Feb  2  2008 ojdbc14.jar<br />
drwxr-xr-x  7 evadnoob  staff       238 Apr  1  2009 sdk/<br />
-rwxr-xr-x@ 1 evadnoob  staff      8552 Mar 25  2009 sqlplus*</p>
<p></code></p>
<p>I&#8217;m using the instant client to build with.  I copied libclntsh.dylib.10.1 to libclntsh.dylib and things &#8216;configure&#8217; just fine.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=54&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2010/11/26/building-qt-4-7-1-with-qt-sql-oci/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>
	</item>
		<item>
		<title>Determine java version of oracle jvm</title>
		<link>http://evadnoob.wordpress.com/2010/08/02/determine-java-version-of-oracle-jvm/</link>
		<comments>http://evadnoob.wordpress.com/2010/08/02/determine-java-version-of-oracle-jvm/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 19:17:43 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/?p=52</guid>
		<description><![CDATA[15:13:29 dw://localhost/orcl&#62; select dbms_java.GET_OJVM_PROPERTY('java.version') from dual; DBMS_JAVA.GET_OJVM_PROPERTY('JAVA.VERSION') -------------------------------------------------------------- 1.5.0_10 1 row selected.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=52&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code></p>
<p>15:13:29 dw://localhost/orcl&gt; select dbms_java.GET_OJVM_PROPERTY('java.version') from dual;</p>
<p>DBMS_JAVA.GET_OJVM_PROPERTY('JAVA.VERSION')<br />
--------------------------------------------------------------<br />
1.5.0_10</p>
<p>1 row selected.</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=52&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2010/08/02/determine-java-version-of-oracle-jvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>
	</item>
		<item>
		<title>Run sql-oracle as sysdba</title>
		<link>http://evadnoob.wordpress.com/2010/08/02/run-sql-oracle-as-sysdba/</link>
		<comments>http://evadnoob.wordpress.com/2010/08/02/run-sql-oracle-as-sysdba/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 16:36:49 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/?p=46</guid>
		<description><![CDATA[(defadvice sql-oracle (around sql-oracle (&#38;optional n) activate compile) "redefined the behavior of sql-oracle, run as sysdba" (interactive "*P") (if current-prefix-arg (setq sql-oracle-options (list "as sysdba"))) ad-do-it (setq sql-oracle-options nil))<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=46&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code><br />
(defadvice sql-oracle (around sql-oracle (&amp;optional n) activate compile)<br />
  "redefined the behavior of sql-oracle, run as sysdba"<br />
  (interactive "*P")<br />
  (if current-prefix-arg<br />
      (setq sql-oracle-options (list "as sysdba")))<br />
  ad-do-it<br />
  (setq sql-oracle-options nil))<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=46&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2010/08/02/run-sql-oracle-as-sysdba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>
	</item>
		<item>
		<title>tidy xml</title>
		<link>http://evadnoob.wordpress.com/2008/06/24/tidy-xml/</link>
		<comments>http://evadnoob.wordpress.com/2008/06/24/tidy-xml/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 23:23:38 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[cygwin]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/?p=22</guid>
		<description><![CDATA[I found myself needing a simple way to format some xml.  The xml I had was all shoved onto one line which is pretty impossible to read. I thought, nxml-mode should be able to do this, but checking the function names provided with nxml didn&#8217;tyield anything useful as far as I could tell.  So I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=22&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found myself needing a simple way to format some xml.  The xml I had was all shoved onto one line which is pretty impossible to read.</p>
<p>I thought, nxml-mode should be able to do this, but checking the function names provided with nxml didn&#8217;tyield anything useful as far as I could tell.  So I thought tidy should be able to do this.</p>
<p>For example, given this input xml, from a maven pom.xml where I purposefully de-formatted the xml:</p>
<p><pre class="brush: xml;">
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;         xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
&lt;parent&gt;&lt;groupId&gt;dmb&lt;/groupId&gt;&lt;artifactId&gt;dev&lt;/artifactId&gt;&lt;version&gt;{dev.version}&lt;/version&gt;&lt;/parent&gt;&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;&lt;groupId&gt;dmb&lt;/groupId&gt;&lt;artifactId&gt;misc&lt;/artifactId&gt;
&lt;packaging&gt;jar&lt;/packaging&gt;&lt;name&gt;miscellaneous&lt;/name&gt;&lt;url&gt;http://maven.apache.org&lt;/url&gt;&lt;dependencies&gt;&lt;dependency&gt;&lt;groupId&gt;org.jboss.cache&lt;/groupId&gt;&lt;artifactId&gt;jbosscache-core&lt;/artifactId&gt;&lt;version&gt;2.1.0.CR4&lt;/version&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;joda-time&lt;/groupId&gt;&lt;artifactId&gt;joda-time&lt;/artifactId&gt;&lt;version&gt;1.5.2&lt;/version&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;org.springframework&lt;/groupId&gt;&lt;artifactId&gt;spring-core&lt;/artifactId&gt;&lt;version&gt;{spring.version}&lt;/version&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;org.springframework&lt;/groupId&gt;&lt;artifactId&gt;spring-context&lt;/artifactId&gt;&lt;version&gt;{spring.version}&lt;/version&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;org.springframework&lt;/groupId&gt;&lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;&lt;version&gt;{spring.version}&lt;/version&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;commons-cli&lt;/groupId&gt;&lt;artifactId&gt;commons-cli&lt;/artifactId&gt;&lt;version&gt;1.1&lt;/version&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;google.com&lt;/groupId&gt;&lt;artifactId&gt;collections&lt;/artifactId&gt;&lt;version&gt;20071022&lt;/version&gt;&lt;scope&gt;compile&lt;/scope&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;org.apache.lucene&lt;/groupId&gt;&lt;artifactId&gt;lucene-core&lt;/artifactId&gt;&lt;version&gt;2.0.0&lt;/version&gt;&lt;/dependency&gt;&lt;dependency&gt;&lt;groupId&gt;com.sleepycat&lt;/groupId&gt;&lt;artifactId&gt;je&lt;/artifactId&gt;&lt;version&gt;3.3.62&lt;/version&gt;&lt;/dependency&gt;&lt;/dependencies&gt;&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;&lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;&lt;executions&gt;&lt;execution&gt;
&lt;phase&gt;package&lt;/phase&gt;&lt;goals&gt;&lt;goal&gt;shade&lt;/goal&gt;&lt;/goals&gt;&lt;configuration&gt;&lt;artifactSet&gt;&lt;excludes&gt;&lt;exclude&gt;classworlds:classworlds&lt;/exclude&gt;&lt;exclude&gt;junit:junit&lt;/exclude&gt;&lt;exclude&gt;jmock:jmock&lt;/exclude&gt;&lt;exclude&gt;xml-apis:xml-apis&lt;/exclude&gt;&lt;exclude&gt;javax.jms:jms&lt;/exclude&gt;&lt;exclude&gt;org.testng:testng&lt;/exclude&gt;&lt;/excludes&gt;&lt;/artifactSet&gt;
&lt;transformers&gt;
&lt;transformer implementation=&quot;org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer&quot;/&gt;&lt;/transformers&gt;&lt;/configuration&gt;&lt;/execution&gt;&lt;/executions&gt;&lt;/plugin&gt;
&lt;plugin&gt;&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;&lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;&lt;configuration&gt;&lt;archive&gt;&lt;manifestEntries&gt;&lt;mainClass&gt;dmb.Main&lt;/mainClass&gt;&lt;/manifestEntries&gt;&lt;/archive&gt;&lt;/configuration&gt;&lt;/plugin&gt;&lt;/plugins&gt;&lt;/build&gt;
&lt;profiles&gt;
&lt;profile&gt;&lt;id&gt;unit-test&lt;/id&gt;&lt;activation&gt;&lt;activeByDefault&gt;false&lt;/activeByDefault&gt;&lt;/activation&gt;&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;&lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;&lt;version&gt;2.4&lt;/version&gt;&lt;configuration&gt;&lt;systemProperties&gt;&lt;systemProperty&gt;&lt;name&gt;base.directory&lt;/name&gt;&lt;value&gt;xbasedir&lt;/value&gt;&lt;/systemProperty&gt;&lt;/systemProperties&gt;&lt;useFile&gt;false&lt;/useFile&gt;
&lt;trimStackTrace&gt;false&lt;/trimStackTrace&gt;&lt;useSystemClassLoader&gt;true&lt;/useSystemClassLoader&gt;&lt;groups&gt;unit&lt;/groups&gt;&lt;/configuration&gt;&lt;/plugin&gt;&lt;/plugins&gt;&lt;/build&gt;&lt;/profile&gt;
&lt;profile&gt;&lt;id&gt;system-test&lt;/id&gt;&lt;activation&gt;&lt;activeByDefault&gt;false&lt;/activeByDefault&gt;&lt;/activation&gt;&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;&lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;&lt;version&gt;2.4&lt;/version&gt;&lt;configuration&gt;&lt;skip&gt;false&lt;/skip&gt;&lt;systemProperties&gt;&lt;systemProperty&gt;&lt;name&gt;base.directory&lt;/name&gt;&lt;value&gt;xbasedir&lt;/value&gt;&lt;/systemProperty&gt;&lt;/systemProperties&gt;&lt;useFile&gt;false&lt;/useFile&gt;
&lt;trimStackTrace&gt;false&lt;/trimStackTrace&gt;&lt;useSystemClassLoader&gt;true&lt;/useSystemClassLoader&gt;&lt;groups&gt;system&lt;/groups&gt;&lt;/configuration&gt;&lt;/plugin&gt;&lt;/plugins&gt;&lt;/build&gt;&lt;/profile&gt;
&lt;profile&gt;&lt;id&gt;default-tests&lt;/id&gt;&lt;activation&gt;&lt;activeByDefault&gt;true&lt;/activeByDefault&gt;&lt;/activation&gt;&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;&lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;&lt;version&gt;2.4&lt;/version&gt;&lt;configuration&gt;&lt;skip&gt;false&lt;/skip&gt;&lt;systemProperties&gt;&lt;systemProperty&gt;&lt;name&gt;base.directory&lt;/name&gt;&lt;value&gt;xbasedir&lt;/value&gt;&lt;/systemProperty&gt;&lt;/systemProperties&gt;&lt;useFile&gt;false&lt;/useFile&gt;
&lt;trimStackTrace&gt;false&lt;/trimStackTrace&gt;&lt;useSystemClassLoader&gt;true&lt;/useSystemClassLoader&gt;&lt;/configuration&gt;&lt;/plugin&gt;&lt;/plugins&gt;&lt;/build&gt;&lt;/profile&gt;&lt;/profiles&gt;&lt;repositories&gt;&lt;repository&gt;&lt;id&gt;repository.jboss.org&lt;/id&gt;&lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;&lt;/repository&gt;&lt;repository&gt;&lt;id&gt;snapshots.jboss.org&lt;/id&gt;&lt;url&gt;http://snapshots.jboss.org/maven2&lt;/url&gt;&lt;/repository&gt;&lt;repository&gt;&lt;id&gt;java.net&lt;/id&gt;&lt;url&gt;http://download.java.net/maven/1&lt;/url&gt;&lt;layout&gt;legacy&lt;/layout&gt;&lt;/repository&gt;&lt;repository&gt;&lt;releases&gt;&lt;enabled&gt;true&lt;/enabled&gt;&lt;updatePolicy&gt;always&lt;/updatePolicy&gt;&lt;checksumPolicy&gt;warn&lt;/checksumPolicy&gt;&lt;/releases&gt;&lt;snapshots&gt;&lt;enabled&gt;true&lt;/enabled&gt;&lt;updatePolicy&gt;never&lt;/updatePolicy&gt;&lt;checksumPolicy&gt;fail&lt;/checksumPolicy&gt;&lt;/snapshots&gt;&lt;id&gt;oracleReleases&lt;/id&gt;&lt;name&gt;Oracle Released Java Packages&lt;/name&gt;&lt;url&gt;http://download.oracle.com/maven&lt;/url&gt;&lt;layout&gt;default&lt;/layout&gt;&lt;/repository&gt;&lt;/repositories&gt;
&lt;properties&gt;&lt;spring.version&gt;2.5.1&lt;/spring.version&gt;&lt;/properties&gt;&lt;/project&gt;

</pre></p>
<p>I ran tidy like this:</p>
<p><pre class="brush: xml;">

$ tidy -q -i -xml &lt;&lt; EOF
&lt;/repositories&gt;
&lt;properties&gt;&lt;spring.version&gt;2.5.1&lt;/spring.version&gt;&lt;/properties&gt;&lt;/project&gt;
&gt; EOF
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
&lt;parent&gt;
&lt;groupId&gt;dmb&lt;/groupId&gt;
&lt;artifactId&gt;dev&lt;/artifactId&gt;
&lt;version&gt;{dev.version}&lt;/version&gt;
&lt;/parent&gt;
&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&lt;groupId&gt;dmb&lt;/groupId&gt;
&lt;artifactId&gt;misc&lt;/artifactId&gt;
&lt;packaging&gt;jar&lt;/packaging&gt;
&lt;name&gt;miscellaneous&lt;/name&gt;
&lt;url&gt;http://maven.apache.org&lt;/url&gt;
&lt;dependencies&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jboss.cache&lt;/groupId&gt;
&lt;artifactId&gt;jbosscache-core&lt;/artifactId&gt;
&lt;version&gt;2.1.0.CR4&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;joda-time&lt;/groupId&gt;
&lt;artifactId&gt;joda-time&lt;/artifactId&gt;
&lt;version&gt;1.5.2&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
&lt;artifactId&gt;spring-core&lt;/artifactId&gt;
&lt;version&gt;{spring.version}&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
&lt;artifactId&gt;spring-context&lt;/artifactId&gt;
&lt;version&gt;{spring.version}&lt;/version&gt;
&lt;/dependency&gt;
</pre></p>
<p><a href="http://picasaweb.google.com/david.boon/MyPictures/photo#5215589573417386898"><img src="http://lh5.ggpht.com/david.boon/SGF_FWnGQ5I/AAAAAAAABIQ/Y5THx8E-XCE/s800/tidyxml.png" /></a></p>
<p>This works even better directly from within emacs by running shell-command-on-region(M-|), tidy -q -i -xml :<br />
<a href="http://picasaweb.google.com/david.boon/MyPictures/photo#5215592341745609266"><img src="http://lh5.ggpht.com/david.boon/SGGBmfb-qjI/AAAAAAAABIo/mO1mh3UGILc/s800/tidy-shell-command-on-region.png" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/evadnoob.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/evadnoob.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=22&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2008/06/24/tidy-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>

		<media:content url="http://lh5.ggpht.com/david.boon/SGF_FWnGQ5I/AAAAAAAABIQ/Y5THx8E-XCE/s800/tidyxml.png" medium="image" />

		<media:content url="http://lh5.ggpht.com/david.boon/SGGBmfb-qjI/AAAAAAAABIo/mO1mh3UGILc/s800/tidy-shell-command-on-region.png" medium="image" />
	</item>
		<item>
		<title>Emacs and JDEE tip</title>
		<link>http://evadnoob.wordpress.com/2008/03/20/emacs-and-jdee-tip/</link>
		<comments>http://evadnoob.wordpress.com/2008/03/20/emacs-and-jdee-tip/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 02:05:49 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/?p=18</guid>
		<description><![CDATA[As you can tell from my earlier posts I use JDEE for Java development. My configuration has grown very organically, I&#8217;ve added a little here and there. One of my configuration changes was to hide the prj.el file. The prj.el file isn&#8217;t important to see when browsing directories with dired or from bash. I customized [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=18&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As you can tell from my earlier posts I use <a href="http://jdee.sourceforge.net/" target="_blank">JDEE</a>  for Java development.   My configuration has grown very organically, I&#8217;ve added a little here and there.  One of my configuration changes was to hide the prj.el file.  The prj.el file isn&#8217;t important to see when browsing directories with dired or from bash.</p>
<p>I customized the name of the prj.el file:</p>
<p><pre class="brush: xml;">

(custom-set-variables
   '(jde-project-file-name &quot;.jde.project&quot;))</pre><br />
Renaming prj.el to .jde.project seemed to make sense to me.  The previous name was a overly generic for me.  Plus, I like to not see the file in my day-to-day usage.<a href="http://evadnoob.files.wordpress.com/2008/03/dired-jdeproject.png" title="emacs dired .jde.project"><img src="http://evadnoob.files.wordpress.com/2008/03/dired-jdeproject.png?w=600" alt="emacs dired .jde.project" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/evadnoob.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/evadnoob.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=18&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2008/03/20/emacs-and-jdee-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>

		<media:content url="http://evadnoob.files.wordpress.com/2008/03/dired-jdeproject.png" medium="image">
			<media:title type="html">emacs dired .jde.project</media:title>
		</media:content>
	</item>
		<item>
		<title>flymake mode</title>
		<link>http://evadnoob.wordpress.com/2008/03/15/flymake-mode/</link>
		<comments>http://evadnoob.wordpress.com/2008/03/15/flymake-mode/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 01:36:30 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/?p=4</guid>
		<description><![CDATA[I&#8217;ve been using flymake mode lately. I&#8217;ve really only started to use flymake-mode after I also began using maven. Thanks to pom-parser I can configure my projects directly from pom.xml, no need to manually setup multiple classpaths, pom-parser takes care of this. Here&#8217;s the steps: setup your pom.xml setup a simple prj.el like this: You&#8217;ll [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=4&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using flymake mode lately.</p>
<p><img src="http://lh5.google.com/david.boon/R9sjh2jessI/AAAAAAAABFM/cDsi-ifWkiM/s800/flymakemode.JPG" align="texttop" height="495" width="650" /></p>
<p>I&#8217;ve really only started to use flymake-mode after I also began using maven.  Thanks to <a href="http://www.emacswiki.org/cgi-bin/wiki/JdeeAndMaven2Pom" title="pom-parser" target="_blank">pom-parser</a>  I can configure my projects directly from pom.xml, no need to manually setup multiple classpaths, pom-parser takes care of this.</p>
<p>Here&#8217;s the steps:</p>
<ul>
<li> setup your <a href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Minimal_POM" title="pom.xml" target="_blank">pom.xml</a></li>
<li> setup a simple prj.el like this:</li>
</ul>
<p><pre class="brush: xml;">
(jde-project-file-version &amp;quot;1.0&amp;quot;)
(jde-set-variables
  '(jde-compile-option-command-line-args
     (quote (&amp;quot;-Xlint:all&amp;quot; &amp;quot;-Xlint:-serial&amp;quot;))))
(require 'pom-parser)
(with-pom ()
  (pom-set-jde-variables *pom-node*))</pre></p>
<ul>
<li> You&#8217;ll need to download the <a href="http://download.eclipse.org/eclipse/downloads/drops/R-3.3.2-200802211800/index.php#JDTCORE" target="_blank">eclipse compiler</a>.  At the time of this writing I&#8217;m using 3.3.2, the latest eclipse.  Save the ecj.jar some place convenient.  I like to put mine with the emacs config so I can easily locate the correct version of the jar.</li>
<li>Enable flymake mode:  M-x flymake-mode, or bind it to a key  for a mode that makes sense: &lt;tt&gt;(define-key jde-mode-map [f11] &#8216;flymake-mode)&lt;/tt&gt;</li>
<li>That&#8217;s it.  Pretty easy.</li>
</ul>
<p>Here&#8217;s rest of my flymake settings:<br />
<pre class="brush: xml;">
(custom-set-variables
   '(flymake-allowed-file-name-masks
        (cons '(&amp;quot;\\.java\\'&amp;quot;  . (jde-ecj-server-flymake-init jde-ecj-flymake-cleanup))
              flymake-allowed-file-name-masks  ))
    '(flymake-no-changes-timeout 2.0)
    '(flymake-log-level 3)
    '(flymake-start-syntax-check-on-newline nil)
    '(jde-compiler '((&amp;quot;eclipse java compiler server&amp;quot; &amp;quot;~/emacs/ecj-3.3M6.jar&amp;quot;)))
    '(jde-ecj-command-line-args (quote (&amp;quot;-d&amp;quot; &amp;quot;none&amp;quot; &amp;quot;-1.5&amp;quot; &amp;quot;-warn:unused,semicolon&amp;quot; &amp;quot;-maxProblems&amp;quot; &amp;quot;50&amp;quot; &amp;quot;-g&amp;quot;)))
  )</pre></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/evadnoob.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/evadnoob.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=4&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2008/03/15/flymake-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>

		<media:content url="http://lh5.google.com/david.boon/R9sjh2jessI/AAAAAAAABFM/cDsi-ifWkiM/s800/flymakemode.JPG" medium="image" />
	</item>
		<item>
		<title>pom-parser</title>
		<link>http://evadnoob.wordpress.com/2008/03/15/pom-parser/</link>
		<comments>http://evadnoob.wordpress.com/2008/03/15/pom-parser/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 01:34:22 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[emacs]]></category>
		<category><![CDATA[emacs maven]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/2008/03/15/pom-parser/</guid>
		<description><![CDATA[I&#8217;ve been trying to use pom-parser.el with maven 2.0.8. It seems that the maven.dep.cpFile property isn&#8217;t working. I checked the docs for the plugin, and it says that parameter is deprecated, replaced with outputFile. http://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html#cpFile So I tried the outputFile and that didn&#8217;t work either, for me output always goes to stdout, never to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=3&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to use pom-parser.el with maven 2.0.8.  It seems that the maven.dep.cpFile property isn&#8217;t working.  I checked the docs for the plugin, and it says that parameter is deprecated, replaced with outputFile.</p>
<p>http://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html#cpFile</p>
<p>So I tried the outputFile and that didn&#8217;t work either, for me output always goes to stdout, never to the file.</p>
<p>I&#8217;m using the latest pom-parser.el from http://svn.grumblesmurf.org/svn/pom-el/trunk/pom-parser.el , GNU Emacs 23.0.60.1, and maven 2.0.8</p>
<p>I took a shot at parsing the output to capture the classpath.  I was thinking that this function,or a better one <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   could parse the output of the two goals( effective pom and the dependency classpath) instead of two temp files in &#8216;pom-parse-pom&#8217;.</p>
<p><pre class="brush: xml;">
--- pom-parser-orig.el 2008-03-12 21:42:24.359375000 -0400
+++ pom-parser.el 2008-03-12 22:00:12.906250000 -0400
@@ -115,8 +115,7 @@
(cdr cached-pom-data)
(message &quot;Calling %s help:effective-pom dependency:build-classpath...&quot;
pom-maven-command)
-      (let ((temp-pom (make-temp-file temporary-file-directory))
-            (temp-cpfile (make-temp-file temporary-file-directory)))
+      (let ((temp-pom (make-temp-file (concat temporary-file-directory  &quot;pom.&quot;) nil &quot;.xml&quot;)))
(with-current-buffer *mvn-output-buffer*
(erase-buffer))
(if (&gt; (let ((default-directory (file-name-directory pom-file)))
@@ -127,23 +126,39 @@
&quot;dependency:build-classpath&quot;
(concat &quot;-Doutput=&quot; temp-pom)
&quot;-DincludeScope=compile&quot;
-                               &quot;-DincludeTypes=jar&quot;
-                               (concat &quot;-Dmaven.dep.cpFile=&quot; temp-cpfile)))
+                               &quot;-DincludeTypes=jar&quot; ))
0)
(progn (display-buffer *mvn-output-buffer* t)
(error &quot;%s call failed&quot; pom-maven-command))
(let ((pom (pom-parse-pom-file temp-pom)))
-            (if (null pom)
+            (message &quot;length pom: %s&quot; (length pom))
+            (if (or (null pom) (= 0 (length pom )))
(error &quot;Failed to parse effective POM; the contents of %s might help diagnose&quot; temp-pom)
-              (let ((classpath (pom-parse-classpath-file temp-cpfile)))
+              (let ((classpath (pom-parse-classpath-buffer)))
+                (message &quot;classpath: %s&quot; classpath)
(push (cons 'pom:classpath classpath)
(nth 1 pom)))
(puthash pom-file (cons pom-file-last-mod-time pom)
*pom-cache*)
(delete-file temp-pom)
-              (delete-file temp-cpfile)
pom)))))))

+(defun pom-parse-classpath-buffer ()
+  &quot;&quot;
+  ;;(display-buffer *mvn-output-buffer*)
+  (with-current-buffer *mvn-output-buffer*
+    (goto-char (point-min))
+    (let ((line-before-classpath (search-forward &quot;Dependencies classpath:&quot; nil t)))
+      (message &quot;line-before-classpath: %s&quot; line-before-classpath )
+      (if line-before-classpath
+          (progn
+            (forward-line)
+            ;;buffer-substring
+            ;;(message &quot;point-bol: %s point-eol: %s&quot; (point-at-bol) (point-at-eol))
+            (let ((tmp-classpath (buffer-substring-no-properties (point-at-bol) (point-at-eol))))
+              (split-string tmp-classpath path-separator)))
+        (error &quot;failed to find classpath in mvn dependency:build-classpath output&quot;)))))
+
(defun pom-parse-classpath-file (classpath-file)
(with-temp-buffer
(insert &quot;(\&quot;&quot;)

</pre>I also found that in my prj.el I needed to specify *pom-node*:<br />
<pre class="brush: xml;">
(jde-project-file-version &quot;1.0&quot;)
(jde-set-variables
'(jde-compile-option-command-line-args
(quote (&quot;-Xlint:all&quot; &quot;-Xlint:-serial&quot;))))
(require 'pom-parser)
  (with-pom ()
  (pom-set-jde-variables *pom-node*))

</pre></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/evadnoob.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/evadnoob.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=3&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2008/03/15/pom-parser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>
	</item>
		<item>
		<title>edebug, why you rule</title>
		<link>http://evadnoob.wordpress.com/2008/02/03/edebug-why-you-rule/</link>
		<comments>http://evadnoob.wordpress.com/2008/02/03/edebug-why-you-rule/#comments</comments>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/?p=15</guid>
		<description><![CDATA[Edebug is really easy to use. The emacswiki has a description of how to use SourceLevelDebugging. The info doc has an extensive description on how to use edebug too. I&#8217;ve been using the gud-jdb debugger for java. I&#8217;d like to see the gud-jdb behavior be more like edebug, where typing interacts with the debugger rather [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=15&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Edebug is really easy to use.  The emacswiki has a description of how to use <a href="http://www.emacswiki.org/cgi-bin/wiki/SourceLevelDebugger">SourceLevelDebugging.</a>  The info doc has an extensive description on how to use edebug too.</p>
<p>I&#8217;ve been using the gud-jdb debugger for java.  I&#8217;d like to see the gud-jdb  behavior be more like edebug, where typing interacts with the debugger rather than modifying the source buffer.</p>
<p>Here&#8217;s a screenshot of debugging a simple defun: <a href="http://picasaweb.google.com/david.boon/MyPictures/photo#5162803798249328930"><img src="http://lh5.google.com/david.boon/R6X2s2ewUSI/AAAAAAAABBM/rWaOajuT0Aw/s144/emacs-edebug.bmp" /></a></p>
<p>I&#8217;ve had some problems with gud and jdb.  Mainly it chokes on 1.5 syntax, <tt>import static</tt> makes parsing fail.  Attaching to a remote vm, actually the easiest way to debug a complicated java application with multiple classloaders, only works when you have <tt>gud-jdb-use-classpath</tt> and  <tt>gud-jdb-directories</tt> set.  I typically run a quick command to get the directory containing the class I want to debug  to <tt>gud-jdb-directries</tt>, like:</p>
<pre>(add-to-list 'gud-jdb-directories (file-name-directory (buffer-file-name (current-buffer))))</pre>
<p>I created a small function for adding a java(jde-mode) buffer to the gud-jdb-directories.  This function let&#8217;s the debugger find a source file when you do a <tt>where</tt>.</p>
<p>&lt;code&gt;<br />
(defun dmb-add-current-class-gud-jdb-directories()<br />
&#8220;add the current buffers directory &#8220;<br />
(interactive)<br />
(if (not (eq major-mode &#8216;jde-mode))<br />
(error &#8220;Must be a jde-mode buffer to add it to the debugger&#8221;))<br />
(add-to-list &#8216;gud-jdb-directories (file-name-directory (buffer-file-name (current-buffer))))<br />
)<br />
&lt;/code&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/evadnoob.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/evadnoob.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=15&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2008/02/03/edebug-why-you-rule/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>

		<media:content url="http://lh5.google.com/david.boon/R6X2s2ewUSI/AAAAAAAABBM/rWaOajuT0Aw/s144/emacs-edebug.bmp" medium="image" />
	</item>
		<item>
		<title>ansi colors</title>
		<link>http://evadnoob.wordpress.com/2007/08/31/14/</link>
		<comments>http://evadnoob.wordpress.com/2007/08/31/14/#comments</comments>
		<pubDate>Fri, 31 Aug 2007 19:09:00 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/2007/08/31/14/</guid>
		<description><![CDATA[I really like colored terminal output, like that of ls &#8211;color. Makes using a terminal just a little more interesting. I mis that feature in emacs shell mode, so I thought I&#8217;d require ansi-color and enable it with : (autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) But at first it looks like I wasn&#8217;t very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=14&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I really like colored terminal output, like that of ls &#8211;color.  Makes using a terminal just a little more interesting. I mis that feature in emacs shell mode, so I thought I&#8217;d require ansi-color and enable it with :</p>
<pre>(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)</pre>
<p>But at first it looks like<br />
<a href="http://picasaweb.google.com/david.boon/MyPictures/photo#5104946398048396706"><img src="http://lh5.google.com/david.boon/Rthps60VpaI/AAAAAAAAAmI/zlQSlb53XQ0/s144/ugly-ansi-emacs-colors.png" /></a></p>
<p>I wasn&#8217;t very happy with that, so I decided to fiddle with the attributes, and came up with :</p>
<pre>(custom-set-variables  '(ansi-color-names-vector (vector "black" "sienna" "DeepSkyBlue4" "yellow" "NavyBlue" "magenta" "cyan" "white"))  )</pre>
<p>Which renders as:<br />
<a href="http://picasaweb.google.com/david.boon/MyPictures/photo#5104946398048396722"><img src="http://lh5.google.com/david.boon/Rthps60VpbI/AAAAAAAAAmQ/a5YPqWiPyv0/s144/better-ansi-emacs-colors.png" /></a></p>
<p>Much better&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/evadnoob.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/evadnoob.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=14&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2007/08/31/14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>

		<media:content url="http://lh5.google.com/david.boon/Rthps60VpaI/AAAAAAAAAmI/zlQSlb53XQ0/s144/ugly-ansi-emacs-colors.png" medium="image" />

		<media:content url="http://lh5.google.com/david.boon/Rthps60VpbI/AAAAAAAAAmQ/a5YPqWiPyv0/s144/better-ansi-emacs-colors.png" medium="image" />
	</item>
		<item>
		<title>New pictures</title>
		<link>http://evadnoob.wordpress.com/2007/06/12/11/</link>
		<comments>http://evadnoob.wordpress.com/2007/06/12/11/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 23:46:00 +0000</pubDate>
		<dc:creator>evadnoob</dc:creator>
				<category><![CDATA[Max and Zoe]]></category>

		<guid isPermaLink="false">http://evadnoob.wordpress.com/2007/06/12/11/</guid>
		<description><![CDATA[Been a while since my last post. Not too much has changed, except of course the kids. They are one years old now. Here&#8217;s some photos from their birthday June09_MaxZoe_Birthday<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=11&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Been a while since my last post. Not too much has changed, except of course the kids.  They are one years old now.  Here&#8217;s some photos from their birthday</p>
<table style="width:194px;">
<tr>
<td style="background:transparent url('http://picasaweb.google.com/f/img/transparent_album_background.gif') no-repeat scroll left center;height:194px;" align="center"><a href="http://picasaweb.google.com/david.boon/June09_MaxZoe_Birthday"><img src="http://lh4.google.com/image/david.boon/Rm8vWyOWdBE/AAAAAAAAAZ8/8DuiY1tODV0/s160-c/June09_MaxZoe_Birthday.jpg" style="margin:1px 0 0 4px;" height="160" width="160" /></a></td>
</tr>
<tr>
<td style="text-align:center;font-family:arial,sans-serif;font-size:11px;"><a href="http://picasaweb.google.com/david.boon/June09_MaxZoe_Birthday">June09_MaxZoe_Birthday</a></td>
</tr>
</table>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/evadnoob.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/evadnoob.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evadnoob.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evadnoob.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evadnoob.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evadnoob.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evadnoob.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evadnoob.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evadnoob.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evadnoob.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evadnoob.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evadnoob.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evadnoob.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evadnoob.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evadnoob.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evadnoob.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evadnoob.wordpress.com&amp;blog=3166710&amp;post=11&amp;subd=evadnoob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evadnoob.wordpress.com/2007/06/12/11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3726c113dc60d57460c8e16f0c8f31c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">evadnoob</media:title>
		</media:content>

		<media:content url="http://lh4.google.com/image/david.boon/Rm8vWyOWdBE/AAAAAAAAAZ8/8DuiY1tODV0/s160-c/June09_MaxZoe_Birthday.jpg" medium="image" />
	</item>
	</channel>
</rss>
