<?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>stick&#039;s corner &#187; java</title>
	<atom:link href="http://stick.gk2.sk/blog/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://stick.gk2.sk</link>
	<description>All composite phenomena are impermanent. All contaminated things and events are unsatisfactory.</description>
	<lastBuildDate>Wed, 01 Feb 2012 17:58:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Making a delicious coffee cake with openSUSE</title>
		<link>http://stick.gk2.sk/blog/2010/11/making-delicious-coffee-cake-with-opensuse/</link>
		<comments>http://stick.gk2.sk/blog/2010/11/making-delicious-coffee-cake-with-opensuse/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 14:19:40 +0000</pubDate>
		<dc:creator>Pavol Rusnak</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://stick.gk2.sk/?p=1697</guid>
		<description><![CDATA[What we need for our delicious openSUSE coffee cake: 300g Eclipse1 200g IntelliJ Idea2 150g ground NetBeans3 1 baking Maven4 1/2 spoon Groovy5 1 cup of cold Java6 3 eggs 80g drawn butter 100g chocolate icing 1 flour, 2 sugar, 3 walnuts, 4 powder, 5 cinnamon, 6 coffee Instructions: Mix powdery ingredients in a bowl. [...]]]></description>
			<content:encoded><![CDATA[<p>What we need for our delicious openSUSE coffee cake:</p>
<ul>
<li>300g Eclipse<sup>1</sup></li>
<li>200g IntelliJ Idea<sup>2</sup></li>
<li>150g ground NetBeans<sup>3</sup></li>
<li>1 baking Maven<sup>4</sup></li>
<li>1/2 spoon Groovy<sup>5</sup></li>
<li>1 cup of cold Java<sup>6</sup></li>
<li>3 eggs</li>
<li>80g drawn butter</li>
<li>100g chocolate icing</li>
</ul>
<p><sup>1</sup> flour, <sup>2</sup> sugar, <sup>3</sup> walnuts, <sup>4</sup> powder, <sup>5</sup> cinnamon, <sup>6</sup> coffee</p>
<p><img class="aligncenter size-full wp-image-1705" title="cooking" src="http://stick.gk2.sk/blog/wp-content/uploads/2010/11/cooking.jpg" alt="" width="500" height="371" /></p>
<p>Instructions:</p>
<ol>
<li>Mix powdery ingredients in a bowl.</li>
<li>Add liquid ones as well and stir around well.</li>
<li>Bake in the oven and check regularly.</li>
<li>When ready take out the cake and let it cool down.</li>
<li>Put chocolate icing on the top and add some openSUSE magic.</li>
<li>Enjoy!</li>
</ol>
<p><img class="aligncenter size-full wp-image-1700" title="coffee-cake-opensuse" src="http://stick.gk2.sk/blog/wp-content/uploads/2010/11/coffee-cake-opensuse.jpg" alt="" width="314" height="205" /></p>
<h1 style="text-align: center; margin: 16px;"><strong>Oh no, wait!</strong></h1>
<p><img class="aligncenter size-full wp-image-1703" title="notyours" src="http://stick.gk2.sk/blog/wp-content/uploads/2010/11/notyours1.jpg" alt="" width="314" height="208" /></p>
<p style="text-align: justify;">There are some ingredients missing in our kitchen, ahem, I meant Factory. Currently we only have NetBeans and today I learned from <a href="http://lizards.opensuse.org/author/mvyskocil/">Michal</a> that it will be probably dropped as well, because some of its parts started to depend on Eclipse.</p>
<p style="text-align: justify;">So my question is: <strong>is there anyone from our great openSUSE community who is willing to help with Java packaging?</strong> We have various related packages (Eclipse, IntelliJ Idea + their dependencies like Groovy or Maven) spread around various places in the Build Service (e.g. <a href="https://build.opensuse.org/project/show?project=home:lkundrak:IDEA">home:lkundrak:IDEA</a>, <a href="https://build.opensuse.org/project/show?project=Java:eclipse:Devel">Java:eclipse:Devel</a>), but we would like to have them fixed and pushed to our devel project for Factory &#8211; Java:packages. This is the first and necessary step for including these tools into you beloved distribution. Some of the packages are probably obsolete so it might be better to get inspiration directly at our Fedora friends (you can use this <a href="http://pkgs.fedoraproject.org/gitweb/">package list</a> and a little <a href="http://gitorious.org/opensuse/misc/blobs/master/fedora-getpkg">helper script</a> to peek how do they do it). If you are interested in this, please do so! We will try to help you on <a href="http://lists.opensuse.org/opensuse-java/">opensuse-java</a> mailing list or #opensuse-java IRC channel on Freenode.</p>
<p>Oh, I almost forgot one thing. The most active Java packager will get an openSUSE coffee cake done by yours truly and the openSUSE Boosters! <img src='http://stick.gk2.sk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stick.gk2.sk/blog/2010/11/making-delicious-coffee-cake-with-opensuse/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Scout: bash-completion, documentation, python indexes and Java demo</title>
		<link>http://stick.gk2.sk/blog/2008/06/scout-bash-completion-documentation-python-indexes-and-java-demo/</link>
		<comments>http://stick.gk2.sk/blog/2008/06/scout-bash-completion-documentation-python-indexes-and-java-demo/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 11:02:49 +0000</pubDate>
		<dc:creator>Pavol Rusnak</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[docbook]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[scout]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://stick.gk2.sk/blog/?p=25</guid>
		<description><![CDATA[A lot has happened since the public release of scout. Blogpost registered more than 400 hits, Marek Stopka created bash-completion, Thomas Schraitle wrote docbook documentation and Michal Vyskocil prepared module for python and its indexes. Thank you all! I started a wikipage like Thomas suggested and indexed Packman repositories for their binaries. Michal also prepared [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A lot has happened since the <a href="http://stick.gk2.sk/blog/?p=15">public release of scout</a>. Blogpost registered more than 400 hits, Marek Stopka created bash-completion, Thomas Schraitle wrote docbook documentation and Michal Vyskocil prepared module for python and its indexes. Thank you all! I started a <a href="http://en.opensuse.org/Scout">wikipage</a> like Thomas suggested and indexed Packman repositories for their binaries.</p>
<p style="text-align: justify;">Michal also prepared small demonstration video about using scout in java wrapper. The wrapper runs java application and greps stderr for exceptions. When NoClassDefFoundError/ClassNotFoundException is detected, the classname is taken to scout, which resolves it to package name, installs the package with zypper and tries to run application again! I like this idea pretty much. Michal is currently working on perl indexes and we will probably index also ruby and pkgconfig files.</p>
<p>Watch mentioned java demonstration video here:</p>
<p><embed src="http://blip.tv/play/AcKYYI3nGQ" type="application/x-shockwave-flash" width="504" height="372" allowscriptaccess="always" allowfullscreen="true"></embed><br />
or <a href="http://blip.tv/file/get/Stickac-ScoutJavaWrapperDemonstration287.avi">download</a> it &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://stick.gk2.sk/blog/2008/06/scout-bash-completion-documentation-python-indexes-and-java-demo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://blip.tv/file/get/Stickac-ScoutJavaWrapperDemonstration287.avi" length="670376" type="video/x-msvideo" />
		</item>
		<item>
		<title>Scout released</title>
		<link>http://stick.gk2.sk/blog/2008/06/scout-released/</link>
		<comments>http://stick.gk2.sk/blog/2008/06/scout-released/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 10:25:02 +0000</pubDate>
		<dc:creator>Pavol Rusnak</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[autoconf]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[scout]]></category>
		<category><![CDATA[tryme]]></category>
		<category><![CDATA[zypp]]></category>

		<guid isPermaLink="false">http://stick.gk2.sk/blog/?p=15</guid>
		<description><![CDATA[Hooray! The first public version of Scout was just released. It is a simple tool which allows user to look for (not yet installed) packages using simple queries (e.g. which autoconf macros does the package contain, which Java classes are present inside or what binaries does the package provide). Scout is available in openSUSE BuildService [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Hooray! The first public version of <a href="http://stick.gk2.sk/blog/?p=10">Scout</a> was just released. It is a simple tool which allows user to look for (not yet installed) packages using simple queries (e.g. which autoconf macros does the package contain, which Java classes are present inside or what binaries does the package provide). Scout is available in openSUSE BuildService in <a href="https://build.opensuse.org/project/show?project=home:prusnak:scout">home:prusnak:scout</a> project. If you would like to install and test it, follow these three steps:</p>
<ol>
<li>add the following repositories:
<pre>zypper ar http://download.opensuse.org/repositories/home:/prusnak:/scout/openSUSE_11.0 scout
zypper ar http://download.opensuse.org/repositories/home:/prusnak:/scout/data scout-data</pre>
<p>(change openSUSE_11.0 to your distribution if necessary)</li>
<li>install scout:
<pre>zypper in scout</pre>
</li>
<li>add any of the index data you find attractive (only example &#8211; see <a href="http://en.opensuse.org/Scout">scout wiki page</a> for the whole list)
<pre>zypper in scout-bin-suse110
zypper in scout-java-suse110</pre>
<p style="text-align: justify;">Data package names are in format scout-<em>module</em>-<em>repo</em>. Indexes for autoconf macros are in <em>autoconf</em> packages, <em>bin</em> are indexed binaries and <em>java</em> are indexed java classes. Repository names are either distributions (<em>sle10</em>, <em>suse101</em>, <em>suse102</em>, <em>suse103</em>, <em>suse110</em>) or BuildService projects (<em>jpackage17</em> for Java:jpackage1.7). Simple, isn&#8217;t it? <img src='http://stick.gk2.sk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(Warning: Java indexes are pretty large &#8211; 5MB RPMs and around 30MB when installed.)</li>
</ol>
<p style="text-align: justify;">When you are ready, run <kbd>scout</kbd> without parameters to see the help. I think that the usage is pretty straightforward (nevertheless, I will try to create demonstration video soon). You can also try running <kbd>scoutcsv</kbd> or <kbd>scoutxml</kbd> &#8211; they are only symlinks, but they produce CSV or XML output, instead of table output.</p>
<p>I hope you will like it! <img src='http://stick.gk2.sk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr />
<p style="text-align: justify;">The next thing to do is to add support for ZYPP repositories (sat-solver files) in module for binaries, so user could query packages (even in the BuildService repositories) without installing any external index data. When this is done, it would be a piece of cake to replace the earlier implementation of <a href="http://stick.gk2.sk/blog/?p=4">command-not-found</a> with the new one using scout as its backend. Unfortunately, this is not going to happen before the ZYPP bindings for Python (python-zypp) are fixed. (API has changed and it seems that only Ruby bindings are maintained.) I tried to fiddle with it (<a href="http://bugzilla.novell.com/show_bug.cgi?id=391831">bugzilla</a>), but I&#8217;m not a <a href="http://www.swig.org/">SWIG</a> expert. <img src='http://stick.gk2.sk/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stick.gk2.sk/blog/2008/06/scout-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

