-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Is there any way/plans to conditionally do tasks depending on > whether javac > did anything or not?
Perhaps we could extend Task to set an exit status property? Probably, this would mean changing public void execute() to public int execute() and changing all the subclasses. Better to get that done now, rather than wait until the number of tasks is too large. Another possibility would be to do this at the Target level. Then a simple if="last.success" or similar is all that would be required to check the return value. I've not looked into the coding required for these changes, but I wouldn't mind giving it a go. ADK -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com> iQA/AwUBOSzv3tDEY7hlrDuMEQLVHQCeIeIfY90yFzHI7Zh8OTUU2VOwEmYAnj0s 2VSuwRKGCK31EJmWauxGsBCn =E0l8 -----END PGP SIGNATURE-----
