Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » ScoutBoot-Task: How do I start from Eclipse IDE
ScoutBoot-Task: How do I start from Eclipse IDE [message #1759451] Tue, 11 April 2017 10:27 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1237
Registered: October 2011
Senior Member
I wanted to test the Eclipse Scout and SpringBoot integration. I have imported both repositories in my workspace (Eclipse for Scout developers - Oxygen M6 Version)

https://github.com/BSI-Business-Systems-Integration-AG/ScoutBoot
https://github.com/BSI-Business-Systems-Integration-AG/ScoutBoot-Tasks

Everything seems to be OK and there are no compile errors in the workspace. But how do I start the application from the IDE?
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1759453 is a reply to message #1759451] Tue, 11 April 2017 19:20 Go to previous messageGo to next message
Matthias Zimmermann is currently offline Matthias ZimmermannFriend
Messages: 185
Registered: June 2015
Senior Member
(1) Try running class TaskApplication [1] using the context menu "Run as ... -> Java Application"
(2) After startup the application should be available under localhost:8080
(3) login with user 'root' and password 'eclipse'

[1] https://github.com/BSI-Business-Systems-Integration-AG/ScoutBoot-Tasks/blob/7.0.x/standalone/src/main/java/org/eclipse/scout/boot/tasks/standalone/TasksApplication.java
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1759472 is a reply to message #1759453] Wed, 12 April 2017 04:55 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1237
Registered: October 2011
Senior Member
Thank you. This is the information I have missed.
I had some trouble with the Eclipse Metada files, but when it was fixed, the application was easy to start and to use.
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1759473 is a reply to message #1759451] Wed, 12 April 2017 05:11 Go to previous messageGo to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 178
Registered: November 2014
Senior Member

Hi there,

I did try the same. But I didn't manage to import the projects correctly I guess, since the structure in my Package Explorer view doesn't not look like, if these projects are registered as Java/Maven/Scout projects:

index.php/fa/29027/0/

First I tried to import it with:

index.php/fa/29028/0/

Then it says, that there are no projects found.

In my next try it did this:

index.php/fa/29029/0/

There I chose the root directory "ScoutBoot-Tasks" and imported everything, which then led me to my project layout above.

Furthermore I always get the error message
Project build error: Non-resolvable parent POM for org.eclipse.scout.boot.tasks:tasks:0.1.0-SNAPSHOT: Could not find artifact org.eclipse.scout.boot:scout-boot:pom:7.0.0-SNAPSHOT 
 and 'parent.relativePath' points at wrong local POM


What did I do wrong?

Thanks,
Peter
  • Attachment: scout01.png
    (Size: 153.28KB, Downloaded 108 times)
  • Attachment: scout02.png
    (Size: 38.00KB, Downloaded 106 times)
  • Attachment: scout03.png
    (Size: 37.12KB, Downloaded 107 times)
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1759534 is a reply to message #1759473] Wed, 12 April 2017 15:34 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1237
Registered: October 2011
Senior Member
Yes this is exactly what I meant with "I had to set and modify the Eclipse metadata manually". I think that the Eclipse Importer is somehow broken with this project. I had to modify the ".project" and some of the ".classpath" manually. I have also added some ressouces filter to avoid duplicate display of the subfolders that are also projects.

I will try to push all the metadata you need in as a commit (in the main repository or on a fork). Probably tomorrow.
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1759559 is a reply to message #1759534] Wed, 12 April 2017 22:02 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1237
Registered: October 2011
Senior Member
Have a look at the files added with theses Pull Requests:
* https://github.com/BSI-Business-Systems-Integration-AG/ScoutBoot/pull/2
* https://github.com/BSI-Business-Systems-Integration-AG/ScoutBoot-Tasks/pull/2

I would be great if you could test if this also works for you.
Of course this is a minimal set of files. Java Prefs (formatter...) should also be added.

Personally I am convinced that the Eclipse Metadata Files should be pushed to the repository. And I am not the only one.
* How to provide a specific nature to every project
* The fight over committing IDE meta files: misconceptions, misunderstandings, and solutions (slides, video)
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1760188 is a reply to message #1759559] Mon, 24 April 2017 12:51 Go to previous messageGo to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 178
Registered: November 2014
Senior Member

HI Jeremie,

sorry but I didn't see any files... Or do I have to clone a another branch?

Peter
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1760207 is a reply to message #1760188] Mon, 24 April 2017 14:35 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1237
Registered: October 2011
Senior Member
Yes, the pull request is not merged. The Branch is on my fork:
https://github.com/jmini/ScoutBoot/tree/eclipse-metadata
https://github.com/jmini/ScoutBoot-Tasks/tree/eclipse-metadata
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1760224 is a reply to message #1760207] Mon, 24 April 2017 18:28 Go to previous messageGo to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 178
Registered: November 2014
Senior Member

Hi.
Ok. Now it works. Now I have got a lot of questions Smile)

They will come later when I understand, whats going on in my workspace... Or perhaps I don't understand it...

But there is one question though: Will there be something like a new Scout/Boot Project Wizard with the final Oxygen release, which helps setting up such a project?

Thx

Peter
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1760604 is a reply to message #1760224] Fri, 28 April 2017 18:55 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1237
Registered: October 2011
Senior Member
Peter Pfeifer wrote on Mon, 24 April 2017 20:28
But there is one question though: Will there be something like a new Scout/Boot Project Wizard with the final Oxygen release, which helps setting up such a project?


I do not think that this is in the pipeline yet. The SpringBoot integration is experimental and at early stage.

I like the idea. I hope it can be added to the backlog.
Re: ScoutBoot-Task: How do I start from Eclipse IDE [message #1760735 is a reply to message #1760604] Tue, 02 May 2017 13:18 Go to previous message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 178
Registered: November 2014
Senior Member

Hi,
Jeremie Bresson wrote on Fri, 28 April 2017 18:55

I like the idea. I hope it can be added to the backlog.


I like the idea very much too...

Creating business applications would be so simple and sophisticated then... Using Scout for the frontend gives a powerful, neat, flexible and responsive UI and on the backend you can use SpringBoot to concentrate on just the business logic without producing too much boilerplate code.

That sounds like a dream to me.

Peter

[Updated on: Tue, 02 May 2017 13:19]

Report message to a moderator

Previous Topic:[neon] ProcessButton positioning
Next Topic:[neon] Display errors on AbstractTableField
Goto Forum:
  


Current Time: Wed May 24 00:35:58 GMT 2017

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

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