tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/2164-missing-jsoup-jarInfinite Kind: Discussion 2018-06-14T13:54:52Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/454725892018-06-13T12:00:46Z2018-06-13T12:00:46ZMissing Jsoup jar<div><p>Hi I have another question for Sean.</p>
<p>I am writing an extension that uses JSON and JSOUP. Both jars are in the jars directory for MD Windows but the jsoup-1.11.1.jar file is missing from my Mac implementation. I get a class not found on the Mac.</p>
<p>If I copy the jsoup jar from windows to OSx the extension works in the same way as Windows.</p>
<p>Is this by design or a mistake?</p>
<p>Both of my installations are 2017.7.1 (1671). My Windows machine is 8.1 and my Mac machine is Yosemite.</p></div>Mike Bray (Quote Loader Author)tag:infinitekind.tenderapp.com,2009-01-14:Comment/454725892018-06-14T10:44:50Z2018-06-14T10:44:50ZMissing Jsoup jar<div><p>Hi Mike!<br>
Moneydance doesn't use the JSOUP library, so you'll need to bundle the classes within it into the .mxt file for your extension.</p>
<p>If you're using ant, you can easily merge a .jar file into the mxt using something like the following:<br></p>
<pre>
<code> <jar destfile="${dist}/myextension.mxt" compress="false" >
<fileset dir="${build}" includes="**" />
<zipfileset src="${lib}/library1.jar" />
<zipfileset src="${lib}/library2.jar" />
</jar></code>
</pre>
<p>Thanks!</p>
<p>Sean Reilly<br>
Developer, The Infinite Kind<br>
<a href="http://infinitekind.com">http://infinitekind.com</a></p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/454725892018-06-14T11:50:49Z2018-06-14T11:50:49ZMissing Jsoup jar<div><p>Thanks Sean</p>
<p>I must have copied the jar to the MD directory by mistake. I have done<br>
what you suggested and it works fine on both machines.</p>
<p>Regards<br>
Mike</p></div>Mike Bray (Quote Loader Author)