<?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>Ladysign Dev Blog &#187; ear</title>
	<atom:link href="http://www.ladysign-apps.com/blog/tag/ear/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ladysign-apps.com/blog</link>
	<description>Girls can code.</description>
	<lastBuildDate>Mon, 12 Dec 2011 16:58:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Updating EAR file</title>
		<link>http://www.ladysign-apps.com/blog/code/java/updating-ear-file/</link>
		<comments>http://www.ladysign-apps.com/blog/code/java/updating-ear-file/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 16:03:33 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[ear]]></category>
		<category><![CDATA[war]]></category>

		<guid isPermaLink="false">http://ladysign-apps.com/blog/?p=167</guid>
		<description><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Let&#8217;s say you have deployed your package and then suddenly you realize that your code need some changes. Now you ca[......]</p><p class='read-more'><a href='http://www.ladysign-apps.com/blog/code/java/updating-ear-file/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Let&#8217;s say you have deployed your package and then suddenly you realize that your code need some changes. Now you can save some work (and time); by just updating the single class file.<br />
(Make sure you have build your new .java code file. &#8211; Check the time stamp of the class file (it&#8217;s in the WEB-INF/classes/ folder, if it&#8217;s changed.)</p>
<p>1. Since .EAR files are archives you can open the .EAR file with WinRAR.<br />
2. Browse to the to updated Web Archive (for example projectWeb.war) in WinRAR<br />
3. Open the war file with WinRar. (make sure it won&#8217;t be opened by WinZip); right click the .WAR file and choose View File (ALT+V)<br />
4. Now the .WAR file is opened in WinRar simply drag the updated .class file into the archive.<br />
5a. WinRar will notice that the .war file has been updated. &#8211; Say yes to the popup.<br />
5b. WinRar will notice that the .ear file has been updated.- Say yes to the popup.<br />
6. Double check, close WinRar, open the .ear file again, and check if the .war file as well the .class file where updated (see timestamp).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ladysign-apps.com/blog/code/java/updating-ear-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

