java - 在 Hybris 中 ant clean all 后,未生成 items.xml 中定义的 itemtype 的相应模型
问题描述
我在 items.xml 中定义了一个新的 Itemtype,我期待它有一个相应的模型,但是在执行 ant clean all 之后我没有看到生成的模型
这是定义的项目类型。
<itemtype code="ABCComponent" autocreate="true"
generate="true" extends="SimpleCMSComponent"
jaloclass="de.hybris.platform.bobs.jalo.cms.components.ABCComponent">
<description>Its my first custom component</description>
<attributes>
<attribute type="java.lang.String"
qualifier="valueDescriptionTittle">
<description>Tittle to display for the component</description>
<modifiers read="true" write="true" search="true"
optional="true" />
<persistence type="property"></persistence>
</attribute>
<attribute type="Media"
qualifier="valuePropositionImgDesktop">
<description>The image which can be attached for desktop view to this value proposition component.</description>
<modifiers read="true" write="true" search="true"
optional="true" />
<persistence type="property" />
</attribute>
</attributes>
谁能告诉我,哪里出错了。
解决方案
try (for items you need initialize):
ant clean all initialize
推荐阅读
- windows - Powershell - 在特定时间后关闭 Out-GridView
- html - VBA在IE中单击登录按钮
- python - Numpy 3D 数组乘以 2D 数组
- angularjs - 从 Angular1 迁移到 Angular5(并行运行)
- php - 使用 cURL 和 simple_html_dom 抓取时服务器崩溃
- c# - C# 执行多个命令行时出错
- domain-driven-design - Lagom 或微服务中的异步流程设计
- python - Keras最简单的conv网络没有学到任何东西
- tableau-api - 如何在 Tableau 中完成具有多个事实的星型架构(不丢失记录)
- selenium - Selenium chrome SessionNotCreatedException,选项卡崩溃