Skip to content

Various fixes #1579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build_then_launch.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

file_x86="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86/sloeber/sloeber-ide"
file_x86_64="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86_64/sloeber/sloeber-ide"
file_x86="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86/Sloeber/sloeber-ide"
file_x86_64="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86_64/Sloeber/sloeber-ide"
file=""

echo "Trying to build and then launch the Arduino Eclipse IDE"
Expand Down
2 changes: 1 addition & 1 deletion io.sloeber.product/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<configuration>
<formats>
<win32>zip</win32>
<linux>zip</linux>
<linux>tar.gz</linux>
<macosx>zip</macosx>
</formats>
<products>
Expand Down
25 changes: 18 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ You only need to do one.
## Prerequisites
Please install [git](http://git-scm.com/downloads) and [maven](http://maven.apache.org/download.cgi).

Java 17 is required.

## Build from the command line from source for your os and the default eclipse instance
```bash
git clone https://github.com/Sloeber/arduino-eclipse-plugin sloeber
Expand Down Expand Up @@ -50,14 +52,23 @@ You can control the maven build with the following profiles:
* macm1

### Examples
mvn clean verify -Pwin64,latest,NOSDK -DskipTests=true (builds for latest eclipse and windows bits)
mvn clean verify -Plinux32,latest.NOSDK -DskipTests=true (builds for latest eclipse and linux 32 bits)
mvn clean verify -PSDK,win64,latest -DskipTests=true (builds the Sloeber SDK. For Sloeber programmers.)

To build for latest and the platform you are running on:

mvn clean verify -DskipTests=true

* Build the latest version for the platform you are running on:

`mvn clean verify -DskipTests=true`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOSDK is best here
The SDK is an option to build a eclipse instance to do java development on sloeber


* Build Eclipse + Sloeber for 64-bit Windows:
`mvn clean verify -Pwin64,latest,NOSDK -DskipTests=true`

* Build Eclipse + Sloeber for 64-bit Linux:
`mvn clean verify -Plinux64,latest,NOSDK -DskipTests=true`

* Build Eclipse + Sloeber for 32-bit Linux:
`mvn clean verify -Plinux32,latest,NOSDK -DskipTests=true`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32 bit eclipse doesn't work anymore.
As you are on it. Can you remove these 32 bit references?

Copy link
Contributor Author

@Alex-Kent Alex-Kent Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing. I saw the website pages are also in this repository so I'll remove the chmod note from the Linux download page as well (can't test that the download page handles tar.gz correctly though since I don't have PHP installed). I'll add a commit with all the additional stuff.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can leave download links on the web pages to me. The download links to the web pages are based on files and only updated when I make an official release.


* Build the Sloeber SDK (for Sloeber programmers):
`mvn clean verify -PSDK,win64,latest -DskipTests=true`

# Importing your build into another Eclipse
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```

Expand Down