Re: [Objectbridge-developers] XML used in test.ojb.server, etc
Brought to you by:
thma
From: David F. <dw...@la...> - 2001-01-08 21:01:32
|
At 07:01 PM 1/8/2001 +0100, Thomas Mahler wrote: >Hi David, > >first of all: thanks for your interest in OJB! > >David Forslund wrote: > > > > I downloaded and built the 0.1.41 release without any problems. > > However, when I run the JUnit > > tests it seems to get a number of errors: >[...] > > > > > > Also, I can't seem to get the examples to work according to the > > documentation. > > "example server" returns no class found. > >Mea culpa! >I'm planning to shift all stuff from ojb.examples.* to test.ojb.* for >two reasons: >1. have only library code under ojb.*, no test stuff, no examples >2. To avoid a code doubling between tests and examples I want to rewrite >all examples > as JUnit tests. > >I'm finished with ojb.examples.broker (now contained in TestCase >test.ojb.broker.BrokerExamples) >and with ojb.examples.proxy (now in test.ojb.broker.ProxyExamples) >So "example broker" and "example proxies" will fail (but you get their >replacements executed with "build junit" !) > >for "example server" it slightly different: >ojb.examples.server.* is not rewritten as a JUnit TestCase yet. >But unfortunately I turned off compilation for packages >ojb.examples.server and ojb.server in the build.xml :-( > >But: I corrected this mistake in the attached build.xml. >So just replace your build.xml with this new version, run "build", run >"example server", >lean back and enjoy the wonders of OJB... > >The ojb.server stuff is still work in progress. The server example is >meant to give an impression how programming against an ODMG >implementation will look like. So it's no real loss in not seeing it >running ;-) This got it running, but I'm interested in this example because it is the closest to what we are doing. We have been running with poet and understand the ODMG approach. I really need to have some kind of querying ability with approximate matches with wild-card supported. Thanks, Dave >best regards, > >Thomas David W. Forslund dw...@la... Computer and Computational Sciences http://www.acl.lanl.gov/~dwf Los Alamos National Laboratory Los Alamos, NM 87545 505-665-1907 FAX: 505-665-4939 |