Re: Template deployment problem and schema error
Jahia papez <[email protected]> Fri, 13 Mar 2009 14:42:48 +0100
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
--===============0191236986== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hello Mesdocs,<br> <br> there was a problem with the maven-jahia-plugin snapshot uploaded yesterday as it was not compatible with the community edition. Due to your mail we have uploaded a new version right now. So could you please try again?<br> <br> Regards,<br> Benjamin<br> <br> Am 13.03.2009 12:40, MesDocs ParMail schrieb: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">Thank you. I have modified my templates.xml file. Till now, I was using the community r25203 edition. The template deployment action from eclipse does not work anymore for this edition since the templates are deployed under webapps/ROOT/templates I will pick the last build version. Regards, Mesdocs. 2009/3/13 Sergiy Shyrkov <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>: </pre> <blockquote type="cite"> <pre wrap="">Hello, due to our domain server reorganization, please, update the header of you templates deployment descriptor (templates.xml) to reference schema from the jahia.org Community site, i.e.: <template-set xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a> xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.jahia.org/jahia/templates">"http://www.jahia.org/jahia/templates"</a> xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://www.jahia.org/jahia/templateshttp://www.jahia.org/shemas/templates_2_0.xsd">"http://www.jahia.org/jahia/templates http://www.jahia.org/shemas/templates_2_0.xsd"</a>> The corresponding JahiaPedia page is already updated but is waiting for approval to be published. Kind regards Sergiy MesDocs ParMail wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, I have tried to deploy my templates via the maven deploy action (described in jahiapedia), but it does not work anymore. In the Eclipse console, there is this output : [WARNING] Attempting to build MavenProject instance for Artifact (org.jahia.server:maven-jahia-plugin:1.0-20090312.152348-8) of type: maven-plugin; constructing POM artifact instead. [INFO] [jahia:deploy] [INFO] Updated template war resources for tomcat v6 in directory C:\jahia_v6_CommunityEdition_r25203\webapps\ROOT\templates\my_templates [INFO] Copied 0 files. I don't if my problem is link to this error in the template.xml file : Referenced file contains errors (<a class="moz-txt-link-freetext" href="http://www.jahia.net/shemas/templates_2_0.xsd">http://www.jahia.net/shemas/templates_2_0.xsd</a>). For more information, right click on the message and select "Show Details..." templates.xml My_templates/src/main/webapp/WEB-INF line 1 XML Problem TargetNamespace.1 : Expecting namespace '<a class="moz-txt-link-freetext" href="http://www.jahia.net/jahia/templates">http://www.jahia.net/jahia/templates</a>', but the target namespace of the schema document is '<a class="moz-txt-link-freetext" href="http://www.jahia.org/jahia/templates">http://www.jahia.org/jahia/templates</a>'. Regards, Mesdocs. _______________________________________________ template_list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list">http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list</a> </pre> </blockquote> <pre wrap="">_______________________________________________ template_list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list">http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list</a> </pre> </blockquote> <pre wrap=""><!---->_______________________________________________ template_list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list">http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list</a> </pre> </blockquote> <br> </body> </html> --===============0191236986== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ template_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list --===============0191236986==--