Hi Claudio, 

I recommend you use the one in roller-support. You are going to have to do some 
small modifications to the code, but don't worry it is not that much.

Because you are the second tester (I was the first one) I encourage you to take 
a look at the code in, but ....:
https://roller.dev.java.net/source/browse/roller/roller_support/tools/migrator/src/java/com/gunfus/jroller/

...if you simply don't care, then at the bare minimum you need to modify: 
https://roller.dev.java.net/source/browse/roller/roller_support/tools/migrator/src/java/com/gunfus/jroller/blojsom/BlojsomEntry.java?rev=1.1&view=markup

..because it contains the category mapping between Blojsom(in numbers) and 
Roller(in names). Currently the categories are hard-coded into the code later I 
am planning to provide a better way of reading mapping the categories without 
having to modify the code. 

You may also need to modify the locale if it is something different, in my case 
I use en_CA.

You are also going to need to modify the BlojsomMigratorReader.properties as it 
contains the specific location and username(schema) of the derby database.

So to summarize:
1) modify BlojsomEntry.java, with the correct categories for your blog
2) modify BlojsomEntry.java with the proper locale
3) modify BlojsomMigratorReader.properties with the properties of your derby 
database
4) shutdown blojsom, backup your derby database files. 
5) build the migration tool
6) modify roller-custom.properties, for your enviroment
7) run the migration tool, I typically run it from inside of my development 
environment, and I have only tested the .bat file. Haven't gotten time to work 
on the shell, but it should work.

Any improvements or additional help, feel free to ask. 

Claudio Miranda <[EMAIL PROTECTED]> wrote:     Do you recommend to use 
migration tool from roller-support site
[1] or the .jar provided at mailing list [2]?

1 - 
https://roller.dev.java.net/source/browse/roller/roller_support/tools/migrator/
2 - http://www.nabble.com/Re%3A-migration-from-blojsom-p13724498s12275.html


-- 
  Claudio Miranda
  _______________________________________________
  Summa Technologies do Brasil - www.summa-tech.com
  http://www.claudius.com.br/blog  claudio(o)claudius.com.br
  http://www.soujava.org.br

 

Reply via email to