jsr305.jar is in the distribution, in gdata/java/deps. I've never tried to build the gdata jars ... unless you are trying to change something, you don't need to. Just build your own code, and make sure the google data jars your code needs from gdata/java/lib are in the classpath.
You will also need the jars in gdata/java/deps and in gdata/ third_party. This article should be helpful: http://code.google.com/apis/gdata/articles/java_client_lib.html. On Sep 22, 9:41 am, "J.V." <[email protected]> wrote: > I'm in my second day now trying to get the Google Data API's to compile > and very frustrated. > > I still have not found where I can get jsr305.jar. The google group for > this seems to be dead with the > last entry in 2006, I can not subscribe to the list (says it's closed) > and there is no other information on Google. > > The Sun JSR305 seems to be DOA and I've google'd and google'd and can > find nothing anywhere > on recent jsr305 activity nor a jar in sight. > > --- Please help with other compile issues > > Also I'm getting the following compile errors. I'm using Google > Collections google-collect-1.0-rc2.jar > I have servlet.jar, mail.jar and activation.jar configured correctly in > build.properties. > > I imagine many others (everyone) has had the same problems here. Where > do I get jsr305? and why > am I having build failures? > > --- build failures (from ant) > > ant -f build-src.xml > Buildfile: build-src.xml > > dirs: > > build.manifest: > > build.core.base: > [javac] Compiling 399 source files to > c:\downloads\gdata\gdata-src\java\clas > ses\core > [javac] > c:\downloads\gdata\gdata-src\java\src\com\google\gdata\util\common\b > ase\Preconditions.java:25: cannot find symbol > [javac] symbol : class Nullable > [javac] location: package javax.annotation > [javac] import javax.annotation.Nullable; > [javac] ^ > [javac] > c:\downloads\gdata\gdata-src\java\src\com\google\gdata\util\common\x > ml\parsing\SecureJDKXercesDOMFactory.java:21: warning: > com.sun.org.apache.xerces > .internal.jaxp.DocumentBuilderFactoryImpl is Sun proprietary API and may > be remo > ved in a future release > [javac] import > com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactor > yImpl; > [javac] ^ > [javac] > c:\downloads\gdata\gdata-src\java\src\com\google\gdata\util\common\x > ml\parsing\SecureJDKXercesSAXFactory.java:21: warning: > com.sun.org.apache.xerces > .internal.jaxp.SAXParserFactoryImpl is Sun proprietary API and may be > removed in > a future release > [javac] import > com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl; > > [javac] ^ > [javac] > c:\downloads\gdata\gdata-src\java\src\com\google\gdata\util\common\n > et\UriParameterMap.java:78: cannot find symbol > [javac] symbol : constructor > UriParameterMap(com.google.common.collect.Immu > tableMultimap<java.lang.String,java.lang.String>) > [javac] location: class com.google.gdata.util.common.net.UriParameterMap > [javac] EMPTY_MAP = new UriParameterMap( > [javac] ^ > [javac] > c:\downloads\gdata\gdata-src\java\src\com\google\gdata\util\common\x > ml\parsing\SecureJDKXercesDOMFactory.java:35: warning: > com.sun.org.apache.xerces > .internal.jaxp.DocumentBuilderFactoryImpl is Sun proprietary API and may > be remo > ved in a future release > [javac] super(new DocumentBuilderFactoryImpl()); > [javac] ^ > [javac] > c:\downloads\gdata\gdata-src\java\src\com\google\gdata\util\common\x > ml\parsing\SecureJDKXercesSAXFactory.java:38: warning: > com.sun.org.apache.xerces > .internal.jaxp.SAXParserFactoryImpl is Sun proprietary API and may be > removed in > a future release > [javac] super(new SAXParserFactoryImpl()); > [javac] ^ > [javac] Note: > c:\downloads\gdata\gdata-src\java\src\com\google\gdata\util\co > mmon\net\UriEncoder.java uses or overrides a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 2 errors > [javac] 4 warnings > > BUILD FAILED > c:\downloads\gdata\gdata-src\java\build-src\core.xml:257: Compile > failed; see th > e compiler error output for details. > > Total time: 6 seconds --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data 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-base-data-api?hl=en -~----------~----~----~----~------~----~------~--~---
