As part of the GWT team's ongoing effort to address the needs of the Maven community, the Google Plugin for Eclipse (GPE) team is working to improve interoperability with Maven in future releases. Plugin version 1.3.3 makes it possible to use Maven in a GPE project with a little tweaking, and future versions aim to improve this experience. There is already good support from the open source community for using Maven with GWT and/or App Engine projects; however, it has been difficult to enable both Maven and GPE for the same project. This article explains how to do that. It assumes you already have some Maven knowledge.
Working with GWT and GAE in MavenFirst, here are a few tips on using Maven with GWT and GAE.
The open source community has written Maven plugins for both GWT and App Engine which wrap the native development tools for these platforms.
Both projects provide Maven archetypes to generate a pom.xml and project skeleton. In addition, you can find a GWT+GAE+Roo sample POM within the Expenses sample project in GWT trunk. It contains everything you need to build a GWT 2.1 app (as of 2.1.0 M3) with Spring Roo and deploy to App Engine. If you're not using Spring, you can remove the Spring dependencies.
The documentation for each plugin lists all of the Maven goals available, but we'll briefly look at the most common:
Using the goals provided by the GWT and GAE Maven plugins, it is not necessary to use the Google Plugin for Eclipse at all, as you can use Maven instead to run / debug / deploy. However, GPE provides tighter integration with Eclipse Run / Debug launch, code completion, warnings and errors, etc., so it's useful to enable it also.
Enabling Google Plugin for Eclipse to work with an existing Maven projectIf you have an existing Maven project in Eclipse and want to enable GPE functionality, follow these steps:
To use Maven with an existing GPE project, follow these steps:
Let me conclude with a hearty thank you to everyone who has contributed to the development of maven-gae-plugin and gwt-maven-plugin. Your contributions are an indispensable part of Google's ability to better meet the needs of the Maven community.
I remember when I first used PDFCreator, I was doing some freelance web development work. As it happens sometimes, I had a client that was not very tech savvy. I was fortunate that this client could even check email (and even that was stretching it a bit). The PDF format was the one thing he could read and understand, and figure out how to open. In many cases, PDF seems to be the lowest common denominator; it’s easy, cross-platform, and it ensures that anyone viewing the document is looking at the same thing. PDFCreator allowed me to put *anything* into a nice PDF: screenshots, documents, spreadsheets, reports, whatever. It was a life saver then, and it is now.
While some programs offer the ability to convert into a PDF format, or export into PDF, there are many that do not have this capability. With this software, anything that can be printed can be turned into a PDF. In essence, you install the software, and it installs as a PDF printer, so to create a PDF from anything, you just need to print. Its only limitation is that it is specific to Windows OS.
PDFCreator does more than just create PDFs, in fact. The software now includes many other features such as the ability to:
The project began in 2002 when Philip Chinery, one of the core devs, needed a useful tool to make PDFs and nothing out there suited his needs. He wrote the software, and in 2003, Frank Heindörfer joined the team. “Since that time,” Philip tells me, “we have been the first free PDF software with a full installer, the first one with PDF security, PDF/A and PDF/X support, digital signatures and a COM automation interface to control the software.”
Over the years, the team has had to work through many technical obstacles, “like finding all relevant parts to do a proper printer driver installation or getting the permissions right with the new Windows Vista permission structure,” says Philip. “The latter has caused us to take nearly one year to fully support Vista after it has been released. We finally had to tweak the permissions of the SYSTEM account which other printer drivers as the Xerox drivers do as well, but we are not fully happy with that so far.”
Philip and Frank have learned a lot through their work with PDFCreator. They have a great time working on something they believe in, and they enjoy working on the team together, which is very important for any project, but especially crucial in open source.
Wise words of advice for others working in or just starting out in open source: “Take a point where you want to be better than everyone else and try to achieve that. It is better to have a good program with few features than a bad program with many features. And, use a programming language that will be available for some time.”
The team has big plans for PDFCreator, including rewriting the entire app in C# (it is currently written in VB6.) “We are currently having a kind of prototype application and are working on side aspects as a good translation system and Setting Storage. It is quite likely that they will become available separately to help other developers.”
They have also decided to start their own company, pdfforge GbR, to continue to improve PDFCreator, while offering custom development.
PDFCreator is one of the top 10 projects on SourceForge.net of all time, and there is a reason for that. It’s a great tool, it’s super simple to use and install, and the team works very well together. If you are using Windows, this should definitely be in your toolbox.
For more information on PDFCreator: http://pdfforge.org
To download PDFCreator: https://sourceforge.net/projects/pdfcreator
If you would like to donate to this project: http://www.pdfforge.org/donations
The Google Plugin for Eclipse is the fastest way to start developing Google Web Toolkit and App Engine applications.
MyEclipse for Spring 8.6: Generate Google Web Toolkit, Adobe Flex, iPhone Apps in Minutes
Developing Spring applications? Do it right and do it fast.