<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: adding binary content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77092#M50948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please make sure you're exiting your do { … } while (true) loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Exception in thread "main" java.io.FileNotFoundException: class path resource [org/alfresco/jcr/example/wikiImage.gif] cannot be opened because it does not exist&lt;BR /&gt;at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137)&lt;BR /&gt;at org.alfresco.sample.jcr.WIKIExample.main(WIKIExample.java:145)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The wikiImage.gif is not in your classpath directory org/alfresco/jcr/example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2006 12:20:16 GMT</pubDate>
    <dc:creator>davidc</dc:creator>
    <dc:date>2006-11-20T12:20:16Z</dc:date>
    <item>
      <title>adding binary content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77091#M50947</link>
      <description>I need to add binary content to my customized type.I do it like in the example of wikiExample but the execution does not finish!!This is my code:[size=75]ApplicationContext context = new ClassPathXmlApplicationContext("classpath&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg/alfresco/sample/jcr/facturaModel-context.xml");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Mon, 20 Nov 2006 10:42:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77091#M50947</guid>
      <dc:creator>rcortesr</dc:creator>
      <dc:date>2006-11-20T10:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: adding binary content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77092#M50948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please make sure you're exiting your do { … } while (true) loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Exception in thread "main" java.io.FileNotFoundException: class path resource [org/alfresco/jcr/example/wikiImage.gif] cannot be opened because it does not exist&lt;BR /&gt;at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137)&lt;BR /&gt;at org.alfresco.sample.jcr.WIKIExample.main(WIKIExample.java:145)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The wikiImage.gif is not in your classpath directory org/alfresco/jcr/example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 12:20:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77092#M50948</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-11-20T12:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: adding binary content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77093#M50949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The loop is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my SDK doesn't exist this path org/alfresco/jcr/example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My image stay in org/alfresco/sample/jcr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created this folder and I have copied the image but the error persists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 09:40:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77093#M50949</guid>
      <dc:creator>rcortesr</dc:creator>
      <dc:date>2006-11-21T09:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: adding binary content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77094#M50950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved problem!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In WIKIExample the path of the image isn't correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ClassPathResource resource = new ClassPathResource("org/alfresco/jcr/example/wikiImage.gif");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The path is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ClassPathResource resource = new ClassPathResource("org/alfresco/sample/jcr/wikiImage.gif");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 11:56:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-binary-content/m-p/77094#M50950</guid>
      <dc:creator>rcortesr</dc:creator>
      <dc:date>2006-11-21T11:56:27Z</dc:date>
    </item>
  </channel>
</rss>

