appengine-sdk 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. data/COPYING +97 -0
  2. data/appengine-java-sdk-1.2.2/ABOUT +24 -0
  3. data/appengine-java-sdk-1.2.2/COPYING +97 -0
  4. data/appengine-java-sdk-1.2.2/README +98 -0
  5. data/appengine-java-sdk-1.2.2/config/sdk/logging.properties +24 -0
  6. data/appengine-java-sdk-1.2.2/config/user/ant-macros.xml +106 -0
  7. data/appengine-java-sdk-1.2.2/config/user/log4j.properties +24 -0
  8. data/appengine-java-sdk-1.2.2/config/user/logging.properties +28 -0
  9. data/appengine-java-sdk-1.2.2/docs/appengine-web.dtd +34 -0
  10. data/appengine-java-sdk-1.2.2/docs/appengine-web.xsd +85 -0
  11. data/appengine-java-sdk-1.2.2/docs/cron.dtd +7 -0
  12. data/appengine-java-sdk-1.2.2/docs/cron.xsd +20 -0
  13. data/appengine-java-sdk-1.2.2/docs/datastore-indexes.dtd +11 -0
  14. data/appengine-java-sdk-1.2.2/docs/datastore-indexes.xsd +40 -0
  15. data/appengine-java-sdk-1.2.2/docs/javadoc/allclasses-frame.html +163 -0
  16. data/appengine-java-sdk-1.2.2/docs/javadoc/allclasses-noframe.html +163 -0
  17. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Blob.html +341 -0
  18. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DataTypeTranslator.ComparableByteArray.html +308 -0
  19. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DataTypeTranslator.html +419 -0
  20. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DataTypeUtils.html +411 -0
  21. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DatastoreConfig.html +248 -0
  22. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DatastoreFailureException.html +262 -0
  23. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DatastoreNeedIndexException.html +245 -0
  24. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DatastoreService.html +787 -0
  25. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DatastoreServiceFactory.html +298 -0
  26. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/DatastoreTimeoutException.html +246 -0
  27. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Entity.html +805 -0
  28. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/EntityNotFoundException.html +271 -0
  29. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/EntityTranslator.html +241 -0
  30. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/FetchOptions.Builder.html +305 -0
  31. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/FetchOptions.html +382 -0
  32. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/ImplicitTransactionManagementPolicy.html +351 -0
  33. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Key.html +524 -0
  34. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/KeyFactory.Builder.html +410 -0
  35. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/KeyFactory.html +505 -0
  36. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Link.html +364 -0
  37. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/PreparedQuery.TooManyResultsException.html +247 -0
  38. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/PreparedQuery.html +410 -0
  39. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Query.FilterOperator.html +376 -0
  40. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Query.FilterPredicate.html +373 -0
  41. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Query.SortDirection.html +327 -0
  42. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Query.SortPredicate.html +338 -0
  43. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Query.html +702 -0
  44. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/ShortBlob.html +365 -0
  45. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Text.html +344 -0
  46. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/Transaction.html +287 -0
  47. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/package-frame.html +117 -0
  48. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/package-summary.html +405 -0
  49. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/datastore/package-tree.html +183 -0
  50. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/Composite.Anchor.html +441 -0
  51. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/Composite.html +243 -0
  52. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/CompositeTransform.html +252 -0
  53. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/Image.Format.html +391 -0
  54. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/Image.html +345 -0
  55. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/ImagesService.OutputEncoding.html +327 -0
  56. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/ImagesService.html +452 -0
  57. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/ImagesServiceFactory.html +534 -0
  58. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/ImagesServiceFailureException.html +248 -0
  59. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/Transform.html +234 -0
  60. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/package-frame.html +77 -0
  61. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/package-summary.html +257 -0
  62. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/images/package-tree.html +178 -0
  63. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/mail/MailService.Attachment.html +291 -0
  64. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/mail/MailService.Message.html +763 -0
  65. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/mail/MailService.html +280 -0
  66. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/mail/MailServiceFactory.html +257 -0
  67. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/mail/package-frame.html +47 -0
  68. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/mail/package-summary.html +224 -0
  69. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/mail/package-tree.html +156 -0
  70. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/ErrorHandler.html +251 -0
  71. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/Expiration.html +347 -0
  72. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/InvalidValueException.html +264 -0
  73. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/LogAndContinueErrorHandler.html +297 -0
  74. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/MemcacheService.SetPolicy.html +351 -0
  75. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/MemcacheService.html +808 -0
  76. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/MemcacheServiceException.html +262 -0
  77. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/MemcacheServiceFactory.html +231 -0
  78. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/Stats.html +319 -0
  79. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/StrictErrorHandler.html +291 -0
  80. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/package-frame.html +77 -0
  81. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/package-summary.html +271 -0
  82. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/memcache/package-tree.html +175 -0
  83. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/FetchOptions.Builder.html +305 -0
  84. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/FetchOptions.html +414 -0
  85. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/HTTPHeader.html +292 -0
  86. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/HTTPMethod.html +373 -0
  87. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/HTTPRequest.html +490 -0
  88. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/HTTPResponse.html +286 -0
  89. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/ResponseTooLargeException.html +244 -0
  90. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/URLFetchService.html +260 -0
  91. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/URLFetchServiceFactory.html +250 -0
  92. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/package-frame.html +75 -0
  93. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/package-summary.html +251 -0
  94. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/urlfetch/package-tree.html +177 -0
  95. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/users/User.html +411 -0
  96. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/users/UserService.html +318 -0
  97. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/users/UserServiceFactory.html +223 -0
  98. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/users/UserServiceFailureException.html +244 -0
  99. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/users/package-frame.html +56 -0
  100. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/users/package-summary.html +239 -0
  101. data/appengine-java-sdk-1.2.2/docs/javadoc/com/google/appengine/api/users/package-tree.html +164 -0
  102. data/appengine-java-sdk-1.2.2/docs/javadoc/constant-values.html +274 -0
  103. data/appengine-java-sdk-1.2.2/docs/javadoc/deprecated-list.html +159 -0
  104. data/appengine-java-sdk-1.2.2/docs/javadoc/dev_javadoc.css +109 -0
  105. data/appengine-java-sdk-1.2.2/docs/javadoc/help-doc.html +217 -0
  106. data/appengine-java-sdk-1.2.2/docs/javadoc/index-all.html +1413 -0
  107. data/appengine-java-sdk-1.2.2/docs/javadoc/index.html +39 -0
  108. data/appengine-java-sdk-1.2.2/docs/javadoc/overview-frame.html +52 -0
  109. data/appengine-java-sdk-1.2.2/docs/javadoc/overview-summary.html +179 -0
  110. data/appengine-java-sdk-1.2.2/docs/javadoc/overview-tree.html +194 -0
  111. data/appengine-java-sdk-1.2.2/docs/javadoc/package-list +6 -0
  112. data/appengine-java-sdk-1.2.2/docs/javadoc/resources/inherit.gif +0 -0
  113. data/appengine-java-sdk-1.2.2/docs/javadoc/serialized-form.html +958 -0
  114. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/allclasses-frame.html +97 -0
  115. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/allclasses-noframe.html +97 -0
  116. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/KickStart.html +258 -0
  117. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/AdminException.html +263 -0
  118. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/AppAdmin.LogSeverity.html +375 -0
  119. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/AppAdmin.html +380 -0
  120. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/AppAdminFactory.ConnectOptions.html +627 -0
  121. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/AppAdminFactory.PasswordPrompt.html +211 -0
  122. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/AppAdminFactory.html +434 -0
  123. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/Application.html +493 -0
  124. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/UpdateFailureEvent.html +269 -0
  125. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/UpdateListener.html +254 -0
  126. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/UpdateProgressEvent.html +272 -0
  127. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/UpdateSuccessEvent.html +226 -0
  128. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/package-frame.html +79 -0
  129. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/package-summary.html +227 -0
  130. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/admin/package-tree.html +173 -0
  131. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/AbstractContainerService.html +497 -0
  132. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/ApiProxyLocal.html +285 -0
  133. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/ApiProxyLocalFactory.html +307 -0
  134. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/ApiProxyLocalImpl.html +370 -0
  135. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/ContainerService.EnvironmentVariableMismatchSeverity.html +327 -0
  136. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/ContainerService.html +437 -0
  137. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/DevAppServer.html +459 -0
  138. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/DevAppServerFactory.html +262 -0
  139. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/DevAppServerMain.html +300 -0
  140. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/gwt/AppEngineLauncher.html +262 -0
  141. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/gwt/package-frame.html +32 -0
  142. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/gwt/package-summary.html +155 -0
  143. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/gwt/package-tree.html +153 -0
  144. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/package-frame.html +66 -0
  145. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/package-summary.html +214 -0
  146. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/development/package-tree.html +168 -0
  147. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/enhancer/Enhance.html +268 -0
  148. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/enhancer/Enhancer.html +298 -0
  149. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/enhancer/EnhancerTask.html +505 -0
  150. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/enhancer/package-frame.html +36 -0
  151. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/enhancer/package-summary.html +163 -0
  152. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/enhancer/package-tree.html +153 -0
  153. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/LocalVersionFactory.html +256 -0
  154. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/RemoteVersionFactory.html +266 -0
  155. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/SdkInfo.html +419 -0
  156. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/SupportInfo.html +225 -0
  157. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/UpdateCheck.html +349 -0
  158. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/UpdateCheckResults.VersionComparator.html +281 -0
  159. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/UpdateCheckResults.html +374 -0
  160. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/Version.html +329 -0
  161. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/package-frame.html +46 -0
  162. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/package-summary.html +195 -0
  163. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/info/package-tree.html +152 -0
  164. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/package-frame.html +32 -0
  165. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/package-summary.html +155 -0
  166. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/package-tree.html +151 -0
  167. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/util/ApiVersionFinder.html +302 -0
  168. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/util/package-frame.html +32 -0
  169. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/util/package-summary.html +156 -0
  170. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/com/google/appengine/tools/util/package-tree.html +151 -0
  171. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/constant-values.html +196 -0
  172. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/deprecated-list.html +144 -0
  173. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/dev_javadoc.css +109 -0
  174. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/help-doc.html +217 -0
  175. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/index-all.html +784 -0
  176. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/index.html +39 -0
  177. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/overview-frame.html +54 -0
  178. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/overview-summary.html +173 -0
  179. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/overview-tree.html +179 -0
  180. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/package-list +7 -0
  181. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/resources/inherit.gif +0 -0
  182. data/appengine-java-sdk-1.2.2/docs/tools/javadoc/serialized-form.html +461 -0
  183. data/appengine-java-sdk-1.2.2/lib/appengine-tools-api.jar +0 -0
  184. data/appengine-java-sdk-1.2.2/lib/impl/appengine-api-stubs.jar +0 -0
  185. data/appengine-java-sdk-1.2.2/lib/impl/appengine-api.jar +0 -0
  186. data/appengine-java-sdk-1.2.2/lib/impl/appengine-local-runtime.jar +0 -0
  187. data/appengine-java-sdk-1.2.2/lib/shared/appengine-local-runtime-shared.jar +0 -0
  188. data/appengine-java-sdk-1.2.2/lib/shared/geronimo-el_1.0_spec-1.0.1.jar +0 -0
  189. data/appengine-java-sdk-1.2.2/lib/shared/geronimo-jsp_2.1_spec-1.0.1.jar +0 -0
  190. data/appengine-java-sdk-1.2.2/lib/shared/geronimo-servlet_2.5_spec-1.2.jar +0 -0
  191. data/appengine-java-sdk-1.2.2/lib/shared/jsp/LICENSE +203 -0
  192. data/appengine-java-sdk-1.2.2/lib/shared/jsp/repackaged-appengine-ant-1.6.5.jar +0 -0
  193. data/appengine-java-sdk-1.2.2/lib/shared/jsp/repackaged-appengine-ant-launcher-1.6.5.jar +0 -0
  194. data/appengine-java-sdk-1.2.2/lib/shared/jsp/repackaged-appengine-commons-el-1.0.jar +0 -0
  195. data/appengine-java-sdk-1.2.2/lib/shared/jsp/repackaged-appengine-commons-logging-1.1.1.jar +0 -0
  196. data/appengine-java-sdk-1.2.2/lib/shared/jsp/repackaged-appengine-jasper-compiler-5.0.28.jar +0 -0
  197. data/appengine-java-sdk-1.2.2/lib/shared/jsp/repackaged-appengine-jasper-runtime-5.0.28.jar +0 -0
  198. data/appengine-java-sdk-1.2.2/lib/tools/jsp/LICENSE +203 -0
  199. data/appengine-java-sdk-1.2.2/lib/tools/jsp/repackaged-appengine-jakarta-jstl-1.1.2.jar +0 -0
  200. data/appengine-java-sdk-1.2.2/lib/tools/jsp/repackaged-appengine-jakarta-standard-1.1.2.jar +0 -0
  201. data/appengine-java-sdk-1.2.2/lib/user/appengine-api-1.0-sdk-1.2.2.jar +0 -0
  202. data/lib/appengine-sdk.rb +96 -0
  203. metadata +256 -0
@@ -0,0 +1,203 @@
1
+ /*
2
+ * Apache License
3
+ * Version 2.0, January 2004
4
+ * http://www.apache.org/licenses/
5
+ *
6
+ * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+ *
8
+ * 1. Definitions.
9
+ *
10
+ * "License" shall mean the terms and conditions for use, reproduction,
11
+ * and distribution as defined by Sections 1 through 9 of this document.
12
+ *
13
+ * "Licensor" shall mean the copyright owner or entity authorized by
14
+ * the copyright owner that is granting the License.
15
+ *
16
+ * "Legal Entity" shall mean the union of the acting entity and all
17
+ * other entities that control, are controlled by, or are under common
18
+ * control with that entity. For the purposes of this definition,
19
+ * "control" means (i) the power, direct or indirect, to cause the
20
+ * direction or management of such entity, whether by contract or
21
+ * otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ * outstanding shares, or (iii) beneficial ownership of such entity.
23
+ *
24
+ * "You" (or "Your") shall mean an individual or Legal Entity
25
+ * exercising permissions granted by this License.
26
+ *
27
+ * "Source" form shall mean the preferred form for making modifications,
28
+ * including but not limited to software source code, documentation
29
+ * source, and configuration files.
30
+ *
31
+ * "Object" form shall mean any form resulting from mechanical
32
+ * transformation or translation of a Source form, including but
33
+ * not limited to compiled object code, generated documentation,
34
+ * and conversions to other media types.
35
+ *
36
+ * "Work" shall mean the work of authorship, whether in Source or
37
+ * Object form, made available under the License, as indicated by a
38
+ * copyright notice that is included in or attached to the work
39
+ * (an example is provided in the Appendix below).
40
+ *
41
+ * "Derivative Works" shall mean any work, whether in Source or Object
42
+ * form, that is based on (or derived from) the Work and for which the
43
+ * editorial revisions, annotations, elaborations, or other modifications
44
+ * represent, as a whole, an original work of authorship. For the purposes
45
+ * of this License, Derivative Works shall not include works that remain
46
+ * separable from, or merely link (or bind by name) to the interfaces of,
47
+ * the Work and Derivative Works thereof.
48
+ *
49
+ * "Contribution" shall mean any work of authorship, including
50
+ * the original version of the Work and any modifications or additions
51
+ * to that Work or Derivative Works thereof, that is intentionally
52
+ * submitted to Licensor for inclusion in the Work by the copyright owner
53
+ * or by an individual or Legal Entity authorized to submit on behalf of
54
+ * the copyright owner. For the purposes of this definition, "submitted"
55
+ * means any form of electronic, verbal, or written communication sent
56
+ * to the Licensor or its representatives, including but not limited to
57
+ * communication on electronic mailing lists, source code control systems,
58
+ * and issue tracking systems that are managed by, or on behalf of, the
59
+ * Licensor for the purpose of discussing and improving the Work, but
60
+ * excluding communication that is conspicuously marked or otherwise
61
+ * designated in writing by the copyright owner as "Not a Contribution."
62
+ *
63
+ * "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ * on behalf of whom a Contribution has been received by Licensor and
65
+ * subsequently incorporated within the Work.
66
+ *
67
+ * 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ * this License, each Contributor hereby grants to You a perpetual,
69
+ * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ * copyright license to reproduce, prepare Derivative Works of,
71
+ * publicly display, publicly perform, sublicense, and distribute the
72
+ * Work and such Derivative Works in Source or Object form.
73
+ *
74
+ * 3. Grant of Patent License. Subject to the terms and conditions of
75
+ * this License, each Contributor hereby grants to You a perpetual,
76
+ * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ * (except as stated in this section) patent license to make, have made,
78
+ * use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ * where such license applies only to those patent claims licensable
80
+ * by such Contributor that are necessarily infringed by their
81
+ * Contribution(s) alone or by combination of their Contribution(s)
82
+ * with the Work to which such Contribution(s) was submitted. If You
83
+ * institute patent litigation against any entity (including a
84
+ * cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ * or a Contribution incorporated within the Work constitutes direct
86
+ * or contributory patent infringement, then any patent licenses
87
+ * granted to You under this License for that Work shall terminate
88
+ * as of the date such litigation is filed.
89
+ *
90
+ * 4. Redistribution. You may reproduce and distribute copies of the
91
+ * Work or Derivative Works thereof in any medium, with or without
92
+ * modifications, and in Source or Object form, provided that You
93
+ * meet the following conditions:
94
+ *
95
+ * (a) You must give any other recipients of the Work or
96
+ * Derivative Works a copy of this License; and
97
+ *
98
+ * (b) You must cause any modified files to carry prominent notices
99
+ * stating that You changed the files; and
100
+ *
101
+ * (c) You must retain, in the Source form of any Derivative Works
102
+ * that You distribute, all copyright, patent, trademark, and
103
+ * attribution notices from the Source form of the Work,
104
+ * excluding those notices that do not pertain to any part of
105
+ * the Derivative Works; and
106
+ *
107
+ * (d) If the Work includes a "NOTICE" text file as part of its
108
+ * distribution, then any Derivative Works that You distribute must
109
+ * include a readable copy of the attribution notices contained
110
+ * within such NOTICE file, excluding those notices that do not
111
+ * pertain to any part of the Derivative Works, in at least one
112
+ * of the following places: within a NOTICE text file distributed
113
+ * as part of the Derivative Works; within the Source form or
114
+ * documentation, if provided along with the Derivative Works; or,
115
+ * within a display generated by the Derivative Works, if and
116
+ * wherever such third-party notices normally appear. The contents
117
+ * of the NOTICE file are for informational purposes only and
118
+ * do not modify the License. You may add Your own attribution
119
+ * notices within Derivative Works that You distribute, alongside
120
+ * or as an addendum to the NOTICE text from the Work, provided
121
+ * that such additional attribution notices cannot be construed
122
+ * as modifying the License.
123
+ *
124
+ * You may add Your own copyright statement to Your modifications and
125
+ * may provide additional or different license terms and conditions
126
+ * for use, reproduction, or distribution of Your modifications, or
127
+ * for any such Derivative Works as a whole, provided Your use,
128
+ * reproduction, and distribution of the Work otherwise complies with
129
+ * the conditions stated in this License.
130
+ *
131
+ * 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ * any Contribution intentionally submitted for inclusion in the Work
133
+ * by You to the Licensor shall be under the terms and conditions of
134
+ * this License, without any additional terms or conditions.
135
+ * Notwithstanding the above, nothing herein shall supersede or modify
136
+ * the terms of any separate license agreement you may have executed
137
+ * with Licensor regarding such Contributions.
138
+ *
139
+ * 6. Trademarks. This License does not grant permission to use the trade
140
+ * names, trademarks, service marks, or product names of the Licensor,
141
+ * except as required for reasonable and customary use in describing the
142
+ * origin of the Work and reproducing the content of the NOTICE file.
143
+ *
144
+ * 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ * agreed to in writing, Licensor provides the Work (and each
146
+ * Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ * implied, including, without limitation, any warranties or conditions
149
+ * of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ * PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ * appropriateness of using or redistributing the Work and assume any
152
+ * risks associated with Your exercise of permissions under this License.
153
+ *
154
+ * 8. Limitation of Liability. In no event and under no legal theory,
155
+ * whether in tort (including negligence), contract, or otherwise,
156
+ * unless required by applicable law (such as deliberate and grossly
157
+ * negligent acts) or agreed to in writing, shall any Contributor be
158
+ * liable to You for damages, including any direct, indirect, special,
159
+ * incidental, or consequential damages of any character arising as a
160
+ * result of this License or out of the use or inability to use the
161
+ * Work (including but not limited to damages for loss of goodwill,
162
+ * work stoppage, computer failure or malfunction, or any and all
163
+ * other commercial damages or losses), even if such Contributor
164
+ * has been advised of the possibility of such damages.
165
+ *
166
+ * 9. Accepting Warranty or Additional Liability. While redistributing
167
+ * the Work or Derivative Works thereof, You may choose to offer,
168
+ * and charge a fee for, acceptance of support, warranty, indemnity,
169
+ * or other liability obligations and/or rights consistent with this
170
+ * License. However, in accepting such obligations, You may act only
171
+ * on Your own behalf and on Your sole responsibility, not on behalf
172
+ * of any other Contributor, and only if You agree to indemnify,
173
+ * defend, and hold each Contributor harmless for any liability
174
+ * incurred by, or claims asserted against, such Contributor by reason
175
+ * of your accepting any such warranty or additional liability.
176
+ *
177
+ * END OF TERMS AND CONDITIONS
178
+ *
179
+ * APPENDIX: How to apply the Apache License to your work.
180
+ *
181
+ * To apply the Apache License to your work, attach the following
182
+ * boilerplate notice, with the fields enclosed by brackets "[]"
183
+ * replaced with your own identifying information. (Don't include
184
+ * the brackets!) The text should be enclosed in the appropriate
185
+ * comment syntax for the file format. We also recommend that a
186
+ * file or class name and description of purpose be included on the
187
+ * same "printed page" as the copyright notice for easier
188
+ * identification within third-party archives.
189
+ *
190
+ * Copyright [yyyy] [name of copyright owner]
191
+ *
192
+ * Licensed under the Apache License, Version 2.0 (the "License");
193
+ * you may not use this file except in compliance with the License.
194
+ * You may obtain a copy of the License at
195
+ *
196
+ * http://www.apache.org/licenses/LICENSE-2.0
197
+ *
198
+ * Unless required by applicable law or agreed to in writing, software
199
+ * distributed under the License is distributed on an "AS IS" BASIS,
200
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ * See the License for the specific language governing permissions and
202
+ * limitations under the License.
203
+ */
@@ -0,0 +1,203 @@
1
+ /*
2
+ * Apache License
3
+ * Version 2.0, January 2004
4
+ * http://www.apache.org/licenses/
5
+ *
6
+ * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+ *
8
+ * 1. Definitions.
9
+ *
10
+ * "License" shall mean the terms and conditions for use, reproduction,
11
+ * and distribution as defined by Sections 1 through 9 of this document.
12
+ *
13
+ * "Licensor" shall mean the copyright owner or entity authorized by
14
+ * the copyright owner that is granting the License.
15
+ *
16
+ * "Legal Entity" shall mean the union of the acting entity and all
17
+ * other entities that control, are controlled by, or are under common
18
+ * control with that entity. For the purposes of this definition,
19
+ * "control" means (i) the power, direct or indirect, to cause the
20
+ * direction or management of such entity, whether by contract or
21
+ * otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ * outstanding shares, or (iii) beneficial ownership of such entity.
23
+ *
24
+ * "You" (or "Your") shall mean an individual or Legal Entity
25
+ * exercising permissions granted by this License.
26
+ *
27
+ * "Source" form shall mean the preferred form for making modifications,
28
+ * including but not limited to software source code, documentation
29
+ * source, and configuration files.
30
+ *
31
+ * "Object" form shall mean any form resulting from mechanical
32
+ * transformation or translation of a Source form, including but
33
+ * not limited to compiled object code, generated documentation,
34
+ * and conversions to other media types.
35
+ *
36
+ * "Work" shall mean the work of authorship, whether in Source or
37
+ * Object form, made available under the License, as indicated by a
38
+ * copyright notice that is included in or attached to the work
39
+ * (an example is provided in the Appendix below).
40
+ *
41
+ * "Derivative Works" shall mean any work, whether in Source or Object
42
+ * form, that is based on (or derived from) the Work and for which the
43
+ * editorial revisions, annotations, elaborations, or other modifications
44
+ * represent, as a whole, an original work of authorship. For the purposes
45
+ * of this License, Derivative Works shall not include works that remain
46
+ * separable from, or merely link (or bind by name) to the interfaces of,
47
+ * the Work and Derivative Works thereof.
48
+ *
49
+ * "Contribution" shall mean any work of authorship, including
50
+ * the original version of the Work and any modifications or additions
51
+ * to that Work or Derivative Works thereof, that is intentionally
52
+ * submitted to Licensor for inclusion in the Work by the copyright owner
53
+ * or by an individual or Legal Entity authorized to submit on behalf of
54
+ * the copyright owner. For the purposes of this definition, "submitted"
55
+ * means any form of electronic, verbal, or written communication sent
56
+ * to the Licensor or its representatives, including but not limited to
57
+ * communication on electronic mailing lists, source code control systems,
58
+ * and issue tracking systems that are managed by, or on behalf of, the
59
+ * Licensor for the purpose of discussing and improving the Work, but
60
+ * excluding communication that is conspicuously marked or otherwise
61
+ * designated in writing by the copyright owner as "Not a Contribution."
62
+ *
63
+ * "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ * on behalf of whom a Contribution has been received by Licensor and
65
+ * subsequently incorporated within the Work.
66
+ *
67
+ * 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ * this License, each Contributor hereby grants to You a perpetual,
69
+ * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ * copyright license to reproduce, prepare Derivative Works of,
71
+ * publicly display, publicly perform, sublicense, and distribute the
72
+ * Work and such Derivative Works in Source or Object form.
73
+ *
74
+ * 3. Grant of Patent License. Subject to the terms and conditions of
75
+ * this License, each Contributor hereby grants to You a perpetual,
76
+ * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ * (except as stated in this section) patent license to make, have made,
78
+ * use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ * where such license applies only to those patent claims licensable
80
+ * by such Contributor that are necessarily infringed by their
81
+ * Contribution(s) alone or by combination of their Contribution(s)
82
+ * with the Work to which such Contribution(s) was submitted. If You
83
+ * institute patent litigation against any entity (including a
84
+ * cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ * or a Contribution incorporated within the Work constitutes direct
86
+ * or contributory patent infringement, then any patent licenses
87
+ * granted to You under this License for that Work shall terminate
88
+ * as of the date such litigation is filed.
89
+ *
90
+ * 4. Redistribution. You may reproduce and distribute copies of the
91
+ * Work or Derivative Works thereof in any medium, with or without
92
+ * modifications, and in Source or Object form, provided that You
93
+ * meet the following conditions:
94
+ *
95
+ * (a) You must give any other recipients of the Work or
96
+ * Derivative Works a copy of this License; and
97
+ *
98
+ * (b) You must cause any modified files to carry prominent notices
99
+ * stating that You changed the files; and
100
+ *
101
+ * (c) You must retain, in the Source form of any Derivative Works
102
+ * that You distribute, all copyright, patent, trademark, and
103
+ * attribution notices from the Source form of the Work,
104
+ * excluding those notices that do not pertain to any part of
105
+ * the Derivative Works; and
106
+ *
107
+ * (d) If the Work includes a "NOTICE" text file as part of its
108
+ * distribution, then any Derivative Works that You distribute must
109
+ * include a readable copy of the attribution notices contained
110
+ * within such NOTICE file, excluding those notices that do not
111
+ * pertain to any part of the Derivative Works, in at least one
112
+ * of the following places: within a NOTICE text file distributed
113
+ * as part of the Derivative Works; within the Source form or
114
+ * documentation, if provided along with the Derivative Works; or,
115
+ * within a display generated by the Derivative Works, if and
116
+ * wherever such third-party notices normally appear. The contents
117
+ * of the NOTICE file are for informational purposes only and
118
+ * do not modify the License. You may add Your own attribution
119
+ * notices within Derivative Works that You distribute, alongside
120
+ * or as an addendum to the NOTICE text from the Work, provided
121
+ * that such additional attribution notices cannot be construed
122
+ * as modifying the License.
123
+ *
124
+ * You may add Your own copyright statement to Your modifications and
125
+ * may provide additional or different license terms and conditions
126
+ * for use, reproduction, or distribution of Your modifications, or
127
+ * for any such Derivative Works as a whole, provided Your use,
128
+ * reproduction, and distribution of the Work otherwise complies with
129
+ * the conditions stated in this License.
130
+ *
131
+ * 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ * any Contribution intentionally submitted for inclusion in the Work
133
+ * by You to the Licensor shall be under the terms and conditions of
134
+ * this License, without any additional terms or conditions.
135
+ * Notwithstanding the above, nothing herein shall supersede or modify
136
+ * the terms of any separate license agreement you may have executed
137
+ * with Licensor regarding such Contributions.
138
+ *
139
+ * 6. Trademarks. This License does not grant permission to use the trade
140
+ * names, trademarks, service marks, or product names of the Licensor,
141
+ * except as required for reasonable and customary use in describing the
142
+ * origin of the Work and reproducing the content of the NOTICE file.
143
+ *
144
+ * 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ * agreed to in writing, Licensor provides the Work (and each
146
+ * Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ * implied, including, without limitation, any warranties or conditions
149
+ * of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ * PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ * appropriateness of using or redistributing the Work and assume any
152
+ * risks associated with Your exercise of permissions under this License.
153
+ *
154
+ * 8. Limitation of Liability. In no event and under no legal theory,
155
+ * whether in tort (including negligence), contract, or otherwise,
156
+ * unless required by applicable law (such as deliberate and grossly
157
+ * negligent acts) or agreed to in writing, shall any Contributor be
158
+ * liable to You for damages, including any direct, indirect, special,
159
+ * incidental, or consequential damages of any character arising as a
160
+ * result of this License or out of the use or inability to use the
161
+ * Work (including but not limited to damages for loss of goodwill,
162
+ * work stoppage, computer failure or malfunction, or any and all
163
+ * other commercial damages or losses), even if such Contributor
164
+ * has been advised of the possibility of such damages.
165
+ *
166
+ * 9. Accepting Warranty or Additional Liability. While redistributing
167
+ * the Work or Derivative Works thereof, You may choose to offer,
168
+ * and charge a fee for, acceptance of support, warranty, indemnity,
169
+ * or other liability obligations and/or rights consistent with this
170
+ * License. However, in accepting such obligations, You may act only
171
+ * on Your own behalf and on Your sole responsibility, not on behalf
172
+ * of any other Contributor, and only if You agree to indemnify,
173
+ * defend, and hold each Contributor harmless for any liability
174
+ * incurred by, or claims asserted against, such Contributor by reason
175
+ * of your accepting any such warranty or additional liability.
176
+ *
177
+ * END OF TERMS AND CONDITIONS
178
+ *
179
+ * APPENDIX: How to apply the Apache License to your work.
180
+ *
181
+ * To apply the Apache License to your work, attach the following
182
+ * boilerplate notice, with the fields enclosed by brackets "[]"
183
+ * replaced with your own identifying information. (Don't include
184
+ * the brackets!) The text should be enclosed in the appropriate
185
+ * comment syntax for the file format. We also recommend that a
186
+ * file or class name and description of purpose be included on the
187
+ * same "printed page" as the copyright notice for easier
188
+ * identification within third-party archives.
189
+ *
190
+ * Copyright [yyyy] [name of copyright owner]
191
+ *
192
+ * Licensed under the Apache License, Version 2.0 (the "License");
193
+ * you may not use this file except in compliance with the License.
194
+ * You may obtain a copy of the License at
195
+ *
196
+ * http://www.apache.org/licenses/LICENSE-2.0
197
+ *
198
+ * Unless required by applicable law or agreed to in writing, software
199
+ * distributed under the License is distributed on an "AS IS" BASIS,
200
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ * See the License for the specific language governing permissions and
202
+ * limitations under the License.
203
+ */
@@ -0,0 +1,96 @@
1
+ #!/usr/bin/ruby
2
+ # Copyright:: Copyright 2009 Google Inc.
3
+ # Original Author:: Ryan Brown (mailto:ribrdb@google.com)
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module AppEngine
18
+ module SDK
19
+ VERSION = '1.2.2'
20
+ SDK_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..',
21
+ 'appengine-java-sdk-1.2.2'))
22
+ TOOLS_JAR = File.join(SDK_ROOT, *%w{lib appengine-tools-api.jar})
23
+ API_JAR = File.join(SDK_ROOT, *%w{lib impl appengine-api.jar})
24
+ RUNTIME_JARS = [
25
+ File.join(SDK_ROOT, *%w{lib shared appengine-local-runtime-shared.jar}),
26
+ File.join(SDK_ROOT, *%w{lib impl appengine-api-stubs.jar}),
27
+ File.join(SDK_ROOT, *%w{lib impl appengine-local-runtime.jar})]
28
+
29
+ if defined?(Java)
30
+ class << self
31
+
32
+ # Tries to load the ApiProxy class.
33
+ def load_apiproxy
34
+ with_jars(API_JAR) do
35
+ return Java.ComGoogleApphostingApi.ApiProxy
36
+ end
37
+ end
38
+
39
+ # Tries to load the ApiProxyLocalFactory class.
40
+ def load_local_apiproxy_factory
41
+ with_jars(*RUNTIME_JARS) do
42
+ return Java.ComGoogleAppengineToolsDevelopment.ApiProxyLocalFactory
43
+ end
44
+ end
45
+
46
+ # Tries to load the Kickstart class.
47
+ def load_kickstart
48
+ cp = java.lang.System.get_property('java.class.path')
49
+ sep = java.io.File::pathSeparator
50
+ java.lang.System.set_property('java.class.path',
51
+ "#{TOOLS_JAR}#{sep}#{cp}")
52
+ with_jars(TOOLS_JAR) do
53
+ return Java.ComGoogleAppengineTools.KickStart
54
+ end
55
+ end
56
+
57
+ def load_appcfg
58
+ with_jars(TOOLS_JAR) do
59
+ return Java.ComGoogleAppengineToolsAdmin.AppCfg
60
+ end
61
+ end
62
+
63
+ def with_jars(*jars) # :nodoc:
64
+ begin
65
+ failed = false
66
+ yield
67
+ rescue NameError => ex
68
+ if failed
69
+ raise ex
70
+ else
71
+ failed = true
72
+ jars.each do |jar|
73
+ $CLASSPATH << jar
74
+ end
75
+ retry
76
+ end
77
+ end
78
+ end
79
+
80
+ # Tries to find the Google App Engine SDK for Java.
81
+ #
82
+ # Looks for appcfg.sh in these directories (in order):
83
+ # - ENV['APPENGINE_JAVA_SDK']/bin
84
+ # - each directory in ENV['PATH']
85
+ # - '/usr/local/appengine-java-sdk/bin'
86
+ # - 'c:\appengine-java-sdk\bin'
87
+ #
88
+ # Returns File.join(sdk_directory, *pieces)
89
+ #
90
+ def sdk_path(*pieces)
91
+ File.join(SDK_ROOT, *pieces)
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end