[opencms-dev] Kernel Patch

Brabenetz, Harald harald.brabenetz at bearingpointconsulting.com
Tue Mar 8 15:11:14 CET 2011


FYI,



The Patch is for the XML-Choice-Element which (I believe) is also a feature in OpenCms 8:

http://bp-cms-commons.sourceforge.net/m2site/opencms/opencms-basic/7.5.3.1/patches.html

but I don't know if it will be compatible, because there are no sources of OpenCms 8.



Kind Regards,

Harald


From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Felix Glade-Beucke
Sent: Dienstag, 08. März 2011 11:10
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Kernel Patch

Hi Michael,

thanks for your answer. I try to insert the xsd:choice function from infonova to the kernel.
I build the modules (org.opencms.editors_7.5.1.zip) for my OpenCms 7.5.3 installation. Now I can find the patch updates in the files. I successfully overwrite the module in my installation.

xsd:choice popup window still does not work. I think I forgot something. Hmmm...

All files in /src/ are kernel sources, arent they?

Thank you!
Felix



Felix,





> I have a patch for patching some OpenCms files. It is a kernel patch.

> Files that was patched are:

>

>     * /src/org/opencms/workplace/CmsWorkplace.java (update)

>     * /src/org/opencms/workplace/CmsWidgetDialog.java (update)

>     * /src/org/opencms/workplace/editors/CmsXmlContentEditor.java (update)

>     * /src/org/opencms/xml/CmsXmlContentDefinition.java (update)

>     * /src/org/opencms/xml/CmsXmlContentTypeManager.java (update)

>     * /src/org/opencms/xml/CmsXmlComplexTypeSequence.java (update)

>     * /modules/org.opencms.editors/resources/system/workplace/editors/xmlcontent/edit.js

>       (update)

>     * /modules/org.opencms.editors/resources/system/workplace/editors/xmlcontent/editor_form.jsp

>       (update)

>

>

> The last two files in the modules folder seems not to be included in the

> opencms.jar (kernel jar) from OpenCms while I am compiling OpenCms. How

> do I manage to include my changes in these folder to my OpenCms

> installation?



I assume that you use the "build.xml" in the main folder to build your

opencms.jar. This one only builds the OpenCms core itself without any

modules.



IF you have made some changes to modules as well, use the

"/modules/build.xml" build file. This one will give you a dialog where

you can select the module you want to build. The  "/modules/build.xml"

will automatically call the normal "build.xml" if required.



--

Kind Regards,

Michael.



-------------------

Michael Emmerich



Visit OpenCms Days 2011 Conference and Expo

May 9 to May 10 2011 in Cologne, Germany

http://www.opencms-days.org



Alkacon Software GmbH  - The OpenCms Experts

http://www.alkacon.com - http://www.opencms.org


________________________________
INFONOVA GmbH
Sitz: Unterpremstätten bei Graz
Firmenbuchgericht: Landesgericht für ZRS Graz
Firmenbuchnummer: FN 44354b

The information in this email is confidential and may be legally privileged. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110308/d2137496/attachment.htm>


More information about the opencms-dev mailing list