<?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: Bulk Import from a Filesystem</title>
	<atom:link href="http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/</link>
	<description>Alfresco from the trenches</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:33:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Peter Monks</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1921</link>
		<dc:creator>Peter Monks</dc:creator>
		<pubDate>Fri, 13 Jan 2012 03:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1921</guid>
		<description>Pallavi, can I suggest you raise this on the project&#039;s &lt;a href=&quot;http://groups.google.com/group/alfresco-bulk-filesystem-import&quot; rel=&quot;nofollow&quot;&gt;mailing list&lt;/a&gt;?  That&#039;s a much better forum for discussing topics like this one.</description>
		<content:encoded><![CDATA[<p>Pallavi, can I suggest you raise this on the project&#8217;s <a href="http://groups.google.com/group/alfresco-bulk-filesystem-import" rel="nofollow">mailing list</a>?  That&#8217;s a much better forum for discussing topics like this one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pallavi</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1920</link>
		<dc:creator>Pallavi</dc:creator>
		<pubDate>Thu, 12 Jan 2012 13:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1920</guid>
		<description>Hi,
I was using your bulk import tool.It works great. I would like to know how can we declare the imported files as records. In one of the books i read we can give the cm:declareRecords in aspects tag and then give all the mandatory properties. The file will be declared as record. But it doesnt seem to work for me. Can someone help please

Pallavi</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I was using your bulk import tool.It works great. I would like to know how can we declare the imported files as records. In one of the books i read we can give the cm:declareRecords in aspects tag and then give all the mandatory properties. The file will be declared as record. But it doesnt seem to work for me. Can someone help please</p>
<p>Pallavi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Monks</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1353</link>
		<dc:creator>Peter Monks</dc:creator>
		<pubDate>Mon, 10 Oct 2011 21:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1353</guid>
		<description>Luiz, would you mind raising this in the &lt;a href=&quot;https://groups.google.com/forum/#!forum/alfresco-bulk-filesystem-import&quot; rel=&quot;nofollow&quot;&gt;mailing list&lt;/a&gt;?  That&#039;s a much better forum for discussing topics like this one.</description>
		<content:encoded><![CDATA[<p>Luiz, would you mind raising this in the <a href="https://groups.google.com/forum/#!forum/alfresco-bulk-filesystem-import" rel="nofollow">mailing list</a>?  That&#8217;s a much better forum for discussing topics like this one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luiz Candido Borges</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1351</link>
		<dc:creator>Luiz Candido Borges</dc:creator>
		<pubDate>Mon, 10 Oct 2011 18:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1351</guid>
		<description>Peter, I&#039;m sorry for the previous post: the xml sample I&#039;ve sent didn&#039;t work well in your blog. If you want, I can send then attachen on e-mail.

Best regards,</description>
		<content:encoded><![CDATA[<p>Peter, I&#8217;m sorry for the previous post: the xml sample I&#8217;ve sent didn&#8217;t work well in your blog. If you want, I can send then attachen on e-mail.</p>
<p>Best regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luiz Candido Borges</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1350</link>
		<dc:creator>Luiz Candido Borges</dc:creator>
		<pubDate>Mon, 10 Oct 2011 18:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1350</guid>
		<description>I&#039;m trying to use the Alfesco Bulk Filesystem Import on Community Edition 3.4.d (RHEL platform). After some troubles to import content - the Source Directory must be under /tomcat/bin (I&#039;m sure this is not a standard way) - I didn&#039;t arrive to import metadata. I mixed the content files with respective metadata files in the same hierachical organization as in the repository. As result, the content is loaded but not the metadata. In fact, the metadata file is loaded into repository as any other file. Is this the correct way to load metadata? The documentation is very succint: it shows how configurate but not how to use.

Thanks for your help,


Additional information:

Custom content model file (it&#039;s working well by using Alfresco Explorer)




   Customizacao para o Laboratorio de Conversao de Midia
   Candido
   2011-09-29
   1.0

   
      
      
      

   

   
      
   

   
         
    
         Relacao de Lancamento por Lote
         cm:content
         
            
               Microfilmagem
               d:text
		 
		   true
		   false 
                  true
                
                        
         

A metadata file:



   
      cm:digitalizacao01
      1234/1056-1078
      Lote de Lancamento
      Roseli
   </description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to use the Alfesco Bulk Filesystem Import on Community Edition 3.4.d (RHEL platform). After some troubles to import content &#8211; the Source Directory must be under /tomcat/bin (I&#8217;m sure this is not a standard way) &#8211; I didn&#8217;t arrive to import metadata. I mixed the content files with respective metadata files in the same hierachical organization as in the repository. As result, the content is loaded but not the metadata. In fact, the metadata file is loaded into repository as any other file. Is this the correct way to load metadata? The documentation is very succint: it shows how configurate but not how to use.</p>
<p>Thanks for your help,</p>
<p>Additional information:</p>
<p>Custom content model file (it&#8217;s working well by using Alfresco Explorer)</p>
<p>   Customizacao para o Laboratorio de Conversao de Midia<br />
   Candido<br />
   2011-09-29<br />
   1.0</p>
<p>         Relacao de Lancamento por Lote<br />
         cm:content</p>
<p>               Microfilmagem<br />
               d:text</p>
<p>		   true<br />
		   false<br />
                  true</p>
<p>A metadata file:</p>
<p>      cm:digitalizacao01<br />
      1234/1056-1078<br />
      Lote de Lancamento<br />
      Roseli</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Monks</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1314</link>
		<dc:creator>Peter Monks</dc:creator>
		<pubDate>Thu, 29 Sep 2011 21:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1314</guid>
		<description>I&#039;ve just created a &lt;a href=&quot;http://groups.google.com/group/alfresco-bulk-filesystem-import&quot; rel=&quot;nofollow&quot;&gt;mailing list&lt;/a&gt; to help facilitate assistance with and discussion of the tool.  Please try to use that resource rather than commenting here, since blog comments aren&#039;t great for that kind of thing.  Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just created a <a href="http://groups.google.com/group/alfresco-bulk-filesystem-import" rel="nofollow">mailing list</a> to help facilitate assistance with and discussion of the tool.  Please try to use that resource rather than commenting here, since blog comments aren&#8217;t great for that kind of thing.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Monks</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1313</link>
		<dc:creator>Peter Monks</dc:creator>
		<pubDate>Thu, 29 Sep 2011 18:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1313</guid>
		<description>Zhihai, I&#039;ve updated issue #88 [1] with more information, and confirmed that it is indeed a duplicate of issue #57 [2].  Once you correct your metadata files, everything should work as expected.

[1] http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=88
[2] http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=57</description>
		<content:encoded><![CDATA[<p>Zhihai, I&#8217;ve updated issue #88 [1] with more information, and confirmed that it is indeed a duplicate of issue #57 [2].  Once you correct your metadata files, everything should work as expected.</p>
<p>[1] <a href="http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=88" rel="nofollow">http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=88</a><br />
[2] <a href="http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=57" rel="nofollow">http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=57</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zhihai Liu</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1312</link>
		<dc:creator>Zhihai Liu</dc:creator>
		<pubDate>Thu, 29 Sep 2011 15:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1312</guid>
		<description>Hi Peter, 

I ran into an exception when trying an import with the 1.0 release. The error seemed to happen on multi-valued cm:taggable property in the metadata file. I created a new issue as http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=88. Later on I found a related issue here
http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=57. Do you mind taking a look? 

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Peter, </p>
<p>I ran into an exception when trying an import with the 1.0 release. The error seemed to happen on multi-valued cm:taggable property in the metadata file. I created a new issue as <a href="http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=88" rel="nofollow">http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=88</a>. Later on I found a related issue here<br />
<a href="http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=57" rel="nofollow">http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=57</a>. Do you mind taking a look? </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Monks</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1309</link>
		<dc:creator>Peter Monks</dc:creator>
		<pubDate>Mon, 26 Sep 2011 06:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1309</guid>
		<description>Jordi, I&#039;d be very interested in seeing an example file that causes the NPE, along with the full stack trace for the UTF-8 vs ISO-8859 issue.  Would you mind raising an issue in the &lt;a href=&quot;http://code.google.com/p/alfresco-bulk-filesystem-import/issues/list&quot; rel=&quot;nofollow&quot;&gt;issue tracker&lt;/a&gt;?</description>
		<content:encoded><![CDATA[<p>Jordi, I&#8217;d be very interested in seeing an example file that causes the NPE, along with the full stack trace for the UTF-8 vs ISO-8859 issue.  Would you mind raising an issue in the <a href="http://code.google.com/p/alfresco-bulk-filesystem-import/issues/list" rel="nofollow">issue tracker</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordi Anguela</title>
		<link>http://blogs.alfresco.com/wp/pmonks/2009/10/22/bulk-import-from-a-filesystem/#comment-1308</link>
		<dc:creator>Jordi Anguela</dc:creator>
		<pubDate>Mon, 26 Sep 2011 01:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.alfresco.com/wp/pmonks/?p=142#comment-1308</guid>
		<description>Hi Peter,

thank you for your reply. We have tried to use VisualVM to detect a bottleneck without luck. However, apparently we solved the issue regarding the slowness with the record&#039;s ingestion in the RM Site. You know that the File Plan in the RM site has 4 levels (Series, Categories, Record Folders &amp; Records Files). In our first test we had created the shadow files ONLY for the Record Folders (and skipping the Series and Categories). When the shadow files for the Series &amp; Categories were created then the tool worked much better: 5000 records in 15min (on my local deployment)

Another important information that we have discovered along the process and that you could add to the documentation is that you need to create the shadow files specifically in &quot;UTF-8&quot;. java.io.FileWriter class doesn’t use UTF-8 by default (it uses ISO-8859-1) and this was generating a NullPointerException during the execution.

Hope this information is useful,
Regards, Jordi</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>thank you for your reply. We have tried to use VisualVM to detect a bottleneck without luck. However, apparently we solved the issue regarding the slowness with the record&#8217;s ingestion in the RM Site. You know that the File Plan in the RM site has 4 levels (Series, Categories, Record Folders &amp; Records Files). In our first test we had created the shadow files ONLY for the Record Folders (and skipping the Series and Categories). When the shadow files for the Series &amp; Categories were created then the tool worked much better: 5000 records in 15min (on my local deployment)</p>
<p>Another important information that we have discovered along the process and that you could add to the documentation is that you need to create the shadow files specifically in &#8220;UTF-8&#8243;. java.io.FileWriter class doesn’t use UTF-8 by default (it uses ISO-8859-1) and this was generating a NullPointerException during the execution.</p>
<p>Hope this information is useful,<br />
Regards, Jordi</p>
]]></content:encoded>
	</item>
</channel>
</rss>

