<?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>Privates Blog von Karsten Gresch &#187; Programmiernotizen</title>
	<atom:link href="http://blog.gresch.de/tag/programmiernotizen/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gresch.de</link>
	<description>Varia, Miscellania</description>
	<lastBuildDate>Wed, 06 Jul 2011 18:23:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ant: Umgebungsvariablen an der Kommandozeile (mit &#8220;-D&#8221;) überschreiben</title>
		<link>http://blog.gresch.de/2008/01/16/ant-umgebungsvariablen-an-der-kommandozeile-mit-d-ueberschreiben/</link>
		<comments>http://blog.gresch.de/2008/01/16/ant-umgebungsvariablen-an-der-kommandozeile-mit-d-ueberschreiben/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 23:16:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Programmiernotizen]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=230</guid>
		<description><![CDATA[Wird immer mal wieder angefragt: Gesetzt den Fall, man m&#246;chte in einem Ant-Script auf eine Umgebungsvariable zugreifen, was man normalerweise so macht: &#60;property environment=&#34;env&#34; /&#62; &#60;property name=&#34;dist-conf&#34; location=&#34;${env.DIST_PATH}/conf&#34; /&#62; Dann kann man diese Variable an der Kommandozeile wie folgt &#252;berschreiben: ant -Denv.DIST_PATH=/path/to/the/dir Um einmal gesetzte Variablen zu &#252;berschreiben, ist der Ant-Contrib-Variable-Task (siehe http://ant-contrib.sourceforge.net/) die L&#246;sung [...]]]></description>
			<content:encoded><![CDATA[<p>Wird immer mal wieder angefragt: Gesetzt den Fall, man m&ouml;chte in einem Ant-Script auf eine Umgebungsvariable zugreifen, was man normalerweise so macht:</p>
<pre>&lt;property environment=&quot;env&quot; /&gt; &lt;property name=&quot;dist-conf&quot; location=&quot;${env.DIST_PATH}/conf&quot; /&gt;</pre>
<p>Dann kann man diese Variable an der Kommandozeile wie folgt &uuml;berschreiben:</p>
<pre>ant -Denv.DIST_PATH=/path/to/the/dir</pre>
<p>Um einmal gesetzte Variablen zu &uuml;berschreiben, ist der Ant-Contrib-Variable-Task (siehe <a href="http://ant-contrib.sourceforge.net/">http://ant-contrib.sourceforge.net/</a>) die L&ouml;sung der Wahl.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2008/01/16/ant-umgebungsvariablen-an-der-kommandozeile-mit-d-ueberschreiben/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux-Dinge zum Klären</title>
		<link>http://blog.gresch.de/2007/02/22/linux-dinge-zum-klaeren/</link>
		<comments>http://blog.gresch.de/2007/02/22/linux-dinge-zum-klaeren/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 22:34:40 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmiernotizen]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=150</guid>
		<description><![CDATA[Verl&#228;ngern fsck auf 360 Tage. Fensteraufruf nach Reboot &#8211; auch nur f&#252;r bestimmte Fenster einstellbar. Fetchmail: Webmin-Cron oder Suse? sudo-Konfiguration]]></description>
			<content:encoded><![CDATA[<ul>
<li>Verl&auml;ngern fsck auf 360 Tage.</li>
<li>Fensteraufruf nach Reboot &#8211; auch nur f&uuml;r bestimmte Fenster einstellbar.</li>
<li>Fetchmail: Webmin-Cron oder Suse?</li>
<li>sudo-Konfiguration</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2007/02/22/linux-dinge-zum-klaeren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Private Notes</title>
		<link>http://blog.gresch.de/2007/01/22/private-notes/</link>
		<comments>http://blog.gresch.de/2007/01/22/private-notes/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 21:07:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmiernotizen]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=86</guid>
		<description><![CDATA[- Evaluierung von Frameworks (Anlass: Testen): Da sucht jemand missmutig, wÃ¤hlt das Framework aus, das ihm nach schwammigen Kriterien am geeignetsten erscheint und das wird dann genommen. Dabei Wichtigtuerei ins UnertrÃ¤gliche. Wie sehn ich mich doch nach &#8220;Leidenschaft&#8221;, nach Begeisterung fÃ¼r Software! - D: Statisch typisiert, m.E. RÃ¼ckschritt. Performance gilt immer noch als Nachteil von [...]]]></description>
			<content:encoded><![CDATA[<p>- Evaluierung von Frameworks (Anlass: Testen): Da sucht jemand missmutig, wÃ¤hlt das Framework aus, das ihm nach schwammigen Kriterien am geeignetsten erscheint und das wird dann genommen. Dabei Wichtigtuerei ins UnertrÃ¤gliche. Wie sehn ich mich doch nach &#8220;Leidenschaft&#8221;, nach Begeisterung fÃ¼r Software!</p>
<p>- D: Statisch typisiert, m.E. RÃ¼ckschritt. Performance gilt immer noch als Nachteil von Java. D ohne Mehrfachvererbung. Nachtteil!</p>
<p>- Dave Pawson XSLT FAQ als &#8220;tagged variant&#8221;.</p>
<p>- Das Prototype-Projekt: Ausformulieren!</p>
<p>- Degustations-WebApp &#8211; nach Standard suchen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2007/01/22/private-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subclipse SSL certificate problem</title>
		<link>http://blog.gresch.de/2006/12/12/subclipse-ssl-certificate-problem/</link>
		<comments>http://blog.gresch.de/2006/12/12/subclipse-ssl-certificate-problem/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 20:58:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Programmiernotizen]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=72</guid>
		<description><![CDATA[Using the 1.2x branch of Subclipse, you might recognise when accessing a rep via https:// that it doesn&#8217;t seem to be possible to get the SSL certificate accepted permanently. Here&#8217;s my workaround: Change from &#8220;JavaHL&#8221; to &#8220;SVNKit (Pure Java)&#8221; in Window->Preferences. Access the rep again. Change back to JavaHL (e.g. because of necessary NTLM authentication). [...]]]></description>
			<content:encoded><![CDATA[<p>Using the 1.2x branch of <a href="http://subclipse.tigris.org">Subclipse</a>, you might recognise when accessing a rep via https:// that it doesn&#8217;t seem to be possible to get the SSL certificate accepted permanently.</p>
<p>Here&#8217;s my workaround:</p>
<ul>
<li>Change from &#8220;JavaHL&#8221; to &#8220;SVNKit (Pure Java)&#8221; in Window->Preferences.</li>
<li>Access the rep again.</li>
<li>Change back to JavaHL (e.g. because of necessary NTLM authentication).</li>
</ul>
<p>Should work now <img src='http://blog.gresch.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2006/12/12/subclipse-ssl-certificate-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ant XML-Parsing Problem / java.lang.ClassCastException / org.apache.xerces.parsers.SAXParser.</title>
		<link>http://blog.gresch.de/2006/11/22/ant-xml-parsing-problem-java-lang-classcastexception-org-apache-xerces-parsers-saxparser/</link>
		<comments>http://blog.gresch.de/2006/11/22/ant-xml-parsing-problem-java-lang-classcastexception-org-apache-xerces-parsers-saxparser/#comments</comments>
		<pubDate>Wed, 22 Nov 2006 20:42:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Programmiernotizen]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=64</guid>
		<description><![CDATA[See the Eclipse Bugzilla entry. One workaround is to remove the XML jars.]]></description>
			<content:encoded><![CDATA[<p>See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=143008" >the Eclipse Bugzilla entry</a>.</p>
<p>One workaround is to remove the XML jars.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2006/11/22/ant-xml-parsing-problem-java-lang-classcastexception-org-apache-xerces-parsers-saxparser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion &#8211; Recursive call for backup scripts</title>
		<link>http://blog.gresch.de/2006/11/19/subversion-recursive-call-for-backup-scripts/</link>
		<comments>http://blog.gresch.de/2006/11/19/subversion-recursive-call-for-backup-scripts/#comments</comments>
		<pubDate>Sun, 19 Nov 2006 16:06:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmiernotizen]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[versioncontrol]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=65</guid>
		<description><![CDATA[Here&#8217;s a solution how to call the backup scripts from http://svn.apache.org/repos/asf/subversion/branches/1.4.x/www/tools_contrib.html#server_side: # Full backup - not good if you have a Berkeley DB upgrade... find /srv/svn/repos/ -type d -maxdepth 1 -mindepth 1 -exec python hot-backup.py {} /srv/svn/backup/ --archive-type=bz2 \; # Dumped and bzipped find /srv/svn/repos/ -type d -maxdepth 1 -mindepth 1 -exec python svn-backup-dumps.py -b [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a solution how to call the backup scripts from <a href="http://svn.apache.org/repos/asf/subversion/branches/1.4.x/www/tools_contrib.html#server_side">http://svn.apache.org/repos/asf/subversion/branches/1.4.x/www/tools_contrib.html#server_side</a>:</p>
<pre># Full backup - not good if you have a Berkeley DB upgrade...
find /srv/svn/repos/ -type d -maxdepth 1 -mindepth 1 -exec python hot-backup.py {} /srv/svn/backup/ --archive-type=bz2 \;
# Dumped and bzipped
find /srv/svn/repos/ -type d -maxdepth 1 -mindepth 1 -exec python svn-backup-dumps.py -b -o {} /srv/svn/backup/  \;</pre>
<p>Just two examples. Check the options of the scripts, the dumpscript even allows you to backup to smb shares.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2006/11/19/subversion-recursive-call-for-backup-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GNUish</title>
		<link>http://blog.gresch.de/2006/10/12/gnuish/</link>
		<comments>http://blog.gresch.de/2006/10/12/gnuish/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 19:53:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmiernotizen]]></category>
		<category><![CDATA[develop]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=56</guid>
		<description><![CDATA[Eclipse-Einstellungen (v. 3.21) f&#252;r GNU-&#228;hnliche Codeformatierung.GNU_Style_Format.xml]]></description>
			<content:encoded><![CDATA[<p>Eclipse-Einstellungen (v. 3.21) f&uuml;r GNU-&auml;hnliche Codeformatierung.<a href="uploads/programmieren/eclipse/GNU_Style_Format.xml" target="_blank" title="GNU_Style_Format.xml">GNU_Style_Format.xml</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2006/10/12/gnuish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyEclipse: Einstellungen für DB-Explorer übertragen&#8230;</title>
		<link>http://blog.gresch.de/2006/08/08/myeclipse-einstellungen-fuer-db-explorer-uebertragen/</link>
		<comments>http://blog.gresch.de/2006/08/08/myeclipse-einstellungen-fuer-db-explorer-uebertragen/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 19:52:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Programmiernotizen]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=37</guid>
		<description><![CDATA[Problem: Ã„ndert man den Eclipse-Workspace, werden die Einstellungen fÃ¼r die JDBC-Treiber und DB-Verbindungen fÃ¼r den DB-Explorer von MyEclipse nicht wiederhergestellt. LÃ¶sung: Die Dateien ConnectionProfiles.xml und SQLDrivers.xml im Verzeichnis [ALTES_WORKSPACEVERZEICHNIS]\.metadata\.plugins\com.genuitec.eclipse.sqlexplorer in das entsprechende Verzeichnis im neuen Workspace Ã¼bertragen, dann funktionierts. Anmerkung: Die normalen Eclipse-Einstellungen lassen sich einfach Ã¼ber die Export->Import-FunktionalitÃ¤t wiederherstellen.]]></description>
			<content:encoded><![CDATA[<p><b>Problem</b>:<br />
Ã„ndert man den Eclipse-Workspace, werden die Einstellungen fÃ¼r die JDBC-Treiber und DB-Verbindungen fÃ¼r den DB-Explorer von MyEclipse nicht wiederhergestellt.</p>
<p><b>LÃ¶sung</b>:<br />
Die Dateien <i>ConnectionProfiles.xml</i> und <i>SQLDrivers.xml</i> im Verzeichnis <i>[ALTES_WORKSPACEVERZEICHNIS]\.metadata\.plugins\com.genuitec.eclipse.sqlexplorer</i> in das entsprechende Verzeichnis im neuen Workspace Ã¼bertragen, dann funktionierts.</p>
<p><b>Anmerkung:</b><br />
Die normalen Eclipse-Einstellungen lassen sich einfach Ã¼ber die Export->Import-FunktionalitÃ¤t wiederherstellen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2006/08/08/myeclipse-einstellungen-fuer-db-explorer-uebertragen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>-XX:MaxPermSpace=128m</title>
		<link>http://blog.gresch.de/2006/06/26/xxmaxpermspace128m/</link>
		<comments>http://blog.gresch.de/2006/06/26/xxmaxpermspace128m/#comments</comments>
		<pubDate>Mon, 26 Jun 2006 14:57:39 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Programmiernotizen]]></category>
		<category><![CDATA[develop]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=30</guid>
		<description><![CDATA[Falls ein Problem mit OutOfMemoryError: PermGenSpace auftritt. Kleines &#34;m&#34;! Eclipse-Probleme aber mit -XX:MaxPermSize=256m]]></description>
			<content:encoded><![CDATA[<p>Falls ein Problem mit <em>OutOfMemoryError: PermGenSpace</em> auftritt.</p>
<p>Kleines &quot;m&quot;!</p>
<p>Eclipse-Probleme aber mit </p>
<p><span style="font-style: italic;">-XX:MaxPermSize=256m </span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2006/06/26/xxmaxpermspace128m/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cygwin setup (note)</title>
		<link>http://blog.gresch.de/2004/03/26/cygwin-setup-note/</link>
		<comments>http://blog.gresch.de/2004/03/26/cygwin-setup-note/#comments</comments>
		<pubDate>Fri, 26 Mar 2004 05:54:00 +0000</pubDate>
		<dc:creator>KG</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Programmiernotizen]]></category>
		<category><![CDATA[cygwin]]></category>

		<guid isPermaLink="false">http://web636.webbox122.server-home.org/wpkg/?p=39</guid>
		<description><![CDATA[Pathes `./.bashrc' -&#62; `~/.bashrc' `./.bash_profile' -&#62; `~/.bash_profile' `./.inputrc' -&#62; `~/.inputrc' /etc/profile (prompt colors) Example for default PS1 in &#8216;/etc/profile&#8217; (directly after &#8216;export HOSTNAME&#8217;) PS1='\u@\h: \w/ $&#62; ' Aliases defined in /etc/profile.d/alias.sh: #!/bin/bash ############################################################ # alias for drive in a b c d e f g h i j k l m n o p q [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Pathes</strong></p>
<pre>
`./.bashrc' -&gt; `~/.bashrc'
`./.bash_profile' -&gt; `~/.bash_profile'
`./.inputrc' -&gt; `~/.inputrc'
/etc/profile (prompt colors)
</pre>
<p><strong>Example for default PS1 in &#8216;/etc/profile&#8217; </strong></p>
<p><strong>(directly after &#8216;export HOSTNAME&#8217;)</strong></p>
<pre>
PS1='\u@\h: \w/ $&gt; '</pre>
<p>Aliases defined in /etc/profile.d/alias.sh:</p>
<pre>
#!/bin/bash
############################################################
# alias
for drive in a b c d e f g h i j k l m n o p q r s t u v w x y z
do
  alias ${drive}:=&quot;cd /cygdrive/${drive}&quot;
done
alias ll=&quot;ls -l&quot;
alias la=&quot;ls -la&quot;
alias q=&quot;exit&quot;
alias ct=&quot;cleartool&quot;</pre>
<p>
See also <a href="http://www.pl-berichte.de/t_system/cygwin.html">http://www.pl-berichte.de/t_system/cygwin.html</a> (in <strong>german</strong>).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gresch.de/2004/03/26/cygwin-setup-note/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

