4 Jul 13:31
[groovy-dev] ant.inport from groovy?
From: Chris Miles <chris@...>
Subject: [groovy-dev] ant.inport from groovy?
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-07-04 11:35:02 GMT
Subject: [groovy-dev] ant.inport from groovy?
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-07-04 11:35:02 GMT
Hi - I want to
invoke a couple of Ant targets before running my gant stuff.
I can include my
common ant stuff with
ant.'import'
( file : 'buildSWFcommon.xml' )
but when I
try
target ('try13' : ''
) {
depends (
'init' )
// stuff
using pre-defined properties and targets
...
}
(init is defined in
buildSWFcommon.xml) I get
Target `init'
does not exist in this project.
Using -d to gant I
find that gant is looking for init in build.xml - which is
strange.
Can I invoke the
buildSWFcommon.xml target 'init' ?
Chris
RSS Feed