Discussion:
Template deployment problem and schema error
MesDocs ParMail
2009-03-13 10:31:49 UTC
Permalink
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.
Jahia papez
2009-03-13 10:38:16 UTC
Permalink
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
Post by MesDocs ParMail
Hi,
I have tried to deploy my templates via the maven deploy action
(described in jahiapedia), but it does not work anymore.
[WARNING] Attempting to build MavenProject instance for Artifact
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.
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Sergiy Shyrkov
2009-03-13 10:39:30 UTC
Permalink
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="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
Post by MesDocs ParMail
Hi,
I have tried to deploy my templates via the maven deploy action
(described in jahiapedia), but it does not work anymore.
[WARNING] Attempting to build MavenProject instance for Artifact
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.
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
MesDocs ParMail
2009-03-13 11:40:45 UTC
Permalink
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.
Post by Sergiy Shyrkov
Hello,
due to our domain server reorganization, please, update the header of
you templates deployment descriptor (templates.xml) to reference schema
<template-set xmlns:xsi="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
Post by MesDocs ParMail
Hi,
I have tried to deploy my templates via the maven deploy action
(described in jahiapedia), but it does not work anymore.
[WARNING] Attempting to build MavenProject instance for Artifact
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.
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Jahia papez
2009-03-13 13:42:48 UTC
Permalink
_______________________________________________
template_list mailing list
***@jahia.org
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
MesDocs ParMail
2009-03-13 14:10:25 UTC
Permalink
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
Post by 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
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.
Hello,
due to our domain server reorganization, please, update the header of
you templates deployment descriptor (templates.xml) to reference schema
<template-set xmlns:xsi="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
Hi,
I have tried to deploy my templates via the maven deploy action
(described in jahiapedia), but it does not work anymore.
[WARNING] Attempting to build MavenProject instance for Artifact
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.
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
MesDocs ParMail
2009-03-16 15:04:52 UTC
Permalink
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.
Post by 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
Post by 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
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.
Hello,
due to our domain server reorganization, please, update the header of
you templates deployment descriptor (templates.xml) to reference schema
<template-set xmlns:xsi="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
Hi,
I have tried to deploy my templates via the maven deploy action
(described in jahiapedia), but it does not work anymore.
[WARNING] Attempting to build MavenProject instance for Artifact
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.
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Sergiy Shyrkov
2009-03-16 15:09:42 UTC
Permalink
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
Post by MesDocs ParMail
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.
Post by 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
Post by 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
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.
Hello,
due to our domain server reorganization, please, update the header of
you templates deployment descriptor (templates.xml) to reference schema
<template-set xmlns:xsi="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
Hi,
I have tried to deploy my templates via the maven deploy action
(described in jahiapedia), but it does not work anymore.
[WARNING] Attempting to build MavenProject instance for Artifact
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.
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Loading...