Permalink
Browse files

Removed CouchRequest as it relies on headers for sessions, which unfo…

…rtunately is only available in AIR. Update for build to create standalone and external libraries.
  • Loading branch information...
1 parent 6909cce commit 709e17cff42233c07af664b996feb814222e6cfc Todd Anderson committed Apr 22, 2010
Showing with 1,253 additions and 650 deletions.
  1. +1 −2 README.markdown
  2. +97 −0 as3couchdb-external-config.xml
  3. +99 −0 as3couchdb-standalone-config.xml
  4. +40 −0 bin/README.markdown
  5. BIN bin/as3couchdb-0.4.1.swc
  6. BIN bin/as3couchdb-0.4.1.swf
  7. BIN bin/external/as3couchdb-0.4.2-external.swc
  8. BIN bin/external/as3couchdb-0.4.2-external.swf
  9. BIN bin/standalone/as3couchdb-0.4.2.swc
  10. BIN bin/standalone/as3couchdb-0.4.2.swf
  11. +9 −1 build.properties
  12. +140 −40 build.xml
  13. +17 −5 doc/all-classes.html
  14. +2 −2 doc/all-index-A.html
  15. +2 −2 doc/all-index-B.html
  16. +16 −10 doc/all-index-C.html
  17. +3 −3 doc/all-index-D.html
  18. +3 −3 doc/all-index-E.html
  19. +6 −3 doc/all-index-F.html
  20. +2 −2 doc/all-index-G.html
  21. +3 −3 doc/all-index-H.html
  22. +6 −7 doc/all-index-I.html
  23. +2 −2 doc/all-index-J.html
  24. +2 −2 doc/all-index-K.html
  25. +2 −2 doc/all-index-L.html
  26. +2 −2 doc/all-index-M.html
  27. +2 −2 doc/all-index-N.html
  28. +2 −2 doc/all-index-O.html
  29. +2 −2 doc/all-index-P.html
  30. +2 −2 doc/all-index-Q.html
  31. +7 −4 doc/all-index-R.html
  32. +5 −5 doc/all-index-S.html
  33. +2 −2 doc/all-index-T.html
  34. +2 −2 doc/all-index-U.html
  35. +2 −2 doc/all-index-V.html
  36. +2 −2 doc/all-index-W.html
  37. +2 −2 doc/all-index-X.html
  38. +2 −2 doc/all-index-Y.html
  39. +2 −2 doc/all-index-Z.html
  40. +30 −26 doc/class-summary.html
  41. +2 −2 doc/com/custardbelly/as3couchdb/command/CouchRequestCommand.html
  42. +2 −2 doc/com/custardbelly/as3couchdb/command/CreateDatabaseCommand.html
  43. +2 −2 doc/com/custardbelly/as3couchdb/command/IRequestCommand.html
  44. +1 −1 doc/com/custardbelly/as3couchdb/command/class-list.html
  45. +2 −2 doc/com/custardbelly/as3couchdb/command/package-detail.html
  46. +2 −2 doc/com/custardbelly/as3couchdb/core/CouchAttachment.html
  47. +5 −5 doc/com/custardbelly/as3couchdb/core/CouchDatabase.html
  48. +5 −3 doc/com/custardbelly/as3couchdb/core/CouchDocument.html
  49. +2 −2 doc/com/custardbelly/as3couchdb/core/CouchModel.html
  50. +2 −2 doc/com/custardbelly/as3couchdb/core/CouchModelEntity.html
  51. +2 −2 doc/com/custardbelly/as3couchdb/core/CouchServiceFault.html
  52. +2 −2 doc/com/custardbelly/as3couchdb/core/CouchServiceResult.html
  53. +9 −5 doc/com/custardbelly/as3couchdb/core/CouchSession.html
  54. +2 −2 doc/com/custardbelly/as3couchdb/core/CouchUser.html
  55. +1 −1 doc/com/custardbelly/as3couchdb/core/class-list.html
  56. +2 −2 doc/com/custardbelly/as3couchdb/core/package-detail.html
  57. +3 −3 doc/com/custardbelly/as3couchdb/enum/CouchActionType.html
  58. +3 −3 doc/com/custardbelly/as3couchdb/enum/CouchContentType.html
  59. +3 −3 doc/com/custardbelly/as3couchdb/enum/CouchFaultType.html
  60. +17 −0 doc/com/custardbelly/as3couchdb/enum/CouchHeaderType.html
  61. +3 −3 doc/com/custardbelly/as3couchdb/enum/CouchRequestMethod.html
  62. +3 −3 doc/com/custardbelly/as3couchdb/enum/CouchRequestStatus.html
  63. +1 −1 doc/com/custardbelly/as3couchdb/enum/class-list.html
  64. +5 −4 doc/com/custardbelly/as3couchdb/enum/package-detail.html
  65. +2 −2 doc/com/custardbelly/as3couchdb/event/CouchEvent.html
  66. +1 −1 doc/com/custardbelly/as3couchdb/event/class-list.html
  67. +2 −2 doc/com/custardbelly/as3couchdb/event/package-detail.html
  68. +3 −3 doc/com/custardbelly/as3couchdb/mediator/CouchDatabaseActionMediator.html
  69. +3 −3 doc/com/custardbelly/as3couchdb/mediator/CouchDocumentActionMediator.html
  70. +5 −5 doc/com/custardbelly/as3couchdb/mediator/CouchSessionActionMediator.html
  71. +2 −2 doc/com/custardbelly/as3couchdb/mediator/ICouchDatabaseActionMediator.html
  72. +2 −2 doc/com/custardbelly/as3couchdb/mediator/ICouchDocumentActionMediator.html
  73. +2 −2 doc/com/custardbelly/as3couchdb/mediator/ICouchSessionActionMediator.html
  74. +2 −2 doc/com/custardbelly/as3couchdb/mediator/IServiceMediator.html
  75. +1 −1 doc/com/custardbelly/as3couchdb/mediator/class-list.html
  76. +2 −2 doc/com/custardbelly/as3couchdb/mediator/helper/AttachmentRequestQueue.html
  77. +1 −1 doc/com/custardbelly/as3couchdb/mediator/helper/class-list.html
  78. +2 −2 doc/com/custardbelly/as3couchdb/mediator/helper/package-detail.html
  79. +2 −2 doc/com/custardbelly/as3couchdb/mediator/package-detail.html
  80. +28 −0 doc/com/custardbelly/as3couchdb/net/CouchSessionResponse.html
  81. +1 −0 doc/com/custardbelly/as3couchdb/net/class-list.html
  82. +14 −0 doc/com/custardbelly/as3couchdb/net/package-detail.html
  83. +3 −3 doc/com/custardbelly/as3couchdb/responder/AbstractDatabaseResponder.html
  84. +9 −6 doc/com/custardbelly/as3couchdb/responder/AbstractDocumentResponder.html
  85. +4 −4 doc/com/custardbelly/as3couchdb/responder/BasicCouchResponder.html
  86. +3 −3 doc/com/custardbelly/as3couchdb/responder/CreateDatabaseResponder.html
  87. +6 −5 doc/com/custardbelly/as3couchdb/responder/CreateDocumentResponder.html
  88. +29 −0 doc/com/custardbelly/as3couchdb/responder/CreateSessionResponder.html
  89. +3 −3 doc/com/custardbelly/as3couchdb/responder/DeleteDatabaseResponder.html
  90. +6 −5 doc/com/custardbelly/as3couchdb/responder/DeleteDocumentResponder.html
  91. +3 −3 doc/com/custardbelly/as3couchdb/responder/ICouchServiceResponder.html
  92. +3 −3 doc/com/custardbelly/as3couchdb/responder/ReadAllDocumentsResponder.html
  93. +3 −3 doc/com/custardbelly/as3couchdb/responder/ReadDatabaseResponder.html
  94. +6 −5 doc/com/custardbelly/as3couchdb/responder/ReadDocumentResponder.html
  95. +3 −3 doc/com/custardbelly/as3couchdb/responder/ReadDocumentsFromViewResponder.html
  96. +6 −5 doc/com/custardbelly/as3couchdb/responder/UpdateDocumentResponder.html
  97. +1 −1 doc/com/custardbelly/as3couchdb/responder/class-list.html
  98. +10 −9 doc/com/custardbelly/as3couchdb/responder/package-detail.html
  99. +8 −12 doc/com/custardbelly/as3couchdb/serialize/CouchDatabaseReader.html
  100. +3 −3 doc/com/custardbelly/as3couchdb/serialize/CouchDatabaseWriter.html
  101. +7 −11 doc/com/custardbelly/as3couchdb/serialize/CouchDocumentReader.html
  102. +3 −3 doc/com/custardbelly/as3couchdb/serialize/CouchDocumentWriter.html
  103. +25 −0 doc/com/custardbelly/as3couchdb/serialize/CouchResponseReader.html
  104. +8 −12 doc/com/custardbelly/as3couchdb/serialize/ICouchDatabaseReader.html
  105. +3 −3 doc/com/custardbelly/as3couchdb/serialize/ICouchDatabaseWriter.html
  106. +7 −11 doc/com/custardbelly/as3couchdb/serialize/ICouchDocumentReader.html
  107. +3 −3 doc/com/custardbelly/as3couchdb/serialize/ICouchDocumentWriter.html
  108. +22 −0 doc/com/custardbelly/as3couchdb/serialize/ICouchResponseReader.html
  109. +1 −1 doc/com/custardbelly/as3couchdb/serialize/class-list.html
  110. +5 −3 doc/com/custardbelly/as3couchdb/serialize/package-detail.html
  111. +4 −4 doc/com/custardbelly/as3couchdb/service/AbstractCouchRequest.html
  112. +3 −3 doc/com/custardbelly/as3couchdb/service/CouchDatabaseService.html
  113. +3 −3 doc/com/custardbelly/as3couchdb/service/CouchDocumentService.html
  114. +0 −24 doc/com/custardbelly/as3couchdb/service/CouchRequest.html
  115. +3 −3 doc/com/custardbelly/as3couchdb/service/CouchService.html
  116. +3 −3 doc/com/custardbelly/as3couchdb/service/ExInCouchRequest.html
  117. +3 −3 doc/com/custardbelly/as3couchdb/service/HTTPCouchRequest.html
  118. +3 −3 doc/com/custardbelly/as3couchdb/service/HTTPSessionRequest.html
  119. +3 −3 doc/com/custardbelly/as3couchdb/service/ICouchDatabaseService.html
  120. +3 −3 doc/com/custardbelly/as3couchdb/service/ICouchDocumentService.html
  121. +3 −3 doc/com/custardbelly/as3couchdb/service/ICouchRequest.html
  122. +3 −3 doc/com/custardbelly/as3couchdb/service/ICouchService.html
  123. +1 −1 doc/com/custardbelly/as3couchdb/service/class-list.html
  124. +6 −7 doc/com/custardbelly/as3couchdb/service/package-detail.html
  125. +2 −2 doc/com/custardbelly/as3couchdb/util/UUID.html
  126. +1 −1 doc/com/custardbelly/as3couchdb/util/class-list.html
  127. +2 −2 doc/com/custardbelly/as3couchdb/util/package-detail.html
  128. +1 −1 doc/index-list.html
  129. +2 −2 doc/index.html
  130. +1 −1 doc/package-frame.html
  131. +1 −1 doc/package-list.html
  132. +2 −2 doc/package-summary.html
  133. +1 −1 doc/title-bar.html
  134. BIN examples/as3/BasicActionScriptExample/libs/as3couchdb-0.4.1.swc
  135. BIN examples/as3/BasicActionScriptExample/libs/as3couchdb-0.4.2.swc
  136. +4 −0 examples/as3/BasicActionScriptExample/src/BasicActionScriptExample.as
  137. +1 −0 examples/as3/BasicActionScriptExample/src/as3couchdb.config
  138. +1 −1 examples/as3/BasicActionScriptExample/src/com/custardbelly/couchdb/example/model/ContactSession.as
  139. BIN examples/flex/AttachmentsFlexExample/libs/as3couchdb-0.4.1.swc
  140. BIN examples/flex/AttachmentsFlexExample/libs/as3couchdb-0.4.2.swc
  141. BIN examples/flex/AuthorizationFlexExample/libs/as3couchdb-0.4.1.swc
  142. BIN examples/flex/AuthorizationFlexExample/libs/as3couchdb-0.4.2.swc
  143. +1 −1 examples/flex/AuthorizationFlexExample/src/com/custardbelly/couchdb/example/model/ContactSession.as
  144. BIN examples/flex/BasicFlexExample/libs/as3couchdb-0.4.1.swc
  145. BIN examples/flex/BasicFlexExample/libs/as3couchdb-0.4.2.swc
  146. BIN examples/flex/DocumentsFlexExample/libs/as3couchdb-0.4.1.swc
  147. BIN examples/flex/DocumentsFlexExample/libs/as3couchdb-0.4.2.swc
  148. +2 −0 examples/flex/DocumentsFlexExample/src/as3couchdb.config
  149. +1 −1 examples/flex/DocumentsFlexExample/src/com/custardbelly/couchdb/example/model/ContactSession.as
  150. +4 −0 src/com/custardbelly/as3couchdb/core/CouchDatabase.as
  151. +4 −0 src/com/custardbelly/as3couchdb/core/CouchDocument.as
  152. +9 −1 src/com/custardbelly/as3couchdb/core/CouchSession.as
  153. +37 −0 src/com/custardbelly/as3couchdb/enum/CouchHeaderType.as
  154. +9 −8 src/com/custardbelly/as3couchdb/mediator/CouchSessionActionMediator.as
  155. +55 −0 src/com/custardbelly/as3couchdb/net/CouchSessionResponse.as
  156. +14 −0 src/com/custardbelly/as3couchdb/responder/AbstractDocumentResponder.as
  157. +87 −0 src/com/custardbelly/as3couchdb/responder/CreateSessionResponder.as
  158. +1 −11 src/com/custardbelly/as3couchdb/serialize/CouchDatabaseReader.as
  159. +1 −11 src/com/custardbelly/as3couchdb/serialize/CouchDocumentReader.as
  160. +50 −0 src/com/custardbelly/as3couchdb/serialize/CouchResponseReader.as
  161. +1 −7 src/com/custardbelly/as3couchdb/serialize/ICouchDatabaseReader.as
  162. +2 −9 src/com/custardbelly/as3couchdb/serialize/ICouchDocumentReader.as
  163. +42 −0 src/com/custardbelly/as3couchdb/serialize/ICouchResponseReader.as
  164. +0 −151 src/com/custardbelly/as3couchdb/service/CouchRequest.as
  165. +2 −9 src/com/custardbelly/as3couchdb/service/CouchService.as
  166. +4 −1 src/com/custardbelly/as3couchdb/service/HTTPSessionRequest.as
View
@@ -66,8 +66,7 @@ is handed to the ServiceMediator in order to establish the proper handling of re
The main purpose of the RequestType is to handle multiple runtimes and there URLRequest restrictions.
The Flash Player for AIR supports PUT and DELETE requests, but such requests are not available in the web-based
Flash Player. As such, HTTPCouchRequest is available in as3couchdb and uses the as3httpclient library to make the
-requests over a socket. Other implementation are ExInCouchRequest which uses ExternalInterface, and CouchRequest
-which makes requests without a proxy.
+requests over a socket. Other implementations are ExInCouchRequest which uses ExternalInterface.
[RequestType(name="com.custardbelly.as3couchdb.service.HTTPCouchRequest")]
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<flex-config xmlns="http://www.adobe.com/2006/flex-config">
+
+ <compiler>
+ <external-library-path>
+ <path-element>${playerglobal.lib.dir}</path-element>
+ <path-element>${lib.dir}</path-element>
+ </external-library-path>
+ <source-path>
+ <path-element>${src.dir}</path-element>
+ </source-path>
+ </compiler>
+
+ <include-sources append="true">
+ <path-element>${as3corelib.net.src}</path-element>
+ <path-element>${as3corelib.json.src}</path-element>
+ <path-element>${as3corelib.utils.StringUtil}</path-element>
+ </include-sources>
+
+ <include-classes>
+ <class>com.custardbelly.as3couchdb.as3couchdb_internal</class>
+ <class>com.custardbelly.as3couchdb.command.CouchRequestCommand</class>
+ <class>com.custardbelly.as3couchdb.command.CreateDatabaseCommand</class>
+ <class>com.custardbelly.as3couchdb.command.IRequestCommand</class>
+ <class>com.custardbelly.as3couchdb.core.CouchAttachment</class>
+ <class>com.custardbelly.as3couchdb.core.CouchDatabase</class>
+ <class>com.custardbelly.as3couchdb.core.CouchDocument</class>
+ <class>com.custardbelly.as3couchdb.core.CouchModel</class>
+ <class>com.custardbelly.as3couchdb.core.CouchModelEntity</class>
+ <class>com.custardbelly.as3couchdb.core.CouchServiceFault</class>
+ <class>com.custardbelly.as3couchdb.core.CouchServiceResult</class>
+ <class>com.custardbelly.as3couchdb.core.CouchSession</class>
+ <class>com.custardbelly.as3couchdb.core.CouchUser</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchActionType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchContentType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchFaultType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchHeaderType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchRequestMethod</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchRequestStatus</class>
+ <class>com.custardbelly.as3couchdb.event.CouchEvent</class>
+ <class>com.custardbelly.as3couchdb.mediator.CouchDatabaseActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.CouchDocumentActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.CouchSessionActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.ICouchDatabaseActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.ICouchDocumentActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.ICouchSessionActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.IServiceMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.helper.AttachmentRequestQueue</class>
+ <class>com.custardbelly.as3couchdb.net.CouchSessionResponse</class>
+ <class>com.custardbelly.as3couchdb.responder.AbstractDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.AbstractDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.BasicCouchResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.CreateDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.CreateDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.CreateSessionResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.DeleteDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.DeleteDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ICouchServiceResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadAllDocumentsResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadDocumentsFromViewResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.UpdateDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDatabaseReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDatabaseWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDocumentReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDocumentWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchResponseReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDatabaseReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDatabaseWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDocumentReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDocumentWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchResponseReader</class>
+ <class>com.custardbelly.as3couchdb.service.AbstractCouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.CouchDatabaseService</class>
+ <class>com.custardbelly.as3couchdb.service.CouchDocumentService</class>
+ <class>com.custardbelly.as3couchdb.service.CouchService</class>
+ <class>com.custardbelly.as3couchdb.service.ExInCouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.HTTPCouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.HTTPSessionRequest</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchDatabaseService</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchDocumentService</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchService</class>
+ <class>com.custardbelly.as3couchdb.util.UUID</class>
+ </include-classes>
+
+ <output>${lib.bin.dir}/${lib.name}.swc</output>
+
+ <metadata>
+ <creator>Todd Anderson</creator>
+ <description>http://github.com/bustardcelly/as3couchdb</description>
+ <language>EN</language>
+ <title>External AS3 Library For CouchDB</title>
+ </metadata>
+
+</flex-config>
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<flex-config xmlns="http://www.adobe.com/2006/flex-config">
+
+ <compiler>
+ <external-library-path>
+ <path-element>${playerglobal.lib.dir}</path-element>
+ </external-library-path>
+ <library-path append="true">
+ <path-element>${lib.dir}</path-element>
+ </library-path>
+ <source-path>
+ <path-element>${src.dir}</path-element>
+ </source-path>
+ </compiler>
+
+ <include-sources append="true">
+ <path-element>${as3corelib.net.src}</path-element>
+ <path-element>${as3corelib.json.src}</path-element>
+ <path-element>${as3corelib.utils.StringUtil}</path-element>
+ </include-sources>
+
+ <include-classes>
+ <class>com.custardbelly.as3couchdb.as3couchdb_internal</class>
+ <class>com.custardbelly.as3couchdb.command.CouchRequestCommand</class>
+ <class>com.custardbelly.as3couchdb.command.CreateDatabaseCommand</class>
+ <class>com.custardbelly.as3couchdb.command.IRequestCommand</class>
+ <class>com.custardbelly.as3couchdb.core.CouchAttachment</class>
+ <class>com.custardbelly.as3couchdb.core.CouchDatabase</class>
+ <class>com.custardbelly.as3couchdb.core.CouchDocument</class>
+ <class>com.custardbelly.as3couchdb.core.CouchModel</class>
+ <class>com.custardbelly.as3couchdb.core.CouchModelEntity</class>
+ <class>com.custardbelly.as3couchdb.core.CouchServiceFault</class>
+ <class>com.custardbelly.as3couchdb.core.CouchServiceResult</class>
+ <class>com.custardbelly.as3couchdb.core.CouchSession</class>
+ <class>com.custardbelly.as3couchdb.core.CouchUser</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchActionType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchContentType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchFaultType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchHeaderType</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchRequestMethod</class>
+ <class>com.custardbelly.as3couchdb.enum.CouchRequestStatus</class>
+ <class>com.custardbelly.as3couchdb.event.CouchEvent</class>
+ <class>com.custardbelly.as3couchdb.mediator.CouchDatabaseActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.CouchDocumentActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.CouchSessionActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.ICouchDatabaseActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.ICouchDocumentActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.ICouchSessionActionMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.IServiceMediator</class>
+ <class>com.custardbelly.as3couchdb.mediator.helper.AttachmentRequestQueue</class>
+ <class>com.custardbelly.as3couchdb.net.CouchSessionResponse</class>
+ <class>com.custardbelly.as3couchdb.responder.AbstractDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.AbstractDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.BasicCouchResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.CreateDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.CreateDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.CreateSessionResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.DeleteDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.DeleteDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ICouchServiceResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadAllDocumentsResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadDatabaseResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.ReadDocumentsFromViewResponder</class>
+ <class>com.custardbelly.as3couchdb.responder.UpdateDocumentResponder</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDatabaseReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDatabaseWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDocumentReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchDocumentWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.CouchResponseReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDatabaseReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDatabaseWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDocumentReader</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchDocumentWriter</class>
+ <class>com.custardbelly.as3couchdb.serialize.ICouchResponseReader</class>
+ <class>com.custardbelly.as3couchdb.service.AbstractCouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.CouchDatabaseService</class>
+ <class>com.custardbelly.as3couchdb.service.CouchDocumentService</class>
+ <class>com.custardbelly.as3couchdb.service.CouchService</class>
+ <class>com.custardbelly.as3couchdb.service.ExInCouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.HTTPCouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.HTTPSessionRequest</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchDatabaseService</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchDocumentService</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchRequest</class>
+ <class>com.custardbelly.as3couchdb.service.ICouchService</class>
+ <class>com.custardbelly.as3couchdb.util.UUID</class>
+ </include-classes>
+
+ <output>${lib.bin.dir}/${lib.name}.swc</output>
+
+ <metadata>
+ <creator>Todd Anderson</creator>
+ <description>http://github.com/bustardcelly/as3couchdb</description>
+ <language>EN</language>
+ <title>Standalone AS3 Library For CouchDB</title>
+ </metadata>
+
+</flex-config>
View
@@ -0,0 +1,40 @@
+# About
+
+The as3couchdb project is generates library SWC and optimized SWF files into two output bins:
+
+## standalone
+
+The standalone bin contains the library SWC and optimized SWF that can be added to the library
+of a project without the need of having the dependant SWC libraries (as3corelib, as3crypto, as3httpclientlib)
+included in the project library. As such, the file size for the standalone SWC is higher than the
+external library, as it has dependencies compiled in. If you are not worried about file size and/or
+you do not want to manage dependencies in your project library, use the standalone SWC or SWF.
+
+## external
+
+The external bin contains the library SWC and optimized SWF that is compiled against dependant SWC libraries:
+as3corelib, as3crypto, and as3httpclientlib. Included in the external SWC are only the source files
+from the as3couchdb library. As such, the file size for the external SWC is lower than the standalone
+yet it is necessary to include the dependant libraries within your project. If you are worried about
+file size and/or are fine with managing library dependencies, use the external SWC or SWF.
+
+# Dependencies
+
+The as3couchdb library depends on the following libraries in order to compile:
+
+## as3corelib
+
+The as3couchdb library requires the as3corelib project (found at [http://code.google.com/p/as3corelib/]http://code.google.com/p/as3corelib/)).
+The classes from the as3corelib project that as3couchdb utilizes is SHA1 for generating unique ids
+on the client side, and JSON for serializing objects for CouchDB service communication.
+
+## as3httpclient
+
+The as3couchdb library requires the as3httpclient project (found at [http://code.google.com/p/as3httpclientlib](http://code.google.com/p/as3httpclientlib)).
+as3couchdb utilizes the as3httpclient API to make proper PUT and DELETE requests on the CouchDB instance.
+as3httpclient has a dependency on the following libraries: as3corelib and as3crypto.
+
+## as3crypto
+
+The as3crypto library is used by the as3httpclient (see above requirement).
+as3crypt can be found at [http://code.google.com/p/as3crypto/](http://code.google.com/p/as3crypto/)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -19,6 +19,13 @@ lib.dir=${basedir}/lib
bin.dir=${basedir}/bin
doc.dir=${basedir}/doc
+# Generation specific.
+standalone.bin.dir=${bin.dir}/standalone
+external.bin.dir=${bin.dir}/external
+
+# Configuration files.
+external.config=${basedir}/as3couchdb-external-config.xml
+
# Directory for external code libraries.
# This is mainly used to compile in code from as3corelib that is
# ActionScript only. Specifically JSON and URI packages, and the StringUtil class.
@@ -31,6 +38,7 @@ as3corelib.utils.StringUtil=${external.dir}/com/adobe/utils/StringUtil.as
optimize.temp.dir=${bin.dir}/temp
# Product properties.
-version.num=0.4.1
+version.num=0.4.2
project.name=as3couchdb
library.name=${project.name}-${version.num}
+external.name=${library.name}-external
Oops, something went wrong.

0 comments on commit 709e17c

Please sign in to comment.