views:

35

answers:

1

How can I change the path where .SER files are located, in CruiseControl. Now they are stored in CC home dir and there are too many of them (we have 28 projects). Please help

A: 

It doesn't seem to be currently supported. The serializeProject method in Project class doesn't seem to take that possibility into account:

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);
    }
}

where name is the name of the project.

Grzegorz Oledzki
I don't see any problem in filing such a request to CruiseControl team. Will you do that?
Grzegorz Oledzki

related questions