This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
Adding Groovy support to existing simple project in STSPage Title Module
Thanks for the quick response. Perhaps I was unclear though - I have created many Groovy projects with JUnit; that's easy. This is an existing project that is simple - nothing more than a directory structure, really. I need to add the ability to run Groovy JUnit tests to that one.
Yeah, that option does not appear for me, even though all sorts of other Groovy things work well. I do have "Convert to Grails Project" however. Not useful in this case. Is there a way to add that feature? I may have missed a setup issue when I moved machines recently...
No, this project was created as simply a directory in Subversion, and checked out in STS for version control of the (mostly SQL) files in there. Afterward, I wanted to add Groovy unit tests to it. I have those in another project currently, and I may just merge that "project" in the test directory of the Subversion repo. You can't (apparently) add groovyness to a project that was created as a simple project.
You can't (apparently) add groovyness to a project that was created as a simple project.
That's correct. I misunderstood your original post and didn't know that you were not working with a non-java project. A project must be a java project before it can be a groovy project. AFAIK, there is no automated way to convert a simple project to a Java project. You can, however, just edit the .project file and add the Java nature (copy the syntax from an existing java project).
I did the easier thing, and committed the separate Groovy project to a test directory under the un-Java-like project. It looks like two projects in my Package Explorer, but the code is all kept together in SVN.