留言板

Theme build error

mickael bruna,修改在9 年前。

Theme build error

Junior Member 帖子: 66 加入日期: 13-10-14 最近的帖子
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.
thumbnail
David H Nebinger,修改在9 年前。

RE: Theme build error

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
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?
mickael bruna,修改在9 年前。

RE: Theme build error

Junior Member 帖子: 66 加入日期: 13-10-14 最近的帖子
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.