ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M V Chetan <chetan.v.minaj...@jpmchase.com>
Subject Importing files
Date Fri, 09 Jun 2006 10:28:15 GMT

I am trying to split up some targets and place them as seperate projects for
ease of use and include these in my main build.xml to make use of the
targets in these files(the included files).

I have this scenario,
Buid.xml has two targets build and Main_1

The default target build (in build.xml) depends on Sub_1

SubBuild.xml(which is included in Build.xml) has one task
Sub_1 depends (Main_2)

The problem is thaat Sub_1 doesn't understand where Main_2 is(Atleast,my IDE
keeps pointing out that it can't find Main_2)

Is this just the limitation of the IDE or is there a way by whcih i can
specify that Main_2 is present in so and so place.

PS :From a design perspective I might be wrong in doing it in this
fashion,since the idea of removing targets into different project files is
that they can be reused elsewhere and hence forcing a depends on my main
build.xml in this case may not be the right thing to do.
Nevertheless,at this point i just want a seperation of targets since i have
many targets and it makes sense to remove out a few of them from the
build.xml.

Kindly tell me where i am going wrong.??and what i can do to set it right(if
there is a way)



--
View this message in context: http://www.nabble.com/Importing-files-t1760994.html#a4790754
Sent from the Ant - Users forum at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message