Scripts to build a full integrated release of MIND tools - compiler / doc / plugins
Either:
- python 2.7+ for Linux
- Python 3.4+ for Windows
For everyone:
- git 1.7.2+
- curl or wget download utility
It is STRONGLY recommended to clone this repository as close as your hard drive root as possible, since long paths names can be used and NTFS doesn't like it. This can lead to build failure.
If behind a proxy, you must set/export the "proxy_url", "http_proxy" and "https_proxy" environment variables before running the scripts.
On Linux or MinGW (Windows), this should be done in your command line or in your /home/user_id/.bashrc file, as follows:
- export proxy_url=proxy_url_or_ip:proxy_port
- export http_proxy=http://proxyuser:proxypwd@proxy_url_or_ip:proxy_port
- export https_proxy=https://proxyuser:proxypwd@proxy_url_or_ip:proxy_port
See in the sh/mind-tools-create-workspace-linux.sh and/or sh/mind-tools-create-workspace-mingw.sh file for more details.
Your Git and Maven tools should be configured to handle the proxy as well, otherwise "repo" (handling multiple Git repositories) and the build will fail.
For Git:
Either:
- git config --global http.proxy http://proxyuser:proxypwd@proxy_url_or_ip:proxy_port
- git config --global https.proxy https://proxyuser:proxypwd@proxy_url_or_ip:proxy_port
Or edit your $(HOME)/.gitconfig file
- Add [http] and [https] sections with the same keys and values.
See http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server for further details
For Maven, either edit:
- the conf/settings.xml file of your Maven installation (system setting)
- or your user $(HOME)/.m2/settings.xml
Search for "proxy" in it, uncomment it and provide your configuration in the according fields.
Linux and MinGW users:
- Simply go to the sh folder: "cd sh"
- And run "./mind-tools-install-release-full-linux/mingw.sh" (choose the suffix accordingly).
Use the sh/ scripts, and:
USAGE: mind-tools-install-release-full-linux/mingw.sh [manifest_branch_name] [manifest_url]
Runs both following scripts in a sequence, to create a full build.
USAGE: mind-tools-create-workspace-linux/mingw.sh [workspace_folder] [manifest_branch_name] [manifest_url]
This script generates a full workspace into provided workspace_folder folder. It checks that all required tools are available, then gets the "repo" tool with curl/wget, uses repo with the https://github.com/MIND-Tools/mind-tools-release-manifest XML configuration that clones all desired Git repositories to the target folder.
Runs the Maven build of the full release construction. Shared by both Linux and MinGW scripts. See https://github.com/MIND-Tools/mind-tools for more details.
Use the win32 .bat scripts - To be delivered.