Permalink
Browse files

[releng] restructure projects and build process

  • Loading branch information...
vladdu committed Feb 19, 2017
1 parent 1a80699 commit 74609888dedbe0e4f6f7d4ef9d33538d1347fd95
Showing with 1,647 additions and 933 deletions.
  1. +1 −44 .gitattributes
  2. +1 −1 API.md
  3. +80 −55 Jenkinsfile
  4. +43 −0 build
  5. +3 −3 build.gradle
  6. +84 −0 build_utils.sh
  7. +1 −1 {erlide_kernel_common → common/apps/erlide_common}/.project
  8. 0 {erlide_kernel_common → common/apps/erlide_common}/.settings/org.eclipse.core.resources.prefs
  9. 0 {erlide_kernel_common → common/apps/erlide_common}/.settings/org.erlide.core.prefs
  10. 0 {erlide_kernel_common → common/apps/erlide_common}/.settings/org.erlide.model.prefs
  11. 0 common/apps/erlide_common/include/.keep
  12. +0 −2 erlide_kernel_common/include/erlide.hrl → common/apps/erlide_common/include/erlide_dbglog.hrl
  13. 0 common/apps/erlide_common/priv/.keep
  14. +12 −4 {erlide_kernel_common → common/apps/erlide_common}/rebar.config
  15. 0 {erlide_kernel_common → common/apps/erlide_common}/src/builder/erlide_builder.app.src
  16. +1 −1 {erlide_kernel_common → common/apps/erlide_common}/src/builder/erlide_builder.erl
  17. 0 {erlide_kernel_common → common/apps/erlide_common}/src/builder/erlide_builder_app.erl
  18. +1 −1 {erlide_kernel_common → common/apps/erlide_common}/src/builder/erlide_builder_server.erl
  19. +1 −1 {erlide_kernel_common → common/apps/erlide_common}/src/builder/erlide_builder_slave.erl
  20. +4 −4 {erlide_kernel_common → common/apps/erlide_common}/src/builder/erlide_erlcerrors.erl
  21. +7 −7 {erlide_kernel_common → common/apps/erlide_common}/src/builder/erlide_yecc_msgs.erl
  22. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_backend.erl
  23. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_common.app.src
  24. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_common_app.erl
  25. +2 −2 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_jrpc.erl
  26. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_log.erl
  27. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_monitor.erl
  28. +1 −1 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_pool.erl
  29. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_proclist.erl
  30. +3 −5 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_shell.erl
  31. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_time_compat.erl
  32. 0 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_user.erl
  33. +1 −1 {erlide_kernel_common → common/apps/erlide_common}/src/erlide_util.erl
  34. 0 {erlide_kernel_common → common/apps/erlide_common}/test/erlide_util_tests.erl
  35. +2 −2 {erlide_kernel_ide → common/apps/erlide_tools}/.project
  36. 0 {erlide_kernel_debugger → common/apps/erlide_tools}/.settings/org.eclipse.core.resources.prefs
  37. 0 {erlide_kernel_tools → common/apps/erlide_tools}/.settings/org.erlide.core.prefs
  38. 0 {erlide_kernel_ide → common/apps/erlide_tools}/.settings/org.erlide.model.prefs
  39. 0 {erlide_kernel_debugger → common/apps/erlide_tools}/ebin/.marker
  40. 0 common/apps/erlide_tools/include/.keep
  41. +16 −0 common/apps/erlide_tools/include/erlide_dbglog.hrl
  42. 0 common/apps/erlide_tools/priv/.keep
  43. +29 −0 common/apps/erlide_tools/rebar.config
  44. +1 −1 {erlide_kernel_tools → common/apps/erlide_tools}/src/erlide_dialyze.erl
  45. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/erlide_tools.app.src
  46. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/erlide_tools_app.erl
  47. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/observer_backend.erl
  48. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/observer_backend.hrl
  49. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/proc_list.erl
  50. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/runtime_tools_sup.erl
  51. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/ttb_autostart.erl
  52. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/ttb_integration.erl
  53. 0 {erlide_kernel_tools → common/apps/erlide_tools}/src/ttbe.erl
  54. +8 −0 common/build
  55. +8 −0 common/rebar.config
  56. 0 {erlide_kernel_debugger → common}/rebar.lock
  57. +13 −0 debugger/build
  58. +2 −2 {erlide_kernel_tools → debugger/erlide_debugger}/.project
  59. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger}/.settings/org.eclipse.core.resources.prefs
  60. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/.settings/org.erlide.core.prefs
  61. +8 −0 debugger/erlide_debugger/build
  62. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger}/ebin/.marker
  63. 0 debugger/erlide_debugger/include/.keep
  64. +16 −0 debugger/erlide_debugger/include/erlide_dbglog.hrl
  65. 0 debugger/erlide_debugger/priv/.keep
  66. +32 −0 debugger/erlide_debugger/rebar.config
  67. +2 −0 debugger/erlide_debugger/rebar.lock
  68. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/coverage.erl
  69. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/coverage.hrl
  70. +3 −3 {erlide_kernel_debugger → debugger/erlide_debugger}/src/dbg_mon.erl
  71. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/erlide_dbg.erl
  72. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/erlide_debug.erl
  73. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/erlide_debugger.app.src
  74. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/erlide_tracer.erl
  75. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/launcher.erl
  76. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/test.hrl
  77. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/test_listener.erl
  78. 0 {erlide_kernel_debugger → debugger/erlide_debugger}/src/testlauncher.erl
  79. +2 −2 {erlide_kernel_debugger → debugger/erlide_debugger_17}/.project
  80. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_17}/.settings/org.eclipse.core.resources.prefs
  81. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/.settings/org.erlide.core.prefs
  82. +8 −0 debugger/erlide_debugger_17/build
  83. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_17}/ebin/.marker
  84. 0 debugger/erlide_debugger_17/include/.keep
  85. 0 debugger/erlide_debugger_17/priv/.keep
  86. +11 −4 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/rebar.config
  87. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/rebar.lock
  88. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/dbg_debugged.erl
  89. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/dbg_icmd.erl
  90. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/dbg_idb.erl
  91. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/dbg_ieval.erl
  92. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/dbg_ieval.hrl
  93. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/dbg_iload.erl
  94. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/dbg_iserver.erl
  95. +2 −2 {erlide_kernel_debugger_19 → debugger/erlide_debugger_17}/src/dbg_istk.erl
  96. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/erlide_debugger_17.app.src
  97. 0 {erlide_kernel_debugger_17 → debugger/erlide_debugger_17}/src/int.erl
  98. +18 −0 debugger/erlide_debugger_18/.project
  99. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_18}/.settings/org.eclipse.core.resources.prefs
  100. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/.settings/org.erlide.core.prefs
  101. +8 −0 debugger/erlide_debugger_18/build
  102. 0 {erlide_kernel_ide → debugger/erlide_debugger_18}/ebin/.marker
  103. 0 debugger/erlide_debugger_18/include/.keep
  104. 0 debugger/erlide_debugger_18/priv/.keep
  105. +11 −4 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/rebar.config
  106. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/rebar.lock
  107. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_debugged.erl
  108. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_icmd.erl
  109. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_idb.erl
  110. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_ieval.erl
  111. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_ieval.hrl
  112. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_iload.erl
  113. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_iserver.erl
  114. +2 −2 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/dbg_istk.erl
  115. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/erlide_debugger_18.app.src
  116. 0 {erlide_kernel_debugger_18 → debugger/erlide_debugger_18}/src/int.erl
  117. +18 −0 debugger/erlide_debugger_19/.project
  118. 0 {erlide_kernel_tools → debugger/erlide_debugger_19}/.settings/org.eclipse.core.resources.prefs
  119. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/.settings/org.erlide.core.prefs
  120. +8 −0 debugger/erlide_debugger_19/build
  121. 0 debugger/erlide_debugger_19/include/.keep
  122. 0 debugger/erlide_debugger_19/priv/.keep
  123. +11 −4 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/rebar.config
  124. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/rebar.lock
  125. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/dbg_debugged.erl
  126. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/dbg_icmd.erl
  127. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/dbg_idb.erl
  128. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/dbg_ieval.erl
  129. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/dbg_ieval.hrl
  130. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/dbg_iload.erl
  131. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/dbg_iserver.erl
  132. +2 −2 {erlide_kernel_debugger_17 → debugger/erlide_debugger_19}/src/dbg_istk.erl
  133. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/erlide_debugger_19.app.src
  134. 0 {erlide_kernel_debugger_19 → debugger/erlide_debugger_19}/src/int.erl
  135. +4 −0 eclipse/.gitignore
  136. +8 −0 eclipse/.mvn/extensions.xml
  137. BIN eclipse/.mvn/wrapper/maven-wrapper.jar
  138. +1 −0 eclipse/.mvn/wrapper/maven-wrapper.properties
  139. +41 −0 eclipse/build
  140. +236 −0 eclipse/mvnw
  141. +145 −0 eclipse/mvnw.cmd
  142. +3 −0 eclipse/org.erlide.kernel.common/.gitignore
  143. +28 −0 eclipse/org.erlide.kernel.common/.project
  144. 0 {org.erlide.kernel → eclipse/org.erlide.kernel.common}/.settings/org.eclipse.core.resources.prefs
  145. 0 {org.erlide.kernel → eclipse/org.erlide.kernel.common}/.settings/org.eclipse.m2e.core.prefs
  146. +2 −3 {org.erlide.kernel → eclipse/org.erlide.kernel.common}/META-INF/MANIFEST.MF
  147. +3 −0 eclipse/org.erlide.kernel.common/build.properties
  148. +3 −5 {org.erlide.kernel → eclipse/org.erlide.kernel.common}/plugin.xml
  149. +13 −0 eclipse/org.erlide.kernel.common/pom.xml
  150. +3 −0 eclipse/org.erlide.kernel.debugger/.gitignore
  151. +28 −0 eclipse/org.erlide.kernel.debugger/.project
  152. +2 −0 eclipse/org.erlide.kernel.debugger/.settings/org.eclipse.core.resources.prefs
  153. +4 −0 eclipse/org.erlide.kernel.debugger/.settings/org.eclipse.m2e.core.prefs
  154. +7 −0 eclipse/org.erlide.kernel.debugger/META-INF/MANIFEST.MF
  155. +3 −0 eclipse/org.erlide.kernel.debugger/build.properties
  156. +27 −0 eclipse/org.erlide.kernel.debugger/plugin.xml
  157. +13 −0 eclipse/org.erlide.kernel.debugger/pom.xml
  158. +23 −0 eclipse/org.erlide.kernel.feature/.project
  159. +2 −0 eclipse/org.erlide.kernel.feature/.settings/org.eclipse.core.resources.prefs
  160. +4 −0 eclipse/org.erlide.kernel.feature/.settings/org.eclipse.m2e.core.prefs
  161. +7 −0 eclipse/org.erlide.kernel.feature/.settings/org.eclipse.xtend.core.Xtend.prefs
  162. +7 −0 eclipse/org.erlide.kernel.feature/build.properties
  163. +1 −0 eclipse/org.erlide.kernel.feature/feature.properties
  164. +54 −0 eclipse/org.erlide.kernel.feature/feature.xml
  165. +1 −0 eclipse/org.erlide.kernel.feature/plugin_customization.ini
  166. +18 −0 eclipse/org.erlide.kernel.feature/pom.xml
  167. +3 −0 eclipse/org.erlide.kernel.ide/.gitignore
  168. +1 −1 {org.erlide.kernel → eclipse/org.erlide.kernel.ide}/.project
  169. +2 −0 eclipse/org.erlide.kernel.ide/.settings/org.eclipse.core.resources.prefs
  170. +4 −0 eclipse/org.erlide.kernel.ide/.settings/org.eclipse.m2e.core.prefs
  171. +7 −0 eclipse/org.erlide.kernel.ide/META-INF/MANIFEST.MF
  172. +3 −0 eclipse/org.erlide.kernel.ide/build.properties
  173. +12 −0 eclipse/org.erlide.kernel.ide/plugin.xml
  174. +13 −13 {org.erlide.kernel → eclipse/org.erlide.kernel.ide}/pom.xml
  175. +17 −0 eclipse/org.erlide.kernel.site/.project
  176. +2 −0 eclipse/org.erlide.kernel.site/.settings/org.eclipse.core.resources.prefs
  177. +7 −0 eclipse/org.erlide.kernel.site/category.xml
  178. +17 −0 eclipse/org.erlide.kernel.site/pom.xml
  179. +17 −0 eclipse/org.erlide.kernel.target/.project
  180. +2 −0 eclipse/org.erlide.kernel.target/.settings/org.eclipse.core.resources.prefs
  181. +4 −0 eclipse/org.erlide.kernel.target/.settings/org.eclipse.m2e.core.prefs
  182. +14 −0 eclipse/org.erlide.kernel.target/org.erlide.kernel.target.target
  183. +13 −0 eclipse/org.erlide.kernel.target/pom.xml
  184. +199 −0 eclipse/pom.xml
  185. BIN erlide_ide
  186. +0 −37 erlide_kernel_common/include/app_meta.hrl
  187. +0 −1 erlide_kernel_common/rebar.lock
  188. +0 −211 erlide_kernel_common/src/app_meta.erl
  189. +0 −16 erlide_kernel_debugger/rebar.config
  190. +0 −18 erlide_kernel_debugger_17/.project
  191. +0 −18 erlide_kernel_debugger_18/.project
  192. +0 −18 erlide_kernel_debugger_19/.project
  193. +0 −17 erlide_kernel_ide/rebar.config
  194. +0 −1 erlide_kernel_ide/rebar.lock
  195. +0 −1 erlide_kernel_tools/ebin/.marker
  196. +0 −17 erlide_kernel_tools/rebar.config
  197. +0 −1 erlide_kernel_tools/rebar.lock
  198. BIN gradle/wrapper/gradle-wrapper.jar
  199. +0 −6 gradle/wrapper/gradle-wrapper.properties
  200. +0 −164 gradlew
  201. +0 −90 gradlew.bat
  202. +18 −0 ide/apps/erlide_ide/.project
  203. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/.settings/org.eclipse.core.resources.prefs
  204. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/.settings/org.erlide.core.prefs
  205. 0 {erlide_kernel_tools → ide/apps/erlide_ide}/.settings/org.erlide.model.prefs
  206. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/data/test_unicode.erl
  207. +16 −0 ide/apps/erlide_ide/include/erlide_dbglog.hrl
  208. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/include/erlide_noparse.hrl
  209. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/include/erlide_open.hrl
  210. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/include/erlide_scanner_server.hrl
  211. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/include/erlide_search.hrl
  212. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/include/erlide_token.hrl
  213. 0 ide/apps/erlide_ide/priv/.keep
  214. +31 −0 ide/apps/erlide_ide/rebar.config
  215. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_cache.erl
  216. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_comment.erl
  217. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_content_assist.erl
  218. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_edoc.erl
  219. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_ide.app.src
  220. +7 −0 ide/apps/erlide_ide/src/erlide_ide.erl
  221. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_ide_app.erl
  222. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_indent.erl
  223. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_open.erl
  224. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_otp_doc.erl
  225. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_search.erl
  226. +3 −3 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_search_server.erl
  227. +2 −2 {erlide_kernel_ide → ide/apps/erlide_ide}/src/erlide_xref.erl
  228. +5 −5 {erlide_kernel_ide → ide/apps/erlide_ide}/src/model/erlide_module.erl
  229. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erl_scan_local.erl
  230. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_noparse.erl
  231. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_np.erl
  232. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_np_records.erl
  233. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_np_util.erl
  234. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_parse.erl
  235. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_scan.erl
  236. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_scan_model.erl
  237. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_scan_util.erl
  238. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_scanner.erl
  239. +2 −2 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_scanner_server.erl
  240. +1 −1 {erlide_kernel_ide → ide/apps/erlide_ide}/src/parsing/erlide_text.erl
  241. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_indent_tests.erl
  242. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_open_tests.erl
  243. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_parse_tests.erl
  244. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_parsing_tests.erl
  245. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_scan_model_tests.erl
  246. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_scan_tests.erl
  247. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_scanner_tests.erl
  248. 0 {erlide_kernel_ide → ide/apps/erlide_ide}/test/erlide_search_tests.erl
  249. +8 −0 ide/build
  250. +10 −0 ide/rebar.config
  251. +1 −0 ide/rebar.lock
  252. +0 −1 org.erlide.kernel/.gitignore
  253. +0 −3 org.erlide.kernel/build.properties
  254. +0 −98 otp_support.gradle
  255. BIN rebar3
  256. +1 −0 server/.gitignore
  257. +15 −0 server/build
  258. BIN server/erlide_ide
  259. +0 −7 settings.gradle
View
@@ -1,49 +1,6 @@
-*.doc diff=astextplain
-*.DOC diff=astextplain
-*.docx diff=astextplain
-*.DOCX diff=astextplain
-*.dot diff=astextplain
-*.DOT diff=astextplain
-*.pdf diff=astextplain
-*.PDF diff=astextplain
-*.rtf diff=astextplain
-*.RTF diff=astextplain
+text eol=lf
*.jpg binary
*.png binary
*.gif binary
-*.cs text=auto diff=csharp
-*.vb text=auto
-*.c text=auto
-*.cpp text=auto
-*.cxx text=auto
-*.h text=auto
-*.hxx text=auto
-*.py text=auto
-*.rb text=auto
-*.java text=auto
-*.html text=auto
-*.htm text=auto
-*.css text=auto
-*.scss text=auto
-*.sass text=auto
-*.less text=auto
-*.js text=auto
-*.lisp text=auto
-*.clj text=auto
-*.sql text=auto
-*.php text=auto
-*.lua text=auto
-*.m text=auto
-*.asm text=auto
-*.erl text=auto
-*.fs text=auto
-*.fsx text=auto
-*.hs text=auto
-
-*.csproj text=auto merge=union
-*.vbproj text=auto merge=union
-*.fsproj text=auto merge=union
-*.dbproj text=auto merge=union
-*.sln text=auto eol=crlf merge=union
View
2 API.md
@@ -3,7 +3,7 @@ Currently, very much a work in progress.
# Protocol
The API can be accessed as:
-- a "regular" gen_server (for Erlang clients, or thers that can implement a distributed node)
+- a "regular" gen_server (for Erlang clients, or others that can implement a distributed node)
- a TCP endpoint, using Erlang terms in external format (or UBF) as data
- (not yet) a HTTP endpoint, using REST to access the functionality
View
@@ -1,41 +1,60 @@
#!groovy
-stage 'Checkout'
-node {
- wrap([$class: 'TimestamperBuildWrapper']) {
- checkout()
- }
-}
-
-stage 'Compile'
-node {
- wrap([$class: 'TimestamperBuildWrapper']) {
- compile()
- }
-}
+pipeline {
+ agent any
+ options {
+ disableConcurrentBuilds()
+ timestamps()
+ skipDefaultCheckout()
+ buildDiscarder(logRotator(numToKeepStr: '10'))
+ }
+ stages {
+ stage('Checkout') {
+ steps{
+ retry(3) {
+ timeout(time: 30, unit: 'SECONDS') {
+ script {
+ checkout()
+ }
+ }
+ }
+ }
+ }
+
+ stage('Compile') {
+ steps{
+ script {
+ compile()
+ analyze()
+ }
+ }
+ }
+
+ stage('Eclipse') {
+ steps{
+ script {
+ buildEclipse()
+ publishEclipse()
+ }
+ }
+ }
+
+ stage('Server') {
+ steps{
+ script {
+ buildServer()
+ publishServer()
+ }
+ }
+ }
+ }
+ //post {
+ //always {
+ //deleteDir()
+ //}
+ //}
-//stage 'Tests'
-// runTests()
-stage 'Analyze'
-node {
- wrap([$class: 'TimestamperBuildWrapper']) {
- analyze()
- }
-}
-
-stage 'Archive'
-node {
- wrap([$class: 'TimestamperBuildWrapper']) {
- archive = archive()
- }
-}
-
-stage 'Publish'
-node {
- wrap([$class: 'TimestamperBuildWrapper']) {
- publishRelease(archive)
- }
}
///////////////////////////////////
@@ -54,40 +73,43 @@ def checkout() {
git_commit=readFile('GIT_COMMIT')
short_commit=git_commit.take(6)
- //currentBuild.setName("${short_commit}__${env.BUILD_NUMBER}")
currentBuild.setDescription("${git_branch} - ${short_commit}")
}
def compile() {
- wrap([$class: 'Xvfb', displayNameOffset: 100, installationName: 'xvfb', screen: '1024x768x24']) {
- sh "chmod u+x gradlew"
- sh "./gradlew build test assemble"
-
- if(git_branch=="master") {
- // TODO rename product artifacts
- }
- }
+ sh "chmod u+x build"
+ sh "./build"
}
def analyze() {
step([$class: 'WarningsPublisher', canComputeNew: false, canResolveRelativePaths: false,
consoleParsers: [[parserName: 'Erlang Compiler (erlc)']],
excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', unHealthy: ''])
- step([$class: 'TasksPublisher', canComputeNew: false, excludePattern: '**/_build/**/*.*,**/.eunit/**/*.*', healthy: '', high: 'FIXME,XXX', low: '', normal: 'TODO', pattern: '**/*.erl,**/*.hrl', unHealthy: ''])
+ step([$class: 'TasksPublisher', canComputeNew: false, excludePattern: '**/_build/**/*.*', healthy: '', high: 'FIXME,XXX', low: '', normal: 'TODO', pattern: '**/*.erl,**/*.hrl', unHealthy: ''])
step([$class: 'AnalysisPublisher', canComputeNew: false, healthy: '', unHealthy: ''])
step([$class: 'JUnitResultArchiver', allowEmptyResults: true, testResults: '**/TEST*.xml'])
- step([$class: 'JacocoPublisher', exclusionPattern: '', sourcePattern: '**/src/'])
- // locks
+ //step([$class: 'JacocoPublisher', exclusionPattern: '', sourcePattern: '**/src/'])
+ // we need Cobertura...
+ // publishHTML([
+ // allowMissing: false,
+ // alwaysLinkToLastBuild: false,
+ // keepAll: true,
+ // reportDir: '',
+ // reportFiles:
+ // '''common/_build/test/index.html
+ // ''',
+ // reportName: 'Coverage Report'
+ // ])
+}
+
+def buildEclipse() {
+ sh "cd eclipse && ./build && cd .."
+ step([$class: 'ArtifactArchiver', artifacts: "eclipse/org.erlide.kernel.site-*.zip", fingerprint: true])
}
-def archive() {
- sh 'rm -rf VSN'
- sh 'cat org.erlide.kernel/META-INF/MANIFEST.MF | grep "Bundle-Version:" | cut -d " " -f 2 > VSN'
- def vsn = readFile('VSN').trim().replace('.qualifier', '')
- def archive = "org.erlide.kernel_${vsn}.zip"
- sh "mv target/org.erlide.kernel.zip ${archive}"
- step([$class: 'ArtifactArchiver', artifacts: archive, fingerprint: true])
- return archive
+def buildServer() {
+ sh "cd server && ./build && cd .."
+ step([$class: 'ArtifactArchiver', artifacts: "server/erlide_ide", fingerprint: true])
}
@NonCPS
@@ -96,7 +118,8 @@ def getVersion(String archive) {
return m[0]
}
-def publishRelease(def archive) {
+def publishEclipse() {
+ def archive = "org.erlide.kernel.site-.zip"
def isMaster = (git_branch=='master')
sh "git remote get-url origin > REPO"
def isMainRepo = readFile('REPO').trim().contains('github.com/erlang/')
@@ -151,3 +174,5 @@ def getReleaseInfo(String data) {
return m[0]
}
+def publishServer() {
+}
View
43 build
@@ -0,0 +1,43 @@
+#! /bin/bash
+
+source ./build_utils.sh
+
+setup_otp() {
+ echo "Setup Erlang tools - the first time, this might take 30 minutes or more, as we need to build up to 4 Erlang runtimes..."
+ if [ ! -e ~/erlide_tools/kerl ]; then
+ curl -s 'https://raw.githubusercontent.com/kerl/kerl/master/kerl' > ~/erlide_tools/kerl
+ chmod u+x ~/erlide_tools/kerl
+ fi
+ ~/erlide_tools/kerl update releases > /dev/null
+
+ for v in "${OTP_VSNS[@]}"; do
+ ~/erlide_tools/kerl build $v $v
+ if [ ! -e ~/erlide_tools/$v ]; then
+ ~/erlide_tools/kerl install $v ~/erlide_tools/$v
+ else
+ echo "OTP $v already installed"
+ fi
+ done
+}
+
+export LOCALDEP_DIR=`pwd`
+export REBAR_COLOR="low"
+#export QUIET=1
+
+main() {
+ setup_otp
+ find . -name build | xargs chmod u+x
+
+ cmds="do clean -a, compile, eunit -c -v, cover -v"
+
+ cd common
+ ./build $cmds
+ cd ../debugger
+ ./build $cmds
+ cd ../ide
+ ./build $cmds
+
+ cd ..
+}
+
+time main
View
@@ -20,7 +20,7 @@ import java.util.regex.Matcher
def otpVersions = [
"17": "17.5",
"18": "18.3",
- "19": "19.0"
+ "19": "19.2"
]
subprojects {
@@ -49,7 +49,7 @@ subprojects {
task test(type: Exec) {
dependsOn ':setup'
workingDir = projectDir
- environment['ERL_LIBS'] = "${projectDir}/../erlide_kernel_common/_build/test/lib:${System.getProperty("user.home")}/erlide_tools:${environment['ERL_LIBS']}"
+ environment['ERL_LIBS'] = "${projectDir}/../erlide_common/_build/test/lib:${System.getProperty("user.home")}/erlide_tools:${environment['ERL_LIBS']}"
commandLine "${otpHome}/bin/escript", "${rootDir}/rebar3", 'do', 'eunit,cover'
}
@@ -138,7 +138,7 @@ String detect_otp(File dir) {
String r = m.group(1)
return r.toLowerCase()
}
- return "r16"
+ return "r17"
}
String detect_app_name(File dir) {
View
@@ -0,0 +1,84 @@
+#! /bin/bash
+
+declare -A OTP_VSNS=( ["17"]="17.5" ["18"]="18.3" ["19"]="19.2")
+
+build_project() {
+ REBAR=$1
+ PRJ=$2
+ VSN=$3
+ shift
+ shift
+ shift
+
+ echo ""
+ echo "Building $PRJ with OTP ${OTP_VSNS[$VSN]}..."
+ ~/erlide_tools/${OTP_VSNS[$VSN]}/bin/escript $REBAR "$@"
+}
+
+build_projects() {
+ build_project erlide_common 17 "$@"
+ build_project erlide_debugger_17 17 "$@"
+ build_project erlide_debugger_18 18 "$@"
+ build_project erlide_debugger_19 19 "$@"
+ build_project erlide_debugger 17 "$@"
+ build_project erlide_tools 17 "$@"
+
+ build_project erlide_ide 19 "$@"
+}
+
+assemble_eclipse_plugin() {
+ echo "Assemble eclipse plugin"
+ mkdir -p org.erlide.kernel/common
+ cp erlide_common/_build/default/lib/*/ebin/*.* org.erlide.kernel/common
+ cp erlide_tools/_build/default/lib/*/ebin/*.* org.erlide.kernel/common
+
+ mkdir -p org.erlide.kernel/ide
+ cp erlide_ide/_build/default/lib/*/ebin/*.* org.erlide.kernel/ide
+
+ mkdir -p org.erlide.kernel/debugger
+ cp erlide_debugger/_build/default/lib/*/ebin/*.* org.erlide.kernel/debugger
+
+ mkdir -p org.erlide.kernel/debugger/17
+ cp erlide_debugger_17/_build/default/lib/*/ebin/*.* org.erlide.kernel/debugger/17
+ mkdir -p org.erlide.kernel/debugger/18
+ cp erlide_debugger_18/_build/default/lib/*/ebin/*.* org.erlide.kernel/debugger/18
+ mkdir -p org.erlide.kernel/debugger/19
+ cp erlide_debugger_19/_build/default/lib/*/ebin/*.* org.erlide.kernel/debugger/19
+
+ cd org.erlide.kernel
+ rm -f org.erlide.kernel_*.zip
+ VSN=`get_plugin_vsn .`
+ zip -r org.erlide.kernel_$VSN.zip * > /dev/null
+ cd ..
+
+ mkdir -p _build
+ rm -f _build/org.erlide.kernel_*.zip
+ mv org.erlide.kernel/org.erlide.kernel_*.zip _build
+ echo "Created _build/org.erlide.kernel_$VSN.zip"
+}
+
+get_plugin_vsn() {
+ x=`cat $1/META-INF/MANIFEST.MF | grep "Bundle-Version:" | cut -d " " -f 2`
+ echo "${x%.qualifier}"
+}
+
+get_feature_vsn() {
+ x=`cat $1/feature.xml | grep "version=" | head -n 2 | tail -n 1 | cut -d '"' -f 2`
+ echo "${x%.qualifier}"
+}
+
+assemble_language_server() {
+ echo "Assemble language_server"
+ #cd
+ VSN=`get_server_vsn`
+
+ #echo "Created _build/erlide_server_$VSN.zip"
+}
+
+get_server_vsn() {
+ # FIXME
+ #x=`cat META-INF/MANIFEST.MF | grep "Bundle-Version:" | cut -d " " -f 2`
+ #echo "${x%.qualifier}"
+ echo "x.x.x"
+}
+
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>erlide_kernel_common</name>
+ <name>erlide_common</name>
<comment></comment>
<projects>
</projects>
No changes.
Oops, something went wrong.

0 comments on commit 7460988

Please sign in to comment.