How to make the Grails FileSystemWatcher work with Cygwin? - windows

I'm developing with Grails 2.3.6 in Windows. I prefer Linux so I'm trying to use Cygwin.
However when I run grails.exe from Cygwin ("grails run-app") the hot deployment feature of grails (FileSystemWatcher / GrailsProjectWatcher) does not work: changes I make to source code require me to restart Grails.
Help. :)

Related

Install Ruby 2.3.2 on Windows 10

I have an old Ruby 2.3.2 app I've been asked to help maintain on Windows 10. RubyInstaller (https://rubyinstaller.org/downloads/archives/) would normally be great, but it seems like 2.3.2 was not ported over.
Since RubyInstaller was not an option, installing RVM on the Windows Subsystem for Linux was the next option. While this sometimes works, it has issues with our VPN pretty regularly, which seems like a recurring issue with WSL (https://github.com/Microsoft/WSL/issues/1350 && https://github.com/Microsoft/WSL/issues/416).
Is there a way to convert any of the 2.3.2 builds (https://www.ruby-lang.org/en/news/2016/11/15/ruby-2-3-2-released/) to run on windows?

How to run eclipse on bash on Ubuntu on Windows?

I have eclipse installed on my windows machine, but I can't seem to use it with bash so I installed eclipse on the bash terminal by using "sudo apt-get install eclipse". It installed fine, but I can't figure out how to launch the eclipse GUI from the linux subsystem so I can use it like the windows version. I tried using Xming and exporting DISPLAY, but that didn't work. Any ideas?
from what i understood from the link below, you require to update .bashrc to direct the GUI display to a X Server process. I installed xMing to run X Server from Windows 10. i also had to install gtk components that allowed me to run sublime text GUI from within WSL.
https://medium.com/#pck/how-to-use-sublime-text-3-from-command-line-with-ubuntu-bash-terminal-in-windows-10-subsystems-for-aa2ad59d088c
hope this helps
IMHO you should not install eclipse by apt but simply get your desired eclipse product from from https://www.eclipse.org/downloads/packages , download and unzip it to your wanted location and just start eclipse.
Reasons:
I do not know any Linux distribution containing a newer eclipse bundled, so you are always having older versions being slower and having less features
You can update your eclipse installation directly inside eclipse Check for updates
You can have multiple installations at same time
If you want to get rid of a eclipse installation just remove the folder and you are done.
But of course you can also use bash directly in Windows with Eclipse.
Please look at
https://stackoverflow.com/a/62724163/2590615 or take a glimpse at You Tube Video about Bash Debugging with Bash Editor eclipse plugin on a Windows 10 machine
PS: I am the maintainer of the mentioned eclipse plugin

How to change the grails version using command line?

Currently i am working on a multi project groovy project with Grails framework. All projects need Grails version 3.1.9 but, a single project which needs Grails version 2.4.3.
i am building a gradle build using bash command from another directory, using that same bash command i want to change Grails version 3.1.9 to 2.4.3
currently i am using below command to change version:
setx -m GRAILS_HOME "E:\Softwares\grails-2.4.3"
but its not working,
when i use %GRAILS_HOME%\bin in path it doesn't recognize grails command . I am new with these bash command, any help.
ERROR: Access to the registry path is denied.
I am working on WINDOWS 7
The best option for managing multiple Grails versions is SDKMAN. If you're running Windows you can run this via some shell emulator like Cygwin, or alternatively there's a Powershell clone posh-gvm that runs on the Windows command line.

Running SonarQube on Solaris using Jsvc

The SonarQube 5.0 documentation states that in order to install SonarQube on AIX, HPUX or Solaris, one must install Java Service Wrapper, which is licensed software.
Is it possible to do this using some free/open source alternative?
There's a Jsvc library by Apache that is used to accomplish the same functionality. I wonder if anyone has successfully managed to use it.
We haven't documented it yet, but with SonarQube 5.0+, you can start SonarQube using a simple Java process.
Just open a terminal and run:
java -jar <sq_install_dir>/lib/sonar-application-5.0.jar
This should allow you to run SonarQube on Solaris without needing to install anything else.

run buildbot on Windows XP

I recently stumbled over buildbot and wanted to give it a try.
My problem is that I have to run it under Windows because we don't use Linux on workstations or servers in my company.
I've already tried different installations:
python 2.6, Twisted-9.0.0-py2.6, buildbot 0.7.12
python 2.6, pywin32-214-py2.6, Twisted-9.0.0-py2.6, buildbot 0.7.12
python 2.4, pywin32-214-py2.4, Twisted-9.0.0-py2.4, buildbot 0.7.12
and tried to run it in a Windows XP VM.
In all installations I ran the buildbot test suite and got several errors and the buildbot documentation sais that no test should fail.
Does anybody here have experience with buildbot under Windows?
Is it worth the pain or do I have to use Linux?
Have you tried running it with Python 2.4 and Twisted 2.5 (old, I know). Also, make sure you have ZopeInterface installed.
I have personally never used it with Windows, but will try and let you know what results I get.
I don't think that many people are running buildmasters on Windows.
I have a Windows buildslave running:
buildbot 0.8.0
twisted 10.0.0
zopeinterface 3.6.1
which appears to work fine though haven't tried the test set.

Resources