留言板
Theme build error
Hello,
I have a problem when I build my theme for liferay 6.1.
This theme exists since a long time and I don't have any problem but now, it doesn't build.
When I run build process, I have this error :
com.liferay.portal.kernel.xml.DocumentException: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable) Nested exception: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable)
[java] at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:359)
[java] at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:339)
[java] at com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:125)
[java] at com.liferay.portal.tools.PortalClientBuilder.<init>(PortalClientBuilder.java:54)
[java] at com.liferay.portal.tools.PortalClientBuilder.main(PortalClientBuilder.java:43)
[java] Caused by: org.dom4j.DocumentException: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable) Nested exception: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:266)
[java] at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:356)
[java] ... 4 more
and this :
C:\ProjectName\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:205: The following error occurred while executing this line:
C:\ProjectName\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:229: Warning: Could not find file C:\ProjectName\workspace\ProjectName-theme\docroot\WEB-INF\src\content\Language.properties to copy.
Thanks for your answers.
I have a problem when I build my theme for liferay 6.1.
This theme exists since a long time and I don't have any problem but now, it doesn't build.
When I run build process, I have this error :
com.liferay.portal.kernel.xml.DocumentException: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable) Nested exception: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable)
[java] at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:359)
[java] at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:339)
[java] at com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:125)
[java] at com.liferay.portal.tools.PortalClientBuilder.<init>(PortalClientBuilder.java:54)
[java] at com.liferay.portal.tools.PortalClientBuilder.main(PortalClientBuilder.java:43)
[java] Caused by: org.dom4j.DocumentException: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable) Nested exception: docroot\WEB-INF\server-config.wsdd (Le fichier spécifié est introuvable)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:266)
[java] at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:356)
[java] ... 4 more
and this :
C:\ProjectName\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:205: The following error occurred while executing this line:
C:\ProjectName\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:229: Warning: Could not find file C:\ProjectName\workspace\ProjectName-theme\docroot\WEB-INF\src\content\Language.properties to copy.
Thanks for your answers.
mickael bruna:
C:\ProjectName\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:229: Warning: Could not find file C:\ProjectName\workspace\ProjectName-theme\docroot\WEB-INF\src\content\Language.properties to copy.
May sound kind of callous, but did you try creating a content\Language.properties file?
I never have a language file. But before, I never had this problem.
I see an other problem : when I run build process, before it finish, liferay try to deploy theme but the build is not finish.
According to me, the build create the war after the end of build and the liferay start to use this war while the build, so there is a problem for the following the build.
I see an other problem : when I run build process, before it finish, liferay try to deploy theme but the build is not finish.
According to me, the build create the war after the end of build and the liferay start to use this war while the build, so there is a problem for the following the build.