Re: [log4cxx] Jenkinsfile and tests

2020-02-19 Thread Robert Middleton
I looked into using Docker, but I haven't used it enough to know how to actually get it to work correctly for that purpose. All of my personal projects get built as Debian packages, which accomplishes the same thing(with a clean filesystem for each build), but that doesn't work on Windows. If any

Re: RollingAppenderOnStartupTest

2020-02-19 Thread Ralph Goers
OK. I found the problem. It was indeed a problem with the test. Java doesn’t close Streams automatically. Ralph > On Feb 19, 2020, at 5:19 PM, Ralph Goers wrote: > > OK. This is even crazier. I commented out all the calls to Log4j in the code. > So all the test does is create a directory, cop

Re: RollingAppenderOnStartupTest

2020-02-19 Thread Ralph Goers
OK. This is even crazier. I commented out all the calls to Log4j in the code. So all the test does is create a directory, copy a file into the directory, read the file, and then delete the file. That has the same behavior. The delete says it worked but the file is still in the directory when I l

Re: RollingAppenderOnStartupTest

2020-02-19 Thread Ralph Goers
I have modified this test so that it now does something reasonable, and yet it still fails trying to delete the directory the logs are written to after the test has completed. I do not understand why. I have verified that Files.delete and Files.exist both say the files have been deleted yet when

Re: [log4cxx] Jenkinsfile and tests

2020-02-19 Thread Matt Sicker
Some of the Jenkins nodes have Docker available which makes building simpler here. On Wed, Feb 19, 2020 at 17:49 Robert Middleton wrote: > I've created a Jenkinsfile for use with log4cxx that can be seen here: > > https://github.com/rm5248/logging-log4cxx/blob/f39b1737541ed31b8e56a8f6f550c0797a4

[log4cxx] Jenkinsfile and tests

2020-02-19 Thread Robert Middleton
I've created a Jenkinsfile for use with log4cxx that can be seen here: https://github.com/rm5248/logging-log4cxx/blob/f39b1737541ed31b8e56a8f6f550c0797a47bca5/Jenkinsfile It's fairly complicated, but it does attempt to build log4cxx on both Windows and Linux(see the latest build here: https://jenk

Re: Help with test-jar in json-template-layout branch

2020-02-19 Thread Ralph Goers
Not yet. I have been trying to resolve a build error we are getting on Windows when I am not working on my $day job. Ralph > On Feb 19, 2020, at 8:06 AM, Volkan Yazıcı wrote: > > Hey Ralph! Did you have any time to take a look at the issue? > > On Fri, Feb 14, 2020 at 3:59 PM Ralph Goers >

Re: Help with test-jar in json-template-layout branch

2020-02-19 Thread Volkan Yazıcı
Hey Ralph! Did you have any time to take a look at the issue? On Fri, Feb 14, 2020 at 3:59 PM Ralph Goers wrote: > > I should be able to look at it tonight or over the weekend. I need to review > the contribution anyway. > > Ralph > > > On Feb 14, 2020, at 6:21 AM, Volkan Yazıcı wrote: > > > >