Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Has anyone tried the maven repositories for e(fx)clipse?
icon5.gif  Has anyone tried the maven repositories for e(fx)clipse? [message #1761052] Fri, 05 May 2017 17:40 Go to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Hi everyone!

I would like to start developing an application with Gradle. I know Tom has tried e(fx)clipse with Maven and I know switching from Maven to Gradle is rather trivial. My "only" problem is that I don't have a starting point. Has anyone tried making a simple app this way?

Basically I need to know:
- how to launch the application as a regular Java project
- where to find the information of the archetypes I need to depend on based on what I want to program (I tried finding that information on-line and I failed miserably).
- if e(fx)clipse is expecting an Application.e4xmi file somewhere.
- of course, any other suggestion that might be helpful!

Thanks!




Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1761069 is a reply to message #1761052] Fri, 05 May 2017 21:20 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6363
Registered: July 2009
Senior Member
I'll try to find my example i used for the blog and push it somewhere
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1761070 is a reply to message #1761069] Fri, 05 May 2017 22:48 Go to previous messageGo to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Thanks Tom!
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1761325 is a reply to message #1761069] Tue, 09 May 2017 17:52 Go to previous messageGo to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Hi Tom,
Any luck finding the example?
Thanks!
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1761330 is a reply to message #1761069] Tue, 09 May 2017 18:25 Go to previous messageGo to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Tom,
I noticed the archetype-catalog.xml file in the maven repository contains only:

ArchetypeContentGenerator

Shouldn't that file contain the definition of all the archetypes? I am totally stuck with this. Any help to get started will be appreciated.
Thanks
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1763311 is a reply to message #1761330] Fri, 12 May 2017 14:11 Go to previous messageGo to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Hi,
Anyone else could give me a hint about that Maven repository? I don't want to keep trying things out if the content of archetype-catalog.xml is not right.
Sorry to keep bugging everyone with this.
Thanks!
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1763338 is a reply to message #1763311] Fri, 12 May 2017 20:38 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6363
Registered: July 2009
Senior Member
I pushed the repo at:

https://github.com/BestSolution-at/e4-efxclipse-maven-sample

To launch I wrote a special launcher helper who reads the app.elc:

https://github.com/BestSolution-at/maven-e4-launcher

I launched the application with:

java -jar org.eclipse.fx.maven.launcher-0.0.1-SNAPSHOT.jar -elc_file /Users/tomschindl/Documents/e-workspaces/efxclipse-master-maven/sample.mvn.parent/sample.mvn.app/app.elc

This is all not ideal because I can not debug, ... so I have to find a better way to do all that
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1763384 is a reply to message #1763338] Mon, 15 May 2017 02:07 Go to previous messageGo to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Thanks Tom! I hope to have time to play with that Wed morning
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1767654 is a reply to message #1763338] Sat, 08 July 2017 16:19 Go to previous messageGo to next message
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
Registered: July 2009
Senior Member
What do you think of using bndrun?
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1767685 is a reply to message #1767654] Sun, 09 July 2017 19:41 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6363
Registered: July 2009
Senior Member
Yes but we need to start exploring the field but we need to do things step by step and step 1 is to change the lib dev to maven and afterwards we look at application dev
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1771095 is a reply to message #1767685] Mon, 21 August 2017 21:18 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6363
Registered: July 2009
Senior Member
We are getting closer - https://tomsondev.bestsolution.at/2017/08/21/cross-ide-dev-support-for-e4-on-javafx-we-are-almost-there/
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1771511 is a reply to message #1761052] Fri, 25 August 2017 21:14 Go to previous messageGo to next message
Kevin Newman is currently offline Kevin NewmanFriend
Messages: 1
Registered: August 2017
Junior Member
Hi Tom,

How do I launch the [current] e4-efxclipse-maven-sample HelloMaven program from within Eclipse? Do I use a the maven-e4-launcher or a Run Configuration?

Thanks in advance.
Re: Has anyone tried the maven repositories for e(fx)clipse? [message #1771621 is a reply to message #1771511] Mon, 28 August 2017 17:26 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6363
Registered: July 2009
Senior Member
Yes you need to launch with a new and shiny launch configuration so you need to have the latest nightly build of e(fx)clipse installed. I just updated the description in the README of the project
Previous Topic:@ContextValue problem
Next Topic:JavaFX E4 Application is stuck in MacApplication._runloop() when launched from developer Eclipse
Goto Forum:
  


Current Time: Mon Oct 23 10:13:23 GMT 2017

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

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