Grails app is reloading on css changes - spring

I am developing a Grails app in Groovy/Grails Tool Suite. I start my server by simply running the vFabric tc Server that comes built in. Unfortunately, when I make css changes, the entire server reloads. This doesn't happen with gsp changes. How can I fix this?

You probably don't need to deploy to tc server if you're developing your app. Try using 'run-app' (right click your project, select 'run as' or 'debug as' and then choose 'run-app').
Or you can just open a grails prompt and do 'run-app' from there.

Related

How do I supress false 'Java version is out of date message' when running projects in Netbeans

I use the Netbeans 8.2 IDE to design and run a desktop application written in Java FXML. The current Java RTE is 1.8.0_261. The OS is Windows 10. When I compile the project and attempt to run it at project level (Run > Run Main Project) a Java Update Project dialog is displayed with the message
Your Java version is out of date
There are three prompts in the dialog,
Update (Recommended) Block and Later
The first time the popup was displayed I selected Update. Then I closed NB, reopened it and tried to run the project again. The same dialog appeared. I selected the Update prompt again, but all this returned was a new popup saying
You already have the latest Java version on this platform.
To investigate the issue I opened the Java console via the Windows control panel. In the Security level for applications radio button set to High. I also notice an Exception Site List, which should not be of concern to me as I am only developing a desktop application.
How can I stop this happening and go back to Run > Run Main Project without these impediments?
Solved. In Netbeans > Project Properties > Run I discovered that Netbeans had unilaterally changed the property
Run: Standalone
to
Run: as Web Start
I shall report this as a Netbeans bug as I cannot find any explanation for this behavior.

Front end reload on 'Build Project' IntellIJ using SpringBoot devtools

In IntellIJ not long ago I was able to make changes to my html/thymeleaf files and hit 'Build Project' and Spring Boot didn't have to restart the entire app. It would showcase the changes in my web browser (Firefox, Chrome). I have researched and tried a variety of changes and can't seem to find the issue/error to get me back to faster, efficient frontend productivity.
It's only a setting inside of IntelliJ Idea. You can see here what you need to set, and to have in a build.gradle or pom file.

Deploying Existing Spring Boot Application on Google App Engine

I have developed an application using Spring locally. I want to deploy my existing application using Google App Engine. Does anyone know how to deploy existing application to GAE?
You can convert your project using Cloud Tools for Eclipse. Go to this page and drag and drop the 'install' icon inside your Eclipse installation. See the Google documentation on how to use the plugin.
Basically you right click on you project and convert it to a maven project, or choose File > Import... > Existing Maven Projects wizard. Once you have your maven project loaded into Eclipse, tight click again and Configure > Convert to App Engine Project. This guide explains the whole process.
Finally, having your project set up:
To deploy the project to App Engine Standard environment:
Right click the project in the Package Explorer the project to open
the context menu.
Select Deploy to App Engine Standard
A dialog pops up.
Select the account you want to deploy with, or add a new account.
The list of projects the account has access to loads. Select the one
you want to deploy to.
Click OK.
All the details are here.
UPDATE:
In this Github repo, there are instructions on how to convert an existing Spring Boot App to Google App Engine. In this answer, I apply those instructions to a sample application.

VS2015 Multiple startup projects - prevent page showing

I have recently had to reinstall my development machine so I'm unsure how I did this before.
A solution which I have currently has 3 projects that are needed for startup for debugging, this works fine, when I run the solution I get 3 pages open up in the browser which makes logical sense, however on my previous installation of my machine I only had one page open up, the API and MVC projects didn't show in the browser, but they were running so the entire application worked.
Is there a way to suppress the unneeded pages from opening up in the browser?
I found the option after a while, it was in the project properties, not the solution properties!
Here are the details if anyone is interested:
Right-click on the Project
Choose Properties
Go to the Web tab
In the Start Action section select the 'Don't open a page.
Wait for a request from an external application.' option.

Adding SVN to Spring Tool Suite, Subclipse extension not available

I have Spring Tool Suite (STS) 3.6.3 installed. On another PC at home I recall being able to add SVN integration into STS by bringing up the Dashboard window, and checking the "Subsclipse" check box on the Extensions tab. However, I don't see this option on my current installation. I am including installed extensions, too, and I do not see Subclipse in the list.
When I select the Project folder in the Project Explorer window, right mouse click → Team → Share Project, I see only CVS and Git as options, but I would like to use SVN.
My experience with all things Java is measured in hours rather than years, so don't assume anything :-)
How do I integrate SVN with STS?
Check once if it's installed properly:
Here is how to add the SVN plugin (Subclipse) to your Spring Tool Suite
Open the Spring Tool Suite and go to the dashboard.
Click on Extensions (It is under the Help and Documentation heading).
Search for Subclipse. Check the checkbox and click Install.
Note: If you do not see Subclipse it implies that it is already installed on your IDE, but you can verify by checking the ‘Show Installed’ beside the search field.
Source URL: http://www.jicdesign.com/blog/web-development/how-to-add-svn-plugin-for-spring-tool-suite.html
Open Spring Tool Suite.
Select menu Help → Install new software
Click on the Add button.
Set the Location field as http://subclipse.tigris.org/update_1.6.x/
Click OK
Select the required components.
Click on Install button.
Select the I accept the terms of the license agreements radio button
Click the Finish button
Click Yes to restart Spring Tool Suite
Subclipse is available in the Eclipse Marketplace and can be installed via the Marketplace Client. It is also available at the following update site URL's.
NOTE: These are update site URL's to be entered inside the Eclipse installation dialog, not your web browser.
Latest - https://dl.bintray.com/subclipse/releases/subclipse/latest/
4.2.x - https://dl.bintray.com/subclipse/releases/subclipse/4.2.x/
The "latest" site will automatically move on to 4.2.1, 4.3.0, 5.0.0 etc. as those releases are produced. Where as the "4.2.x" site will only pick up new releases in the 4.2.x series such as 4.2.1, 4.2.2 etc.
More info at: https://github.com/subclipse/subclipse/wiki
I needed to run with elevated or administrator rights.

Resources