Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Build eclipse project from ANT script
Build eclipse project from ANT script [message #805052] Thu, 23 February 2012 09:29 Go to next message
Mahesh Maney is currently offline Mahesh ManeyFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,
We have customized the eclipse IDE to custom build and compile files in the project on a remote host. The project builder is initiated by launching the IDE and triggering the build from the menu Project-->Build Project.There is a requirement that the build has to be done from an automated script; i.e. the initial project will be created, files will be added to the project, user would also setup the properties for compilation such as hosts to be used for compiling each project, object location etc....
The above created project should be able to run from an automated script such as ANT or something that would build the entire project even without launching the Eclipse workspace. Eclipse has in built Headlessbuild for java projects, but does not work for a non java project.I am not able to decide on a proper approach for this kind of build.
Any pointers in this are appreciated.
Re: Build eclipse project from ANT script [message #805295 is a reply to message #805052] Thu, 23 February 2012 15:42 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2500
Registered: July 2009
Senior Member
On 2012-23-02 10:29, Mahesh Maney wrote:
> Hi,
> We have customized the eclipse IDE to custom build and compile files in
> the project on a remote host. The project builder is initiated by
> launching the IDE and triggering the build from the menu Project-->Build
> Project.There is a requirement that the build has to be done from an
> automated script; i.e. the initial project will be created, files will
> be added to the project, user would also setup the properties for
> compilation such as hosts to be used for compiling each project, object
> location etc....
> The above created project should be able to run from an automated script
> such as ANT or something that would build the entire project even
> without launching the Eclipse workspace. Eclipse has in built
> Headlessbuild for java projects, but does not work for a non java
> project.I am not able to decide on a proper approach for this kind of
> build.
> Any pointers in this are appreciated.

Buckminster headless builds things the same way they are built in the
workspace - only in headless fashion (without ui). This means, that a
buckminster headless "build" command will run all the registered project
builders. All you need to do is to install your builders into your
headless Buckminster.

Hudson/Jenkins allows you to configure a lot of things regarding which
code is being built where and with specific settings.

Hudson/Jenkins can manage builds on remote servers.

There is a Buckminster plugin for Hudson/Jenkins.

Hope that helps (as a starting point).
- henrik
Previous Topic:Buckminster for Non-osgi projects
Next Topic:Is there any way to share Advisor Nodes between CQuery's
Goto Forum:
  


Current Time: Thu Nov 27 20:08:41 GMT 2014

Powered by FUDForum. Page generated in 0.01767 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software