Mayor Marion Barry vetoed a D.C. Council bill yesterday that ordered the University of the District of Columbia to vacate its main teacher training building by mid-August and turn it over to the new city-run law school set up to replace the failing Antioch School of Law.

In a message accompanying the veto, Barry delivered a stinging attack on supporters of a city rescue of Antioch.

"I will not permit the council to savage our oldest public training resource," Barry declared, referring to the District's teacher colleges, which date to 1851, "to favor a transplanted {institution} of relatively short duration."

He said the building takeover, which was passed as emergency legislation Tuesday night to help gain American Bar Association approval for the law school, might jeopardize the accreditation of UDC and its education programs.

After the veto message was issued in the late afternoon, council member Hilda H.M. Mason (Statehood-At Large), who proposed the bill, declared there is "no truth to what {the mayor} is saying." She predicted the council would "stand firm and override the veto."

The measure passed 8 to 4, one vote less than the number needed to override if all council members are present and voting. However, H.R. Crawford (D-Ward 7), who missed the vote, supported the measure as a cosponsor.

The bill ordered UDC to vacate the 74-year-old building at 1100 Harvard St. NW, which for many years housed the old Wilson Teachers College. It then became part of D.C. Teachers College, one of the three institutions that merged to form UDC a decade ago.

Besides teacher education programs, the brick building, valued by the city assessor's office at $3.5 million, houses UDC's Institute of Gerontology, which ran training programs for about 1,000 elderly District residents in the last year. Altogether, UDC officials said, the building holds classes for about 2,200 students, including those in the gerontology institute, and offices for 55 faculty members.

UDC trustees urged Barry to veto the bill, saying they have no other place to put the programs. The university is spending $4.4 million for rented space this year.

Mason said there are "plenty of empty buildings under the jurisdiction of the mayor and the school board" that could be used for UDC.

Antioch Law, an innovative 14-year-old school at 2633 16th St. NW, has operated extensive legal clinics for low-income District residents.

The council voted to set up the independent, city-run law school last fall to continue Antioch's programs after private fund-raising efforts failed and the UDC board voted not to acquire it.

Besides Mason, the council members voting for the Wilson building takeover Tuesday were Chairman David A. Clarke (D), John Ray (D-At Large), Frank Smith Jr. (D-Ward 1), John A. Wilson (D-Ward 2), Jim Nathanson (D-Ward 3), Charlene Drew Jarvis (D-Ward 4) and Wilhelmina J. Rolark (D-Ward 8). Voting against it were Carol Schwartz (R-At Large), Betty Ann Kane (D-At Large), Nadine P. Winter (D-Ward 6), and Harry Thomas (D-Ward 5).