<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space">
<div class="Section1">
<p class="MsoPlainText">FYI,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The Patch is for the XML-Choice-Element which (I believe) is also a feature in OpenCms 8:<o:p></o:p></p>
<p class="MsoPlainText">http://bp-cms-commons.sourceforge.net/m2site/opencms/opencms-basic/7.5.3.1/patches.html<o:p></o:p></p>
<p class="MsoPlainText">but I don’t know if it will be compatible, because there are no sources of OpenCms 8.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Kind Regards,<o:p></o:p></p>
<p class="MsoPlainText">Harald<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<b>On Behalf Of </b>Felix Glade-Beucke<br>
<b>Sent:</b> Dienstag, 08. März 2011 11:10<br>
<b>To:</b> opencms-dev@opencms.org<br>
<b>Subject:</b> Re: [opencms-dev] Kernel Patch<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Michael,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">thanks for your answer. I try to insert the xsd:choice function from infonova to the kernel.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">xsd:choice popup window still does not work. I think I forgot something. Hmmm...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">All files in /src/ are kernel sources, arent they?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Felix<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>Felix,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>><i> I have a patch for patching some OpenCms files. It is a kernel patch.<o:p></o:p></i></pre>
<pre>><i> Files that was patched are:<o:p></o:p></i></pre>
<pre>><i><o:p> </o:p></i></pre>
<pre>><i>     * /src/org/opencms/workplace/CmsWorkplace.java (update)<o:p></o:p></i></pre>
<pre>><i>     * /src/org/opencms/workplace/CmsWidgetDialog.java (update)<o:p></o:p></i></pre>
<pre>><i>     * /src/org/opencms/workplace/editors/CmsXmlContentEditor.java (update)<o:p></o:p></i></pre>
<pre>><i>     * /src/org/opencms/xml/CmsXmlContentDefinition.java (update)<o:p></o:p></i></pre>
<pre>><i>     * /src/org/opencms/xml/CmsXmlContentTypeManager.java (update)<o:p></o:p></i></pre>
<pre>><i>     * /src/org/opencms/xml/CmsXmlComplexTypeSequence.java (update)<o:p></o:p></i></pre>
<pre>><i>     * /modules/org.opencms.editors/resources/system/workplace/editors/xmlcontent/edit.js<o:p></o:p></i></pre>
<pre>><i>       (update)<o:p></o:p></i></pre>
<pre>><i>     * /modules/org.opencms.editors/resources/system/workplace/editors/xmlcontent/editor_form.jsp<o:p></o:p></i></pre>
<pre>><i>       (update)<o:p></o:p></i></pre>
<pre>><i><o:p> </o:p></i></pre>
<pre>><i><o:p> </o:p></i></pre>
<pre>><i> The last two files in the modules folder seems not to be included in the<o:p></o:p></i></pre>
<pre>><i> opencms.jar (kernel jar) from OpenCms while I am compiling OpenCms. How<o:p></o:p></i></pre>
<pre>><i> do I manage to include my changes in these folder to my OpenCms<o:p></o:p></i></pre>
<pre>><i> installation?<o:p></o:p></i></pre>
<pre><o:p> </o:p></pre>
<pre>I assume that you use the "build.xml" in the main folder to build your <o:p></o:p></pre>
<pre>opencms.jar. This one only builds the OpenCms core itself without any <o:p></o:p></pre>
<pre>modules.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>IF you have made some changes to modules as well, use the <o:p></o:p></pre>
<pre>"/modules/build.xml" build file. This one will give you a dialog where <o:p></o:p></pre>
<pre>you can select the module you want to build. The  "/modules/build.xml" <o:p></o:p></pre>
<pre>will automatically call the normal "build.xml" if required.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-- <o:p></o:p></pre>
<pre>Kind Regards,<o:p></o:p></pre>
<pre>Michael.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-------------------<o:p></o:p></pre>
<pre>Michael Emmerich<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Visit OpenCms Days 2011 Conference and Expo<o:p></o:p></pre>
<pre>May 9 to May 10 2011 in Cologne, Germany<o:p></o:p></pre>
<pre><a href="http://www.opencms-days.org">http://www.opencms-days.org</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Alkacon Software GmbH  - The OpenCms Experts<o:p></o:p></pre>
<pre><a href="http://www.alkacon.com">http://www.alkacon.com</a> - <a href="http://www.opencms.org">http://www.opencms.org</a><o:p></o:p></pre>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">INFONOVA GmbH<br>
Sitz: Unterpremstätten bei Graz<br>
Firmenbuchgericht: Landesgericht für ZRS Graz<br>
Firmenbuchnummer: FN 44354b<br>
<br>
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.<br>
</font>
</body>
</html>