Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Wizards for New Scout elements don't find sources
Wizards for New Scout elements don't find sources [message #1753823] Fri, 10 February 2017 07:44 Go to next message
Eclipse UserFriend
Hello,

I just stumbled over a problem with the wizards for new Scout elements.

When I open the wizard for new Form or Page, it does not show the path for shared and server source folders any more. I also cannot choose one for myself, the boxes are empty and other inputs are not accepted.

It was working some time ago, but I do not know when it stopped working. The last forms and pages I added I did the job for creating server and shared sources myself or by adding @FormData later.

However, this is not good for beginners and that's why any hints why this is not working anymore are welcome. Thank you.

Benjamin
Re: Wizards for New Scout elements don't find sources [message #1753841 is a reply to message #1753823] Fri, 10 February 2017 10:20 Go to previous messageGo to next message
Eclipse UserFriend
It works on in my workspace for the hello world:
index.php/fa/28407/0/

Without having access to your workspace it is hard to tell.

Which version of Eclipse IDE / Scout are you using?
What is your OS?
Have you changed something in the projects structure?
Do you see something in the Eclipse Error Log View?
Have you the possibility to share your workspace or to reproduce the problem in an other workspace that you can share?
  • Attachment: new_page.png
    (Size: 41.14KB, Downloaded 341 times)
Re: Wizards for New Scout elements don't find sources [message #1754093 is a reply to message #1753841] Tue, 14 February 2017 08:36 Go to previous messageGo to next message
Eclipse UserFriend
I hunted down the problem in the SDK sources. I managed to discover that Scout SDK identifies shared, server and client projects by checking if Scout runtimes are available in this project:

boolean clientAvailable = S2eUtils.exists(javaProject.findType(IScoutRuntimeTypes.IClientSession));
boolean serverAvailable = S2eUtils.exists(javaProject.findType(IScoutRuntimeTypes.IServerSession));
and so on.

Problem in my workspace was a mistake in my shared project's POM I made myself which caused the client runtime to be included everywhere. That's why all my projects werde identified as client projects and thus not to be listed in shared or server source boxes.

[Updated on: Tue, 14 February 2017 08:39] by Moderator

Re: Wizards for New Scout elements don't find sources [message #1754230 is a reply to message #1754093] Wed, 15 February 2017 09:56 Go to previous message
Eclipse UserFriend
Thank you for your analysis and for reporting your findings in the Scout F.orum
Previous Topic:Disable sum icon in table
Next Topic:[neon] is there a new way of setting "checked"-status for table rows in neon? [solved]
Goto Forum:
  


Current Time: Mon Jul 07 09:10:39 EDT 2025

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

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

Back to the top