Re: [template_list] Template deployment problem and schema error
Hello, could you please check and modify the following entries in the WEB-INF/etc/config/jahia.properties file to be: jahiaJspDiskPath = / jahiaEnginesDiskPath = /engines/ jahiaTemplatesDiskPath = /templates/ jahiaHtmlEditorsDiskPath = /htmleditors/ jahiaJavaScriptDiskPath= /javascript/ ... siteServerNameTestURLExpr = ${request.scheme}://${siteServerName}:${request.serverPort}${request.contextPath}/isjahia.jsp Kind regards Sergiy MesDocs ParMail wrote: > Hi all, > > It seems my precedent message was too quickly sent. > > I've downloaded the last nightly build (r25860) and tried to deploy my > templates in this version. > > During the maven deployment, I noticed downloads from maven-jahia (I > suppose the updated files you were talking about). > > My templates are deployed to Root/jsp/jahia/templates but the version > uses the Root/templates folder. > > Is there a parameter to modify in order to deploy in the folder i want ? > > > Regards, > > Mesdocs. > > > > 2009/3/13 MesDocs ParMail : > >> Hi Benjamin, >> >> I've just tried again the deployment. It works well. >> >> I had to recode some files in my template as there was jahia tag and >> web_templates changes (utility:resourceBundle). >> >> Regards, >> Mesdocs >> >> 2009/3/13 Jahia papez : >> >>> Hello Mesdocs, >>> >>> 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? >>> >>> Regards, >>> Benjamin >>> >>> Am 13.03.2009 12:40, MesDocs ParMail schrieb: >>> >>> 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 : >>> >>> >>> 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.: >>> >>> http://www.w3.org/2001/XMLSchema-instance"; >>> xmlns="http://www.jahia.org/jahia/templates"; >>> xsi:schemaLocation="http://www.jahia.org/jahia/templates >>> http://www.jahia.org/shemas/templates_2_0.xsd";> >>> >>> >>> The corresponding JahiaPedia page is already updated but is waiting for >>> approval to be published. >>> >>> >>> Kind regards >>> Sergiy >>> >>> >>> >>> MesDocs ParMail wrote: >>> >>> >>> 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 >>> (http://www.jahia.net/shemas/templates_2_0.xsd). >>> For more information, right click on the message and select "Show >>> Details..." >>> >>> templates.xml My_templates/src/main/webapp/WEB-INFline 1 XML Problem >>> >>> TargetNamespace.1 : Expecting namespace >>> 'http://www.jahia.net/jahia/templates', but the target namespace of >>> the schema document is 'http://www.jahia.org/jahia/templates'. >>> >>> >>> Regards, >>> >>> Mesdocs. >>> ___ >>> template_list mailing list >>> template_list@jahia.org >>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>> >>> >>> >>> ___ >>> template_list mailing list >>> template_list@jahia.org >>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>> >>> >>> >>> ___ >>> template_list mailing list >>> template_list@jahia.org >>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>> >>> >>> >>> ___ >>> template_list mailing list >>> template_list@jahia.org >>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>> >>> >>> > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > __
Re: [template_list] Template deployment problem and schema error
Hi all, It seems my precedent message was too quickly sent. I've downloaded the last nightly build (r25860) and tried to deploy my templates in this version. During the maven deployment, I noticed downloads from maven-jahia (I suppose the updated files you were talking about). My templates are deployed to Root/jsp/jahia/templates but the version uses the Root/templates folder. Is there a parameter to modify in order to deploy in the folder i want ? Regards, Mesdocs. 2009/3/13 MesDocs ParMail : > Hi Benjamin, > > I've just tried again the deployment. It works well. > > I had to recode some files in my template as there was jahia tag and > web_templates changes (utility:resourceBundle). > > Regards, > Mesdocs > > 2009/3/13 Jahia papez : >> Hello Mesdocs, >> >> 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? >> >> Regards, >> Benjamin >> >> Am 13.03.2009 12:40, MesDocs ParMail schrieb: >> >> 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 : >> >> >> 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.: >> >> http://www.w3.org/2001/XMLSchema-instance"; >> xmlns="http://www.jahia.org/jahia/templates"; >> xsi:schemaLocation="http://www.jahia.org/jahia/templates >> http://www.jahia.org/shemas/templates_2_0.xsd";> >> >> >> The corresponding JahiaPedia page is already updated but is waiting for >> approval to be published. >> >> >> Kind regards >> Sergiy >> >> >> >> MesDocs ParMail wrote: >> >> >> 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 >> (http://www.jahia.net/shemas/templates_2_0.xsd). >> 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 >> 'http://www.jahia.net/jahia/templates', but the target namespace of >> the schema document is 'http://www.jahia.org/jahia/templates'. >> >> >> Regards, >> >> Mesdocs. >> ___ >> template_list mailing list >> template_list@jahia.org >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> >> >> >> ___ >> template_list mailing list >> template_list@jahia.org >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> >> >> >> ___ >> template_list mailing list >> template_list@jahia.org >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> >> >> >> ___ >> template_list mailing list >> template_list@jahia.org >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> >> > ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Re: [template_list] Template deployment problem and schema error
Hi Benjamin, I've just tried again the deployment. It works well. I had to recode some files in my template as there was jahia tag and web_templates changes (utility:resourceBundle). Regards, Mesdocs 2009/3/13 Jahia papez : > Hello Mesdocs, > > 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? > > Regards, > Benjamin > > Am 13.03.2009 12:40, MesDocs ParMail schrieb: > > 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 : > > > 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.: > > http://www.w3.org/2001/XMLSchema-instance"; > xmlns="http://www.jahia.org/jahia/templates"; > xsi:schemaLocation="http://www.jahia.org/jahia/templates > http://www.jahia.org/shemas/templates_2_0.xsd";> > > > The corresponding JahiaPedia page is already updated but is waiting for > approval to be published. > > > Kind regards > Sergiy > > > > MesDocs ParMail wrote: > > > 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 > (http://www.jahia.net/shemas/templates_2_0.xsd). > 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 > 'http://www.jahia.net/jahia/templates', but the target namespace of > the schema document is 'http://www.jahia.org/jahia/templates'. > > > Regards, > > Mesdocs. > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > > > > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > > > > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > > > > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > > ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Re: [template_list] Template deployment problem and schema error
Hello Mesdocs, 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? Regards, Benjamin Am 13.03.2009 12:40, MesDocs ParMail schrieb: 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 : 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.: "http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.jahia.org/jahia/templates" xsi:schemaLocation="http://www.jahia.org/jahia/templates http://www.jahia.org/shemas/templates_2_0.xsd"> The corresponding JahiaPedia page is already updated but is waiting for approval to be published. Kind regards Sergiy MesDocs ParMail wrote: 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 (http://www.jahia.net/shemas/templates_2_0.xsd). 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 'http://www.jahia.net/jahia/templates', but the target namespace of the schema document is 'http://www.jahia.org/jahia/templates'. Regards, Mesdocs. ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Re: [template_list] Template deployment problem and schema error
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 : > 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.: > > http://www.w3.org/2001/XMLSchema-instance"; > xmlns="http://www.jahia.org/jahia/templates"; > xsi:schemaLocation="http://www.jahia.org/jahia/templates > http://www.jahia.org/shemas/templates_2_0.xsd";> > > > The corresponding JahiaPedia page is already updated but is waiting for > approval to be published. > > > Kind regards > Sergiy > > > > MesDocs ParMail wrote: >> 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 >> (http://www.jahia.net/shemas/templates_2_0.xsd). >> 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 >> 'http://www.jahia.net/jahia/templates', but the target namespace of >> the schema document is 'http://www.jahia.org/jahia/templates'. >> >> >> Regards, >> >> Mesdocs. >> ___ >> template_list mailing list >> template_list@jahia.org >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> > > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Re: [template_list] Template deployment problem and schema error
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.: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://www.jahia.org/jahia/templates"; xsi:schemaLocation="http://www.jahia.org/jahia/templates http://www.jahia.org/shemas/templates_2_0.xsd";> The corresponding JahiaPedia page is already updated but is waiting for approval to be published. Kind regards Sergiy MesDocs ParMail wrote: > 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 > (http://www.jahia.net/shemas/templates_2_0.xsd). > For more information, right click on the message and select "Show Details..." > > templates.xml My_templates/src/main/webapp/WEB-INFline 1 XML Problem > > TargetNamespace.1 : Expecting namespace > 'http://www.jahia.net/jahia/templates', but the target namespace of > the schema document is 'http://www.jahia.org/jahia/templates'. > > > Regards, > > Mesdocs. > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Re: [template_list] Template deployment problem and schema error
Hello Mesdocs, yes, you need to change the reference in templates.xml to http://www.jahia.org as http://www.jahia.net is not available anymore. We will update the archetype since launching the new Jahia websites. Regards, Benjamin On 13.03.2009 11:31, MesDocs ParMail wrote: > 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 > (http://www.jahia.net/shemas/templates_2_0.xsd). > For more information, right click on the message and select "Show Details..." > > templates.xml My_templates/src/main/webapp/WEB-INFline 1 XML Problem > > TargetNamespace.1 : Expecting namespace > 'http://www.jahia.net/jahia/templates', but the target namespace of > the schema document is 'http://www.jahia.org/jahia/templates'. > > > Regards, > > Mesdocs. > ___ > template_list mailing list > template_list@jahia.org > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > > ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
[template_list] Template deployment problem and schema error
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 (http://www.jahia.net/shemas/templates_2_0.xsd). For more information, right click on the message and select "Show Details..." templates.xml My_templates/src/main/webapp/WEB-INFline 1 XML Problem TargetNamespace.1 : Expecting namespace 'http://www.jahia.net/jahia/templates', but the target namespace of the schema document is 'http://www.jahia.org/jahia/templates'. Regards, Mesdocs. ___ template_list mailing list template_list@jahia.org http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list