[opencms-dev] Compiling my beans in OpenCms

Stefan Uldum Grinsted sug at interactive.as
Thu Jul 7 14:03:55 CEST 2005


Hi Joe and Saeed

That is a really good idea.
I Use the synchronize feature and it works great. Its really nice that the 
folders for synchronization has become user-specific in R6.

I use eclipse to develop java and jsp-pages for my modules.

My project structure in eclipse is like this:

/src/module     <- My java-files
/vfs            <- the folder to sync with from OCMS
/vfs/system/modules/#modulename#/lib    <- Here i put my jar's
/vfs/system/modules/#modulename#/classes        <- This is my output 
folder for /src/module

In that way Eclipse puts the compiled class-files, and property-files, in 
the right place. And all foldes from VFS added to the sync-list in OCMS 
gets put in the /vfs folder of my eclipse project durin sync.

Note: When you put new class- or property files to the VFS. Always 
remember to publish and restart the servlet-container.

I use this feature during development of a module on my local machine. 
When done, I export the module from my local OCMS to a file and imports it 
on a testing enviroment. And it just works fine everytime.

The only thing i miss about this way of developing (and you could consider 
this as a feature request) is a per module configuration-xml-file, so 
resource- and explorertypes cold be synchronized along with the files of a 
module. That would clearly ease team-developing of OCMS modules. But one 
could wonder: How does the developers of OCMS do themselves, when 
developing modules?
(And now is the time to spank me if this feature already exists :-)

I hope this helps someone on the issue of how to develop modules from 
outside OCMS.

Best regards and good luck
Stefan Uldum Grinsted
---------------------------------
Par No 1 Interactive a|s
sug at interactive.as




Joe Desbonnet <jdesbonnet at gmail.com> 
Sent by: opencms-dev-bounces at opencms.org
07-07-2005 13:37
Please respond to
joe at galway.net; Please respond to
The OpenCms mailing list <opencms-dev at opencms.org>


To
Saeed Meerkhan <saeed.me at gmail.com>, The OpenCms mailing list 
<opencms-dev at opencms.org>
cc

Subject
Re: [opencms-dev] Compiling my beans in OpenCms






I am planing to try to use the synchronize file system facility to
automatically update a project being developed and built by Eclipse.
But I havn't got around to trying it out yet. See this post:
http://mail.opencms.org/pipermail/opencms-dev/2005q1/014788.html

Joe.



On 7/7/05, Saeed Meerkhan <saeed.me at gmail.com> wrote:
> Is there anyway to compile the beans used in OpenCms (in my site) from
> the OpenCms, in order to get the .class file?
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050707/b1e83778/attachment.htm>


More information about the opencms-dev mailing list