<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating Executable Jar Files That Contain Jar Files</title>
	<atom:link href="http://www.goland.org/jarsinjars/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goland.org/jarsinjars/</link>
	<description>Technology, Politics, Food, Finance, etc.</description>
	<lastBuildDate>Fri, 30 Jul 2010 16:51:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: MarkG</title>
		<link>http://www.goland.org/jarsinjars/comment-page-1/#comment-219421</link>
		<dc:creator>MarkG</dc:creator>
		<pubDate>Tue, 22 Apr 2008 16:18:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-219421</guid>
		<description>Alternative is to use http://www.jdotsoft.com/JarClassLoader.php because it simplier, allows nested JARs, does not require strict  JAR structure.</description>
		<content:encoded><![CDATA[<p>Alternative is to use <a href="http://www.jdotsoft.com/JarClassLoader.php" rel="nofollow">http://www.jdotsoft.com/JarClassLoader.php</a> because it simplier, allows nested JARs, does not require strict  JAR structure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forrest</title>
		<link>http://www.goland.org/jarsinjars/comment-page-1/#comment-204357</link>
		<dc:creator>Forrest</dc:creator>
		<pubDate>Thu, 21 Feb 2008 20:01:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-204357</guid>
		<description>Oops, let&#039;s try that again:
(what, no preview?)

&lt;code&gt;
&lt;target name=&quot;expand.lib.jars&quot;&gt;
   &lt;unjar dest=&quot;${build.dir}&quot;&gt;
      &lt;fileset dir=&quot;${lib.dir}&quot;
          includes=&quot;**/*.jar&quot;/&gt;
      &lt;patternset&gt;
         &lt;include name=&quot;**/*.class&quot;/&gt;
      &lt;/patternset&gt;
   &lt;/unjar&gt;
&lt;/target&gt;
&lt;/code&gt;

Seems simpler than this jars-within-jars hack to me.</description>
		<content:encoded><![CDATA[<p>Oops, let&#8217;s try that again:<br />
(what, no preview?)</p>
<p><code><br />
&lt;target name="expand.lib.jars"&gt;<br />
   &lt;unjar dest="${build.dir}"&gt;<br />
      &lt;fileset dir="${lib.dir}"<br />
          includes="**/*.jar"/&gt;<br />
      &lt;patternset&gt;<br />
         &lt;include name="**/*.class"/&gt;<br />
      &lt;/patternset&gt;<br />
   &lt;/unjar&gt;<br />
&lt;/target&gt;<br />
</code></p>
<p>Seems simpler than this jars-within-jars hack to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forrest</title>
		<link>http://www.goland.org/jarsinjars/comment-page-1/#comment-204356</link>
		<dc:creator>Forrest</dc:creator>
		<pubDate>Thu, 21 Feb 2008 19:59:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-204356</guid>
		<description>I came up with the ten lines needed to extract all the library jars into your destination build dir:
&lt;code&gt;

   
      
      
         
      
   

&lt;/code&gt;

Seems simpler than this jars-within-jars hack to me.</description>
		<content:encoded><![CDATA[<p>I came up with the ten lines needed to extract all the library jars into your destination build dir:<br />
<code></p>
<p></code></p>
<p>Seems simpler than this jars-within-jars hack to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://www.goland.org/jarsinjars/comment-page-1/#comment-200547</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Fri, 08 Feb 2008 23:14:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-200547</guid>
		<description>Hi Yaron,
I have various java programs that are invoked with command syntax like:
java -jar program1.jar

At the moment the dependency files are in the same directory as the programs. I would like to move all the dependency files/jars to one subdir then call the programs using syntax:
java -jar program1.jar -classpath subdir

I&#039;m not a java programer so I&#039;m not sure - does your post mean that this will/may cause the program not to find the classes it needs, even if I use the -classpath option?

Do you know any other resources that discuss this topic?

Thanks
Rick</description>
		<content:encoded><![CDATA[<p>Hi Yaron,<br />
I have various java programs that are invoked with command syntax like:<br />
java -jar program1.jar</p>
<p>At the moment the dependency files are in the same directory as the programs. I would like to move all the dependency files/jars to one subdir then call the programs using syntax:<br />
java -jar program1.jar -classpath subdir</p>
<p>I&#8217;m not a java programer so I&#8217;m not sure &#8211; does your post mean that this will/may cause the program not to find the classes it needs, even if I use the -classpath option?</p>
<p>Do you know any other resources that discuss this topic?</p>
<p>Thanks<br />
Rick</p>
]]></content:encoded>
	</item>
</channel>
</rss>
