Never had ants bother eggplants but they will farm aphids. Get rid of the aphids and the ants dissappear. Ia m not organic so I hesitate to suggest solutions other than the standard hose them off. Hopefully the organic folks will come in with more suggestions.