We use lot of open source libraries in our project and we download built libraries from net and it use it.
recently there is a requirement to build all these open source liberties from source as part of the product build process (we use Ant).
Now the problem is: I see we need different environment setup for each of the libs to build and complicatation varies from library to library.
So, it there a free tool that can be used or integrate with Ant which takes care of building any open source lib where I need not worry about it's build requirements except specifying the name of the libraries I would like to build.
Any inputs in this regard is very much appreciated.
Ulf Dittmer wrote:What you describe exists exactly ... for binary builds; it's called Maven.
Oh yea, that probably is what the OP is getting at.
So if the question actually is "How do I manage my project's third party dependencies without having to download and copy them in manually myself?" then as Ulf says, Maven will do that for you.
Joined: Oct 04, 2013
Thanks guys for your valuable reply.
To be more precise, in last release of our product we had to download source of one of the open source library and did some changes and build it locally where we had to setup build environment and it took lot if effort to finally get the build done.
So, now this kind of requirement may come up with any of the open source libraries we use and hence I was looking for a "easy" way to get this done..via tool or some other way.
ckt bowel wrote:To be more precise, in last release of our product we had to download source of one of the open source library and did some changes and build it locally where we had to setup build environment and it took lot if effort to finally get the build done.
Which library? It'd be easier to discuss a specific case than generalities.
1. Setup build environment - SUSE Linux (V 11, Patch 2)- This can be created in VMWare Workstation.
2. Have the following tools available/installed:
(A) Latest version of Python
(C) Erlang Development & Runtime tools
(E) Latest version of xsltproc
3. Change to the rabbitmq-server directory (which has the modified code), and type make
Now the requirement is , above steps has to be integrated with current Ant build which involves have virtually create above environment during build and have the plugin-in built.
My idea was to keep this kind of specific builds out of current standard build steps and was thinking of a tool which can do it for me all this "specific" job externally.