在hybris中从开发切换到生产

时间:2017-04-25 06:56:07

标签: hybris

我意外地在我的生产机器上的开发环境中安装了Hybris。如何在不更改我所做的配置的情况下切换到生产? < div className = "taskboard" > <table className="table" id={'board_' + this.amount}> <tbody> <tr> <th className="0">Story</th> <th className="1">New</th> <th className="2">To do</th> <th className="3">Pending</th> <th className="4">In progress</th> <th className="5">Internal Review</th> <th className="6">Customer Review</th> <th className="7">Done</th> <th className="8">Reject</th> </tr> {this.tasks.map((task, i) => <tr> // maybe here insert some cells that are common for all task states. like name, date, etc. // then choose which state to put the task into: <td> { task.status === "New" && <Task task={task}/> } </td> <td> { task.status === "Pending" && <Task task={task}/> } </td> // more <td /> </tr> ) } </tbody> </table> < /div>会重置配置吗?

2 个答案:

答案 0 :(得分:1)

ant clean all只会使用您在*.properties文件中提供的配置重建平台。

要切换到制作,我建议您阅读Hybris Wiki的以下文章: https://wiki.hybris.com/display/release5/Setting+Up+a+Production+System

祝你好运

答案 1 :(得分:0)

有一个ant目标来设置生产机器的配置。

ant production

在此处查找更多解释: Hybris Wiki ant production

关于属性的问题,您在哪里进行了更改?在* .properties文件本身?通常,不应覆盖这些更改。这取决于我们谈论的属性。 也许你可以查看蚂蚁目标,看看会有什么变化。

Guillaume并非100%正确。有'buildcallbacks.xml'文件,也可以更改属性设置。你必须弄清楚。