The incident took place at an apartment complex on Isthmus Court near Mission Boulevard on April 11 at 8:15 p.m., and Charles Dean Clardy, 54, was arrested by San Diego Police.
Clardy appeared before San Diego Superior Court Judge Laura Halgren and she also scheduled a readiness hearing for June 6.
Clardy has pleaded not guilty to attempted murder, attempted arson, burglary, and assault with a caustic chemical.
Deputy District Attorney Carrie Johnson said both men knew each other and more info will come out in the preliminary hearing. She said Clardy allegedly tried to set something on fire with gasoline which also splashed onto the victim.
Clardy is being held in the central jail without bail.