It said soldiers spotted militants trying to launch rockets at Israel and that a gunbattle followed involving Israeli aircraft .