gant

How to (ignore|keep going) a gant-build in case of compile errors?

Does anybody know how I can run a gant build which ignores build errors? Something like ant and make are doing with the '-k' or '-keep-going' switch. Thx ...

How to establish a Hibernate session within a grails script

The following grails script: // Import.groovy includeTargets << grailsScript("Bootstrap") target(main: "Import some data...") { depends(bootstrap) def Channel = grailsApp.classLoader.loadClass("content.Channel") def c // works: saving a valid Channel succeeds c = Channel.newInstance(title:"A Channel", slug:"a-c...

Merge Spring and Grails projects

We are developing an backoffice application using Spring and Maven as configuration manager. The project is moreless divided in two parts, and one of this parts is just for manage the data in the DB tables. Now someone has discovered Grails, and with Grails this job is very easy, but we can't drop all the job and start a new project (th...

Is Gant 100% Ant compatible?

I wrote some Groovy code, and I'd like to integrate it with the existing Java code. We'd like to be able to keep our ant scripts, and only add the needed Groovy functionality. Will Gant allow us to keep our existing scripts? ...

Choosing a scripting/build tool

Hi, We are currently working on a project with both actionscript and Java. Up to now, we were using Ant as our main build tool, but the dumb amount of duplication it implies and the lack of flexibility (we are building a pretty large amount of small sub-projects, and copying all of the build files every time is a pain) are pushing us t...

Where can I find a single example expressed in Ivy, Maven, Gant, and Gradle?

I'd like to find a simple, non-trivial Java project that is expressed in terms of Ant + Ivy, Maven, Gant, and Gradle. I'm not interested in each tool's varied sample demos. Where can I find such an example, for reference? ...

How is Gant able to reference targets by their names, and not get a missing property exception?

In the code presented here: Gant file, there is the following code: target(dist: 'Create release artefacts') { depends(test) depends(jar) } target(run: 'Run the distributed jar') { depends(dist) Ant.java(jar: distributedJarPath, fork: 'true') } target(hello: 'Hello World') { println("Hello World"...

Ivy/gant include BlazeDS jars that aren`t in a public repo and have no version

Hi, Ive been trying to figure out the best way to include the BlazeDS jars in my Gant/Ivy build. Ive been unable to find a public repo for these jars and Im new to ivy. Obviously with Maven youd just do a local maven install to your local repo. Whats the best way to do something similar with Ivy? Do I have to create a separate Ivy.xml fi...

Using (multi lexeme) grails targets in gant scripts

I have a gant script in my grails project. I would like to do something just like this: includeTargets << new File ( "${grailsHome}/scripts/War.groovy" ) war() But for the deploy target in the script provided by the tomcat plugin. Specifically, I would like to invoke this target: grails prod tomcat deploy how would that happen? ...

How to invoke non default target in grails gant script

I have a gant script A with two targets t1 - default target t2 - another target Even when I run grails A t2 the default target is run? How can I run the non-default target? I have tried grails A --target='t2' etc. but doesn't work. ...

How to run Gant targets from within a Grails controller?

Suppose I have a block of Gant code: target(echo:"test"){ ant.echo(message:"hi") } setDefaultTarget("echo") This is usually run from a command line. How could I place the block in a Grails controller and run it from there? ...

Problem with Gant

Hello, I am new to Gant. I was trying Ant.echo("hello gant") but I am getting this error message: No such property: Ant for class: build Any help would be highly appreciated. ...

Error including the TestApp script in grails

Hello I have a simple script as shown below: I am getting following error on running this script. includeTargets << grailsScript("Init") includeTargets << grailsScript("TestApp") target(main: "The description of the script goes here!") { echo "This is the start" } setDefaultTarget(main) Environment set to test Error execu...

converting gant build scripts into ant scripts

I am pressmuming (without really knowing) that "gant" is superior to "ant", especially when building grails applications. I have some old, inherited, grails apps using ant. Is is possible or easy to convert existing build.xml files into gant build scripts? ...