|
|
OpenCms Forum » List all forums » » Forum: Tutorials / HowTo's » » » Thread: Module-Development with an IDE like Netbeans. |
||
| Print at May 21, 2013 10:46:07 PM |
|
|
| Posted by Arrasz at Feb 14, 2004 12:53:45 PM |
|
Module-Development with an IDE like Netbeans. Module-Development is a work intensive Job. So this Tutorial explains how to develop with an external IDE a Opencms-Module. In addition to the Tutorial how to remote Debug a Opencms-Module this is a very powerful thing. 1.) Create your new Module with the Module-Wizard from Opencms. The Wizard can be found under the Administration-View / Module Management. Here use the New-Module Button an make your enviroment. 2.) Go into the Explorer-View. Under system/modules you can find your new Module-Folder. 3.) Now create a new Project in Administration. Add the Path to your Module-Folder to the module-pathes. 4.) Change actual Project to yoew created. Click on the Button "Synchronization Management". Here you must add the Module-Folder Path too and after this you must add your Destination Path on your local Filesystem. For example something like: /home/myacc/projects/opencms/src/ If you have finished this step you`ll find a new Button in the Top-Button-Area called Synchronization Button. Now click on this Button. Under your Destination Path you now should find the several folders how Opencms has created as standard. 5.) Create a new Project in your IDE. Mount the Destination Path as folder into this Project. And now each time you create a new File for this Project you can synchronize it and Opencms will automatically create this file in his own VFS! Hope this helps to build new Modules easily! Kind Regards Joachim Arrasz Synyx oHG Karlsruhe, Germany ---------------------------------------- -- /** * Joachim Arrasz * OpenSource Solutions * Synyx GmbH & Co. KG Karlstr. 68 76137 Karlsruhe * @phone +49(0)721 66 24 866 * @eMail arrasz@synyx.de * @www http://www.synyx.de */ |
| Posted by smesh at Jun 12, 2004 1:26:38 AM |
|
What about Eclipse? ---------------------------------------- [i:202adfe78b][size=9:202adfe78b]Sam Mesh Use Signature in your profile: - It's inserted automatically - It's not inserted in the quote[/size:202adfe78b][/i:202adfe78b] |
| Posted by Daniel at Jun 16, 2004 12:35:53 PM |
|
yup! what about eclipse? ;-) |
| Posted by smesh at Jun 16, 2004 9:41:29 PM | ||
---------------------------------------- [i:202adfe78b][size=9:202adfe78b]Sam Mesh Use Signature in your profile: - It's inserted automatically - It's not inserted in the quote[/size:202adfe78b][/i:202adfe78b] |
| Posted by Daniel at Jun 23, 2004 1:32:44 PM |
|
it is nearly the same in eclipse... sure, there is no mounting, but if you synchronize with your eclipseProjectFolder it works, but you cannot change this folder in eclipse like in netbeans... I will try this and use eclipse for developing modules and write the experience here.... |
| Posted by smesh at Jun 23, 2004 6:03:40 PM |
|
BTW, can you build CMS in Eclipse without Ant? ---------------------------------------- [i:202adfe78b][size=9:202adfe78b]Sam Mesh Use Signature in your profile: - It's inserted automatically - It's not inserted in the quote[/size:202adfe78b][/i:202adfe78b] |
| Posted by Anonymous at Jul 6, 2004 4:57:08 PM |
|
Eclipse is also gud I feel Eclipse is more better and userfriendly than netbeans... :? |
| Posted by Arrasz at Jul 6, 2004 10:37:27 PM |
|
in webdevelopment surely not. Netbeans has more comfortable functions and integrations for Webdevelopment. If you find a way to to this with eclipse please enhance this thread with a little HowTo for Eclipse --- fell free to commit it :-) Bye Achim ---------------------------------------- -- /** * Joachim Arrasz * OpenSource Solutions * Synyx GmbH & Co. KG Karlstr. 68 76137 Karlsruhe * @phone +49(0)721 66 24 866 * @eMail arrasz@synyx.de * @www http://www.synyx.de */ |
| Posted by mariuso at Jun 29, 2005 12:33:40 PM |
|
Re: Module-Development with an IDE like Netbeans. Ok. I tried with IntelliJ and works as you described. My problem is that this is working only for the things under my module /system/modules/mymodule How to do the same for the /sites/mysite Rationale: Under /site/mysite i have jsp files i want to edit (and debug) under IDE |
| Posted by parenti at Aug 31, 2005 9:19:57 PM |
|
Re: Module-Development with an IDE like Netbeans. Very Good!!! ---------------------------------------- I'm from Brazil !!! Why I no write in English (correct)? Because I no Have Money from Course of English. I'm needing friends for help-me write in English . . . |
|