Hi, Has anyone managed to successfully build and run through the tests with MSVC 2008 ? I did try this with yesterday's svn head. The static libraries build just fine (did not try dynamic). However, the testing fails.
Regards, Arnstein thinktwice wrote: > [exec] 2007-12-29 17:48:04,599 DEBUG > org.apache.log4j.rolling.SizeBasedRoll > ingTest -Hello--10 > [exec] > E................................................................... > .......................... > [exec] > [exec] > [exec] !!!FAILURES!!! > [exec] Test Results: > [exec] Run: 277 Failures: 0 Errors: 1 > [exec] > [exec] > [exec] 1) test: SizeBasedRollingTest::test6 (E) > [exec] uncaught exception of unknown type > [exec] > [exec] > [exec] log4cxx: Threshold ="".log4cxx: Retreiving an instance of > Logger.log > 4cxx: Setting [org.apache.log4j.rolling.FilterBasedRollingTest] additivity > to [f > alse].log4cxx: Class name: > [org.apache.log4j.rolling.RollingFileAppender]log4cxx > : Parsing rolling policy of class: > "org.apache.log4j.rolling.FixedWindowRollingP > olicy"log4cxx: Setting option name=[fileNamePattern], > value=[output/filterBased- > test1.%i]log4cxx: Setting option name=[minIndex], value=[0]log4cxx: Parsing > trig > gering policy of class: > "org.apache.log4j.rolling.FilterBasedTriggeringPolicy"lo > g4cxx: Setting option name=[levelMin], value=[info]log4cxx: > OptionConverter::toL > evel: no class name specified, level=[info]log4cxx: Parsing layout of class: > "or > g.apache.log4j.PatternLayout"log4cxx: Setting option > name=[ConversionPattern], v > alue=[%m%n]log4cxx: Setting option name=[file], > value=[output/filterBased-test1. > log]log4cxx: Setting option name=[append], value=[false]log4cxx: Adding > appender > named [ROLLING] to logger > [org.apache.log4j.rolling.FilterBasedRollingTest].log > 4cxx: Level value for org.apache.log4j.rolling.FilterBasedRollingTest is > [debug] > .log4cxx: OptionConverter::toLevel: no class name specified, > level=[debug]log4cx > x: org.apache.log4j.rolling.FilterBasedRollingTest level set to > DEBUGlog4cxx: Le > vel value for root is [info].log4cxx: OptionConverter::toLevel: no class > name sp > ecified, level=[info]log4cxx: root level set to INFOlog4cxx: Class name: > [org.ap > ache.log4j.ConsoleAppender]log4cxx: Parsing layout of class: > "org.apache.log4j.P > atternLayout"log4cxx: Setting option name=[ConversionPattern], > value=[%m%n]log4c > xx: Adding appender named [CONSOLE] to logger [root].log4cxx: Cannot get > informa > tion about host: unknown.invalidlog4cxx: Could not find unknown.invalid. All > log > ging will FAIL.log4cxx: Cannot get information about host: > unknown.invalidlog4cx > x: No appender could be found for logger (x).log4cxx: Please initialize the > log4 > cxx system properly.log4cxx: OptionConverter::toLevel: no class name > specified, > level=[OFF]log4cxx: Hierarchy threshold set to [OFF].log4cxx: Parsing for > [root] > with value=[,A].log4cxx: Parsing appender named A".log4cxx: Parsing layout > opti > ons for "A".log4cxx: Setting option name=[ConversionPattern], value=[%p %c = > %m% > n]log4cxx: End of parsing for "A".log4cxx: Setting option name=[Append], > value=[ > false]log4cxx: Setting option name=[File], value=[output/temp]log4cxx: > Parsed "A > " options.log4cxx: Finished configuring.log4cxx: OptionConverter::toLevel: > no cl > ass name specified, level=[FATAL]log4cxx: Hierarchy threshold set to > [FATAL].log > 4cxx: Parsing for [root] with value=[,A].log4cxx: Parsing appender named > A".log4 > cxx: Parsing layout options for "A".log4cxx: Setting option > name=[ConversionPatt > ern], value=[%p %c = %m%n]log4cxx: End of parsing for "A".log4cxx: Setting > optio > n name=[Append], value=[false]log4cxx: Setting option name=[File], > value=[output > /temp]log4cxx: Parsed "A" options.log4cxx: Finished configuring.log4cxx: > OptionC > onverter::toLevel: no class name specified, level=[ERROR]log4cxx: Hierarchy > thre > shold set to [ERROR].log4cxx: Parsing for [root] with value=[,A].log4cxx: > Parsin > g appender named A".log4cxx: Parsing layout options for "A".log4cxx: Setting > opt > ion name=[ConversionPattern], value=[%p %c = %m%n]log4cxx: End of parsing > for "A > ".log4cxx: Setting option name=[Append], value=[false]log4cxx: Setting > option na > me=[File], value=[output/temp]log4cxx: Parsed "A" options.log4cxx: Finished > conf > iguring.log4cxx: OptionConverter::toLevel: no class name specified, > level=[WARN] > log4cxx: Hierarchy threshold set to [WARN].log4cxx: Parsing for [root] with > valu > e=[,A].log4cxx: Parsing appender named A".log4cxx: Parsing layout options > for "A > ".log4cxx: Setting option name=[ConversionPattern], value=[%p %c = > %m%n]log4cxx: > End of parsing for "A".log4cxx: Setting option name=[Append], > value=[false]log4 > cxx: Setting option name=[File], value=[output/temp]log4cxx: Parsed "A" > options. > log4cxx: Finished configuring.log4cxx: OptionConverter::toLevel: no class > name s > pecified, level=[INFO]log4cxx: Hierarchy threshold set to [INFO].log4cxx: > Parsin > g for [root] with value=[,A].log4cxx: Parsing appender named A".log4cxx: > Parsing > layout options for "A".log4cxx: Setting option name=[ConversionPattern], > value= > [%p %c = %m%n]log4cxx: End of parsing for "A".log4cxx: Setting option > name=[Appe > nd], value=[false]log4cxx: Setting option name=[File], > value=[output/temp]log4cx > x: Parsed "A" options.log4cxx: Finished configuring.log4cxx: > OptionConverter::to > Level: no class name specified, level=[DEBUG]log4cxx: Hierarchy threshold > set to > [DEBUG].log4cxx: Parsing for [root] with value=[,A].log4cxx: Parsing > appender n > amed A".log4cxx: Parsing layout options for "A".log4cxx: Setting option > name=[Co > nversionPattern], value=[%p %c = %m%n]log4cxx: End of parsing for > "A".log4cxx: S > etting option name=[Append], value=[false]log4cxx: Setting option > name=[File], v > alue=[output/temp]log4cxx: Parsed "A" options.log4cxx: Finished > configuring.log4 > cxx: OptionConverter::toLevel: class=[org.apache.log4j.xml.XLevel], > level=[TRACE > ]log4cxx: Hierarchy threshold set to [TRACE].log4cxx: Parsing for [root] > with va > lue=[ALL,A].log4cxx: Level token is [ALL].log4cxx: OptionConverter::toLevel: > no > class name specified, level=[ALL]log4cxx: Logger root set to ALLlog4cxx: > Parsing > appender named A".log4cxx: Parsing layout options for "A".log4cxx: Setting > opti > on name=[ConversionPattern], value=[%p %c = %m%n]log4cxx: End of parsing for > "A" > .log4cxx: Setting option name=[Append], value=[false]log4cxx: Setting option > nam > e=[File], value=[output/temp]log4cxx: Parsed "A" options.log4cxx: Finished > confi > guring.log4cxx: OptionConverter::toLevel: no class name specified, > level=[ALL]lo > g4cxx: Hierarchy threshold set to [ALL].log4cxx: Parsing for [root] with > value=[ > ALL,A].log4cxx: Level token is [ALL].log4cxx: OptionConverter::toLevel: no > class > name specified, level=[ALL]log4cxx: Logger root set to ALLlog4cxx: Parsing > appe > nder named A".log4cxx: Parsing layout options for "A".log4cxx: Setting > option na > me=[ConversionPattern], value=[%p %c = %m%n]log4cxx: End of parsing for > "A".log4 > cxx: Setting option name=[Append], value=[false]log4cxx: Setting option > name=[Fi > le], value=[output/temp]log4cxx: Parsed "A" options.log4cxx: Finished > configurin > g.log4cxx: DOMConfigurator configuring file > input/xml/customLogger1.xml...log4cx > x: debug attribute= "false".log4cxx: Exception during rolloverlog4cxx: > Cannot ge > t information about host: unknown.invalid > > BUILD FAILED > E:\TOOL\Develop\OpenSource\logC++\trunk\build.xml:1016: exec returned: 1 > > > here is the error message when running cppunit testcase.
