Code Monkey home page Code Monkey logo

Comments (9)

dsyer avatar dsyer commented on June 12, 2024

Thanks for the ideas. You don't need src/main/webapp to create a WAR though.

from initializr.

manueljordan avatar manueljordan commented on June 12, 2024

Hi Dave

You're welcome, let me know when be ready a new release, I need those features to make easier the tutorials for the reader.

Pls keep in mind that I want export each project how a simple .war to be deploy it without any problems on Tomcat.

Thank You.

from initializr.

dsyer avatar dsyer commented on June 12, 2024

For the sake of clarity I'll repeat: you don't need "src/main/webapp" to build a WAR file. What you need is packaging=war (in Maven terms), which would lead to a new "packaging" radio button on the home page (WAR/JAR) which I don't think STS would pick up immediately. Maybe you can check with the STS guys what needs to be done to add a new radio button and then submit a pull request (it might need a new release of STS)?

from initializr.

manueljordan avatar manueljordan commented on June 12, 2024

Thanks by the clarification, I already wrote an email to Martin. Let's see what happen now. I will turn around in other way this situation for my Spring roadmap, I can't wait other new STS release.

from initializr.

kdvolder avatar kdvolder commented on June 12, 2024

Yeah, we don't pick up radio buttons. The only radio button on the form was to choose pom versus zip, I think and that button didn't seem to do anything. So picking it up would have been a problem.

I can certainly and fairly easily make it so STS also picks up on radio buttons on the initilizr app and reflects the buttons in the wizard. But yes, that would require a new build of STS since the functionality is not implemented yet.

I don't think this is necessarily a problem, as a long as showing the wizard inside of STS without the radio button makes sense (i.e. if the radio button field is not given a value in the http query parameters, initializr app chooses a sensible default).

That way, people with old STS won't see the 'packaging type' radio button, but it won't break their 'new spring starter' wizard.

from initializr.

manueljordan avatar manueljordan commented on June 12, 2024

Thanks by the reply, tomorrow I should start to write my last tutorials, all now about SpringBoot, therefore I am going to see if really that feature is mandatory or not for STS

from initializr.

dsyer avatar dsyer commented on June 12, 2024

See new features here: http://start-development.cfapps.io/ (including war packaging, java version, .groovy lang support). STS doesn't know about these yet, but hopefully @kdvolder can find time to do that sometime. You can use curl and tar to download a project and unpack it BTW:

$ curl start-development.cfapps.io/starter.tgz | tar -xzvf - && mvn package

from initializr.

manueljordan avatar manueljordan commented on June 12, 2024

Hi Dave

I have checked the link, excellent!, my tutorial SpringRoadamp is completed, and is working with Spring Boot 1.0.2. I am assuming these new features is for SB 1.1.0 and STS for 3.5.2 or 3.6.0

Anyway, JSP files must be located within the src/main/webapp/WEB-INF/somedirectory, it does not work into the src/main/resources/somedirectory, I have played with many options in the application.properties files. Furthermore in the source code available by Josh Long in his GitHub account he is using the src/main/webapp/WEB-INF/jsp directory location

Kind Regards..

from initializr.

manueljordan avatar manueljordan commented on June 12, 2024

BTW about the Styles list, I am sure that is going to grow, consider in use many columns to make more friendly the presentation for the user.

from initializr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.