<?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>btaz</title>
	<atom:link href="http://www.btaz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.btaz.com</link>
	<description>Promoting the art of coding</description>
	<lastBuildDate>Fri, 16 Jul 2010 17:01:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ls full path</title>
		<link>http://www.btaz.com/unixlinux/ls-full-path/</link>
		<comments>http://www.btaz.com/unixlinux/ls-full-path/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 17:01:58 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[full]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[path]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=168</guid>
		<description><![CDATA[How do you get the Unix command ls to show you the full path? Unfortunately there&#8217;s no argument for ls that will do this directly.
However this will work fine and give you what you want.
ls -d $PWD/*
or
ls -ld $PWD/*


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>How do you get the Unix command ls to show you the full path? Unfortunately there&#8217;s no argument for ls that will do this directly.<br />
However this will work fine and give you what you want.</p>
<p>ls -d $PWD/*</p>
<p>or</p>
<p>ls -ld $PWD/*</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/unixlinux/ls-full-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Window Stuck Under Toolbar in OS X</title>
		<link>http://www.btaz.com/os-x-apple-os/window-stuck-under-toolbar-in-os-x/</link>
		<comments>http://www.btaz.com/os-x-apple-os/window-stuck-under-toolbar-in-os-x/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 17:13:41 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[OS X / Apple OS]]></category>
		<category><![CDATA[can't move]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[stuck]]></category>
		<category><![CDATA[toolbar]]></category>
		<category><![CDATA[under]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=165</guid>
		<description><![CDATA[Sometimes a window can get stuck under the top toolbar in OS X. This often happens when I use Citrix in OS X to run Windows applications. When this happens it&#8217;s not possible to grab the window nor  to close it. A simple solution for this is to press [fn] [shift] [F2] which will move [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Sometimes a window can get stuck under the top toolbar in OS X. This often happens when I use Citrix in OS X to run Windows applications. When this happens it&#8217;s not possible to grab the window nor  to close it. A simple solution for this is to press [fn] [shift] [F2] which will move the application window a bit which allows you to grab it.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/os-x-apple-os/window-stuck-under-toolbar-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fatal: git checkout: updating paths is incompatible with switching branches.</title>
		<link>http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/</link>
		<comments>http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 18:16:09 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[git checkout fatal updating paths incompatible switching branches]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=162</guid>
		<description><![CDATA[Using GIT I tried to pull down a new remote branch using:
git checkout --track -b my-branch-name origin/my-branch-name
When I did this I got this error message:
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'origin/my-branch-name' which can not be resolved as commit?
This error message was a tad confusing. The solution in [...]


Related posts:<ol><li><a href='http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/' rel='bookmark' title='Permanent Link: GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists'>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Using GIT I tried to pull down a new remote branch using:</p>
<pre>git checkout --track -b my-branch-name origin/my-branch-name</pre>
<p>When I did this I got this error message:</p>
<pre>fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'origin/my-branch-name' which can not be resolved as commit?</pre>
<p>This error message was a tad confusing. The solution in my case was simple though, apparently you can&#8217;t switch to a different remote branch if your local master is not up-to-date with the remote origin/master so performing:</p>
<pre>git pull</pre>
<p>resolved the issue and after this I was able to successfully pull down the remote branch.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/' rel='bookmark' title='Permanent Link: GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists'>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DbVisualizer auto commit problem</title>
		<link>http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/</link>
		<comments>http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 16:47:30 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[JDBC]]></category>
		<category><![CDATA[auto commit]]></category>
		<category><![CDATA[DbVisualizer]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=157</guid>
		<description><![CDATA[I had some issues with DbVisualizer and auto commit. I wanted to be able to turn it off from the SQL commander. The official documentation states that you can do this using:
The Auto Commit setting is enabled by default and can be adjusted in the Connection Properties. You may also adjust the  auto commit state [...]


Related posts:<ol><li><a href='http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/' rel='bookmark' title='Permanent Link: SQL*Loader-522: lfiopn failed for file (loader.log)'>SQL*Loader-522: lfiopn failed for file (loader.log)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had some issues with DbVisualizer and auto commit. I wanted to be able to turn it off from the SQL commander. The official documentation states that you can do this using:</p>
<p><span style="color: #0000ff;">The Auto Commit setting is enabled by default and can be adjusted in the Connection Properties. You may also adjust the  auto commit state for the SQL editor you are using in the SQL Commander with the following command:</span></p>
<p>@set autocommit true/false</p>
<p>Unfortunately this didn&#8217;t work for  me in either 6.5.12 or 7.04 (I&#8217;m using OS X and Java 6) against an Oracle 10g database. I get an error alert stating &#8220;/application/set autocommit false (No such file or directory)&#8221;<br />
I was finally able to figure out that you can get it to work using:</p>
<p><span style="color: #0000ff;">@set autocommit off/on</span></p>
<p>I&#8217;m not sure if this is a problem that only occur on OS X.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/' rel='bookmark' title='Permanent Link: SQL*Loader-522: lfiopn failed for file (loader.log)'>SQL*Loader-522: lfiopn failed for file (loader.log)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</title>
		<link>http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/</link>
		<comments>http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 06:23:15 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[fatal]]></category>
		<category><![CDATA[MERGE_HEAD exists]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=152</guid>
		<description><![CDATA[fatal: You have not concluded your merge. (MERGE_HEAD exists)
I got this message because when I performed a &#8220;git pull&#8221;. I searched for a solution for this problem on the Internet and it wasn&#8217;t until I found this post that I was able to resolve this issue. The problem was that I:

Performed a &#8220;git pull&#8221; and [...]


Related posts:<ol><li><a href='http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/' rel='bookmark' title='Permanent Link: fatal: git checkout: updating paths is incompatible with switching branches.'>fatal: git checkout: updating paths is incompatible with switching branches.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>fatal: You have not concluded your merge. (MERGE_HEAD exists)</p>
<p>I got this message because when I performed a &#8220;git pull&#8221;. I searched for a solution for this problem on the Internet and it wasn&#8217;t until I found this <a title="git merge issue patch" href="http://lists.zerezo.com/git/msg692855.html">post</a> that I was able to resolve this issue. The problem was that I:</p>
<ol>
<li>Performed a &#8220;git pull&#8221; and the automatic merge failed and I ended up with merge conflicts</li>
<li>I resolved the merge conflicts and added the resolved files back using &#8220;git add&#8221;</li>
<li>Performed a new &#8220;git pull&#8221; and got the &#8220;Fatal You Have not Concluded Your Merge MERGE_HEAD Exists&#8221; error</li>
</ol>
<p>Apparently step 3 overrides MERGE_HEAD, starting a new merge with a dirty index. According to the post this is a common mistake made by programmers that are used to version control systems where the user follows an &#8220;update&#8221; and &#8220;commit&#8221; work flow.</p>
<p>So how do we resolve this issue? What worked for me was to follow the instructions for how to &#8220;Undo a merge or pull inside a dirty work tree&#8221; found <a title="Undo a merge or pull inside a dirty work tree" href="http://www.kernel.org/pub/software/scm/git/docs/git-reset.html">here</a>.</p>
<ol>
<li>I used &#8220;git reset &#8211;merge ORIG_HEAD&#8221;</li>
<li>I resolved the merge conflicts again and added the resolved files back using &#8220;git add&#8221;</li>
<li>I was then finally able to &#8220;push&#8221; my changes!</li>
</ol>
<p>According to the documentation if you run a &#8220;git reset &#8211;hard ORIG_HEAD&#8221; it will let you go back to where you were before you were trying to commit your changes, however you will lose local changes. Most likely not what you want to do. Using &#8220;git reset &#8211;merge&#8221; will let you keep your local changes. You will however have to re-resolve your conflicting merge files.</p>
<p>Some additional information on this topic can be found <a title="refuse to merge during a merge" href="http://n2.nabble.com/PATCH-refuse-to-merge-during-a-merge-td2983703.html">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/' rel='bookmark' title='Permanent Link: fatal: git checkout: updating paths is incompatible with switching branches.'>fatal: git checkout: updating paths is incompatible with switching branches.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SQL*Loader-522: lfiopn failed for file (loader.log)</title>
		<link>http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/</link>
		<comments>http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 20:39:36 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[522]]></category>
		<category><![CDATA[lfiopn]]></category>
		<category><![CDATA[SQL Loader]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=150</guid>
		<description><![CDATA[I used the Oracle SQL Loader to push some data into a table and got the following error: SQL*Loader-522: lfiopn failed for file (loader.log)
This somewhat cryptic error message turned out to be that Oracle SQL Loader didn&#8217;t have write permissions in the work directory i.e. in the directory where I executed the sqlldr command. Once [...]


Related posts:<ol><li><a href='http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/' rel='bookmark' title='Permanent Link: DbVisualizer auto commit problem'>DbVisualizer auto commit problem</a></li>
<li><a href='http://www.btaz.com/scm/svn-inconsistent-line-ending-style-when-trying-to-commit-a-binary-file/' rel='bookmark' title='Permanent Link: svn: Inconsistent line ending style when trying to commit a binary file'>svn: Inconsistent line ending style when trying to commit a binary file</a></li>
<li><a href='http://www.btaz.com/unixlinux/ls-full-path/' rel='bookmark' title='Permanent Link: ls full path'>ls full path</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I used the Oracle SQL Loader to push some data into a table and got the following error: SQL*Loader-522: lfiopn failed for file (loader.log)<br />
This somewhat cryptic error message turned out to be that Oracle SQL Loader didn&#8217;t have write permissions in the work directory i.e. in the directory where I executed the sqlldr command. Once I fixed the directory permission everything worked just fine.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/' rel='bookmark' title='Permanent Link: DbVisualizer auto commit problem'>DbVisualizer auto commit problem</a></li>
<li><a href='http://www.btaz.com/scm/svn-inconsistent-line-ending-style-when-trying-to-commit-a-binary-file/' rel='bookmark' title='Permanent Link: svn: Inconsistent line ending style when trying to commit a binary file'>svn: Inconsistent line ending style when trying to commit a binary file</a></li>
<li><a href='http://www.btaz.com/unixlinux/ls-full-path/' rel='bookmark' title='Permanent Link: ls full path'>ls full path</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java primitive data type sizes for byte, short, int, long, float, double and char</title>
		<link>http://www.btaz.com/java/java-primitive-data-type-sizes-for-byte-short-int-long-float-double-and-char/</link>
		<comments>http://www.btaz.com/java/java-primitive-data-type-sizes-for-byte-short-int-long-float-double-and-char/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 21:32:37 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[byte]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[data type]]></category>
		<category><![CDATA[default value]]></category>
		<category><![CDATA[digits]]></category>
		<category><![CDATA[double]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[long]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[min]]></category>
		<category><![CDATA[primitive data types]]></category>
		<category><![CDATA[short]]></category>
		<category><![CDATA[size]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=113</guid>
		<description><![CDATA[
table {
width:100%;
border:1px solid #e5eff8;
margin:1em auto;
border-collapse:collapse;
}
th {
color:#678197;
border: 1px solid #e5eff8;
padding: 2px;
text-align:center;
font-weight: bold;
text-align: left;
}
td {
color:#678197;
border:1px solid #e5eff8;
padding: 2px;
text-align:left;
}

A handy list for Java data types and sizes
Integer Data Types



Data Type
Size
Digits
Min
Max


byte
8-bit signed
3
-128
127


short
16-bit signed
5
-32,768
32,767


int
32-bit signed
10
-2,147,483,648
2,147,483,647


long
64-bit signed
19
-9,223,372,036,854,775,808
9,223,372,036,854,775,807




Floating Point Data Types



Data Type
Size


float
single-precision 32-bit IEEE 754 floating point


double
double-precision 64-bit IEEE 754 floating point




Boolean Data Types



Data Type
Values


boolean
true or false




Character Data Types



Data Type
Min
Max


char
\u0000 or 0
\uffff [...]


Related posts:<ol><li><a href='http://www.btaz.com/java/java-and-the-current-work-directory/' rel='bookmark' title='Permanent Link: Java and the current work directory'>Java and the current work directory</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
<p>table {
width:100%;
border:1px solid #e5eff8;
margin:1em auto;
border-collapse:collapse;
}
th {
color:#678197;
border: 1px solid #e5eff8;
padding: 2px;
text-align:center;
font-weight: bold;
text-align: left;
}
td {
color:#678197;
border:1px solid #e5eff8;
padding: 2px;
text-align:left;
}</p>
</style>
<p>A handy list for Java data types and sizes</p>
<h3>Integer Data Types</h3>
<table border="0">
<tbody>
<tr>
<th>Data Type</th>
<th>Size</th>
<th>Digits</th>
<th>Min</th>
<th>Max</th>
</tr>
<tr>
<td>byte</td>
<td>8-bit signed</td>
<td>3</td>
<td>-128</td>
<td>127</td>
</tr>
<tr>
<td>short</td>
<td>16-bit signed</td>
<td>5</td>
<td>-32,768</td>
<td>32,767</td>
</tr>
<tr>
<td>int</td>
<td>32-bit signed</td>
<td>10</td>
<td>-2,147,483,648</td>
<td>2,147,483,647</td>
</tr>
<tr>
<td>long</td>
<td>64-bit signed</td>
<td>19</td>
<td>-9,223,372,036,854,775,808</td>
<td>9,223,372,036,854,775,807</td>
</tr>
</tbody>
</table>
<p></p>
<h3>Floating Point Data Types</h3>
<table border="0">
<tbody>
<tr>
<th>Data Type</th>
<th>Size</th>
</tr>
<tr>
<td>float</td>
<td>single-precision 32-bit IEEE 754 floating point</td>
</tr>
<tr>
<td>double</td>
<td>double-precision 64-bit IEEE 754 floating point</td>
</tr>
</tbody>
</table>
<p></p>
<h3>Boolean Data Types</h3>
<table border="0">
<tbody>
<tr>
<th>Data Type</th>
<th>Values</th>
</tr>
<tr>
<td>boolean</td>
<td>true or false</td>
</tr>
</tbody>
</table>
<p></p>
<h3>Character Data Types</h3>
<table border="0">
<tbody>
<tr>
<th>Data Type</th>
<th>Min</th>
<th>Max</th>
</tr>
<tr>
<td>char</td>
<td>\u0000 or 0</td>
<td>\uffff or 65,535</td>
</tr>
</tbody>
</table>
<p></p>
<h3>Default Values</h3>
<table border="0">
<tbody>
<tr>
<th>Data Type</th>
<th>Default Value</th>
</tr>
<tr>
<td>byte</td>
<td>0</td>
</tr>
<tr>
<td>short</td>
<td>0</td>
</tr>
<tr>
<td>int</td>
<td>0</td>
</tr>
<tr>
<td>long</td>
<td>0L</td>
</tr>
<tr>
<td>float</td>
<td>0.0f</td>
</tr>
<tr>
<td>double</td>
<td>0.0d</td>
</tr>
<tr>
<td>char</td>
<td>&#8216;\u0000&#8242;</td>
</tr>
<tr>
<td>boolean</td>
<td>false</td>
</tr>
<tr>
<td>Any Object(s)</td>
<td>null</td>
</tr>
</tbody>
</table>
<p>
References:<br />
<a href="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html">http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html</a></p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/java/java-and-the-current-work-directory/' rel='bookmark' title='Permanent Link: Java and the current work directory'>Java and the current work directory</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/java/java-primitive-data-type-sizes-for-byte-short-int-long-float-double-and-char/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find project dependencies in a Maven project</title>
		<link>http://www.btaz.com/java/how-to-find-project-dependencies-in-a-maven-project/</link>
		<comments>http://www.btaz.com/java/how-to-find-project-dependencies-in-a-maven-project/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 09:45:09 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[class path]]></category>
		<category><![CDATA[dependency]]></category>
		<category><![CDATA[pom.xml]]></category>
		<category><![CDATA[see a list of dependencies]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=109</guid>
		<description><![CDATA[
It&#8217;s very useful to be able to see what is included in your class path especially when you&#8217;re trying to track down a troublesome dependency. Recently I had an issue with a JDOM dependency; however I had not defined a JDOM dependency in my pom.xml file and I couldn&#8217;t quite figure out why this dependency [...]


Related posts:<ol><li><a href='http://www.btaz.com/java/want-to-use-spring-3-0-milestone-release-from-maven/' rel='bookmark' title='Permanent Link: Want to use Spring 3.0 milestone release from Maven?'>Want to use Spring 3.0 milestone release from Maven?</a></li>
<li><a href='http://www.btaz.com/java/maven-log4j-and-javax-jms/' rel='bookmark' title='Permanent Link: Maven, Log4j and javax.jms'>Maven, Log4j and javax.jms</a></li>
<li><a href='http://www.btaz.com/java/maven/18/' rel='bookmark' title='Permanent Link: Maven pom.xml structure'>Maven pom.xml structure</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-110" title="cog-wheels" src="http://www.btaz.com/wp-content/uploads/2009/10/cog-wheels.jpg" alt="cog-wheels" width="296" height="199" /><br />
It&#8217;s very useful to be able to see what is included in your class path especially when you&#8217;re trying to track down a troublesome dependency. Recently I had an issue with a JDOM dependency; however I had not defined a JDOM dependency in my pom.xml file and I couldn&#8217;t quite figure out why this dependency existed. This is where Maven&#8217;s excellent dependency plugin comes to the rescue.</p>
<p>In a project you may have dependencies on libraries like Log4J or Freemarker. These libraries in their turn may have dependencies on other libraries, this is also known as transitive dependencies.</p>
<p>Using the following Maven command we&#8217;ll be able to see a list of these dependencies:</p>
<pre>mvn dependency:resolve</pre>
<p>For a nice tree view of the same information use:</p>
<pre>mvn dependency:tree</pre>
<p>If you want to see a full dependency trail that also show you artifacts that were rejected due to conflicts or other reasons then run maven with the debug flag enabled:</p>
<pre>mvn install -X</pre>
<p>For more information about the Maven dependency plugin go here: <a title="Maven dependency plugin" href="http://maven.apache.org/plugins/maven-dependency-plugin/">http://maven.apache.org/plugins/maven-dependency-plugin/</a></p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/java/want-to-use-spring-3-0-milestone-release-from-maven/' rel='bookmark' title='Permanent Link: Want to use Spring 3.0 milestone release from Maven?'>Want to use Spring 3.0 milestone release from Maven?</a></li>
<li><a href='http://www.btaz.com/java/maven-log4j-and-javax-jms/' rel='bookmark' title='Permanent Link: Maven, Log4j and javax.jms'>Maven, Log4j and javax.jms</a></li>
<li><a href='http://www.btaz.com/java/maven/18/' rel='bookmark' title='Permanent Link: Maven pom.xml structure'>Maven pom.xml structure</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/java/how-to-find-project-dependencies-in-a-maven-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to control or throttle SCP file transfer speed</title>
		<link>http://www.btaz.com/unixlinux/how-to-control-or-throttle-scp-file-transfer-speed/</link>
		<comments>http://www.btaz.com/unixlinux/how-to-control-or-throttle-scp-file-transfer-speed/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 18:43:13 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[exceed]]></category>
		<category><![CDATA[file transer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MBit/s]]></category>
		<category><![CDATA[SCP]]></category>
		<category><![CDATA[throttle]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=94</guid>
		<description><![CDATA[I wanted to control how fast SCP copy data between two Linux servers. On a Linux system this can easily be achieved using the &#8220;SCP -l&#8221; switch. In my case I had to make sure to not exceed 0.5 Mbit/s
Since the &#8220;-l&#8221; parameter uses Kbit/s the correct value in my case is 500
scp -l 500 [...]


Related posts:<ol><li><a href='http://www.btaz.com/unixlinux/how-to-automatically-provide-an-answer-to-unix-commands/' rel='bookmark' title='Permanent Link: How to automatically provide an answer to Unix commands'>How to automatically provide an answer to Unix commands</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I wanted to control how fast SCP copy data between two Linux servers. On a Linux system this can easily be achieved using the &#8220;SCP -l&#8221; switch. In my case I had to make sure to not exceed 0.5 Mbit/s</p>
<p>Since the &#8220;-l&#8221; parameter uses Kbit/s the correct value in my case is 500</p>
<pre>scp -l 500 big-file.tar someuser@someserver.com:backups/.</pre>


<p>Related posts:<ol><li><a href='http://www.btaz.com/unixlinux/how-to-automatically-provide-an-answer-to-unix-commands/' rel='bookmark' title='Permanent Link: How to automatically provide an answer to Unix commands'>How to automatically provide an answer to Unix commands</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/unixlinux/how-to-control-or-throttle-scp-file-transfer-speed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How I fixed the problem and got my Logitech mouse working OS X 10.6 Snow Leopard</title>
		<link>http://www.btaz.com/os-x-apple-os/how-i-fixed-the-problem-and-got-my-logitech-mouse-working-os-x-10-6-snow-leopard/</link>
		<comments>http://www.btaz.com/os-x-apple-os/how-i-fixed-the-problem-and-got-my-logitech-mouse-working-os-x-10-6-snow-leopard/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 14:50:15 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[OS X / Apple OS]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[logitech control center]]></category>
		<category><![CDATA[mice]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[os x 10.6]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=88</guid>
		<description><![CDATA[Logitech has yet to release updated keyboard and mice drivers for OS X 10.6 / Snow Leopard. I&#8217;m quite fond of my Logitech MX 510 mouse and wanted this problem fixed as soon as possible.
I used the instruction from the link below which tells you to download the &#8220;Logitech Control Center&#8221;, locate the &#8220;Logitech Control [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Logitech has yet to release updated keyboard and mice drivers for OS X 10.6 / Snow Leopard. I&#8217;m quite fond of my Logitech MX 510 mouse and wanted this problem fixed as soon as possible.</p>
<p>I used the instruction from the link below which tells you to download the &#8220;Logitech Control Center&#8221;, locate the &#8220;Logitech Control Center.mkpg&#8221; file inside the &#8220;Logitech Control Center Installer.app&#8221; and execute it. This will by-pass the OS X version check inside the Logitech installer.</p>
<p>I however wanted to use the installer for my mouse MX 510 which uses the &#8220;LCC Installer 2.app&#8221;. I followed the same instructions, located the &#8220;Logitech Control Center.mkpg&#8221; and executed it which successfully got the driver installed.</p>
<p>I found the solution to this problem here:<br />
<a title="Logitech and Snow Leopard get your logitech mouse and keyboard working again" href="http://www.tuaw.com/2009/09/01/snow-leopard-get-your-logitech-mouse-and-keyboard-working-again/">http://www.tuaw.com/2009/09/01/snow-leopard-get-your-logitech-mouse-and-keyboard-working-again/</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/os-x-apple-os/how-i-fixed-the-problem-and-got-my-logitech-mouse-working-os-x-10-6-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
