Hi Tom

> On 22 Jul 2016, at 23:34, Furst,Thomas <thomas.fu...@rcmt.com> wrote:
> Hi Andreas,
> I am new to attempting to be a part of FOP development. Where can I learn 
> more about how to apply a patch? I imagine I need to get the source download, 
> do I just update the file(s) outlined in the patches at the given link? Sorry 
> for asking such newb questions, but am unsure of where to begin.

In that case, be sure to start here: http://xmlgraphics.apache.org/fop/dev/

You would indeed need a source download. The easiest way to do so is to check 
out FOP trunk from Subversion or Github with a Java IDE. Personally, I prefer 
using Jetbrains' IntelliJ IDEA, which has a free community version that 
integrates very well with OS X/macOS and Windows, but Eclipse or Netbeans would 
work just as well.

Given that Maven integration has been added to FOP, it should prove fairly 
trivial to do a build once the checkout is done. Note: you will need to install 
the SVN or Git binary as well, depending on your platform. For OS X/macOS, both 
are included in the XCode command-line tools available for download on the 
Apple Dev website.

Applying patches to your local sandbox from within an IDE is a proverbial piece 
of cake, if they are very recent. Your IDE will have a menu 'VCS' or 'Version 
Control' or something, which will normally have an option 'Apply Patch...'

The more outdated the patch however, the higher the risk that things will 
become significantly more difficult. I have not tried it with the patches in 
the mentioned JIRA ticket recently, so not sure yet if it will really be that 
problematic. Could be that SVN will automatically trace things back to the 
revision of the patch, and 'knows' where the respective source files have moved 
to (?)




Reply via email to