【问题标题】:is there any way to change the location of .SER files in CruiseControl有什么方法可以更改 CruiseControl 中 .SER 文件的位置
【发布时间】:2010-05-19 03:52:20
【问题描述】:

如何在 CruiseControl 中更改 .SER 文件所在的路径。现在它们存储在 CC 主目录中并且它们太多了(我们有 28 个项目)。请帮忙

【问题讨论】:

  • 我猜你说的是 CruiseControl,因为我没有在我们的 CruiseControl**.NET** 服务器上找到任何 .SER 文件。

标签: cruisecontrol


【解决方案1】:

目前似乎不支持。 Project 类中的 serializeProject 方法似乎没有考虑到这种可能性:

public void serializeProject() {

    try {
        final ObjectOutputStream s = new ObjectOutputStream(new FileOutputStream(name + ".ser"));
        try {
            s.writeObject(this);
            s.flush();
            debug("Serializing project to [" + name + ".ser]");
        } finally {
            s.close();
        }
    } catch (Exception e) {
        LOG.warn("Error serializing project to [" + name + ".ser]: "
                + e.getMessage(), e);
    }
}

其中name 是项目的名称。

【讨论】:

  • 我认为向 CruiseControl 团队提交此类请求没有任何问题。你会这样做吗?
猜你喜欢
  • 1970-01-01
  • 2011-07-24
  • 1970-01-01
  • 2014-10-10
  • 1970-01-01
  • 2019-12-15
  • 1970-01-01
  • 2018-07-29
  • 1970-01-01
相关资源
最近更新 更多