^^lol, how far have you gotten in the level.
This is how I did it:
-------------------------------------------------------------
NOTE: BELOW IS A FULL WALKTHROUGH OF THE LEVEL. IF YOU DON'T WANT TO KNOW HOW TO DO IT (OR AT LEAST HOW I DID IT), DO NOT READ FURTHER.
.
.
.
.
.
.
.
.
Start off as a Heavy Trooper. Hang back, take pot shots with your Blaster pistol. Run in, take out the turrets guarding the first CP. Keep running, that's the key. Send a rocket at the feet of the Jedi when they attack you, if you need to do that.
Switch to Clone Trooper, and regenerate/reload (find a droid to heal you). There's no time limit to get to the library (that I know of at least). If worst comes to worst, respawn. Don't run straight to the Library though. Give your troops time to converge there, give you some support. Just keep running. Shoot the Jedi trying to destory the bookcases. Worst case scenario, just concentrate on keeping one of them standing for the two minutes (remember, backpeddaling and shooting is always better than engaging a Jedi in hand to hand).
The next part, I switch to Sniper, and go up the main hallway (note: This was before I actually played in Domination, and realised that there's a back entrance via the upstairs section of the Library. I don't know how going up there will help you or not, since I've never been).
Anyhow, take out the troops with your sniper and then get the holodisk. Don't forget that two (or is it three?) Jedi jump down and try to take you out. Backpedal. They keep blocking your shots at them unless you let them get close enough to start a swing, so let them get close, then when you see them swing, nail them. The good thing about BF2 is that the Sniper's weapon actually is fairly easy to aim in normal combat.....
Take the holodisk and go down via the Library. Go down the side of the main courtyard, NOT down the middle. When the Jedi drop down to stop you, you should be past them, or near enough to as makes no difference. Sprint the rest of the way and (another good thing about the sniper that I've noticed is they're the fastest) get the holodisk back to where you landed.
Now, you have the option of playing as Annakin. Do so, and go up the stairs to your right and into the small courtyard there. Here, the Jedi with the holodisk is running amok. Take no chances. Throw Lightsaber at him and his companion's til he's dead (Alternate Fire). take the holodisk back to the ship.
Now there's just 3 Jedi Master's left. As Annakin, there should be no trouble. Throw LIghtsaber at them until their dead, or take them on one on one. If you get surrounded, block the blaster's and such using block button (I don't know what that is on PC, it's black button with Xbox). If you die, just use the Stormtrooper and unload your clip's at them until they die (edit: Shotgun supposedly works wonders for killing Jedi. Haven't tried it yet myself, go crazy

)
Hope this helps

Regards, PA