ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qazwart <>
Subject Re: ant project building problem when one project depend upon another project.
Date Mon, 04 Jun 2007 23:18:12 GMT
Separate out the JAR task as a separate target and have both project  
"A" and project "B" depend upon that target. That way, you're just  
building the JAR and not the entire project. Or, you can build the  
JAR with a separate target and call it via an <antcall>.

On Jun 4, 2007, at 12:59 AM, Karamjit wrote:

> Hi All,
> I have one problem in ant build file. Actually i'm compiling and  
> build two
> projects A and B with single build file.
> As in eclipse configuration i made A project depend upon the jar  
> file of B
> project.
> What i'm  trying to do is that i want to set the jar file in classpath
> durring runt time of ant from A project so that the project B can  
> get easily
> compiled. Is there any way in ANT to make one project dependable on  
> the Jar
> file  of other project.
> Can someone help me. its very urgent. Thanks in advanced
> -- 
> View this message in context: 
> building-problem-when-one-project-depend-upon-another-project.- 
> tf3863068.html#a10943796
> Sent from the Ant - Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

David Weintraub

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message