Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Export e(fx)clipse based application
Export e(fx)clipse based application [message #1709776] Wed, 30 September 2015 20:06 Go to next message
Eclipse UserFriend
Hi,

(This post is a fork of this question at the Eclipse 4 forum).

Please, could you explain me more precisely how to export my e(fx)clispe based e4 application ?

My app is also using Tycho for building, do you think that is possible to do this during the Maven build ? For example, by using The Java Packager Tool ?

Thanks in advance.

[Updated on: Wed, 30 September 2015 20:06] by Moderator

Report message to a moderator

Re: Export e(fx)clipse based application [message #1709777 is a reply to message #1709776] Wed, 30 September 2015 20:30 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
If you used our e4 project wizard the build.xml generated can be run
after the tycho build and generates an installable unit.

Tom

On 30.09.15 22:06, Thibault Pensec wrote:
> Hi,
> (This post is a fork of
> https://www.eclipse.org/forums/index.php/t/1070756/ at the Eclipse 4
> forum).
>
> Please, could you explain me more precisely how to export my e(fx)clispe
> based e4 application ?
> My app is also using Tycho for building, do you think that is possible
> to do this during the Maven build ? For example, by using
> https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/packager.html
> ?
> Thanks in advance.
Re: Export e(fx)clipse based application [message #1709778 is a reply to message #1709777] Wed, 30 September 2015 21:28 Go to previous messageGo to next message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 150
Registered: July 2009
Location: College Station, TX
Senior Member

We configured our Maven build to use AntRun call the build.xml (which in turn uses the Java Packager Tool) after building with Tycho. Keep in mind that the Java Packager Tool will only build for the platform where it is running. To build for multiple platforms you will need to run the packager step on those platforms. We use Jenkins for this and have a separate Windows slave that runs the packager.

Cole
Re: Export e(fx)clipse based application [message #1709796 is a reply to message #1709778] Thu, 01 October 2015 07:39 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Can you create a bugzilla with the ant-run call, then we could extend
our template to generate the pom.xml with it.

Tom

On 30.09.15 23:28, Cole Markham wrote:
> We configured our Maven build to use AntRun call the build.xml (which in
> turn uses the Java Packager Tool) after building with Tycho. Keep in
> mind that the Java Packager Tool will only build for the platform where
> it is running. To build for multiple platforms you will need to run the
> packager step on those platforms. We use Jenkins for this and have a
> separate Windows slave that runs the packager.
>
> Cole
Re: Export e(fx)clipse based application [message #1709829 is a reply to message #1709796] Thu, 01 October 2015 12:03 Go to previous messageGo to next message
Eclipse UserFriend
Ok, I see!

I got an error when building my product module.
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: FAST 1.0.0
[ERROR]   Missing requirement: FAST 1.0.0 requires 'org.eclipse.equinox.executable.feature.group 0.0.0' but it could not be found

Could you tell me how to fix it ?

I use a custom Target Platform which looks like this :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="dp.fast.app.main" sequenceNumber="19">
    <locations>
        <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
            <unit id="org.eclipse.fx.target.feature.feature.group" version="2.1.0.201510010603"/>
            <repository location="http://download.eclipse.org/efxclipse/runtime-nightly/site"/>
        </location>
    </locations>
</target>
Re: Export e(fx)clipse based application [message #1711155 is a reply to message #1709829] Tue, 13 October 2015 14:42 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
The org.eclipse.equinox.executable.feature is not part of the efxclipse target. You need to add it from the Eclipse repository. You can have a look at one of my examples on GitHub: https://github.com/fipro78/e4-cookbook-basic-recipe-fx/blob/master/de.codecentric.eclipse.tutorial.target/de.codecentric.eclipse.tutorial.target.target

The example is built using efxclipse 1.2.0 and Eclipse Luna, so you need to update to Mars to make it work with efxclipse 2.1.0
Re: Export e(fx)clipse based application [message #1711156 is a reply to message #1711155] Tue, 13 October 2015 14:52 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
maybe we should add it to our repo. As many windows user like to use the
Equinox-Launcher we should make it as easy as possible.

Tom

On 13.10.15 16:42, Dirk Fauth wrote:
> The example is built using efxclipse 1.2.0 and Eclipse Luna, so you need
> to update to Mars to make it work with efxclipse 2.1.0
Re: Export e(fx)clipse based application [message #1711226 is a reply to message #1711156] Wed, 14 October 2015 08:25 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
It shouldn't hurt, and if I understood you correctly in the past, it should also work for Linux. "Only" exporting for Mac doesn't work. Correct?
Previous Topic:inject OSGİ Service
Next Topic:Binding code.editor.fx.services
Goto Forum:
  


Current Time: Fri Apr 19 21:40:59 GMT 2024

Powered by FUDForum. Page generated in 0.04068 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top