I'm trying to build the software from the source and run it. The build is successful but I can't run it. I get an exception:

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs\archivistsToolkitLog.xml (The system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:177)
at java.io.FileOutputStream.(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:524)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:408)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.(LogManager.java:113)
at org.apache.log4j.Logger.getLogger(Logger.java:94)
at org.archiviststoolkit.Main.(Main.java:57)

First I created the log file but still fails. I tried to modify the log4j.properties file (both in the sources folder and in build/classes) with no success. I even deleted the property files but the program still tries to append to the same non-existent log file.
I have a working install of Archivist Toolkit on my machine and I guess this can influence the run of my own build but I could not find any config file or registry entry where this path is defined. I can't even debug the program because the error comes from a static initialization before any line of executable code.

Please help to solve this problem.
Thanks in advance,
Peter Varga

I think the problem is that

I think the problem is that your working directory is not setup correctly when you try to run your build.

Your working directory should contain logs, lib, reports, and conf directory found in the working install of the Archivist Toolkit directory. The logs directory can be empty since that log file will automatically be created.