Setting Up: Installing and Uninstalling Comet
Comet currently supports JDK 1.4, 5 and 6. To install the CoView JAR file, download the Jar file . A license file is required, and you can get it from here.
Here is part of a build.xml that shows you how to define the license option within the Comet Ant Task. The full build.xml is available here as well.