Well, I think the problem is Eclipse only seems to work with APT if your annotation processor class is in an external JAR file instead of a class within the source you are trying to compile... the whole thing is a little fuzzy to me, but yes, there is some extra set up required to work out of the box with Eclipse. However, the Eclipse plugin we released may solve this:
http://code.google.com/p/gdata-java-client-eclipse-plugin/ Cheers, -Jeff On Thu, Sep 4, 2008 at 1:44 AM, Sandor Spruit <[EMAIL PROTECTED]> wrote: > > Jeff Fisher wrote: > > Ah, I know exactly what issue you are talking about. Are you, by chance, > > using Eclipse? > > Of course I am using Eclipse. What else? :) > > > It's because of the Annotation Processor Tool decorators in the code > > that are used to determine the kind of each entry. If I recall > > correctly, you end up having to compile it with ant and then copy the > > META-INF directory out of ./src into your build directory (bin if you're > > using Eclipse, for example.) You could also use the JAR files you > > compiled with ant (inside of ./lib). > > You mean: there's decorators in the source that morph into type checks, > but these are only recognized by Ant? Argh. No wonder I saw this weird > behaviour. > > > Or you can just use the pre-built JAR files and those will work too, as > > you discovered. > > Yup. Works like a charm now. > > Cheers, Sandor > > -- > Information and Computing Sciences, Utrecht University, the Netherlands > Personal coordinates: http://www.cs.uu.nl/staff/sandor.html > "It's a beautiful day, don't let it get away!", (U2, Beautiful day) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---
