Java 在Hybris中的ant clean all之后,没有生成items.xml中定义的itemtype的相应模型
我在items.xml中定义了一个新的Itemtype,我希望它有一个对应的模型,但在执行ant clean all之后,我看不到生成的模型 下面是定义的itemtypeJava 在Hybris中的ant clean all之后,没有生成items.xml中定义的itemtype的相应模型,java,hybris,Java,Hybris,我在items.xml中定义了一个新的Itemtype,我希望它有一个对应的模型,但在执行ant clean all之后,我看不到生成的模型 下面是定义的itemtype <itemtype code="ABCComponent" autocreate="true" generate="true" extends="SimpleCMSComponent" jaloclass="de.hybris.platform.bobs.jalo.cms.components.A
<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>
这是我的第一个自定义组件
要为零部件显示的标题
可附加到此价值主张组件以供桌面查看的图像。
任何人都可以告诉我,我哪里出错了。为新项目使用自定义包名(jalo类),或者不设置它,系统自动分配包名。尝试(对于需要初始化的项目):
你有什么错误吗?尝试在IDE中刷新平台扩展并检查我没有收到任何异常,构建也正在成功,我也进行了平台刷新。您是否可以检查设置中的“build.development.mode”是否设置为false。您好Vikranth,是的,我发现配置的local.properties中的build.development.mode为false。但是,即使在将其更改为true并执行ant clean all和平台刷新之后,我仍然没有看到模型。我在“问题”选项卡中看到一些缺失的扩展,但是构建正在获得成功。
ant clean all initialize