Skip to content

Commit

Permalink
Remove outdated references to Groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Feb 25, 2017
1 parent fffcd8a commit 53679aa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ None of these is essential for a pull request, but they will all help. They can
added after the original pull request but before a merge.

* Use the https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style[Spring Framework code format conventions].
* Make sure all new `.groovy` files to have a simple Javadoc class comment with at least an
* Make sure all new `.java` files to have a simple Javadoc class comment with at least an
`@author` tag identifying you, and preferably at least a paragraph on what the class is
for.
* Add the ASF license header comment to all new `.groovy` files (copy from existing files
* Add the ASF license header comment to all new `.java` files (copy from existing files
in the project)
* Add yourself as an `@author` to the .groovy files that you modify substantially (more
* Add yourself as an `@author` to the .java files that you modify substantially (more
than cosmetic changes).
* Add some Javadocs and, if you change the namespace, some XSD doc elements.
* A few unit tests would help a lot as well -- someone has to do it.
Expand Down
11 changes: 5 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,11 @@ other Spring Boot app from the `initializr-service` directory:
[[run-ide]]
=== Running the app in an IDE

You should be able to import the projects into your IDE with no problems (STS with
the m2e Groovy compiler support or IntelliJ IDEA definitely work). Once there you can
run the `initializr-service` from its main method, debug it, and it will reload if
you make changes to other modules. (You may need to manually enable the "full"
profile.) This is the recommended way to operate while you are developing the
application, especially the UI.
You should be able to import the projects into your IDE with no problems. Once there you
can run the `initializr-service` from its main method, debug it, and it will reload if
you make changes to other modules. (You may need to manually enable the "full" profile.)
This is the recommended way to operate while you are developing the application,
especially the UI.


## Deploying to Cloud Foundry
Expand Down
4 changes: 2 additions & 2 deletions initializr-docs/src/main/asciidoc/configuration-format.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ the list of available option for each setting and which one is the default.
## Env section
TIP: Check {sc-initializr-generator}/metadata/InitializrConfiguration.groovy#L113[the code]
TIP: Check {sc-initializr-generator}/metadata/InitializrConfiguration.java#L142[the code]
for a full list of the available configuration options.

The `env` element defines environment option that the service uses:
Expand Down Expand Up @@ -99,7 +99,7 @@ that dependency is added.
with the dependency.
* Links to resources such as a guide or a reference doc section.
TIP: Check {sc-initializr-generator}/metadata/Dependency.groovy[the code] for a full
TIP: Check {sc-initializr-generator}/metadata/Dependency.java[the code] for a full
list of the available configuration options.

Here is the most basic dependency entry you could have
Expand Down
2 changes: 1 addition & 1 deletion initializr-docs/src/main/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Stéphane Nicoll; Dave Syer
:github-code: https://github.com/{github-repo}/tree/{github-tag}
:github-wiki: https://github.com/{github-repo}/wiki
:github-master-code: https://github.com/{github-repo}/tree/master
:sc-initializr-generator: {github-code}/initializr-generator/src/main/groovy/io/spring/initializr
:sc-initializr-generator: {github-code}/initializr-generator/src/main/java/io/spring/initializr
:sc-initializr-service: {github-code}/initializr-service/src/main
:spring-initializr-docs-version: current
:spring-initializr-docs: http://docs.spring.io/initializr/docs/{spring-initializr-docs-version}/reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public ProjectGenerator projectGenerator() {
@Bean
@ConditionalOnMissingBean
public TemplateRenderer templateRenderer(Environment environment) {
RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(environment, "spring.groovy.template.");
RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(environment, "spring.mustache.");
boolean cache = resolver.getProperty("cache", Boolean.class, true);
TemplateRenderer templateRenderer = new TemplateRenderer();
templateRenderer.setCache(cache);
Expand Down

0 comments on commit 53679aa

Please sign in to comment.