vaadin / designer

Public repository for Vaadin Designer
https://vaadin.com/designer
16 stars 3 forks source link

Support Spring initializer project structure #2236

Open szolo opened 4 years ago

szolo commented 4 years ago

Steps to reproduce

  1. Open "File-New-Project" menu.
  2. Select "Spring Initializr", proceed to the next steps.
  3. In "Dependencies" step select "Web-Vaadin", proceed to the next steps.

spring-initializer-project

Actual behavior

Designer can't be used in this project structure. Designer preferences doesn't load correctly.

Expected behavior

Designer can be used in this project structure.

IDE, Designer and OS version

IntelliJ IDEA Ultimate 2019.3, Designer 4.3.12, Windows 10.

Additional information

Please notice that in this project structure webjar dependencies are not excluded and this is fine. See https://vaadin.slack.com/archives/C6X43FE8M/p1582041737273800.

Peppe commented 4 years ago

@mstahv any ideas how Initilzr projects are different than those you get from vaadin.com/start, in a structural way? Something that might break our assumptions that we might have in Designer.

mstahv commented 4 years ago

Two things come to my mind:

Otherwise those should be pretty much the same.

Peppe commented 4 years ago

Should the Initilizr project add the frontend folder? It feels like quite central in Vaadin projects nowadays. We can fix it on Designer side as well, but it feels like a wrong fix if Vaadin projects need the folder anyhow.

mstahv commented 4 years ago

I'd be quite surprised if Spring Initializr team would want to add non-standard frontend folder to the root of the project (against common Java/Maven conventions). But it can be tried of course.

stale[bot] commented 4 years ago

Hello there!

It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.

There are a few things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!