Guest User

Untitled

a guest
May 19th, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. - git setup , see http://wiki.dev.unifiedpost.com/display/IT/Git+documentation
  2. git config --global user.name "Your Name"
  3. This will create C:\Users\admin\.gitconfig
  4. Update to :
  5. [user]
  6. name = Bart Lievens
  7. email = Bart.Lievens@unifiedpost.com
  8.  
  9. [core]
  10. excludesfile = C:/Users/admin/.gitignore_global.txt
  11. # new lines difference between OS X / Windows
  12. autocrlf = true
  13. # avoid showing diff in file modes in shared folder between OS X /Windows. , might update indivual repos
  14. fileMode = false
  15.  
  16. # updated color for beter readability (default red not very readable in git status)
  17. [color]
  18. ui = true
  19. [color "status"]
  20. changed = red bold
  21. untracked = red bold
  22. added = green bold
  23.  
  24. Add .gitignore_global.txt file with content :
  25. # JetBrains IntelliJ IDEA files
  26. .idea
  27. *.iml
  28.  
  29. # IntelliJ Ruby plugin
  30. .generators
  31. .rakeTask
  32.  
  33. # Mac OS X Desktop Services Store
  34. .DS_Store
  35.  
  36. - install notepad+
  37.  
  38. - Maven configuraiton not ok, no env variables set : setting user (admin) env variables :
  39. JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121
  40. MAVEN_HOME=C:\Users\admin\Desktop\Maven\apache-maven-3.5.0
  41. Add to path : %MAVEN_HOME%\bin;
  42.  
  43. copy of C:\Users\admin\Desktop\Maven\apache-maven-3.5.0\conf\setting.xml in to C:\Users\admin\.m2
  44.  
  45. Added to Servers :
  46. <!-- nexus servers -->
  47. <server>
  48. <id>up-snapshots</id>
  49. <username>---username-to-fill-in---</username>
  50. <password>---password-to-fill-in---</password>
  51. <configuration>
  52. <timeout>5000</timeout> <!-- 5 seconds -->
  53. </configuration>
  54. </server>
  55. <server>
  56. <id>up-releases</id>
  57. <username>---username-to-fill-in---</username>
  58. <password>---password-to-fill-in---</password>
  59. <configuration>
  60. <timeout>5000</timeout> <!-- 5 seconds -->
  61. </configuration>
  62. </server>
  63.  
  64. Added to profiles :
  65. <profile>
  66. <id>localsettings</id>
  67. <activation>
  68. <property>
  69. <name>!skipLocalSettings</name>
  70. </property>
  71. </activation>
  72. <properties>
  73. <visual_studio_bin_path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</visual_studio_bin_path>
  74. </properties>
  75. </profile>
  76.  
  77. - did not setup keys for git yet, as using git repo from guest os
  78.  
  79. - going to eid_reader_plugin repo dir.
  80. > mvn clean install
  81.  
  82. => issue with firebreath cmake script : Visual Studio versio/ cmake / Compilers ""
  83.  
  84. in eid_reader_plugin/eid_reader_plugin :
  85. => update .\firebreath\prep2017.cmd script , set _FB_GEN="Visual Studio 15 2017"
  86.  
  87. >.\firebreath\prep2017.cmd . target
  88.  
  89.  
  90. good new, was able to build the eid_reader_plugin with VM, just had to add following additional steps of which you already know most :
  91.  
  92. - visual studio installer
  93. add C++ Desktop development
  94.  
  95. - Install WinDDK 7 , iso in downloads folder.
  96.  
  97. - add shared folder to maven repository on host machine (name repository)
  98. + update settings.xml , add :
  99. <localRepository>\\vboxsrv\repository</localRepository>
  100.  
  101. - problem with Virtualbox bug : https://www.virtualbox.org/ticket/14118
  102. upgraded to Vb 5.1.20 (form 5.1.18) , but same.
  103. Downgraded maven-assembly-plugin to 2.4 , this solves issue.
  104. => so Nothing for this to fix or change to image.
  105.  
  106. Next step is trying to build the new edge related code, but we got already a long way.
  107.  
  108. fori n settings.xml
  109. was about to test it
  110. user : eid_win_build_vm
  111. password :
  112.  
  113. I will update in settings.xml on the vm
  114. Bart Lievens
  115. als did some small update to profile in there
  116. <profile>
  117. <id>localsettings</id>
  118. <activation>
  119. <property>
  120. <name>!skipLocalSettings</name>
  121. </property>
  122. </activation>
  123. <properties>
  124. <visual_studio_cmake_template>"Visual Studio 15 2017"</visual_studio_cmake_template>
  125. <visual_studio_bin_path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</visual_studio_bin_path>
  126. <eid_UWP_local_target_path>C:\EidUWP\target</eid_UWP_local_target_path>
  127. </properties>
  128. </profile>
  129. I'm not sure properties were all set in previous update
  130. Catalin Petrescu
  131. I will update this
  132. Bart Lievens
  133. for servers it would become :
  134. <!-- nexus servers -->
  135. <server>
  136. <id>up-snapshots</id>
  137. <username>eid_win_build_vm</username>
  138. <password>iRBdvaod5A</password>
  139. <configuration>
  140. <timeout>5000</timeout> <!-- 5 seconds -->
  141. </configuration>
  142. </server>
  143. <server>
  144. <id>up-thirdparty</id>
  145. <username>eid_win_build_vm</username>
  146. <password>iRBdvaod5A</password>
  147. <configuration>
  148. <timeout>5000</timeout> <!-- 5 seconds -->
  149. </configuration>
  150. </server>
  151. <server>
  152. <id>up-releases</id>
  153. <username>eid_win_build_vm</username>
  154. <password>iRBdvaod5A</password>
  155. <configuration>
  156. <timeout>5000</timeout> <!-- 5 seconds -->
  157. </configuration>
  158. </server>
  159. <server>
  160. <id>up-nxt-releases</id>
  161. <username>eid_win_build_vm</username>
  162. <password>iRBdvaod5A</password>
  163. <configuration>
  164. <timeout>5000</timeout> <!-- 5 seconds -->
  165. </configuration>
  166. </server>
  167. <server>
  168. <id>up-nxt-snapshots</id>
  169. <username>eid_win_build_vm</username>
  170. <password>iRBdvaod5A</password>
  171. <configuration>
  172. <timeout>5000</timeout> <!-- 5 seconds -->
  173. </configuration>
  174. </server>
  175. </servers>2:13 PM
  176. I probably limited the list in my documentation
  177. but it might be usefull to put them all in for other builds usages
Add Comment
Please, Sign In to add comment