You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Sloeber, the Arduino IDE for Eclipse <imgstyle="float: right"src="https://avatars2.githubusercontent.com/u/25158881?v=3&s=200"height="50"/>
1
+
#Sloeber, the Arduino IDE for Eclipse <imgstyle="float: right"src="https://avatars2.githubusercontent.com/u/25158881?v=3&s=200"height="50"/>
2
2
3
3
The Eclipse IDE (Integrated Developement Environment) is a full featured programming editor with many fantastic features to help you code more quickly and easily. The Arduino IDE is great for what it does – but it doesn't do much to help writing, navigating and understanding your (and other people's) code.
mvn clean verify -Plinux32 -DskipTests=true (builds for neon and linux 32 bits)
65
+
mvn clean verify -PSDK.latest -DskipTests=true (builds the Sloeber SDK. For Sloeber programmers.)
66
+
mvn clean verify -P2018-09,linux64 -DskipTests=true (builds against 2018-09 and produces linux64 product)
67
+
68
+
To build for latest and the platform you are running on:
79
69
80
-
To build for neon and the platform you are running on:
81
-
82
-
mvn clean verify -Dtest=RegressionTest
83
-
84
-
### what is this -Dtest=RegressionTest about
85
-
mvn builds and run tests automagically. However many junit tests in Sloeber are very extensive and will always have failures.
86
-
By adding -Dtest=RegressionTest anly the regression test is run and this test should be successfull.
87
-
88
-
### Setting up a repository
70
+
mvn clean verify -DskipTests=true
89
71
72
+
### Importing your build into another Eclipse
90
73
If you want to import the latest code based plugin to another Eclipse setup you have then it is possible to setup a local repository to install the plugin you have just built. Just add a local repository with location ```arduino-eclipse-plugin/io.sloeber.product/target/repository```
91
74
92
75

@@ -96,103 +79,18 @@ If you want to import the latest code based plugin to another Eclipse setup you
96
79
* Fork the repository on GitHub (https://help.github.com/articles/fork-a-repo) for your changes. Note that your git link should look like this: https://github.com/YOUR_FORK/arduino-eclipse-plugin.git –– we will use it later.
97
80
* Checkout locally
98
81
* Make changes
99
-
* Run ```mvn clean verify -Dtest=RegressionTest``` to build
100
-
* Open the self-contained IDE and verify your fix
101
-
* (Anything special about Travis CI & builds?)
102
-
103
-
#### Adding Eclipse PDE (Plugin Development Environment)
104
-
105
-
You should already have a supported Eclipse version installed (the CDT package makes a good start point). Let's add:
106
-
107
-
> Help → Install New Software → Work with: → All Available Sites
108
-
109
-
Now search/select the *Eclipse Plug-in Development Environment*
110
-
111
-
Note: This may take a while to download all the available packages.
112
-
113
-

114
-
115
-
116
-
#### Adding Eclipse JDT (Java Development Tools)
117
-
118
-
If you're not using Eclipse with the JDT you'll need to install them. To do this you first need to open the Dialog for installing new Software:
119
-
120
-
> Help → Install New Software
121
-
122
-
There you select for *Work with:**YOUR_ECLIPSE_RELEASE - http://download.eclipse.org/releases/YOUR_ECLIPSE_RELEASE*
123
-
124
-
After that, select
125
-
126
-
> Programming Languages → Eclipse Java Development Tools
127
-
128
-
#### Add EGit - Eclipse Git Team Provider
129
-
130
-
To install EGit you'll need to do the following:
131
-
132
-
> Help → Install New Software
133
-
134
-
There have to enter the following URL and press ENTER.
135
-
136
-
*http://download.eclipse.org/egit/updates
82
+
* Run ```mvn clean verify -PSDK,latest -DskipTests=true``` to build
137
83
138
-
Now you have to open up the *Eclipse Git Team Provider* Category and select *Eclipse Git Team Provider*.
139
-
Then press next and follow the instructions.
84
+
After the build, find the Sloeber SDK product in the io.sloeber.product.sdk target directory. Unzip it somewhere in your home directory (mind you we cannot handle very long path names)
140
85
141
-
#### Add nebula (for the plotter)
142
-
To install nebula you need the snapshot
86
+
Note that Sloeber itself is NOT included in the Sloeber SDK.
143
87
144
-
> Help → Install New Software
145
88
146
-
There have to enter the following URL and press ENTER.
0 commit comments