[opencms-dev] Setting up dev environment for multiple developer
Arash Kaffamanesh
arash.kaffamanesh at pomegranate.de
Mon May 15 20:44:46 CEST 2006
Hi Robin,
> I think I found an alternative, Since OpenCMS uses
> VFS, why not all the developers point to the same
> database.
That would be error-prone. How do they merge their work? They don't
overwrite their work, if they work on the same resource at the same time?
Unless I think it should somehow work, not sure, but:
> One Question: Does openCMS stores every thing (
> created by users) in VFS or there are something that
> are stored in real file system?
There are the *.properties resources, like workplace_<locale>.properties,
which are stored in VFS and after publishing they will be updated on the
RFS, or lets say (not) all resources which have a exportpoint set, will be
written from VFS to RFS.
In many cases you have to export some resources to the RFS from VFS, e.g
change.log, other xml transformations, etc..
Regarding Struts, I've already integrated other external Struts Apps into
OpenCms (like mvnForum), but I had some performance issues by integrating
the struts based pages into OpenCms jsp's, if you have evaluated the module
and could integrate some posts (not complete threads), please let me know,
how :-) I know a good way is using the RSS-Module
com.clicksandlinks.opencms.rss form clicksandlinks.com.
Anyway Struts, JSF, WebWork and AJAX integration are more than welcome :-)
Kind Regards,
Arash
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Robin Sharma
Sent: Montag, 15. Mai 2006 19:36
To: The OpenCms mailing list
Subject: RE: [opencms-dev] Setting up dev environment for multiple developer
Hi Arash,
I think I found an alternative, Since OpenCMS uses
VFS, why not all the developers point to the same
database. Only one instance of openCMS ( identified as
the open CMS Server) will create database during
installation. All other CMS instances will be
installed pointing to the Database already created and
not CHECKING the checkbox to create database and
table. I did a simple test and it worked.
One Question: Does openCMS stores every thing (
created by users) in VFS or there are something that
are stored in real file system?
For struts application, there are lots of how-to in
the internet. If you have any particular usecase in
mind, I can create a complete struts application that
we can integrate with the open CMS. All we need to do
is play with web.xml.
Regards,
Robin
--- Arash Kaffamanesh
<arash.kaffamanesh at pomegranate.de> wrote:
> Hi Robin,
>
> For OpenCms you can use the synchronization feature
> from the workplace:
>
> 1. Every developer shall update her working copy
> from CVS (possibly merge
> and solve conflicts)
> 2. Synchronize the updated working copy with OpenCms
> on your local
> development environment and test the updated module
> on your local
> installation (I assume the opencms-*.xml system
> files will be completed
> manually, also it would be possible to use a working
> copy for *.xml files
> too).
>
> Then you can use the module export from your local
> dev and import it on the
> Integration / QA or Production Server.
>
> It would be also possible to checkout or better
> export (cvs export) the
> source on the QA Server (to get rid of CVS folders),
> synchronize and set the
> properties on the jsp's (e.g.export=false) in the
> workplace of QA Server,
> write the additional settings into
> opencms-modules.xml for e.g. new
> XMLContent definitions.
>
> For the struts part of your app, I think it should
> work similar to this
> approach too (but not 100%ly sure, I think there are
> some struts-config.xml
> files which shall be adjusted on the server too).
>
> I'm going to write an OpenCms Development LifeCycle
> paper next week and test
> this approach. I'll let you know about that on this
> list.
>
> Do you have a simple struts sample app with a small
> howto, which I could
> integrate into opencms for testing (I don't know
> anything about struts <->
> opencms integration, only that there have been some
> integration modules for
> opencms).
>
> HTH,
>
> Kind Regards,
> Arash
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf
> Of Robin Sharma
> Sent: Freitag, 12. Mai 2006 19:42
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Setting up dev environment
> for multiple developer
>
> Hi,
> I have an application that will be using openCMS
> for content and a traditional struts based web
> application for serving more dynamic content.
> openCMS and struts application needs to communicate,
> meaning that each will be forwarding requests to the
> other or simply including the jsp from the other.
>
> Multiple developer will be working on it. For
> openCMS
> they all can work on the same Tomcat server. For
> struts they need to have source downloaded from the
> CVS into their eclipse based development
> environment.
>
> What is the best way of doing this kind of
> development. Struts app has its own DB.
>
> Has anybody setup this kind of environment?
> Thanks in advance.
>
> -Robin
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> _______________________________________________
> This mail is sent to you from the opencms-dev
> mailing list
> To change your list options, or to unsubscribe from
> the list, please visit
>
http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev
> mailing list
> To change your list options, or to unsubscribe from
> the list, please visit
>
http://lists.opencms.org/mailman/listinfo/opencms-dev
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list