Skip to content

Commit 41e6cc1

Browse files
authored
Merge pull request #1579 from Alex-Kent/master
Various fixes
2 parents 7596d43 + 602927a commit 41e6cc1

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

build_then_launch.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

3-
file_x86="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86/sloeber/sloeber-ide"
4-
file_x86_64="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86_64/sloeber/sloeber-ide"
3+
file_x86_64="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86_64/Sloeber/sloeber-ide"
54
file=""
65

76
echo "Trying to build and then launch the Arduino Eclipse IDE"
@@ -23,11 +22,6 @@ fi
2322

2423
echo "Searching for the Eclipse executable (with our plugin pre-packaged) to launch"
2524
#Find an executable if we made it successfully
26-
if [[ -x "$file_x86" ]]
27-
then
28-
#echo "File '$file_x86' is executable"
29-
file=$file_x86
30-
fi
3125

3226
if [[ -x "$file_x86_64" ]]
3327
then

io.sloeber.product/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<configuration>
3535
<formats>
3636
<win32>zip</win32>
37-
<linux>zip</linux>
37+
<linux>tar.gz</linux>
3838
<macosx>zip</macosx>
3939
</formats>
4040
<products>

readme.md

+17-7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ You only need to do one.
1919
## Prerequisites
2020
Please install [git](http://git-scm.com/downloads) and [maven](http://maven.apache.org/download.cgi).
2121

22+
Java 17 is required.
23+
24+
A 64-bit OS is required.
25+
26+
2227
## Build from the command line from source for your os and the default eclipse instance
2328
```bash
2429
git clone https://github.com/Sloeber/arduino-eclipse-plugin sloeber
@@ -43,21 +48,26 @@ You can control the maven build with the following profiles:
4348

4449
* latest (default, builds against the latest versions)
4550
* SDK (builds a Sloeber you can program Sloeber in. With Java.)
46-
* win32 (builds for 32 bit windows)
4751
* win64
4852
* linux64
4953
* mac64
5054
* macm1
5155

5256
### Examples
53-
mvn clean verify -Pwin64,latest,NOSDK -DskipTests=true (builds for latest eclipse and windows bits)
54-
mvn clean verify -Plinux32,latest.NOSDK -DskipTests=true (builds for latest eclipse and linux 32 bits)
55-
mvn clean verify -PSDK,win64,latest -DskipTests=true (builds the Sloeber SDK. For Sloeber programmers.)
56-
57-
To build for latest and the platform you are running on:
5857

59-
mvn clean verify -DskipTests=true
58+
* Build the latest version for the platform you are running on:
59+
60+
`mvn clean verify -PNOSDK -DskipTests=true`
6061

62+
* Build Eclipse + Sloeber for 64-bit Windows:
63+
`mvn clean verify -Pwin64,latest,NOSDK -DskipTests=true`
64+
65+
* Build Eclipse + Sloeber for 64-bit Linux:
66+
`mvn clean verify -Plinux64,latest,NOSDK -DskipTests=true`
67+
68+
* Build the Sloeber SDK for 64-bit Windows (for Sloeber programmers):
69+
`mvn clean verify -PSDK,win64,latest -DskipTests=true`
70+
6171
# Importing your build into another Eclipse
6272
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```
6373

0 commit comments

Comments
 (0)