667514 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 6 Messages: 6 Messages: 6 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Open source headless builder plugin for Eclipse is released

Posted by: Gábor Lipták on October 28, 2009 DIGG
We have faced the problem of building our application on our continuous integration server. It was a pain to write separate ant build scripts, because all information is already present in the eclipse environment, so nobody is interested in synchronizing hundreds of eclipse projects build path settings to build scripts.

Usually builds will start with checking out the project folders from source code management system into a "to be workspace" root folder. What you can use headlesseclipse for after checkout (the arguments of the program one by one):

- import - creates an Eclipse workspace from the root folder, and imports all of the subfolders as Eclipse projects
- clean - calls the clean build on every project. It is often useful, if we reuse the workspace
- build - Builds all projects using incremental building. After a clean, or for the first time, a full build will be run. It runs Ant builders correctly. The console of the Ant builders are also dumped to system out
- exportwars - This will export all dynamic web projects to a war file in the workspace root directory as <project_name>.war. They are ready to deploy!

These are the main features currently. We plan to implement server creation, publish, export jars and ears, running unit tests.

Would You contribute? Report issues, develop new features with us!

What else would You welcome in headless Eclipse?

Links:
Project homepage
User manual
Some information about internal working

Download it, and put it into plugins folder of Your Eclipse for Java EE Developers version 3.4 or 3.5

Threaded replies

·  Open source headless builder plugin for Eclipse is released by Gábor Lipták on Wed Oct 28 04:13:53 EDT 2009
  ·  P2 Build is on track by Olaf Schmitz on Wed Oct 28 06:00:53 EDT 2009
    ·  Re: P2 Build is on track by Gábor Lipták on Wed Oct 28 09:08:30 EDT 2009
  ·  May be very useful tool by Eugene Lucash on Wed Oct 28 06:03:20 EDT 2009
    ·  PDE plugins by Gábor Lipták on Wed Oct 28 08:56:14 EDT 2009
    ·  Exporting plugins and features now possible by László Váradi on Thu Oct 29 06:51:57 EDT 2009
  ·  Re: Open source headless builder plugin for Eclipse is released by Erik Bengtson on Thu Oct 29 03:46:44 EDT 2009
  Message #328491 Post reply Post reply Post reply Go to top Go to top Go to top

P2 Build is on track

Posted by: Olaf Schmitz on October 28, 2009 in response to Message #327505
Really nice of you guys to create an own project, but I thing it would much better to contribute to the P2 project, then inventing the wheel again.

  Message #328492 Post reply Post reply Post reply Go to top Go to top Go to top

May be very useful tool

Posted by: Eugene Lucash on October 28, 2009 in response to Message #327505
May be very useful tool!
Please, can you tell if headlesseclipse support building workspaces with eclipse plugins / OSGi bundles using PDE builder and tasks?

  Message #328497 Post reply Post reply Post reply Go to top Go to top Go to top

PDE plugins

Posted by: Gábor Lipták on October 28, 2009 in response to Message #328492
Currently eclipse plugins are not supported in trivial way. As far as I know for eclipse plugins when you export your plugin, you can say in options tab to "save as ant script". This way if you save your export process, then you can add the saved script to your project as an ant builder in the last place (to have java files compiled), then our plugin will call it.

For more information about ant builders, see http://www.eclipsezone.com/eclipse/forums/t65486.html .

  Message #328498 Post reply Post reply Post reply Go to top Go to top Go to top

Re: P2 Build is on track

Posted by: Gábor Lipták on October 28, 2009 in response to Message #328491
I googled p2, and I find, that p2 is mainly for eclipse plugins and RCP applications (OSGI bundles). Truly saying this area is not so familiar for me. I know the concepts, I want to move on to use newer technologies like them, but I have to stick my company and customers.

Anyway this plugin can be good choice if You want to build JEE applications, web modules, or simple java applications in headless mode.

On the other hand, if I dont understand you correctly, and P2 is good for such work, handles pretty normal dynamic web module projects with custom ant builders and so on, just let me know how to use it, and we will use, and maybe we can contribute as well in P2.

  Message #328533 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Open source headless builder plugin for Eclipse is released

Posted by: Erik Bengtson on October 29, 2009 in response to Message #327505
2 years ago I wrote a similar tool: http://eclipseassembly.sourceforge.net/

It is no longer maintained or supported.

Similar to what is proposed by "headlesseclipse", it does not need complex ant scripts to build applications.

  Message #328540 Post reply Post reply Post reply Go to top Go to top Go to top

Exporting plugins and features now possible

Posted by: László Váradi on October 29, 2009 in response to Message #328492
A new version of this plugin is released, which can export plugins and features now.

If you have any new feature this plugin can do, please post an issue on the plugins home page.

-- Vazul

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map