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
mvn clean verify -Plinux32 -DskipTests=true (builds for neon and linux 32 bits)
78
+
mvn clean verify -PSDK.latest -DskipTests=true (builds the Sloeber SDK. For Sloeber programmers.)
79
+
mvn clean verify -P2018-09,linux64 -DskipTests=true (builds against 2018-09 and produces linux64 product)
80
+
80
81
To build for neon and the platform you are running on:
81
82
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.
83
+
mvn clean verify -DskipTests=true
87
84
88
85
### Setting up a repository
89
86
@@ -96,103 +93,18 @@ If you want to import the latest code based plugin to another Eclipse setup you
96
93
* 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
94
* Checkout locally
98
95
* 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
137
-
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.
140
-
141
-
#### Add nebula (for the plotter)
142
-
To install nebula you need the snapshot
143
-
144
-
> Help → Install New Software
145
-
146
-
There have to enter the following URL and press ENTER.
Now you have to open up the *Nebula Release all widgets and examples* Category and select *Nebula widgets*.
150
-
Then press next and follow the instructions.
96
+
* Run ```mvn clean verify -PSDK,latest -DskipTests=true``` to build
151
97
98
+
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)
152
99
153
-
### Importing an Arduino Plugin Project into Eclipse
100
+
Note that Sloeber itself is NOT included in the Sloeber SDK.
154
101
155
-
After you installed all the plugins you'll need to restart Eclipse.
156
102
157
-
Eventually your plugin source code will be ready to be used with Eclipse. There are two ways to import your projects into Eclipse:
158
-
159
-
#### 1. Via a Command Line
160
-
161
-
If you're using Windows you should first install [GitHub for Windows](http://windows.github.com/).
162
-
163
-
First you should open a command line, and change the directory to the directory where you want to store your Project.
0 commit comments