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

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



-- 
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top