Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - git setup , see http://wiki.dev.unifiedpost.com/display/IT/Git+documentation
- git config --global user.name "Your Name"
- This will create C:\Users\admin\.gitconfig
- Update to :
- [user]
- name = Bart Lievens
- email = Bart.Lievens@unifiedpost.com
- [core]
- excludesfile = C:/Users/admin/.gitignore_global.txt
- # new lines difference between OS X / Windows
- autocrlf = true
- # avoid showing diff in file modes in shared folder between OS X /Windows. , might update indivual repos
- fileMode = false
- # updated color for beter readability (default red not very readable in git status)
- [color]
- ui = true
- [color "status"]
- changed = red bold
- untracked = red bold
- added = green bold
- Add .gitignore_global.txt file with content :
- # JetBrains IntelliJ IDEA files
- .idea
- *.iml
- # IntelliJ Ruby plugin
- .generators
- .rakeTask
- # Mac OS X Desktop Services Store
- .DS_Store
- - install notepad+
- - Maven configuraiton not ok, no env variables set : setting user (admin) env variables :
- JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121
- MAVEN_HOME=C:\Users\admin\Desktop\Maven\apache-maven-3.5.0
- Add to path : %MAVEN_HOME%\bin;
- copy of C:\Users\admin\Desktop\Maven\apache-maven-3.5.0\conf\setting.xml in to C:\Users\admin\.m2
- Added to Servers :
- <!-- nexus servers -->
- <server>
- <id>up-snapshots</id>
- <username>---username-to-fill-in---</username>
- <password>---password-to-fill-in---</password>
- <configuration>
- <timeout>5000</timeout> <!-- 5 seconds -->
- </configuration>
- </server>
- <server>
- <id>up-releases</id>
- <username>---username-to-fill-in---</username>
- <password>---password-to-fill-in---</password>
- <configuration>
- <timeout>5000</timeout> <!-- 5 seconds -->
- </configuration>
- </server>
- Added to profiles :
- <profile>
- <id>localsettings</id>
- <activation>
- <property>
- <name>!skipLocalSettings</name>
- </property>
- </activation>
- <properties>
- <visual_studio_bin_path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</visual_studio_bin_path>
- </properties>
- </profile>
- - did not setup keys for git yet, as using git repo from guest os
- - going to eid_reader_plugin repo dir.
- > mvn clean install
- => issue with firebreath cmake script : Visual Studio versio/ cmake / Compilers ""
- in eid_reader_plugin/eid_reader_plugin :
- => update .\firebreath\prep2017.cmd script , set _FB_GEN="Visual Studio 15 2017"
- >.\firebreath\prep2017.cmd . target
- 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 :
- - visual studio installer
- add C++ Desktop development
- - Install WinDDK 7 , iso in downloads folder.
- - add shared folder to maven repository on host machine (name repository)
- + update settings.xml , add :
- <localRepository>\\vboxsrv\repository</localRepository>
- - problem with Virtualbox bug : https://www.virtualbox.org/ticket/14118
- upgraded to Vb 5.1.20 (form 5.1.18) , but same.
- Downgraded maven-assembly-plugin to 2.4 , this solves issue.
- => so Nothing for this to fix or change to image.
- Next step is trying to build the new edge related code, but we got already a long way.
- fori n settings.xml
- was about to test it
- user : eid_win_build_vm
- password :
- I will update in settings.xml on the vm
- Bart Lievens
- als did some small update to profile in there
- <profile>
- <id>localsettings</id>
- <activation>
- <property>
- <name>!skipLocalSettings</name>
- </property>
- </activation>
- <properties>
- <visual_studio_cmake_template>"Visual Studio 15 2017"</visual_studio_cmake_template>
- <visual_studio_bin_path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</visual_studio_bin_path>
- <eid_UWP_local_target_path>C:\EidUWP\target</eid_UWP_local_target_path>
- </properties>
- </profile>
- I'm not sure properties were all set in previous update
- Catalin Petrescu
- I will update this
- Bart Lievens
- for servers it would become :
- <!-- nexus servers -->
- <server>
- <id>up-snapshots</id>
- <username>eid_win_build_vm</username>
- <password>iRBdvaod5A</password>
- <configuration>
- <timeout>5000</timeout> <!-- 5 seconds -->
- </configuration>
- </server>
- <server>
- <id>up-thirdparty</id>
- <username>eid_win_build_vm</username>
- <password>iRBdvaod5A</password>
- <configuration>
- <timeout>5000</timeout> <!-- 5 seconds -->
- </configuration>
- </server>
- <server>
- <id>up-releases</id>
- <username>eid_win_build_vm</username>
- <password>iRBdvaod5A</password>
- <configuration>
- <timeout>5000</timeout> <!-- 5 seconds -->
- </configuration>
- </server>
- <server>
- <id>up-nxt-releases</id>
- <username>eid_win_build_vm</username>
- <password>iRBdvaod5A</password>
- <configuration>
- <timeout>5000</timeout> <!-- 5 seconds -->
- </configuration>
- </server>
- <server>
- <id>up-nxt-snapshots</id>
- <username>eid_win_build_vm</username>
- <password>iRBdvaod5A</password>
- <configuration>
- <timeout>5000</timeout> <!-- 5 seconds -->
- </configuration>
- </server>
- </servers>2:13 PM
- I probably limited the list in my documentation
- but it might be usefull to put them all in for other builds usages
Add Comment
Please, Sign In to add comment