Skip to content

Commit 292edec

Browse files
committed
Various fixes: Changed Linux package format to "tar.gz"; Fixed executable paths in "build_then_launch.sh" (paths are case-sensitive on Linux et al.); Added note about requiring Java 17 to top-level "readme.md"; Cleaned-up and corrected examples in top-level "readme.md".
1 parent 7596d43 commit 292edec

File tree

3 files changed

+21
-10
lines changed

3 files changed

+21
-10
lines changed

build_then_launch.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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="./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"
55
file=""
66

77
echo "Trying to build and then launch the Arduino Eclipse IDE"

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

+18-7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ 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+
2224
## Build from the command line from source for your os and the default eclipse instance
2325
```bash
2426
git clone https://github.com/Sloeber/arduino-eclipse-plugin sloeber
@@ -50,14 +52,23 @@ You can control the maven build with the following profiles:
5052
* macm1
5153

5254
### 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:
58-
59-
mvn clean verify -DskipTests=true
6055

56+
* Build the latest version for the platform you are running on:
57+
58+
`mvn clean verify -DskipTests=true`
59+
60+
* Build Eclipse + Sloeber for 64-bit Windows:
61+
`mvn clean verify -Pwin64,latest,NOSDK -DskipTests=true`
62+
63+
* Build Eclipse + Sloeber for 64-bit Linux:
64+
`mvn clean verify -Plinux64,latest,NOSDK -DskipTests=true`
65+
66+
* Build Eclipse + Sloeber for 32-bit Linux:
67+
`mvn clean verify -Plinux32,latest,NOSDK -DskipTests=true`
68+
69+
* Build the Sloeber SDK (for Sloeber programmers):
70+
`mvn clean verify -PSDK,win64,latest -DskipTests=true`
71+
6172
# Importing your build into another Eclipse
6273
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```
6374

0 commit comments

Comments
 (0)