Viva OpenCMS!: RE: [opencms-dev] Importing OpenCMS 5 website to OpenCMS 6

Arash Kaffamanesh kaffamanesh at dmu-world.de
Mon Jan 31 23:08:44 CET 2005


Michael,Markus,
Dear All,

I've done the import from opencms 5.0.1 to opencms 6 alpha3 as follow:

One, two, tree:

1. exported my opencms 5.0.1 data from opencms backoffice via the expot
wizard

2. imported the the data to opencms 6 alpha3 via import wizard

3. changed the templates with the backoffice great Conent-Tools ver. 6
a3 from the old opencms 5.0.1 templates to my new opencms 6 alpha3
templates

It was done within 30 minuets!
Data Size: ~ 36 MB

Viva OpenCMS!
Viva Social Software!

Best Regards
Arash Kaffamanesh

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Michael Emmerich
Sent: Sonntag, 30. Januar 2005 16:44
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Importing OpenCMS 5 website to OpenCMS 6


Marcus,

> All,
> 
> what is the best way to import a JSP-Template based OpenCMS 5 website 
> into OpenCMS6. I used the export in OpenCMS 5 and then imported it. 
> The problem is that no jsptemplate folder exist in OpenCMS 6 anymore 
> and you need no XML-Template anymore. Also the controlcode wors 
> differently and the folder /system/bodies is used diffrently isn't it?
> 
> To me it looks like a lot of work to import an old OpenCMS5 website 
> into OpenCMS6. Is there any way to make this happen?

Mirgrating from OpenCms5 to 6 is not that difficult as it looks. As you
point out, there is no xml-template anymore. Instead, the 
JSP-Template is now used directly.

So the former jsptemplates no become your templates. As the package 
structure of OpenCms has changed, you have to adjust the imports and 
package names of your jsp based templates.  In most cases this is enough

to get your templates work.

In OpenCms 6, there are no system/bodies/ anymore, the content is now 
stored in the VFS where your control files were stored in OpenCms 5. The
conversion from the old structure to the new one is done during the 
import of an old OpenCms5 export file.
After the import, you then will find the name of the old xml-template as

the value of the "template" property - this is the name of the old 
xml-template used in your OpenCms5 site.
You must change this to the former jsptemplate (which now is the only 
template you need). There is a new function for changing multiple 
propertyvalues at once in the adminstration view.

By doing so, you can mirgrate from OpenCms 5 to 6 quite fast, of course 
this is a bit depending on how much you have to adjust your 
jsp-templates so that they will run with Opencms 6.

Regards,
Michael Emmerich

-- 
Home   : emmerich at german-navy.de
Work   : m.emmerich at alkacon.com
ICQ    : 18897063
WWW    : German Naval History http://www.german-navy.de


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list