how can I install grails plugin in ant build? - grails

I am using ant build tool for my Grails 1.3.7 project.
I verified all Grails 1.3.7 documentation too. Even I am not able to find how to install(add) a plugin in ant build tool(build.xml).

Install with grails install-plugin /home/user/grails-someplugin-1.0.zip

Related

Which version of codenarc will support to Grails 1.3.7?

I am trying to implement for my grails project using 1.3.7 version. I am using ant build instead of Gradle build tool. I am not able to find
Which version of codenarc will support to Grails 1.3.7?
Versions above 0.9 and under 1.0.

Grails codenarc plugin for Grails 1.3.9

Searching the plugin site and other resources I could not find which plugin version must I install for my Grails version. Can someone help me out?
You can install the codenarc plugin a Grails 1.X app by running the following command:
grails install-plugin codenarc

Changes in inplace plugin code in grails3.x are not reloading automatically

I am upgrading a project from Grails 2.5.1 to Grails 3.1.4.
My Multi-Project Build structure in Grails 3.1.4 is as follows:
- Root
|--MainProject
|--Plugin1ForMain
|--Plugin2ForMain
|--settings.gradle
I run the MainProject using grails run-app command and whenever I change my codes in Plugin1ForMain or any other plugins, the changes are not automatically recompiled like it did in Grails2.x .
How can I make my project autocompile plugin's code in grails3.x ? I am using gradle version 2.3
I also got the same issue with grails 3.1.4 and when I changed the version of Gradle and profile web plugin it started working for me. Hope it solves your problem too.
a) Use Gradle version 2.13, change the Gradle version in gradle.properties
gradleWrapperVersion=2.13
b) And change the profile plugin version to 3.1.6 in build.gradle
profile "org.grails.profiles:web-plugin:3.1.6"

How to integrate grails 3.0.5 project in GGTS 3.6.4

I am using grails-3.0.5 cause of i want to use groovy 2.4.4.
I created project by command
>grails create-app Student
>grails clean
Fine its working and created project.
But when i executed below command then command is there.
>grails integrate-with --eclipse
Can anyone help me how to integrate with eclipse.
I don't use eclipse and don't know what kind of integration do you mean, but grails 3 is using gradle as a build tool and eclipse plugin is added automatically to the build.gradle file. You can execute ./gradlew eclipse (or on windows gradlew.bat eclipse) to generate all eclipse related files.
To clean eclipse files you can use: ./gradlew cleanEclipse.

Equivalent of mvn dependency:tree in Grails

I am trying to find out some dependencies added to a grails plugin that I am using in my grails project. Is there any equivalent of maven command mvn dependency:tree in Grails/Ivy
How about grails dependency-report (docs)

Resources