• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tool to build any open source library

 
ckt bowel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

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.

Thanks in advance.
 
Tim Cooke
Sheriff
Pie
Posts: 2935
121
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That seems like a very silly requirement. Did the requirement come with any reason or justification?

I really can't see the benefit of building third party libraries from source when pre built libraries are already provided by the project owners. Sounds like a whole lot of pain for no gain.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you describe exists exactly ... for binary builds; it's called Maven.

I agree that the requirement sounds strange. To my knowledge, there is no such tool (which is not surprising, as it doesn't seem to fill a widely perceived need).
 
Tim Cooke
Sheriff
Pie
Posts: 2935
121
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ckt bowel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Hope I am clear.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34229
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ckt bowel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the cases: I had to build RabbitMQ Server plugin with the help of details mentioned in link: http://www.rabbitmq.com/build-server.html.

Ans, steps required are

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
(B) simplejson.py
(C) Erlang Development & Runtime tools
(D) GNUMake
(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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34229
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah. I don't see anything generic. The best you could do is have Ant run the command lines for the tools if not there. But that's a lot more work than just installing them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic