ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: How to deploy a project's depenencies
Date Tue, 11 Sep 2007 07:19:08 GMT
Also have a look at Apache Ivy which integrates very well into Ant.

Homepage
http://incubator.apache.org/ivy/

FAQ
http://incubator.apache.org/ivy/faq.html

Tutorials
http://incubator.apache.org/ivy/history/trunk/tutorial.html

Wiki
http://wiki.apache.org/ivy/

Articles
http://wiki.apache.org/ivy/IvyArticles



Jan
 

>-----Urspr√ľngliche Nachricht-----
>Von: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
>Gesendet: Montag, 10. September 2007 18:55
>An: Ant Users List
>Betreff: RE: How to deploy a project's depenencies
>
>There are several strategies for managing library dependecies in a java
>project. You could use something like Apache Maven
>(http://maven.apache.org/). You could check in the libraries to your
>source control system.
>
>In my work, most often the easiest solution is to check in the 
>3rd party
>jars to source control and deploy them with our compiled code to the
>runtime environment. When a dependency is another internally developed
>library, I would do the following.
>
><available property="some.jar.exists" 
>file="relative/path/to/some.jar"/>
>
><target name="build-dependency" unless="some.jar.exists"/>
> <ant file="path/to/some/build.xml" target="build"/>
></target>
>
><target name="deploy" depends="build-dependency">
>...
>
>I hope this helps.
>
>-Rob Anderson
>
>> -----Original Message-----
>> From: Rafael Barrera Oro [mailto:rafael@akyasociados.com.ar] 
>> Sent: Monday, September 10, 2007 9:40 AM
>> To: user@ant.apache.org
>> Subject: How to deploy a project's depenencies
>> 
>>    Hello i am working with two differente projects with 
>> separate build files. My intention is to build project A and 
>> make a JAR out of it (they are Java projects), then include 
>> it in project B and finally, deploy project B in a tomcat server.
>>    The thing is i can not manage to deploy project B with all 
>> its dependencies, it seems like whenever i deploy something 
>> ends missing on the deployment. Judging by the errors i get, 
>> the problem is the absence of several dependencies, not just 
>> project A but a lot of JAR referenced by project B.
>> 
>> Thanks in advance, any help would be very appreciated.
>> 
>> Rafael
>> 
>> PD: I hope i made myself clear, if not, feel free to point out.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>> additional commands, e-mail: user-help@ant.apache.org
>> 
>> 
>> 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message