Your fork page on will show: “This branch is even with igniterealtime:master.” Right click igniterealtime/master > Merge (if no unique changes in local branch, will make fast-forward merge) - Project repository will show: x and arrow pointing upwards Right click Remotes - igniterealtime > Fetchīranches > Local > master should already be checked (black icon with checkmark) Wait until original repository maintainers merge your pull request (or decline)Īfter other changes are committed to original repository, your fork page on shows: “This branch is x commits behind igniterealtime:master.”Įxpand Project Git repository (Git Repositories window) Go to your fork on and press New pull request > Create pull request > add commit message (if needed) > Create pull request Submitting your changes to original repository (Pull request):
Right click Remotes > Create Remote... name: igniterealtime, check Configure Fetch > Change URI: > Save (this should add both push and fetch)
In Git Repositories window Expand Project repository Right click this file > Team > Add to IndexĮclipse menu > Search > File… (check Selected resources to only search in selected project)Ĭreate a fork of repository (go to original repository on, click on Fork button, select your account)
Right click a package/folder > New > File - enter file’s nameĬopy or write a source code for this file Go to GitHub and create pull request, wait for Travis CI tests to complete, merge pull request and delete a branchĬommitting without a branch skips Travis CI tests (tests can be skipped when doing pull request also, just merging without waiting for them to complete) Team > Commit... (set Commit message, drag files with changes from Unstated to Staged window) > Commit and Push (enter login and password, check Save in Secure Store) Team > Advanced > Delete Branch (delete new branch)Ĭommit changes (when having write access to original Project repository): Team > Apply Patch... > select File > Finish Team > Switch to > New branch (source “master”, set a name without spaces, select Checkout new branch) > Finish
Right click Project repository in Git Repositories windows > Pull Run to launch - /target/build/bin/startup.bat (the path and name may vary depending on a project)īuild plugins (example for Spark, there is similar target for Openfire):Ĭlick on ugins > Press Run Target Press Run Target button to build a project Right click Ant script > Run As > External Tools Configurations... > select Ant script > JRE tab > select Run in the same JRE as the workspace > Apply > Close Uncheck “use default location” and set directory to K:\Git\Project > FinishĪdd buildfiles > select Project > build > build.xml Right click imported project and Delete (do not select deleting files on disk) Import as a general project > Next > Finish Setup Project in Eclipse with Git support:įile > Import > Git > Project from Git > NextĬlone URI > Next (Authentication not needed at this point) > Next WORKING WITH ORIGINAL REPOSITORY DIRECTLY: Run Eclipse and wait for workspace rebuild On Win7 圆4 also edit Path variable and change jdk_version part To run compiled versions add System variable JAVA_HOME with value C:\Program Files (x86)\Java\jdk_version (no trailing slash) (My computer > Advanced > Environment variables)
Install new JDK version (leave JRE checked) Launch new eclipse and select old workspace, let it be upgraded
Help > Install New Software > Work with: EGit - > select both modules and Finish (4.5 - EGit already included?)Įxit > select checkbox to not ask for confirmation on exit Launch and select default workspace, select checkbox to remember this selection Replace Project with Spark or Openfire (or other project’s name). This is a guide of setting up projects in Eclipse via GitHub.
As Spark has been already moved to Maven and Openfire is in the process, this guide might not apply (i have personally moved to IntelliJ, if one thinks there is a need for IntelliJ guide, i can provide one). This guide was created while all the projects were using Ant to build.