What do I need to do to get google-apis-mavenized to run on OS X?
When I run "mvn install" in the google-apis-mavenized-read-only/gdata-
mavenized directory I get the error below because Apple decided to put
the tools.jar classes in /System/Library/Frameworks/JavaVM.framework/
Versions/1.5/Classes/classes.jar (see
http://developer.apple.com/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html#//apple_ref/doc/uid/TP40001884-208117).

I tried adding a symbolic link named tools.jar pointing to
classes.jar, but that didn't do the trick.    Next, based on this post
(http://www.mail-archive.com/[email protected]/msg62318.html) I
found all the pom files in my .m2/repository referencing /lib/
tools.jar and changed them /Classes/classes.jar, but I still get the
error. Surely, somebody else has worked out a solution to this issue.

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) sun.jdk:tools:jar:1.5.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=sun.jdk -DartifactId=tools \
          -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com.google.gdata:gdata-client:jar:1-SNAPSHOT
        2) sun.jdk:tools:jar:1.5.0

----------
1 required artifact is missing.

for artifact:
  com.google.gdata:gdata-client:jar:1-SNAPSHOT

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data Protocol" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to