> Hi,
> I am new to this forum and also just started
> working on apt can u plz tell me where do i get
> com.sun.mirror package and its sub-packages
> hanks
If you can use JDK 6, I strongly recommend using the standardized annotation processioning in javac and the packages javax.annotation.processing and javax.lang.model..* instead of apt and its com.sun.mirror.* API.To get started, take a look at
sample/javac/processing/src/CheckNameProcessor.java
under the JDK 6 install directory.
If you just need to compile against the apt API, it is found in the tools.jar file in Sun's JDK; see http://java.sun.com/j2se/1.5.0/docs/guide/apt/GettingStarted.html
You can find a jar file with just the API definition from https://aptmirrorapi.dev.java.net/.