Eclipse Winery Toolchain¶
To contribute to Eclipse Winery development you need a GitHub account and access to https://github.com/opentosca/winery. Email your supervisor your GitHub username.
In case you did not choose an account name, use
fis the lower-case first letter of your first name and
lastnameis the lower-case last name.
Due to open source development, your email address will get public. In case, you don’t have a public email address, we recommend creating one or use your student email address. In case you want to create a longer-lasting one, please use the GitHub username. Example:
Please enable the git-hooks by executing
git config core.hooksPath .git-hooksin the root of the repository.
Install Apache Maven¶
Get Apache Maven to run.
Get write access to the code repositories¶
Email your supervisor your GitHub username and your development email address.
You will receive two emails from GitHub asking for your confirmation.
Open the link https://github.com/orgs/winery/invitation.
Open the link https://github.com/orgs/OpenTOSCA/invitation.
Steps to initialize the code repository¶
Clone https://github.com/opentosca/winery (it automatically becomes the
Change into the newly created directory
upstreamas second remote:
git remote add upstream https://github.com/eclipse/winery.git
Fetch everything from
git fetch upstreamor
git fetch --all
mvn clean install -DskipTeststo build the whole project
Steps to initialize a TOSCA repository¶
Winery has built-in magic to check for existence of
c:/winery-repository on Windows.
If that directory exists, this is used as repository location.
If that directory does not exists, it uses the home directory, which is
%HOME% defaulting to
~/winery-repository on Linux-based operating systems).
However, you can start Winery based on an existing repository.
XML Repo: https://github.com/OpenTOSCA/tosca-definitions-internal YAML Repo: https://github.com/radon-h2020/radon-particles
Clone one the repositories from above
Start the Winery backend to initialize the configuration files
C:\Users\<your user>\.wineryon your computer and open the file
Adjust the value of the
provider: file repositoryRoot: c:\git-repositories\tosca-definitions-internal
provider: yaml repositoryRoot: c:\git-repositories\radon-particles
Restart your Winery backend