Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: ant build error - at test: PatternParserTestCase::testNewWord on unit t: msg#00028

apache.logging.log4cxx.user

Subject: RE: ant build error - at test: PatternParserTestCase::testNewWord on unit test


Thank you very much for your reply, Curt.

So these errors on unit tests are not really the problems and the build
was actually successful?

Michi

-----Original Message-----
From: Curt Arnold [mailto:carnold@xxxxxxxxxx]
Sent: Thursday, September 28, 2006 2:42 PM
To: Log4CXX User
Subject: Re: ant build error - at test:
PatternParserTestCase::testNewWord on unit test


On Sep 28, 2006, at 2:10 PM, Kaneko, Michimaro.* (MKANEKO) wrote:

> I am trying to do build for VC++ 6.0.
>
> I am using ant 1.6.5, jdk 1.5.
>
>
>
> I checked out the svn trunk yesterday and followed the install file.
>
> I have cpptasks.jar and ant-contrib.jar in the CLASSPATH.
>
> I installed GUN patch, GUN sed and added them on the path.
>
>
>
> The build did create .lib and .dll, but on the unit test phase,
>
> I got the following errors:
>
>
>
> run-unittest:
>
> ...
>
>
>
> [exec] 2006-09-28 13:59:38,104 DEBUG
> org.apache.log4j.rolling.SizeBasedRollingTest -Hello--24
>
>
> [exec] .E.E.E.........................................................

> ......log4cxx: Cannot get information about host: unknown.host.local
>
> [exec] ....E.E.E.E.E.E..E.E.E.E.........................
>
>
>
>
>
> [exec] !!!FAILURES!!!
>
> [exec] Test Results:
>
> [exec] Run: 261 Failures: 0 Errors: 15
>
>
>
>
>
> [exec] 1) test: PatternParserTestCase::testNewWord (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 2) test: PatternParserTestCase::testNewWord2 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 3) test: PatternParserTestCase::testBasic1 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 4) test: PatternParserTestCase::testBasic2 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 5) test: PatternParserTestCase::testMultiOption (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 6) test: FileNamePatternTestCase::testFormatInteger4 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 7) test: FileNamePatternTestCase::testFormatInteger5 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 8) test: FileNamePatternTestCase::testFormatInteger6 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 9) test: FileNamePatternTestCase::testFormatInteger7 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 10) test: FileNamePatternTestCase::testFormatInteger8 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 11) test: FileNamePatternTestCase::testFormatInteger9 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 12) test: FileNamePatternTestCase::testFormatInteger11 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 13) test: FileNamePatternTestCase::testFormatDate1 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 14) test: FileNamePatternTestCase::testFormatDate4 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 15) test: FileNamePatternTestCase::testFormatDate5 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
> BUILD FAILED
>
> C:\Projects\logging-log4cxx\build.xml:1133: exec returned: 1
>
>
>
> I appreciate your help and suggestion.
>
> Thank you.
>
>
>
> Michi
>
>

Those errors are known to occur in VC 6, but do not occur in later
versions of VC or any other compiler. If I remember correctly, they
are related to locale handling in VC 6. The message about
"unknown.host.local" is just a diagnostic message and is not related
to the test failures. I guess those tests could be suppressed if the
_MSC_VER_ is the value for vc 6 or earlier.





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation