<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>N, Varun</title>
	
	<link>http://nbguru.wordpress.com</link>
	<description>"Whatever I have interest in, I am able to develop passion for it"</description>
	<lastBuildDate>Fri, 24 Jul 2009 07:35:48 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain="nbguru.wordpress.com" port="80" path="/?rsscloud=notify" registerProcedure="" protocol="http-post" />
<image>
		<url>http://www.gravatar.com/blavatar/c725bd8007527dd8e5c6921b14a73b6c?s=96&amp;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>N, Varun</title>
		<link>http://nbguru.wordpress.com</link>
	</image>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/nbguru" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Reviewing NetBeans Book</title>
		<link>http://nbguru.wordpress.com/2009/07/24/reviewing-netbeans-book/</link>
		<comments>http://nbguru.wordpress.com/2009/07/24/reviewing-netbeans-book/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 07:35:48 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[JSF]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=2019</guid>
		<description><![CDATA[This year, I received an email from Packt Publishing, inviting me to review one of the books based on NetBeans IDE, Java EE 5 Development with NetBeans 6. I was quite excited about this opportunity and after exchanging few mails with their Market Research Executive, accepted the invitation.
After nearly 2 months, I was able to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=2019&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>This year</strong>, I received an email from <a href="http://www.packtpub.com/" target="_blank">Packt Publishing</a>, inviting me to review one of the books based on NetBeans IDE, <a href="http://www.packtpub.com/java-ee5-development-with-netbeans-6/book" target="_blank">Java EE 5 Development with NetBeans 6</a>. I was quite excited about this opportunity and after exchanging few mails with their Market Research Executive, accepted the invitation.</p>
<p>After nearly 2 months, I was able to finish reading the book and here’s <a href="http://nbguru.wordpress.com/proj-netbeans/packtpub-netbeans-book-review/" target="_blank">my review of the book</a>. Read it carefully and I feel you would enjoy reading the book as I did, because of its <strong>easy reading style</strong> and <strong>effectiveness of communicating complex topics</strong>.</p>
<p><strong>Stay tuned..</strong></p>
Posted in Java, JSF, NetBeans, Reviews  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/2019/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=2019&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/07/24/reviewing-netbeans-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>NetBeans Community Docs User Survey</title>
		<link>http://nbguru.wordpress.com/2009/07/15/netbeans-community-docs-user-survey/</link>
		<comments>http://nbguru.wordpress.com/2009/07/15/netbeans-community-docs-user-survey/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 19:16:41 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Community Docs]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1964</guid>
		<description><![CDATA[Take the NetBeans Community Docs User Survey
The NetBeans Community Docs program is a great source of community-authored content about using the NetBeans IDE. Now the team behind the program wants your feedback to help make the program even better. What type of content do you like? Do you want more tech tips or prefer multimedia [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1964&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><a href="http://www.netbeans.info/newsletter/story.php?id=3901">Take the NetBeans Community Docs User Survey</a></strong></p>
<p style="padding-left:30px;">The NetBeans Community Docs program is a great source of community-authored content about using the NetBeans IDE. Now the team behind the program wants your feedback to help make the program even better. What type of content do you like? Do you want more tech tips or prefer multimedia material? Take the survey and let the team know!</p>
<p>Well, this is an <a title="NetBeans Weekly Newsletter Issue #400" href="http://www.netbeans.org/community/news/newsletter/2009-07-14.html" target="_blank">important news item</a> for the NetBeans Community, thus it was necessary to let the community know about it on large scale. <a href="http://dm.zimmer428.net/" target="_blank"><strong>Kristian Rink</strong></a>, NBCD Coordinator and its Evangelist setup the survey that contains almost every question, our team wants the community to answer.</p>
<p><strong>Thanking you.</strong>.</p>
Posted in Community Docs, NetBeans  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1964/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1964/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1964/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1964/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1964/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1964/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1964/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1964/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1964/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1964/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1964&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/07/15/netbeans-community-docs-user-survey/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>taT | Hacking Modules..</title>
		<link>http://nbguru.wordpress.com/2009/07/10/tat-hacking-modules-16/</link>
		<comments>http://nbguru.wordpress.com/2009/07/10/tat-hacking-modules-16/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 13:33:36 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Community Docs]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Tips|Tricks]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1942</guid>
		<description><![CDATA[Ever wondered, apart from extending the NetBeans IDE, or some application based on NetBeans Platform. What else can be done with the module?
Brief Overview
Well, NetBeans IDE provides Module Development Support by providing 4 kinds of Project Templates;

Module
Module Suite
Library Wrapper Module
NetBeans Platform Application

I have some knowledge of the first two, so we will stick to them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1942&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ever wondered, apart from extending the NetBeans IDE, or some application based on NetBeans Platform. What else can be done with the module?</p>
<h3>Brief Overview</h3>
<p>Well, NetBeans IDE provides <a href="http://apisupport.netbeans.org/" target="_blank">Module Development Support</a> by providing 4 kinds of Project Templates;</p>
<ol>
<li>Module</li>
<li>Module Suite</li>
<li>Library Wrapper Module</li>
<li>NetBeans Platform Application</li>
</ol>
<p>I have <a href="http://platform.netbeans.org/tutorials/nbm-glossary.html" target="_blank">some knowledge</a> of the first two, so we will stick to them for the rest of this post. So, lets have a look at the simplistic module structure;</p>
<p><a href="http://nbguru.files.wordpress.com/2009/07/module-structure.jpg"><img class="alignnone size-full wp-image-1943" title="Module Structure" src="http://nbguru.files.wordpress.com/2009/07/module-structure.jpg?w=230&#038;h=218" alt="Module Structure" width="230" height="218" /></a></p>
<p>This is what you see when you expand the Project node in Files View. We will focus on <strong>platform.properties</strong>, <strong>project.xml</strong>. If you switch to the Project View, you would see the files with following names, visible under Important Files node.</p>
<h4>NetBeans Platform Config</h4>
<p>So, that&#8217;s basically the logical view of the file <strong>platform.properties</strong>. In the past, I have written some pretty useful tips and Tricks (<a href="http://wiki.netbeans.org/NBCDTipsAndTricks#section-NBCDTipsAndTricks-Platform" target="_blank">contributed</a> to NetBeans Community Docs) based on this file;</p>
<ol>
<li><a href="http://wiki.netbeans.org/TaT_ConfigClustersAndModules" target="_blank">Configure Clusters and Modules</a></li>
<li><a href="http://wiki.netbeans.org/TaT_ManageNetBeansPlatforms" target="_blank">Managing NetBeans Platforms</a></li>
</ol>
<h4>Project Metadata</h4>
<p>This is the logical view of the file <strong>project.xml</strong>.<strong> </strong>There&#8217;s one more useful tips and Tricks (contributed), that&#8217;s based on this file, which lets you <a href="http://wiki.netbeans.org/TaT_UsingGSFByMakingFriends" target="_blank">add your module as friends</a> to those modules, if you want your module to depend on the specification version of the same.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/07/nb-ide-67-splash-screen.jpg"><img class="alignnone size-medium wp-image-1967" title="NetBeans IDE 6.7 (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/07/nb-ide-67-splash-screen.jpg?w=300&#038;h=186" alt="NetBeans IDE 6.7 (Click to enlarge)" width="300" height="186" /></a></p>
<h3>Playing Tricks..</h3>
<p>I will be making use of <strong>NetBeans 6.7 IDE</strong>. Although, these tricks should work well with NetBeans 6.x IDE. So, lets answer the question I asked in the beginning.. Generally, when you create <strong>Module</strong> project, you get an option to either create it as <span style="text-decoration:underline;">Standalone Module</span> or <span style="text-decoration:underline;">Add to Module Suite</span>.</p>
<h4>Standalone Module</h4>
<p style="padding-left:30px;">When you choose this option, you also get an option to select <strong>NetBeans Platform</strong> of your choice, along with <strong>Manage..</strong> button. If you want to know more about that, refer this <a href="http://wiki.netbeans.org/TaT_ManageNetBeansPlatforms" target="_blank">contribution</a>.</p>
<p>Suppose, I choose <span style="text-decoration:underline;">NetBeans 6.5 Build</span> (added with name as <strong>65</strong> in Platform Manager) as Platform and move ahead. I would be able to use 6.7 IDE to create module, targeted for NetBeans 6.5 IDE. The module&#8217;s <strong>platform.properties</strong> looks like this;</p>
<pre>nbplatform.active=65</pre>
<p>This would enable the running IDE to achieve the desired result, as mentioned above. Now, running the module will ofcourse launch NetBeans 6.5 IDE as <span style="text-decoration:underline;">Target Instance</span> to see how your module works. This process might be slow, as you&#8217;re running full-fledged 6.5 IDE.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg"><img class="size-medium wp-image-1181 aligncenter" title="NetBeans 6.5 boots with a b'day stamp on splash screen!" src="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg?w=300&#038;h=189" alt="NetBeans 6.5 boots with a b'day stamp on splash screen!" width="300" height="189" /></a></p>
<p>If your module doesn&#8217;t depend on clusters other than platform (which is by default). Then, you can tweak the file as follows;</p>
<pre><strong>enabled.clusters=\
 platform</strong>
nbplatform.active=65</pre>
<p>These clusters are <a href="http://wiki.apidesign.org/wiki/NetBeans_Runtime_Container" target="_blank">bare-minimum essentials</a>, that are enabled by default when you create the <strong>NetBeans Platform Application </strong>project using 6.5/6.7 IDE. The property <strong>enabled.clusters</strong> helps to <a href="http://wiki.netbeans.org/TaT_ConfigClustersAndModules" target="_blank">enable only those clusters</a> which are necessary to run this module.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/07/nb-platform-65-splash-screen.jpg"><img class="size-medium wp-image-1966 aligncenter" title="NetBeans Platform Application (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/07/nb-platform-65-splash-screen.jpg?w=300&#038;h=189" alt="Splash Screen for empty NetBeans Platform Application" width="300" height="189" /></a></p>
<p>Now, run your module and it will look like you&#8217;re running a NetBeans Platform Application having a single user-defined module. Here&#8217;s how module&#8217;s <strong>project.xml</strong> looks like;</p>
<pre>&lt;project xmlns="http://www.netbeans.org/ns/project/1"&gt;
   &lt;type&gt;org.netbeans.modules.apisupport.project&lt;/type&gt;
   &lt;configuration&gt;
      &lt;data xmlns="http://www.netbeans.org/ns/nb-module-project/3"&gt;
          &lt;code-name-base&gt;code.name.base.of.your.module&lt;/code-name-base&gt;
          <strong>&lt;standalone/&gt;</strong>
          &lt;module-dependencies&gt;
           &lt;!-- Here are your module dependencies.. --&gt;
          &lt;/module-dependencies&gt;
          &lt;public-packages/&gt;
      &lt;/data&gt;
   &lt;/configuration&gt;
&lt;/project&gt;</pre>
<p>Note the bold-faced tag <strong>&lt;standalone /&gt;</strong>, this tells the NetBeans IDE that your module is not part of any module suite. Its a standalone module, as you created.<strong><br />
</strong></p>
<h4>Add to Module Suite</h4>
<p style="padding-left:30px;">If you decide to go with this option, you would then browse the filesystem to find the appropriate <strong>Module Suite</strong> project and then, move ahead.</p>
<p>In case of <strong>Module Suite</strong> projects, the <span style="text-decoration:underline;">enabled.clusters</span> property automatically occurs/disappears, when you check/uncheck the modules and/or clusters from its <span style="text-decoration:underline;">Project Properties Wizard</span>.</p>
<p>Note that the module, that becomes part of the suite, would use only those clusters which the suite has enabled. Along with that, <span style="text-decoration:underline;">suite-private.properties</span> file is added under <span style="text-decoration:underline;">/nbproject/private</span>. Also, take a look at the module&#8217;s <strong>project.xml</strong>;</p>
<pre>&lt;project xmlns="http://www.netbeans.org/ns/project/1"&gt;
   &lt;type&gt;org.netbeans.modules.apisupport.project&lt;/type&gt;
   &lt;configuration&gt;
      &lt;data xmlns="http://www.netbeans.org/ns/nb-module-project/3"&gt;
          &lt;code-name-base&gt;code.name.base.of.your.module&lt;/code-name-base&gt;
          <strong>&lt;suite-component/&gt;</strong>
          &lt;module-dependencies&gt;
           &lt;!-- Here are your module dependencies.. --&gt;
          &lt;/module-dependencies&gt;
          &lt;public-packages/&gt;
      &lt;/data&gt;
   &lt;/configuration&gt;
&lt;/project&gt;</pre>
<p>Note the bold-faced tag <strong>&lt;suite-component/&gt;</strong>, this tells that NetBeans IDE that this module is part of a Module Suite project.</p>
<h3>Tips to Remember</h3>
<p>You may convert your standalone module to become part of suite, or vice-versa. Just add/remove <span style="text-decoration:underline;">suite-private.properties</span><strong> </strong>(Per Suite Locator) file and tweak your Module&#8217;s <span style="text-decoration:underline;">project.xml</span> and Module Suite&#8217;s <span style="text-decoration:underline;">project.properties</span>.</p>
<p>Also, note that some changes have taken place in NetBeans 6.7 IDE, you may <a href="http://platform.netbeans.org/whatsnew/67.html" target="_blank">find out more</a> over the web. One more thing, NetBeans 6.5 IDE added <span style="text-decoration:underline;">suite.properties</span> file under <strong>/nbproject</strong> and had same tag as <strong>&lt;suite-component/&gt;</strong>. I think NetBeans 6.0 and 6.1 might do the same. Please try it yourself and let me know.</p>
<p><strong>Stay tuned..</strong></p>
Posted in Community Docs, NetBeans, Platform, Tips|Tricks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1942/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1942&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/07/10/tat-hacking-modules-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/07/module-structure.jpg" medium="image">
			<media:title type="html">Module Structure</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/07/nb-ide-67-splash-screen.jpg?w=300" medium="image">
			<media:title type="html">NetBeans IDE 6.7 (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg?w=300" medium="image">
			<media:title type="html">NetBeans 6.5 boots with a b'day stamp on splash screen!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/07/nb-platform-65-splash-screen.jpg?w=300" medium="image">
			<media:title type="html">NetBeans Platform Application (Click to enlarge)</media:title>
		</media:content>
	</item>
		<item>
		<title>taT | Hacking Project Properties</title>
		<link>http://nbguru.wordpress.com/2009/07/10/tat-hacking-project-properties-15/</link>
		<comments>http://nbguru.wordpress.com/2009/07/10/tat-hacking-project-properties-15/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 10:28:57 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Dzone]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Tips|Tricks]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1923</guid>
		<description><![CDATA[Yesterday, I recreated one of the Visual Library Sample  (basically a tutorial based on it at Dzone) using NetBeans 6.7 IDE on Windows XP Professional SP2. The sample was Java Application that had two JAR&#8217;s (present in the platform7 cluster of NetBeans 6.0 IDE) in its classpath.
I followed the tutorial and successfully executed the application. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1923&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Yesterday, I recreated one of the Visual Library Sample  (basically a <a href="http://java.dzone.com/news/how-create-visual-applications" target="_blank">tutorial based on it at Dzone</a>) using NetBeans 6.7 IDE on Windows XP Professional SP2. The sample was <strong>Java Application</strong> that had <strong>two JAR&#8217;s</strong> (present in the <strong>platform7</strong> cluster of NetBeans 6.0 IDE) in its classpath.</p>
<p>I followed the tutorial and successfully executed the application. Fortunately, I have NetBeans IDE from 5.5 onwards, so there wasn&#8217;t any issue finding the JAR&#8217;s and adding them in the application&#8217;s classpath.</p>
<p>I didn&#8217;t knew whether it will work with cluster from higher release or not. Hence, I decided to give it a try by making use of clusters from 6.1, 6.5 and finally, 6.7.</p>
<h3>Playing Tricks..</h3>
<p>Now, removing/adding JAR&#8217;s again and again can be boring/cumbersome if you have several releases stored under different hierarchies of your filesystem. So, I looked into the various files created under <strong>/nbproject</strong> to inspect how these JAR&#8217;s being referred.</p>
<p>When you right-click <strong>Libraries</strong> Node and click <strong>Add JAR/Folder..</strong></p>
<p><strong><a href="http://nbguru.files.wordpress.com/2009/07/right-click-libraries-node.jpg"><img class="alignnone size-full wp-image-1932" title="right-click Libraries Node" src="http://nbguru.files.wordpress.com/2009/07/right-click-libraries-node.jpg?w=206&#038;h=96" alt="right-click Libraries Node (Click to enlarge)" width="206" height="96" /></a><br />
</strong></p>
<p>You&#8217;re prompted with the dialog for browsing and then, selecting <strong>Reference/Absolute Path</strong> as per your choice.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/07/browse-select-platform7-cluster.jpg"><img class="size-full wp-image-1933 aligncenter" title="Browse to select platform7 cluster (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/07/browse-select-platform7-cluster.jpg?w=366&#038;h=208" alt="Browse to select platform7 cluster (Click to enlarge)" width="366" height="208" /></a></p>
<p>I selected the <strong>platform7</strong> cluster (see above figure) and selected the JAR&#8217;s shown in the following figure.</p>
<p><a href="http://nbguru.files.wordpress.com/2009/07/selected-jars-platform7-cluster.jpg"><img class="alignnone size-full wp-image-1934" title="Selected JARs from platform7 cluster" src="http://nbguru.files.wordpress.com/2009/07/selected-jars-platform7-cluster.jpg?w=270&#038;h=380" alt="Selected JARs from platform7 cluster" width="270" height="380" /></a></p>
<h3>/nbproject/project.properties</h3>
<p>This file contains all the project related properties, that are accessed by <strong>build-impl.xml</strong> (created from <strong>project.xml </strong>automatically) for necessary Ant operations.</p>
<pre><strong>file.reference.org-netbeans-api-visual.jar=\</strong>
<strong>  path\\to\\cluster\\modules\\org-netbeans-api-visual.jar
file.reference.org-openide-util.jar=\
  path\\to\\cluster</strong><strong>\\lib\\org-openide-util.jar</strong>
includes=**
jar.compress=false
javac.classpath=\<strong>
 ${file.reference.org-openide-util.jar}:\
 ${file.reference.org-netbeans-api-visual.jar}:\
</strong> ${libs.swing-layout.classpath}</pre>
<p>The bold-faced text is added, once referenced JAR&#8217;s are added from <strong>Projects </strong>Window/<strong>Project Properties</strong> Wizard. Also, <span style="text-decoration:underline;">path\\to\\cluster</span> refers to the directory where the platform cluster is stored. In case of the above application, here&#8217;s the path;</p>
<pre>E:\\OpenSource\\NetBeans_Archies\\NetBeans 6.0\\platform7</pre>
<h3>Playing with Clusters</h3>
<p>Now, as you can see the <span style="text-decoration:underline;">path\\to\\cluster</span> is the same in this case. So, I introduce another property that will have the path as value.</p>
<pre><strong>path.to.cluster.platform</strong>=\
  E:\\OpenSource\\NetBeans_Archies\\NetBeans 6.0\\platform7<strong>
</strong>file.reference.org-netbeans-api-visual.jar=\<strong>
  ${path.to.cluster.platform}</strong>\\modules\\org-netbeans-api-visual.jar
file.reference.org-openide-util.jar=\
<strong>  ${path.to.cluster.platform}</strong>\\lib\\org-openide-util.jar</pre>
<p>This way, the referenced JAR&#8217;s become dependent on this property. Now, one can also change the value of this property, i.e. if one is interested in using JAR&#8217;s from platform cluster of higher releases of the NetBeans IDE.</p>
<p>Then, NetBeans will automatically scan the project, to update dependencies. For instance, I opted for <strong>platform9</strong> cluster from <strong>NetBeans 6.5 IDE</strong>.</p>
<pre>path.to.cluster.platform=\
  <strong>E:\\OpenSource\\NetBeans 6.5\\platform9</strong></pre>
<p>I just made changes at one place, that will be automatically reflected in other properties that depend on it directly/indirectly.</p>
<h3>Tips to Remember</h3>
<p>However, you need to check your code, once you do these changes, as this might cause warnings on deprecated usage of certain API, when you build your application.</p>
<p>Also, if you do any error while editing your <strong>project.properties</strong> as for this scenario, or any other. You may end up seeing lots of error badges in your code and possibly, get an added menu item (<strong>Resolve Reference Problems..</strong>) in the project&#8217;s context menu.</p>
<p><strong>Stay tuned..</strong></p>
Posted in Dzone, Java, NetBeans, Tips|Tricks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1923/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1923&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/07/10/tat-hacking-project-properties-15/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/07/right-click-libraries-node.jpg" medium="image">
			<media:title type="html">right-click Libraries Node</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/07/browse-select-platform7-cluster.jpg" medium="image">
			<media:title type="html">Browse to select platform7 cluster (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/07/selected-jars-platform7-cluster.jpg" medium="image">
			<media:title type="html">Selected JARs from platform7 cluster</media:title>
		</media:content>
	</item>
		<item>
		<title>Community Docs and NetBeans</title>
		<link>http://nbguru.wordpress.com/2009/07/01/community-docs-and-netbeans/</link>
		<comments>http://nbguru.wordpress.com/2009/07/01/community-docs-and-netbeans/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 16:36:34 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Community Docs]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1909</guid>
		<description><![CDATA[This is the first time, I thought of filing an issue for NetBeans Community Docs Program as I have never ever thought there would be a need for it, in the past 2 years. Generally, no one has ever done that, AFAIK.
I have been an active contributor to NetBeans Community Docs Program and managed it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1909&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is the first time, I thought of <a href="http://www.netbeans.org/issues/show_bug.cgi?id=167832" target="_blank">filing an issue</a> for NetBeans Community Docs Program as I have never ever thought there would be a need for it, in the past 2 years. Generally, no one has ever done that, AFAIK.</p>
<p>I have been an <a href="http://nbguru.wordpress.com/community-docs/" target="_blank">active contributor</a> to NetBeans Community Docs Program and managed it as coordinator for the duration of 11 months (May &#8216;08 &#8211; Mar &#8216;09). However, I feel there&#8217;s lack of coverage of the resources, that are gathered and arranged in the form of several wikis interrelated with each other in a systematic way.</p>
<p>Through this <strong>issue</strong>, I would like to see increased presence of NetBeans Community Docs in the NetBeans Community. I have some ideas which I would like to put forward, but first I want to see interest from your side (Community Members and NetBeans Team).</p>
<p>You&#8217;re welcome to add your comments/suggestions or even vote for this issue. See the following for latest updates.</p>
<h3>Jul 14, 2009</h3>
<p>Kristian Rink has setup a <a href="http://nbguru.wordpress.com/2009/07/15/netbeans-community-docs-user-survey/" target="_blank">user survey</a>. Please go and fill up the forms. We need your feedback, so that we can be in better position to decide the future of this program.</p>
<h3>Jul 08, 2009</h3>
<p><strong>Kristian Rink</strong> has <a href="http://dm.zimmer428.net/index.php/archives/504" target="_blank">written a post</a> discussing the <strong>future of the program</strong> and what does the <strong>community think</strong> about it? I feel you must go through it once.</p>
<h3>Jul 03, 2009</h3>
<p>Since VOC Captains have CC&#8217;ed themselves on issue report and I got reply from Michel. Here are I am sharing my ideas and related details;</p>
<p><span style="text-decoration:underline;"><strong>Brief History</strong></span></p>
<p>There are over 300 docs, right? When we reached 250 docs, I realized that there was findability issue. If I need a tutorial on how to make use of some feature, which is documented only by a community member and not by Sun writers. Then, user has to put some effort to locate that. Even I had that problem.</p>
<p>So, through mutual agreement, we created several category-specific wikis that would archive docs belonging to those categories. You may read more about that here;</p>
<p><a href="http://nb-community-docs.blogspot.com/2008/11/netbeans-community-docs-reloaded.html" target="_blank">http://nb-community-docs.blogspot.com/2008/11/netbeans-community-docs-reloaded.html</a></p>
<p>This way we were able to fix the findability issue, temporarily. Yes, temporarily! I thought, we were still missing a page which can provide pointers to all the sections of these category-specific wikis. So, I decided to setup a wiki;</p>
<p><a title="Have a look.." href="http://wiki.netbeans.org/NBCDMatrix" target="_blank">http://wiki.netbeans.org/NBCDMatrix</a></p>
<p>that will do the needful. Now, if anyone wants (community contributed) tutorials on GUI Builder, just need to bookmark this link;</p>
<p><a href="http://wiki.netbeans.org/NBCDMatrix#section-NBCDMatrix-SwingGUIBuilder" target="_blank">http://wiki.netbeans.org/NBCDMatrix#section-NBCDMatrix-SwingGUIBuilder</a></p>
<p>This contains a matrix which has necessary pointers to tackle the issue.</p>
<p><span style="text-decoration:underline;"><strong>Ideas</strong></span></p>
<p>Now, coming to the point of concern, i.e. the NetBeans Community Website doesn&#8217;t feature pointers to these wikis. As you might know that currently there&#8217;s only one pointer to the Community Docs Contributions list from relevant Learning Trails.</p>
<p>Instead, I would love to see a separate &#8220;Community Contributed Docs&#8221; Learning Trails, where one can have relevant information on how to access these wikis. Also, I would request the NB Team remove the following webpage;</p>
<p><a href="http://www.netbeans.org/community/commdocs.html" target="_blank">http://www.netbeans.org/community/commdocs.html</a></p>
<p>Its better to have single Learning Trails page to focus on the above issue, rather than maintaining small sections on every Learning Trail and maintaining the above webpage. It will also ease the work spent by NB Team on such maintenance. Also, the proposed Learning Trail can also be pointed from User FAQs, Developer FAQs, etc.</p>
<p>If someone is unable to find  necessary info in these FAQs, then he/she may navigate to the trail to learn how to find out community contributed docs for their requirement. This should be good enough to make our presence felt in the community, as this Learning Trails would feature in Docs &amp; Support page.</p>
<p><strong>Thanks!</strong></p>
Posted in Community Docs, NetBeans, Others  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1909/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1909/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1909/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1909/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1909/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1909/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1909/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1909/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1909/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1909/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1909&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/07/01/community-docs-and-netbeans/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>Blog Series and PrayogShala</title>
		<link>http://nbguru.wordpress.com/2009/07/01/blog-series-and-prayogshala/</link>
		<comments>http://nbguru.wordpress.com/2009/07/01/blog-series-and-prayogshala/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 11:13:25 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Kenai]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1905</guid>
		<description><![CDATA[PrayogShala (New Blog)
I have some important news to share, I will contiuning some of the blog series (started here) at another blog. As announced yesterday, I have launched the new blog today.
Currently, there are two posts. One of the them, continues the series I started here with the following blogs;

Part Two &#124; http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/
Part One &#124; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1905&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3>PrayogShala (New Blog)</h3>
<p>I have some important news to share, I will contiuning some of the blog series (started here) at <a href="http://prayogshala.wordpress.com/" target="_blank">another blog</a>. As announced yesterday, I have launched the new blog today.</p>
<p>Currently, there are two posts. <a href="http://prayogshala.wordpress.com/2009/07/01/netbeans-plugins-at-kenai-part-3/" target="_blank">One</a> of the them, continues the series I started here with the following blogs;</p>
<ul>
<li><strong>Part Two |</strong> <a href="http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/" target="_blank">http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/</a></li>
<li><strong>Part One |</strong> <a href="http://nbguru.wordpress.com/2009/05/31/netbeans-plugins-at-kenai/" target="_blank">http://nbguru.wordpress.com/2009/05/31/netbeans-plugins-at-kenai/</a></li>
</ul>
<p>Hope you will like this change. Also, I have changed the look of this blog as you would notice. Hoping I will continue to provide quality content on both blogs and interested readers may <a href="http://prayogshala.wordpress.com/about/" target="_blank">read more about</a> the new blog.</p>
<p><strong>Stay tuned..</strong></p>
Posted in Kenai, NetBeans, Personal  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1905/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1905&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/07/01/blog-series-and-prayogshala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>James Gosling, NBDT Honorary Member</title>
		<link>http://nbguru.wordpress.com/2009/06/30/james-gosling-nbdt-honorary-member/</link>
		<comments>http://nbguru.wordpress.com/2009/06/30/james-gosling-nbdt-honorary-member/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 15:09:04 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1888</guid>
		<description><![CDATA[I was wondering whether to blog this or not. However, I felt its important the NetBeans Community must know this. Last month at JavaOne, Sven Reimers who received Duke&#8217;s Choice Award, inducted James Gosling into the NetBeans Dream Team Wall of Fame. Thank you so much!

Netbeans Dream Team Honorary Members
Honorary members are previous Dream Team [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1888&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was wondering whether to blog this or not. However, I felt its important the NetBeans Community must know this. Last month at JavaOne, <strong><a title="NetBeans Dream Team Member" href="http://nbguru.blogspot.com/2009/06/winning-dukes-choice-and-james-goslings.html" target="_blank">Sven Reimers</a></strong> who received <strong>Duke&#8217;s Choice Award</strong>, inducted <strong>James Gosling</strong> into the <a href="http://wiki.netbeans.org/NBDTHonoraryMembers" target="_blank">NetBeans Dream Team Wall of Fame</a>. <strong>Thank you so much!</strong></p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/james-and-sven.jpg" target="_blank"><img class="size-full wp-image-1892 aligncenter" title="Sven Reimers and James Gosling, members of NetBeans Dream Team" src="http://nbguru.files.wordpress.com/2009/06/james-and-sven.jpg?w=320&#038;h=227" alt="Sven Reimers and James Gosling, members of NetBeans Dream Team" width="320" height="227" /></a></p>
<h3>Netbeans Dream Team Honorary Members</h3>
<p>Honorary members are previous Dream Team members who opted out. They must be a Dream Team member for a continuous year before they are Honorary Members. They reserve the right to be a Dream Team guest at any time. The do not reserve the right to use the Dream Team logo in future works. They do not receive any software, hardware, clothing, or other material benefits which may or may not be given to Dream Team Members.</p>
<blockquote>
<p style="text-align:center;"><span style="text-decoration:underline;"><strong>Other News</strong></span></p>
<p style="text-align:center;padding-left:30px;">I have setup a new blog for my experimental work, I like to carry out either with NetBeans Platform or any other technologies. I will be announcing it tomorrow.</p>
</blockquote>
<p><strong>Stay tuned..</strong></p>
Posted in Java, NetBeans, Personal  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1888/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1888&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/30/james-gosling-nbdt-honorary-member/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/james-and-sven.jpg" medium="image">
			<media:title type="html">Sven Reimers and James Gosling, members of NetBeans Dream Team</media:title>
		</media:content>
	</item>
		<item>
		<title>Hyperlink Navigation Renaissance | #2</title>
		<link>http://nbguru.wordpress.com/2009/06/29/hyperlink-navigation-renaissance-part-2/</link>
		<comments>http://nbguru.wordpress.com/2009/06/29/hyperlink-navigation-renaissance-part-2/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 14:41:25 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Dzone]]></category>
		<category><![CDATA[Kenai]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1877</guid>
		<description><![CDATA[Last year, I had written a blog on Hyperlink Navigation Renaissance, here&#8217;s brief overview;
After lot of discussion on OpenIDE mailing lists, exploring Developer FAQ’s, exerting my wrist, flexing fingers and what not? Finally, hit the deck hard! Yeah, Hyperlink Navigation in NetBeans got smarter! Especially, for HTML documents.
That time, I had developed a plug in, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1877&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Last year, I had written a blog on <a href="http://nbguru.wordpress.com/2008/07/24/hyperlink-navigation-renaissance/" target="_blank"><strong>Hyperlink Navigation Renaissance</strong></a>, here&#8217;s brief overview;</p>
<p style="text-align:left;padding-left:30px;"><em>After lot of discussion on OpenIDE mailing lists, exploring Developer FAQ’s, exerting my wrist, flexing fingers and what not? Finally, hit the deck hard! Yeah, Hyperlink Navigation in NetBeans got smarter! Especially, for HTML documents.</em></p>
<p style="text-align:left;">That time, I had developed a plug in, which I have started to discuss about more these days. Yes, its <strong>Revamped Hyperlink Navigation</strong> and here are list of blogs discussing about it;</p>
<ul>
<li><a href="http://nbguru.wordpress.com/2009/05/31/netbeans-plugins-at-kenai/" target="_blank">NetBeans Plugins at Kenai</a></li>
<li><a href="http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/" target="_blank">NetBeans Plugins at Kenai (Part 2)</a></li>
<li><a href="http://nbguru.wordpress.com/2009/06/15/svn-using-cli-and-netbeans/" target="_blank">SVN using CLI and NetBeans</a></li>
</ul>
<p>These blogs basically describe the history of this plug in, pointers to available resources at Kenai and how do I use SVN for managing the plug in source code from CLI, as well as from NetBeans IDE.</p>
<p>Now, I would like to tell you that there has been many changes since and I thought community would be interested to see the updates in the <a href="http://netbeans.dzone.com/news/revamped-html-hyperlink-naviga" target="_blank">tutorial</a>, I wrote last year. Have a look at this <a href="http://wiki.netbeans.org/RevampedHyperlinkNavigation" target="_blank">wiki for updates</a>, rather than the entry at NetBeans Zone (If you want to, then see the comments for updates).</p>
<h3>Changes done..</h3>
<p>I have got rid of overloaded <strong>setPosition</strong> methods, instead there would be one method from now onwards. While, some of the methods were <strong>renamed</strong> and some are <strong>no longer parameterized</strong>. This has reduced lot of redundant code and now, the code looks really neat. Making use of <strong>various editor features</strong> to cut-short long line of codes has helped.</p>
<p>Also, I removed the<strong> parameterized constructor</strong>, instead introduced a <strong>public method</strong> to pass necessary parameters from <strong>HyperlinkProvider </strong>implementation. This was done so as to possibly introduce an interface, which the module would depend on, while its implementation is available in another module. Yes, I am trying to make use of <a href="http://nbguru.wordpress.com/proj-netbeans/lookup/" target="_blank">Lookup API</a> to achieve same result.</p>
<p>Only issues I have, that currently one module can only depend on another user-defined module within a suite project. However, module I created is standalone one and its not possible to depend on another module, AFAIK. If you know of ways to do so, let me know or <a href="http://nbrcp-kolektiv.kenai.com/" target="_blank">join this project</a> to work towards achieving this.</p>
<h3>NetBeans 6.7 and Manage Platforms..</h3>
<p>All of this was possible due to a <a href="http://nbguru.wordpress.com/2009/06/03/tat-managing-netbeans-platforms-14/" target="_blank">feature I recently discovered</a> in NetBeans 6.7 IDE, which was there in previous releases as well. However, I never really explored it. By the way, <a href="http://netbeans.dzone.com/announcements/netbeans-ide-67-now-available" target="_blank">NetBeans 6.7 FCS</a> is released. Check out the new, super cool homepage of <a href="http://www.netbeans.org/" target="_blank">NetBeans DOT org</a>.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/top-banner-frontpage.jpg"><img class="size-medium wp-image-1880 aligncenter" title="NetBeans 6.7 FCS released!" src="http://nbguru.files.wordpress.com/2009/06/top-banner-frontpage.jpg?w=300&#038;h=86" alt="NetBeans 6.7 FCS released!" width="300" height="86" /></a></p>
<p><strong>Stay tuned..</strong></p>
Posted in Dzone, Kenai, NetBeans, Windows  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1877/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1877/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1877/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1877/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1877/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1877/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1877/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1877/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1877/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1877/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1877&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/29/hyperlink-navigation-renaissance-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/top-banner-frontpage.jpg?w=300" medium="image">
			<media:title type="html">NetBeans 6.7 FCS released!</media:title>
		</media:content>
	</item>
		<item>
		<title>#3 | Geertjan Blogs and Kenai</title>
		<link>http://nbguru.wordpress.com/2009/06/16/part-3-geertjan-blogs-and-kenai/</link>
		<comments>http://nbguru.wordpress.com/2009/06/16/part-3-geertjan-blogs-and-kenai/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 10:06:23 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Kenai]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Platform]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1861</guid>
		<description><![CDATA[Dec, 2008
Nearly 6 months back,I had published 2nd part of the blog series, I started to share what I learnt while creating a project type. However, I couldn&#8217;t continue as I got busy with my internship commitments and engineering studies. I thought I would see many blogs after that from community side. I got few [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1861&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h4>Dec, 2008</h4>
<p>Nearly 6 months back,I had published <a href="http://nbguru.wordpress.com/2008/12/19/part-2-file-templates/" target="_blank"><strong>2nd part</strong></a> of the <a href="http://www.dzone.com/links/blog_series_creating_a_project_type.html" target="_blank">blog series</a>, I started to share what I learnt while creating a project type. However, I couldn&#8217;t continue as I got busy with my internship commitments and engineering studies. I thought I would see many blogs after that from community side. I got few nods as well, but I am disappointed with them as they didn&#8217;t deliver.</p>
<h4>May, 2009</h4>
<p>I saw <a href="http://blogs.sun.com/geertjan" target="_blank">Geertjan</a> wrote mini-blog-series (<strong>May, 2009</strong>) with code and hints on how to get started creating project type. That was really cool. Finally, it looked like my prayers were heard. Have a look at them;</p>
<ol>
<li><a href="http://blogs.sun.com/geertjan/entry/antbasedprojectregistration" target="_blank">@AntBasedProjectRegistration</a></li>
<li><a href="http://blogs.sun.com/geertjan/entry/nodefactory_registration" target="_blank">@NodeFactory.Registration</a></li>
<li><a href="http://blogs.sun.com/geertjan/entry/build_project_command_for_ant" target="_blank">Build Project Command for Ant Based Project Types</a></li>
</ol>
<p>Geertjan made use of <strong>NetBeans 6.7 daily builds</strong> for creating the prototype explained above. So, why not get started with these blogs?</p>
<h4>June, 2009</h4>
<p>I will soon continue with my exploration stopped long time back and will continue to post my learning in the coming months. Also, I have written a <a href="http://kenai.com/projects/nbrcp-kolektiv/forums/comments/topics/935-Create-Project-Type?" target="_blank">post in discussion forums</a> to begin creating a project type.</p>
<blockquote>
<p style="text-align:center;"><span style="text-decoration:underline;"><strong>Other News</strong></span><br />
Get to know more about my <a href="http://nbguru.wordpress.com/category/kenai/" target="_blank">NetBeans plugins at Kenai</a> and I also shared some <a href="http://nbguru.wordpress.com/2009/06/03/tat-managing-netbeans-platforms-14/" target="_blank">tips and Tricks</a> based on NetBeans Platform.</p>
</blockquote>
<p>Come on, get started and share what you explore. <strong>Stay tuned for more..</strong></p>
Posted in Kenai, NetBeans, Platform  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1861/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1861&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/16/part-3-geertjan-blogs-and-kenai/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>SVN using CLI and NetBeans</title>
		<link>http://nbguru.wordpress.com/2009/06/15/svn-using-cli-and-netbeans/</link>
		<comments>http://nbguru.wordpress.com/2009/06/15/svn-using-cli-and-netbeans/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 05:55:31 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Kenai]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1789</guid>
		<description><![CDATA[Recent exploration in the world of FOSS has helped me adopt SVN more easily than ever before. In this post, I will share some of my learnings about working with SVN using CLI and NetBeans.
Basically, I am going to map every possible command that were used on Command Line Interface (CLI), during past 2 weeks [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1789&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recent exploration in the world of FOSS has helped me adopt SVN more easily than ever before. In this post, I will share some of my learnings about working with <a href="http://bondprogrammers.blogspot.com/2009/06/version-control-with-svn-using-cli.html" target="_blank">SVN using CLI and NetBeans</a>.</p>
<p>Basically, I am going to map every possible command that were used on Command Line Interface (<strong>CLI</strong>), during past 2 weeks to the functionalities provided by Subversion Support in the NetBeans IDE (<strong>6.0+</strong>).</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-release-67-rc2.jpg" target="_blank"><img class="size-medium wp-image-1815 aligncenter" title="NetBeans IDE 6.7 RC2 (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-release-67-rc2.jpg?w=300&#038;h=188" alt="NetBeans IDE 6.7 RC2 (Click to enlarge)" width="300" height="188" /></a></p>
<h4>Using <a title="Download and Complete the Survey.." href="http://dlc.sun.com.edgesuite.net/netbeans/6.7/rc2/" target="_blank">6.7 RC2</a> for demonstration,</h4>
<p>After making project and their respective copies in the <a href="https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/" target="_blank">SVN repository</a> of my <a href="http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/" target="_blank">plug in at Kenai</a>. I forgot to update the <strong>/trunk</strong> after I had <a title="Issue #1 Resolved and Closed.." href="http://kenai.com/jira/browse/NBRCP_KOLEKTIV-1" target="_blank">fixed a bug</a> that was affecting plugin&#8217;s version <strong>v1.0</strong>, which was fixed for version <a href="http://kenai.com/jira/browse/NBRCP_KOLEKTIV/fixforversion/10271" target="_blank"><strong>v1.1</strong></a>. Actually, I had earlier made a tag by copying the sources from &#8220;/tags/<strong>release60_base</strong>/plugin-code-base&#8221; to &#8220;/tags/<strong>release60_fixes</strong>/plugin-code-base&#8221;.</p>
<p>I started fixing the code in the tagged repository before renaming/moving the repos to &#8220;/branches/<strong>release60_fixes</strong>/plugin-code-base&#8221;. Then, I realized that I had not merged the changes to the <strong>/trunk</strong>, which was required. So, we will see in the rest of this blog, how to do the merge using CLI and NetBeans IDE.</p>
<h3>Using Command Line Interface</h3>
<p><strong></strong>Now, I need the working copy of the code kept at <a href="https://kenai.com/svn/nbrcp-kolektiv%7Eincubator/nbplugins/trunk/" target="_blank"><strong>/trunk</strong></a>, so I have to do a checkout, first.</p>
<pre><strong>svn checkout URL</strong></pre>
<p>You can <a title="Read for more details.." href="http://svnbook.red-bean.com/en/1.1/ch03s04.html" target="_blank">learn more about the checkout</a> from the book of <strong>Version Control with Subversion</strong>. I have substituted <strong>URL</strong> with <a href="https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/branches/release60_fixes" target="_blank">https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/branches/release60_fixes</a> in the above, as well as the following command(s).</p>
<p>Now, having read the <a href="http://svnbook.red-bean.com/en/1.1/ch04s04.html#svn-ch-4-sect-4.1" target="_blank">common use-cases</a> of <strong>Merging Whole Branch to Another</strong> in the book, I decided to give it a try using CLI. So, I did the following;</p>
<pre><strong>svn log --stop-on-copy URL</strong></pre>
<p>Here&#8217;s what the book states;</p>
<p style="padding-left:30px;"><em>The log subcommand will normally show every           change ever made to the branch, including tracing back           through the copy which created the branch.  So normally,           you&#8217;ll see history from the trunk as well.  The           <tt>--stop-on-copy</tt> will halt log output as soon           as <span><strong>svn log</strong></span> detects that its target was           copied or renamed.</em></p>
<p>Now, this presents the required textual information, and I found out that copy was made in revision <strong>r25</strong> and last commit was made in revision <strong>r32</strong>. Now, we know where the changes took place since making the copy of trunk in <strong>r25</strong>. As per the book, I used the following command to do the merge;</p>
<pre><strong>svn merge</strong><strong> -r 25:32 URL</strong></pre>
<p><strong>Firstly,</strong> change the directory to the working copy and if we use <strong>svn merge</strong>, it assumes that current directory is the working copy. So, it will apply changes that happened between <strong>r25-r32</strong> to the working copy. It may happen that there might be some conflicts, which you can resolve from command line. Now, use the following to see the status and detect any conflicts of the working copy after merging has been done;</p>
<pre><strong>svn status</strong></pre>
<p>The <a title="More information about these Alphabets.." href="http://svnbook.red-bean.com/en/1.0/re26.html" target="_blank">console output</a> shows only modifications (denoted by<strong> M</strong>), addition (denoted by <strong>A</strong>)/deletion (denoted by <strong>D</strong>) or conflicts (denoted by <strong>C</strong>). If there are any conflicts, they are required to be resolved. So, please refer this guide on <a href="http://svnbook.red-bean.com/en/1.1/ch03s05.html#svn-ch-3-sect-5.4" target="_blank">how to resolve the conflicts</a> using CLI. Once they are resolved, you should commit the changes to the server (<strong>/trunk</strong>).</p>
<pre><strong>svn commit -m some_message</strong></pre>
<p>where <strong>some_message</strong> = &#8220;Merged changes r25:32 into the trunk..&#8221;</p>
<p>Hit <strong>Enter</strong> button to send the changes to the server. The book states,</p>
<p style="padding-left:30px;"><em>Again, notice that the commit log message very         specifically mentions the range of changes that was merged         into the trunk.  Always remember to do this, because it&#8217;s         critical information you&#8217;ll need later on.</em></p>
<h3>Using NetBeans IDE</h3>
<p>Now, I will show you how to do the same using NetBeans IDE to increase productivity, without worrying about typing issues that may occur using CLI. Also, changing directories, retrieving logs, doing manual merge, etc.</p>
<p>All of these may go easily wrong.. Although, its good to know how to work using CLI. Its much better to use IDE&#8217;s for the same purpose. Thus, I have written this blog that may help you switch to NetBeans IDE for the same.</p>
<h4>Checkout..</h4>
<p>Firstly, goto <strong>Team | Subversion</strong> menu and select <strong>Checkout&#8230;</strong> This will open a wizard where you will enter the URL, username and password. Now, refer this blog on how to <a title="Read this blog for more info.." href="http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/" target="_blank">checkout the code and configure</a> it, as per the requirements. Once its done, project will be opened and displayed under <strong>Projects </strong>window.</p>
<h4>Merge Changes..</h4>
<p>Right-click the project node and select Subversion from the context menu. Then, select Merge Changes.. from the menu as displayed here;</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-changes.jpg" target="_blank"><img class="size-full wp-image-1810 aligncenter" title="Merge Changes.. (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-changes.jpg?w=166&#038;h=234" alt="Merge Changes.. (Click to enlarge)" width="166" height="234" /></a></p>
<p>Soon, following window opens that lets you configure the way you want the merge to happen and that too, in <strong>one step</strong>! Have  a look;</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions.jpg" target="_blank"><img class="size-full wp-image-1813 aligncenter" title="Merge Revisions (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions.jpg?w=282&#038;h=164" alt="Merge Revisions (Click to enlarge)" width="282" height="164" /></a></p>
<p style="text-align:left;">You can see various options in the form of drop-down list and browse, search buttons. I willl brief you about the same as we move ahead. Drop-down list have three options to choose from;</p>
<p style="text-align:left;"><strong>Type I &#8211; One Repository Folder Since its Origin</strong></p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions-from-single-repos.jpg" target="_blank"><img class="size-full wp-image-1816 aligncenter" title="Merge Preview Type I (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions-from-single-repos.jpg?w=252&#038;h=97" alt="Merge Revisions Type I (Click to enlarge)" width="252" height="97" /></a></p>
<p style="text-align:left;"><strong>Type II &#8211; One Repository Folder<br />
</strong>
</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-preview.jpg" target="_blank"><img class="size-full wp-image-1812 aligncenter" title="Merge Preview Type II (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-preview.jpg?w=263&#038;h=92" alt="Merge Preview Type II (Click to enlarge)" width="263" height="92" /></a></p>
<p style="text-align:left;"><strong>Type III &#8211; Two Repository Folders</strong></p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions-from-two-repos.jpg" target="_blank"><img class="size-full wp-image-1817 aligncenter" title="Merge Preview Type III (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions-from-two-repos.jpg?w=273&#038;h=130" alt="Merge Revisions Type III (Click to enlarge)" width="273" height="130" /></a></p>
<p style="text-align:left;">So, I selected <strong>Type II</strong> because I want to merge changes from single repository folder (<strong>/branches/release60_fixes</strong>) which is other than the working copy, synchronized with (<strong>/trunk</strong>). This preview is shown within the same window and can be viewed by scrolling down the same window. <strong></strong></p>
<p style="text-align:left;"><strong>Browse..</strong> will let you choose the repository folder to merge from. We will choose <a href="https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/branches/release60_fixes/ahrefhyperlink.revamped" target="_blank">/branches/release60_fixes/ahrefhyperlink.revamped</a> (This folder might change in future, you may expand <strong>/branches</strong> as shown in the figure to observe changes taken place) for merge. Have a look;</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-browse-repository.jpg" target="_blank"><img class="size-full wp-image-1827 aligncenter" title="Browse Repository Folders (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-browse-repository.jpg?w=282&#038;h=225" alt="Browse Repository Folders (Click to enlarge)" width="282" height="225" /></a></p>
<p style="text-align:left;">At the beginning of this entry, I mentioned that one can find out that changes between which versions have to be merged in the working copy. To do that, one has to make use of <strong>svn log</strong>. In this case, one would just click the <strong>Search..</strong> button and following window pop-up!</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-log-repository-changes.jpg" target="_blank"><img class="size-full wp-image-1809 aligncenter" title="Log changes (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-log-repository-changes.jpg?w=281&#038;h=177" alt="Log changes (Click to enlarge)" width="281" height="177" /></a></p>
<p style="text-align:left;">Clicking <strong>List</strong> will list all the changes that have occurred since the <strong>date</strong> entered in the shown field. As you can see tag was made in <strong>r25</strong> and last code update took place in <strong>r32</strong>. So, we will first choose the revision <strong>#25</strong> for <strong>Starting Revision</strong> and <strong>#32</strong> as <strong>Ending Revision</strong>, one-by-one. See the following figure;</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions.jpg" target="_blank"><img class="size-full wp-image-1813 aligncenter" title="Merge Revisions (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions.jpg?w=282&#038;h=164" alt="Merge Revisions (Click to enlarge)" width="282" height="164" /></a></p>
<p style="text-align:left;">This works same as the  <strong>svn merge</strong> command used earlier. Click <strong>Merge</strong> button to commence the merge operation. Once the merging is finished, one can <a title="Learn more about the Badges and Color Coding.." href="http://www.netbeans.org/kb/60/ide/subversion.html#badges" target="_blank">see whether there are any conflicts</a> or not.</p>
<p style="text-align:left;">Conflicts may occur, when the <strong>HEAD</strong> revision of the <strong>/trunk</strong> repository is not in sync with the other repository, when sources were first copied from <strong>/trunk</strong>. See the following figure, I got two file conflicts;</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-conflicts-part-one.jpg" target="_blank"><img class="size-full wp-image-1811 aligncenter" title="Merge Conflicts (Click to enlarge)" src="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-conflicts-part-one.jpg?w=282&#038;h=168" alt="Merge Conflicts Part 1 (Click to enlarge)" width="282" height="168" /></a></p>
<p style="text-align:left;">For resolving conflicts, you may <a href="http://www.netbeans.org/kb/60/ide/subversion.html#resolving" target="_blank">refer this guide</a> written by Sun Technical Writers. Once conflicts are resolved, you must now <a title="Performing the Commit.." href="http://www.netbeans.org/kb/60/ide/subversion.html#performing" target="_blank">commit the sources</a> with this message as recommended earlier<strong></strong>, <strong>&#8220;Merged changes r25:32 into the trunk&#8221;</strong>. That&#8217;s all for the day. Hope this helps you get started effectively.</p>
<blockquote>
<p style="text-align:center;"><span style="text-decoration:underline;"><strong>Reference Guide<br />
</strong></span><a title="Merging File Revisions.." href="http://www.netbeans.org/kb/60/ide/subversion.html#merging" target="_blank">http://www.netbeans.org/kb/60/ide/subversion.html#merging</a></p>
</blockquote>
Posted in Kenai, NetBeans, SVN, Windows  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1789/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1789&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/15/svn-using-cli-and-netbeans/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-release-67-rc2.jpg?w=300" medium="image">
			<media:title type="html">NetBeans IDE 6.7 RC2 (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-changes.jpg" medium="image">
			<media:title type="html">Merge Changes.. (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions.jpg" medium="image">
			<media:title type="html">Merge Revisions (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions-from-single-repos.jpg" medium="image">
			<media:title type="html">Merge Preview Type I (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-preview.jpg" medium="image">
			<media:title type="html">Merge Preview Type II (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions-from-two-repos.jpg" medium="image">
			<media:title type="html">Merge Preview Type III (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-browse-repository.jpg" medium="image">
			<media:title type="html">Browse Repository Folders (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-log-repository-changes.jpg" medium="image">
			<media:title type="html">Log changes (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-revisions.jpg" medium="image">
			<media:title type="html">Merge Revisions (Click to enlarge)</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-svn-merge-conflicts-part-one.jpg" medium="image">
			<media:title type="html">Merge Conflicts (Click to enlarge)</media:title>
		</media:content>
	</item>
		<item>
		<title>Jazoon ‘09: James Gosling is coming!</title>
		<link>http://nbguru.wordpress.com/2009/06/13/jazoon-09-james-gosling-is-coming/</link>
		<comments>http://nbguru.wordpress.com/2009/06/13/jazoon-09-james-gosling-is-coming/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 21:36:31 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Jazoon]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1796</guid>
		<description><![CDATA[James Gosling&#8217;s only 2009 European appearance

Jazoon is very proud to have James Gosling deliver the opening Keynote of Jazoon&#8217;09 in Zurich, Switzerland, in 10 days. This is your only chance to meet him in Europe in person this year and to directly hear his latest news.

So if you missed JavaOne this year, attend Jazoon&#8217;09 and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1796&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h4>James Gosling&#8217;s only 2009 European appearance</h4>
<div id=":6d">
<p>Jazoon is very proud to have <strong>James Gosling</strong> deliver the opening Keynote of Jazoon&#8217;09 in Zurich, Switzerland, in 10 days. This is your only chance to meet him in Europe in person this year and to directly hear his latest news.</div>
<div>
<p>So if you missed JavaOne this year, attend Jazoon&#8217;09 and benefit from inside information and updates, but also get latest news about the future of Java. We all know that there are major changes coming up and that&#8217;s why you should attend Jazoon&#8217;09 to stay current.</p></div>
<div id=":6d">
<p>Besides James Gosling, Jazoon&#8217;09 features many other interesting speakers from the Java world including <strong>Neal Ford</strong>, <strong>Ivar Jacobson</strong>, <strong>Adrian Colyer</strong> and <strong>Danny Coward</strong>. As a special guest we are pleased to announce <strong>Linda Cureton</strong>, CIO of the National Aeronautics and Space Administration (NASA) Goddard Space Flight Center in the USA. She will deliver the Jazoon&#8217;09 closing Keynote.</p>
<p>Register now<br />
<a href="https://jazoon.com/registration?l=en" target="_blank">https://jazoon.com/registration?l=en</a></p>
<p>See the full conference schedule<br />
<a href="http://jazoon.com/en/conference/schedule.html" target="_blank">http://jazoon.com/en/conference/schedule.html</a></p>
<h4>Conference schedule in Google Calendar and iCAL</h4>
<p>Download sessions you are interested in into your calendar, iPhone or other devices. For the first time Jazoon offers the conference schedule as Google Calendar or iCAL-file.</p>
<p>Take a look at the Google Calendar<br />
<a href="http://jazoon.com/en/iCAL.html" target="_blank">http://jazoon.com/en/iCAL.html</a></p>
<h4>Jazoon Networking Groups</h4>
<p>Follow Jazoon on twitter<br />
<a href="https://twitter.com/jazoon" target="_blank">https://twitter.com/jazoon</a></p>
<p>Jazoon on Xing<br />
<a href="http://www.xing.com/group-26451.e1a44d" target="_blank">http://www.xing.com/group-26451.e1a44d</a></p>
<p>Jazoon on Facebook<br />
<a href="http://www.facebook.com/group.php?gid=37011557820" target="_blank">http://www.facebook.com/group.php?gid=37011557820</a></p>
<p><strong>Stay tuned for more..</strong></div>
Posted in Events, Jazoon, NetBeans  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1796/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1796&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/13/jazoon-09-james-gosling-is-coming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>NetBeans Plugins at Kenai | #2</title>
		<link>http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/</link>
		<comments>http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 11:33:48 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[Kenai]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1739</guid>
		<description><![CDATA[This post will focus on work flow of my plug in Revamped Hyperlink Navigation (RHN). Without much ado, lets get started..
Getting Started
Firstly, you need to access the existing sources available for plug in, published in Update Center for NetBeans 6.0 and then, I will use NetBeans 6.5 as the development software for demonstration. So, run [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1739&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This post will focus on work flow of my plug in <strong>Revamped Hyperlink Navigation (RHN)</strong>. Without much ado, lets get started..</p>
<h4>Getting Started</h4>
<p>Firstly, you need to access the existing sources available for <a title="Check Plugin Portal" href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=11222" target="_blank">plug in, published in Update Center</a> for <strong>NetBeans 6.0</strong> and then, I will use <strong>NetBeans 6.5</strong> as the development software for demonstration. So, run <strong>NetBeans IDE</strong> (bundled with either Java SE, Java or All technologies).</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg" target="_blank"><img class="aligncenter" title="NetBeans 6.5 boots with a b'day stamp on splash screen!" src="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg?w=300&#038;h=189" alt="NetBeans 6.5 boots with a b'day stamp on splash screen!" width="300" height="189" /></a></p>
<h4>Checkout Sources..</h4>
<p>Open <strong>Versioning | SVN</strong> menu and select <strong>Checkout&#8230; </strong>from sub-menu. <strong>Checkout Wizard</strong> opens.. Now, enter <strong>Repository URL</strong> as <a href="https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/tags/release60_versions" target="_blank"><strong>https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/tags/release60_versions</strong></a> and click &#8220;<strong>Next &gt;</strong>&#8220;<strong>.</strong></p>
<p>You might be prompted by the NetBeans to accept certificate, click on <strong>Accept Temporarily</strong> and continue.. Now, click on the <strong>Browse</strong> button to select the <strong>Repository Folder</strong> needed to be checkout. Select <strong>/rhn_v11/</strong><strong>ahrefhyperlink.revamped</strong> and specify your <strong>Local Folder.</strong> Also, select the <strong>checkbox</strong> with label as <strong>Scan for NetBeans Projects after checkout</strong> and click <strong>Finish</strong>. NetBeans will prompt you to open project <strong>AhrefHyperlink (Revamped)</strong>. Click <strong>Open Project</strong> and NetBeans will open the project for you. Now, right-click the project node and select <strong>Properties. </strong></p>
<blockquote>
<p style="text-align:center;"><span style="text-decoration:underline;"><strong>Reference Guide</strong></span><a title="Checking out Files from a Repository" href="http://www.netbeans.org/kb/60/ide/subversion.html#checking" target="_blank"><br />
http://www.netbeans.org/kb/60/ide/subversion.html#checking</a></p>
</blockquote>
<h4>Manage Platforms&#8230;</h4>
<p>Now, goto <strong>Libraries</strong> and you will notice that NetBeans Platform selected for project is the default build provided by the <strong>NetBeans 6.5 IDE</strong>, and similarly for Java Platform. So, you need to configure the project to be built against <strong>NetBeans 6.0</strong>. Therefore, refer this <a href="http://nbguru.wordpress.com/2009/06/03/tat-managing-netbeans-platforms-14/" target="_blank">tips and Tricks</a> to learn how to &#8220;<strong>Manage Platforms&#8230;</strong>&#8220;. Also, choose <strong>JDK 1.5</strong> for Java Platform (JDK 1.6 <strong>should</strong> also work fine).</p>
<h4>See Module in Action..</h4>
<p>Once you are done with it, click <strong>OK</strong> to save project properties. Now, <strong>Clean and Build</strong> the project and <strong>Run</strong> to see this module in action. If success, the <strong>NetBeans 6.0 splash screen</strong> pops up and soon, <strong>NetBeans 6.0 instance</strong> is running with the plug in, installed. Try out the cases specified in the <a href="http://netbeans.dzone.com/news/revamped-html-hyperlink-naviga" target="_blank">tutorial</a> and then, try out some new one&#8217;s from your side. Observe where it works and where it doesn&#8217;t.</p>
<p>If you find any issues/bugs, kindly file it using <a href="http://kenai.com/jira/browse/NBRCP_KOLEKTIV" target="_blank">JIRA Issue Tracker</a> used for this project and select component <strong>nbm-hyperlink</strong>. Soon, I will <a href="http://kenai.com/projects/nbrcp-kolektiv/pages/Home" target="_blank">write wikis</a> so as to help you understand how to file issues for this project. Fixed sources are stored under <a href="https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/branches" target="_blank"><strong>/nbplugins/branches</strong></a> as <a href="https://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/branches/release60_fixes/ahrefhyperlink.revamped" target="_blank">/<strong>release60_fixes/ahrefhyperlink.revamped</strong></a> (Links updated).</p>
<p>Unstable code is placed under<strong> <a href="http://kenai.com/svn/nbrcp-kolektiv~incubator/nbplugins/trunk/" target="_blank">/nbplugins/trunk</a> </strong>and you may see what new developments take place there.<strong><br />
</strong></p>
<p><strong>Stay tuned for more!</strong></p>
Posted in Kenai, NetBeans, Platform, SVN, Windows  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1739/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1739&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/10/netbeans-plugins-at-kenai-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg?w=300" medium="image">
			<media:title type="html">NetBeans 6.5 boots with a b'day stamp on splash screen!</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure NetBeans using Batch Files..</title>
		<link>http://nbguru.wordpress.com/2009/06/07/configure-netbeans-using-batch-files/</link>
		<comments>http://nbguru.wordpress.com/2009/06/07/configure-netbeans-using-batch-files/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 12:12:30 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[NetCAT]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1764</guid>
		<description><![CDATA[Well, we all know that although editing &#8220;{netbeans.home}\etc&#8221;\netbeans.conf is not a big deal for any developer, it certainly takes a toll, if you&#8217;re using daily builds. That means, everytime you download new build of NetBeans you will modify the configuration file to tune JVM switches as per your operating system.
Last year, when I participated in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1764&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well, we all know that although editing &#8220;{netbeans.home}\etc&#8221;\<strong>netbeans.conf</strong> is not a big deal for any developer, it certainly takes a toll, if you&#8217;re using daily builds. That means, everytime you download new build of NetBeans you will modify the configuration file to tune JVM switches as per your operating system.</p>
<p>Last year, when I participated in <a href="http://nbguru.wordpress.com/2008/11/20/netcat-65-weekly-final-report/" target="_blank"><strong>NetCAT 6.5</strong></a>, I had this problem, i.e. I did the same configurations again and again, every time I downloaded latest build. Recently, when I downloaded <strong>6.7 RC1</strong> to make use of Kenai and Hudson integration, few days later I got the notification of <strong>6.7 RC2</strong> and related CA survey. Today, I downloaded that too, but it makes me feel sick to do those configurations all over again.</p>
<h4>CLI (Command Line Interface)</h4>
<p>There are people who write many scripts to ease their work by automating some tasks. As I was not good at using CLI, as I am right now. So, I thought of giving it a try and I looked into the internet to learn some batch programming. After exploring for some amount of time, I have written a batch program to help me with the task and here&#8217;s what I got;</p>
<pre>for /d <strong>%%X</strong> in (%1\<strong>NetBeans*</strong>) do edit "%%X\etc\<strong>netbeans.conf</strong>"</pre>
<h4>Explanation</h4>
<p>This batch program has got only the <strong>for-statement</strong> and this is where I look for NetBeans installation directories stored under the directory provided as a runtime argument denoted by <strong>%1</strong> For instance, I have installed 6.7 RC1 and RC2 under <strong>C:\Program Files</strong>. So, I will make use of this batch program on CLI like this;</p>
<pre><strong>nbconfig</strong> "C:\Program Files"</pre>
<p>Now, the batch program loops through this directory passed as a runtime argument and will look for the right installation directory by making use of <strong>NetBeans*</strong> as matching criteria. Once it finds the directories, it will loop each one of them, one-by-one and open the <strong>configuration file</strong> for editing.</p>
<h4>Dis/Advantages</h4>
<p>That&#8217;s the benefit that you just have to pass the directory (under which such directories could be found) and <strong>Windows</strong> will automatically open the configuration file for editing, if you feel its already edited before. Just perform action (<strong>Alt-F | Exit</strong>) to exit editor and to automatically switch over to the another configuration file.</p>
<p>There&#8217;s a limitation that if there are <strong>10 installation directories</strong> under one directory (passed as runtime argument) and you have already made modifications to <strong>6 of them</strong>, you will have to pass each one of them, before you could actually make modifications to the <strong>last 4</strong>.</p>
<h4>Comments/Suggestions</h4>
<p>You&#8217;re welcome to improve upon this and suggest changes to be made for benefit of the community. I think it won&#8217;t be difficult for Unix experts to write a shell script for the same, or probably come out with a better solution. Also, I have started to make use of Subversion using CLI (along with NetBeans support), interested readers can refer <a title="Version Control with SVN using CLI" href="http://bondprogrammers.blogspot.com/2009/06/version-control-with-svn-using-cli.html" target="_blank">this blog for more info</a>.</p>
<blockquote>
<p style="text-align:center;"><strong>This blog has been contributed to <a title="http://nb-community-docs.blogspot.com/" href="http://nb-community-docs.blogspot.com/" target="_blank">NetBeans Community Docs Program</a> and for latest updates on this content, refer to the <a title="http://wiki.netbeans.org/TaT_ConfigNetBeansUsingBatchFiles" href="http://wiki.netbeans.org/TaT_ConfigNetBeansUsingBatchFiles" target="_blank">contribution</a>.</strong></p>
</blockquote>
<p><strong>Hope that helps,</strong><strong> stay tuned for more..</strong></p>
Posted in NetBeans, NetCAT, Windows  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1764/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1764&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/07/configure-netbeans-using-batch-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>taT | Managing NetBeans Platforms</title>
		<link>http://nbguru.wordpress.com/2009/06/03/tat-managing-netbeans-platforms-14/</link>
		<comments>http://nbguru.wordpress.com/2009/06/03/tat-managing-netbeans-platforms-14/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 14:30:24 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
				<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Tips|Tricks]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=1730</guid>
		<description><![CDATA[Recently, I asked a question on NetBeans Developers Mailing List about gaining better understanding of managing NetBeans Platform(s) within the NetBeans IDE.
You didn&#8217;t knew that, right? Well, I have also recently discovered that there&#8217;s a provision to manage &#8220;NetBeans Platforms&#8221; for almost every NetBeans Module Project (I guess). Although, I think I knew that this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1730&subd=nbguru&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently, I asked a question on <a title="Managing NB Platforms within the IDE" href="http://www.netbeans.org/servlets/ReadMsg?list=nbdev&amp;msgNo=44540" target="_blank">NetBeans Developers Mailing List</a> about gaining better understanding of <strong>managing NetBeans Platform(s)</strong> within the NetBeans IDE.</p>
<p>You didn&#8217;t knew that, right? Well, I have also recently discovered that there&#8217;s a provision to manage &#8220;NetBeans Platforms&#8221; for almost every <strong>NetBeans Module Project </strong>(I guess). Although, I think I knew that this feature was there but never actually devoted time to see what exactly it does.</p>
<p style="padding-left:30px;">Yesterday, when I re-discovered this feature and decided to give it a try. I started exploring it and then, faced some issues. So, I raised the above question on the mailing list. <span style="text-decoration:line-through;">I did receive a reply, however it has a different approach to the above problem. Not directly related to scenario&#8217;s I came across. As I await more clarification</span></p>
<p>Now, I got clarification I needed and indeed it should help me understand the way, NetBeans works in this scenario. I thought why not share this scenario with you people. Maybe, you might have faced same issues.</p>
<p>So, how exactly we make use of this feature? Just follow the steps and let me know, what did you observe?</p>
<h2>Here are the Tricks,</h2>
<p>Firstly, run <strong>NetBeans IDE</strong> (bundled with either Java SE, Java or All technologies). I am using <strong>NetBeans 6.5 FCS</strong> for demonstration.</p>
<p><a href="http://nbguru.wordpress.com/2008/11/20/netcat-65-weekly-final-report/" target="_blank"><img class="aligncenter size-medium wp-image-1181" title="NetBeans 6.5 boots with a b'day stamp on splash screen!" src="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg?w=300&#038;h=189" alt="NetBeans 6.5 boots with a b'day stamp on splash screen!" width="300" height="189" /></a></p>
<p>Now, goto <strong>Tools | NetBeans Platforms</strong> and generally, you would find same platform configured with your NetBeans IDE and that might be possible, only if you are not running any daily builds.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-platform-manager.jpg"><img class="aligncenter size-full wp-image-1746" title="Click to enlarge!" src="http://nbguru.files.wordpress.com/2009/06/nb-platform-manager.jpg?w=376&#038;h=281" alt="Click to enlarge!" width="376" height="281" /></a></p>
<p>So, this figure might look familiar to you, if the above statements are correct. You can configure several <strong>platforms</strong> with your distribution. For instance, I have <strong>NetBeans 6.0, 6.1</strong> installed, along with <strong>6.5</strong> which I am running. So, I will show you how to configure one of them,</p>
<p style="text-align:left;"><strong>Add Platform&#8230;</strong></p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-add-platform.jpg"><img class="aligncenter size-full wp-image-1744" title="Click to enlarge!" src="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-add-platform.jpg?w=376&#038;h=282" alt="Click to enlarge!" width="376" height="282" /></a></p>
<p style="text-align:left;"><strong>Choose Platform Folder</strong></p>
<p style="text-align:left;padding-left:30px;">This step will let you select the installation directory of other NetBeans distributions and let you configure the platform supplied by them.<strong><br />
</strong>
</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-choose-platform-folder.jpg"><img class="aligncenter size-full wp-image-1745" title="Click to enlarge!" src="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-choose-platform-folder.jpg?w=375&#038;h=309" alt="Click to enlarge!" width="375" height="309" /></a></p>
<p style="text-align:left;"><strong>Platform Name<br />
</strong>
</p>
<p style="padding-left:30px;">You may edit the Platform Name as per your need, or keep defaults and click <strong>Finish</strong>.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-platform-name.jpg"><img class="aligncenter size-full wp-image-1747" title="Click to enlarge!" src="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-platform-name.jpg?w=376&#038;h=308" alt="Click to enlarge!" width="376" height="308" /></a></p>
<p>This way you have added platform supplied by <strong>NetBeans 6.0</strong> in <strong>NetBeans 6.5</strong>. Now, switch over to <strong>Harness </strong>tab and click the <strong>2nd radio button</strong> to complete the configuration. This is done to let this platform use its harness to perform tasks related with module projects.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-select-harness.jpg"><img class="aligncenter size-full wp-image-1748" title="Click to enlarge!" src="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-select-harness.jpg?w=376&#038;h=284" alt="Click to enlarge!" width="376" height="284" /></a></p>
<p>Similarly, doing for <strong>6.1</strong>, the following figure shows that I have successfully configured the above NetBeans Platforms,</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-configured-platforms.jpg"><img class="aligncenter size-full wp-image-1750" title="Click to enlarge!" src="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-configured-platforms.jpg?w=376&#038;h=282" alt="Click to enlarge!" width="376" height="282" /></a></p>
<p>Now, you know <strong>how to add/remove NetBeans Platforms</strong>. Lets go further ahead and explore a bit more by taking a typical scenario..</p>
<h2>and some tips,</h2>
<p>Assuming you made a <strong>plug in</strong> using <strong>NetBeans 6.0</strong> (released in Dec &#8216;07) to be compatible with the same. Soon after NetBeans 6.5 FCS (released Nov &#8216;08) was available, you find that <strong>6.5</strong> work very fast compared to <strong>6.1</strong> and due its improved features, it will help you in reducing your development time<strong>. </strong></p>
<p>So, you decide to rework on your module using latest features, however you still want that <strong>plug in</strong> to work only for <strong>NetBeans 6.0</strong>, here&#8217;s what you need to do.</p>
<p><strong>Firstly</strong>, open your <strong>plug in</strong> project and right-click project node to select its <strong>properties</strong>. Now, goto <strong>Libraries</strong> and you would see there&#8217;s a drop-down list for selecting your choice of NetBeans Platform, against which you can build your module. This list of platform&#8217;s can be configured by clicking &#8220;<strong>Manage Platforms&#8230;</strong>&#8221; button and you will see the same image, shown earlier.</p>
<p>See how they are all related.. Isn&#8217;t it cool? <strong>By default</strong>,  the platform supplied by the NetBeans IDE you are running is <strong>selected</strong>.</p>
<p style="padding-left:30px;">Here&#8217;s one thing to keep in mind, that as you are reworking on an old project like this, you must make sure that you configure the NetBeans Platform for it with care, as not doing so will result in <strong>failing the build</strong> and adding irrelevant versions of module dependencies.</p>
<p>In our case, if you have configured <strong>NetBeans 6.0 </strong>as demonstrated above, you need to select that from drop-down list and then, select <strong>NetBeans 6.0 build</strong> to let your module perform tasks against platform supplied with <strong>NetBeans 6.0</strong>.</p>
<p style="text-align:center;"><a href="http://nbguru.files.wordpress.com/2009/06/nb-ide-60-running.jpg"><img class="aligncenter size-full wp-image-1749" title="Click to enlarge!" src="http://nbguru.files.wordpress.com/2009/06/nb-ide-60-running.jpg?w=376&#038;h=233" alt="Click to enlarge!" width="376" height="233" /></a></p>
<p>When, you run the module project, the above splash screen for NetBeans 6.0 pops up and now, you can see whether your module works or not. <strong>Hope this helps!</strong></p>
<blockquote>
<p style="text-align:center;"><strong>This blog has been contributed to <a title="http://nb-community-docs.blogspot.com/" href="http://nb-community-docs.blogspot.com/" target="_blank">NetBeans Community Docs Program</a> and for latest updates on this content, refer to the <a title="http://wiki.netbeans.org/TaT_ManageNetBeansPlatforms" href="http://wiki.netbeans.org/TaT_ManageNetBeansPlatforms" target="_blank">contribution</a>.</strong></p>
</blockquote>
<p><strong><span style="text-decoration:underline;">Acknowledgements</span></strong></p>
<p>Thanks to<strong> <a href="http://tomwheeler.com/" target="_blank">Tom Wheeler</a> </strong>(NetBeans Dream Team Member and NetBeans Governance Board Member) for answering my question on the mailing list.<strong><br />
</strong></p>
Posted in NetBeans, Platform, Tips|Tricks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/1730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/1730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/1730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/1730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/1730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/1730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/1730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/1730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/1730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/1730/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=1730&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2009/06/03/tat-managing-netbeans-platforms-14/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc6aaa858b706e02cdb9aee0a9672304?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2008/11/nb65-booting-with-bday-stamp.jpg?w=300" medium="image">
			<media:title type="html">NetBeans 6.5 boots with a b'day stamp on splash screen!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-platform-manager.jpg" medium="image">
			<media:title type="html">Click to enlarge!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-add-platform.jpg" medium="image">
			<media:title type="html">Click to enlarge!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-choose-platform-folder.jpg" medium="image">
			<media:title type="html">Click to enlarge!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-platform-name.jpg" medium="image">
			<media:title type="html">Click to enlarge!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-select-harness.jpg" medium="image">
			<media:title type="html">Click to enlarge!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nbplatfmgr-configured-platforms.jpg" medium="image">
			<media:title type="html">Click to enlarge!</media:title>
		</media:content>

		<media:content url="http://nbguru.files.wordpress.com/2009/06/nb-ide-60-running.jpg" medium="image">
			<media:title type="html">Click to enlarge!</media:title>
		</media:content>
	</item>
	</channel>
</rss>
