On 17/02/2014 11:22, Frizz wrote:

            mvn clean package -Dbundles.directory=D:/syncope/bundles
            -Dlog.directory=D:/syncope/log


    Why do I have to specify the bundles.directory at all? Assuming I
    only need, lets say, Active Directory, wouldn't it be enough to
    just run "mvn clean package" ?


    The value is there to let Maven automatically populate the chosen
    directory with configured bundles and to set the value in
    connid.properties accordingly,



OK, understood.

Last question: In which config file do I set the directory for the connid bunndles and the log directory? (e.g. in case I have a running installation and want to change those two settings (I don't want to recompile Syncope in that case)).

bundles.directory and log.directory are Maven properties that are filtered [1] during the build process.

bundles.directory is mainly targeted to connid.properties (e.g. core/WEB-INF/classes/connid.properties in a running container); log.directory is targeted to any logback.xml file (e.g. core/WEB-INF/classes/logback.xml and console/WEB-INF/classes/logback.xml in a running container).

Regards.

[1] http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PPMC
http://people.apache.org/~ilgrosso/

Reply via email to