Silly question, what happens if you run ant against your build.xml from the command line?

Another silly question, you are using <import> correct?

I know I am using <import>'s galore with no issues...

Can we get a peek at your XML files?

Scot

M V Chetan wrote:
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.


--
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to