[JAVA-239] make sure src/main/org/bson has no mongodb deps Created: 21/Dec/10  Updated: 17/Mar/11  Resolved: 23/Feb/11

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Antoine Girbal
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Antoine Girbal [ 23/Feb/11 ]

in src/main: StringRangeSet was in mongodb pkg but only used from bson.
Moved it to bson pkg.

in src/test: 2 bson test files used TestCase from mongodb.
Assuming we created our own TestCase to control the db before/after tests.
I switched the bson tests to inherit testng.Assert directly.
Ran "ant test" and made sure these tests get run.

Following return nothing
$ git grep import | grep mongodb | cut -d ":" -f1 | grep bson

Comment by auto [ 23/Feb/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-239: getting late, forgot to remove import lines
https://github.com/mongodb/mongo-java-driver/commit/b1dd893165dbf97d8b146b3fe98bacbf75cc194a

Comment by auto [ 23/Feb/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-239: make sure src/main/org/bson has no mongodb deps
https://github.com/mongodb/mongo-java-driver/commit/a4b72b5f49743296e42ce62e126ab6dca9fb616b

Comment by auto [ 23/Feb/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-239: make sure src/main/org/bson has no mongodb deps
https://github.com/mongodb/mongo-java-driver/commit/d41050612c9285e34badcc4b7551fffd2c89eb06

Comment by Eliot Horowitz (Inactive) [ 21/Dec/10 ]

See some discussion here: https://github.com/mongodb/mongo-java-driver/pull/21

Generated at Thu Feb 08 08:51:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.