Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epp-dev] Added JustJ Java Runtime into Rust and JS packages

Lars,

JustJ has plenty of documentation, e.g.,

  https://download.eclipse.org/justj/www/?page=download

I think I would prefer that the JREs not be aggregated into the release train repository.  These things are big, and the releases of Java of not in lock-step with the train's schedule.  For example 14.0.2 was released just recently...

I'm in the process of completing the following work such that in the installer, the user has a choice (choices) of a JRE(s) available via the JustJ update site.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=565349

Of course has mentioned on the site documentation, the current "sandbox" location is not the final permanent location:

https://download.eclipse.org/justj/sandbox/jres/14/updates/nightly/latest

Probably all that's under "sandbox" will be moved one level up...

But the community feedback to date has been very limited and now Eclipse Adoptium in in the works...

https://projects.eclipse.org/projects/adoptium

Regards,
Ed

On 21.07.2020 09:49, Lars Vogel wrote:
Awesome. Which update site can I use for getting justj? Will it be
part of http://download.eclipse.org/releases/2020-09?

On Wed, Jul 15, 2020 at 8:58 AM Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi all,

I recently added the JustJ Java Runtime into the Rust and JS packages, with https://git.eclipse.org/c/epp/org.eclipse.epp.packages.git/commit/?id=ceb029cf999fb9e503dec749f70e075705991dc4 .
The integration is currently not perfect IMO, because of some Tycho limitations, but it's already working and usable.

To add it to your package, you simply need to add those the justj feature to your .product file and then add those lines to the product pom.xml

<build>
   <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <version>${tycho.version}</version>
        <configuration>
           <!-- a.jre.javase units are added by Tycho for regular execution environments. Those units aren't compatible with JustJ which has a negative requirement on a.jre.javase. So we raplace those EE units in Tycho by an empty EE/Unit that doesn't interfere
with JustJ -->
           <executionEnvironment>Noop-1.0</executionEnvironment>
           <dependency-resolution>
             <extraRequirements>
               <requirement>
                 <type>eclipse-plugin</type>
                 <id>a.jre.noop</id>
                 <versionRange>0.0.0</versionRange>
               </requirement>
             </extraRequirements>
           </dependency-resolution>
        </configuration>
      </plugin>
   </plugins>
</build>

Cheers,
--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers
_______________________________________________
epp-dev mailing list
epp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/epp-dev




Back to the top