ant lifecycle