<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Here comes the Sun &#187; netbeans</title>
	<atom:link href="http://sunng.info/blog/tag/netbeans/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunng.info/blog</link>
	<description>Homemade Clojure Geek</description>
	<lastBuildDate>Fri, 11 May 2012 02:24:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Setting Environment Variables for NetBeans, Continued</title>
		<link>http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans-continued/</link>
		<comments>http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans-continued/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 14:40:09 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[把戏]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://www.classicning.com/blog/?p=409</guid>
		<description><![CDATA[This is a feature introduced in NetBeans 6.7. Set environment variables for specified life-cycle phases: Open project properties dialog, select action category. Select actions which depend on the variable, click add button to add such an environment variable. However, this &#8230; <a href="http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans-continued/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a feature introduced in NetBeans 6.7.</p>
<p><img class="alignnone" src="http://farm5.static.flickr.com/4072/4227520447_bccc557571.jpg" alt="" width="500" height="287" /></p>
<p>Set environment variables for specified life-cycle phases: Open project properties dialog, select action category. Select actions which depend on the variable, click add button to add such an environment variable.</p>
<p>However, this method doesn&#8217;t work with Glassfish spawned the IDE. If you want use environment variables in the server spawned by NetBeans IDE, you still have to export the variables in netbeans.conf</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans-continued/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Environment Variables for NetBeans</title>
		<link>http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans/</link>
		<comments>http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 14:40:52 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[把戏]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://www.classicning.com/blog/?p=403</guid>
		<description><![CDATA[If you use NetBeans IDE to build an application which reads environment variable, you will have to do these settings in your IDE. There is no GUI to set such variables in NetBeans while Eclipse provides you a &#8220;Run Configuration &#8230; <a href="http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you use NetBeans IDE to build an application which reads environment variable, you will have to do these settings in your IDE. There is no GUI to set such variables in NetBeans while Eclipse provides you a &#8220;Run Configuration Dialog&#8221;. So just add the declaration in your netbeans.conf.</p>
<p>It is highly recommended to copy the configuration file to your home directory before you edit it.</p>
<p><em>cp -r /usr/local/netbeans-6.8/etc ~/.netbeans/6.8/</em></p>
<p>And append this line:</p>
<p><em>export YAN_RESOURCE=/home/sun/work/yan-resource</em></p>
<p>Then restart your IDE, it works. You can test/build/run your application with the environment variable <em>$YAN_RESOURCE</em> inside NetBeans IDE,</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2009/12/setting-environment-variables-for-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

