[opencms-dev] clonning a module

M Butcher mbutcher at grcomputing.net
Thu Jan 15 18:43:01 CET 2004


The ugly way to do this would be to export the module, unzip it, change 
the package identifiers (e.g. com.foo.mod1 becomes com.foo.mod2) and 
then re-zip it with the new package name.

Matt

Juan Ignacio Cidre wrote:
> I'm developing a site in my own module (Project Offline).
> I have to make a presentation that include modification of contents.
> I dont want to stop the development team, so I need to "clone" the 
> module (to develope in one and make the presentation on the other)
> Is there a way to do such a thing?
> 
> Thanks
> N.
> 
> Salvador Santander Gutierrez wrote:
> 
>> I've changed the opencms to the name 'intranet' and the name of the 
>> export
>> directory. Could be this a problem for the future? We are having problems
>> with our server and I want to know if this could be the problem.
>>
>> I'm using Tomcat 4.1.24 and I've changed the context changing the name of
>> the directory to 'intranet', and changed the <servlet> directive in 
>> web.xml
>> of opencms to redirect request to /intranet/* to OpenCms servlet.
>> To change the export directory:
>> - I've changed the property of 'opencms.properties
>> 'staticexport.path=/exported'
>> - I've created a directory 'exported' with right access in
>> '/usr/local/jakarta-tomcat-4.1.27/webapps/intranet/'
>> - Also I've changed the properties in opencms.properties:
>>     - url_prefix_export=/${WEB_APP_NAME}/exported
>>     - url_prefix_http=/${WEB_APP_NAME}/notexported
>>
>> With this changes, to access to the dinamyc content of opencms the 
>> request
>> must be like 'http://server:8080/intranet/notexported/....' and to 
>> access to
>> exported pages 'http://server:8080/intranet/exported/....'
>>
>> Is this correct? Changing this is dangerous for the correct operation of
>> opencms?
>>
>> Thanks.
>>
>> _______________________________________________
>> 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
>>
>>
>>  
>>
> 
> _______________________________________________
> 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