Editor for groovy and grails? [closed] - grails

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is there any editor like notepad++ for groovy or
any editor that support .groovy highlighting.
Please help with link and name.

You mentioned NotePad++ in your question. If you want Groovy syntax highlighting in NotePad++, download the user defined language file from
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Language_Files
http://docs.notepad-plus-plus.org/index.php?title=User_Defined_Language_Files
and add it to the installation directory.

IntelliJ has great Groovy and Grails support; the free community edition doesn't support Grails.
Sublime Text 2 is my current favorite cross-platform editor. AFAIK it doesn't have a GSP-specific mode, but (a) does have JSP, and (b) is customizable. It uses TextMate bundles, Groovy and Grails available:
Groovy bundle
Grails bundle
Sublime-specific Grails

An amazing IDE is STS — powered by Springsource, based on Eclipse and stand-alone. Free, ready to deploy (with a dedicated plugin).
I use GGTS devoted to Groovy and Grails : free IDE based on Eclipse delivered by SpringSource.

see http://groovy.codehaus.org/IDE+Support and http://groovy.codehaus.org/Other+Plugins
Update: The useful page is currently:
http://groovy-lang.org/ides.html

Guess what sublime has great support for groovy. This is not IDE, its just a text editor

Vim/gVim has Groovy highlighting if you're looking to kick it oldschool.

Related

Sonarqube Delphi plugin [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have scoured the web looking for the Sonar Delphi plugin 0.2 (sonar-delphi-plugin-0.2-SNAPSHOT.jar). Since the shutdown of codehaus, it seems this plugin is not available anywhere else?
http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/sonar-delphi-plugin/0.2-SNAPSHOT/
There is several references to this URL, but I cannot find this plugin anywhere else.
Does someone please know where I can download it, or possibly has it available to share?
The plugin was abandoned and picked up by Fabricio Colombo and relocated to github
https://github.com/fabriciocolombo/sonar-delphi
Look at 'Releases' to get the latest plugin .jar
If you really want the 0.2 snapshot... it appears that you can use the "Wayback Machine" internet archive to grab it at:
https://web.archive.org/web/20140324100408/http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/sonar-delphi-plugin/0.2-SNAPSHOT/
I have just published an updated version our SonarQube Delphi plugin which supports Sonar 7.9 LTS and also the latest 8.2 version, see https://github.com/mendrix/SonarDelphi.
If you combine this with the DelphiCodeCoverage tool (see https://sourceforge.net/projects/delphicodecoverage/) and DUnitX (including the additional file in our SonarQube repository) you have a fully functioning SonarQube plugin for Delphi.
GitHub has these three projects of Sonar from Codehaus:
https://github.com/codehaus?utf8=%E2%9C%93&query=sonar
The project sonar-plugins is empty but references on https://github.com/sonarcommunity.
There are plenty of plugins. See if you can find it there.

Jelly Framework used in Jenkins [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Please let me know how Jelly is used in Jenkins.
Any docs explaining the architecture of GUI in Jenkins will be helpful.
Any tutorial explaining the high level code details or any pointers in the region
The starting point to Jenkins development is the Extend Jenkins page.
On this page, there is a number of sub pages that discuss different aspects of Jelly, see under "Writing Views (Jelly/Groovy)" in the menu.
This along with the tutorials at the bottom of the Plugin tutorial page is a good start.
Some basics:
All Jelly files are connected to a corresponding class based on the path of the Jelly file:
src/main/java/com/example/MyClass.java
src/main/resources/com/example/MyClass/config.jelly
There are a number of different names for different purposes on the jelly files, e.g.: portlet.jelly, index.jelly, global.jelly, config.jelly.
If you are writing a job/build plugin, global.jelly corresponds to system configuration while for job configuration you will use config.jelly.
Happy coding!
You will need maven and can install it from the command line
$ mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create
This will ask you a few questions, like the groupId (the Maven jargon for the package name) and the artifactId (the Maven jargon for your project name), then create a skeleton plugin from which you can start with. Make sure you can build this:
$ cd newly-created-directory
$ mvn package
This is documented here https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial
This ships with lots of UI examples to look at. I would advise using either IntelliJ or eclipse as they have tools to integrate into the maven build process

How can I compile a report showing all used licenses with Ant? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently using Ant and Maven in different projects. To be compliant with some regulations, I'm in charge of listing all licenses used in each project.
With Maven, it is easy, as the Maven Project Info Reports Plugin generates such a report automatically.
As I'm not fond of searching licenses for all my JARs I'm using in the projects, I would like to know if there's a plugin for Ant, performing this task.
Thanks in advance!
Since this question hasn't got any hints, pointers or even answers, I hacked a solution by myself: license-report at github
The license-report is an Ant task which determines a license for most jar files. Currently, it searches in the following files for information:
META-INF/MANIFEST.MF
META-INF/LICENSE
LICENSE.txt
LICENSE
license/LICENSE.txt
license/LICENSE
These files are found in several common Open Source/Free Software libraries. Some libraries don't provide any information on their license (e.g. Spring framework).
For these libraries, the task does not find any information.
I will update the project as soon as possible that it prints out a nice xml and html report about the found licenses. Documentation and How To will follow, too.
I'm currently working on a demo project using this Ant task.
The demo project now creates an XML file with all library information. Just start it (with installed Ant) via ant build.xml in the root folder of license-report-demo. It prints out the location of the generated XML file. I will also include an XSLT to transform the XML into a nice HTML report. This will come in several days I think.
I create an XML file for further processing (e.g. CI systems like Hudson/Jenkins). This will help to generate a list of all licenses across projects in a central system.

Where can I find the primefaces tag library documentation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Where can I find primefaces tag library documentation such as this: http://primefaces.prime.com.tr/docs/tag/index.html ?
I already have the jar, the sources of the primefaces. The apidoc supplied is "primefaces 2.2.RC2 API", not the "Tag Library Documentation Generator - Generated Documentation"
Maybe I should try generating it from the source, or maybe from the JAR (although I think the javadocs are not in the bytecodes) ?
Here lies the answer
ethermion : Descriptions were dropped for 2.2. Nothing to do with Netbeans. It is what you've got.
optimus.prime : Descriptions will only be available in documentation to promote the PrimeFaces User's Guide 2.2.
And this is another thread started by me
The best that I could find is the User guide, in which you could find the whole elements with his characteristics
http://primefaces.googlecode.com/files/primefaces_users_guide_2_2.pdf
Since shortly, PrimeFaces has new tag library and API documentation. See also this blog entry.
PrimeFaces API and VDL Docs are now available online. These are additional resources to the reference user’s guide.
For Primefaces v.3.5 :
API Docs
VDL Docs
P.S. Thanks to PrimeFaces Users BalusC and Arjan Tijms for their great work on VDL Doc generator!
Update: for other/newer versions (as of now, 3.4, 3.5, 4.0 and 5.0 are available), just browse the root folder of docs:
All API Docs
All VDL Docs
if you need .tld file, you can find one in jar: in META-INF folder. It is called primefaces-i.tld
There's a separate JAR on the download page that contains the source code, and you could use the taglibrarydoc tool to generate the documentation from that.
I don't think you'll find a premade tag library documentation for an RC (release candidate) version.
Here is the statement to the same question from another user:
optimus.prime:
Javadocs are bundled with zip packages, but for latest 2.2.M1 it is not available. You can use 2.1's bundle to get javadocs though.
With upcoming 2.2.RC1, java and tag docs will be available via bundles distributions.
Look at http://forum.primefaces.org/viewtopic.php?f=3&t=4575
Now the Solution of adding the primefaces Tag Library is in the User guides 3.xx edition itself and we can implement it with the updated Tag library as
html xmlns:p="http://primefaces.org/ui"
http://primefaces.org/gettingStarted.html

code formatter for grails and Groovy? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm currently using a basic text editor to write my grails code. Does anyone know of a program that will automatically format code with indentation similar to indent does for C? I'd rather use a commandline program to do this but can use an IDE to format my code if that's the only option.
Try NetBeans v.6.7 (not the current production release 6.5) with the NetBeans Groovy/Grails plugin enabled. This is a nice clean IDE interface (easier to use than Eclipse IMHO), and you can set it up to integrate with your Grails installation. You can call all your Grails tasks from the IDE, edit your code, test and run your project. Then, if you want to format your code, you just right-click in the code editor and select "Format". Easy!
I am using VIM / GVIM for typing code in Groovy/Grails. it has code formatting, I just need to tell my VIM that groovy and java are similar....
and then press gg = G [enter] (format from top to bottom)
There is a tool recommended in this thread for this purpose. I have not tried it but maybe worth a look.
Here's some instructions on how to get Grails working with NetBeans (couldn't submit the second URL in my last post).
the groovy eclipse plugin does a decent job of formatting groovy code. sts might be smarter about some of the grails code.
You can use npm-groovy-lint for command line, and VsCode Groovy Lint in Visual Studio Code IDE :)
https://www.npmjs.com/package/npm-groovy-lint
https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint

Resources