Hello everyone,
it's a long time ago since I patched this. It's really a pitty that Sindre didn't accept my patch

I just checked out trunk and tried to apply it. Unfortunately, quite a few things changed and there are too many collisions. My patch is thus not applicable to trunk, anymore

If anyone of you wants to apply the patch to the old version, you can still do this, of course. But you'd be forced to use the same old version as I did: SVN revision 2415.
Anyway, I'll explain roughly how things work:
Subsonic's sources are - as you can see on
http://www.subsonic.org/ - hosted on SourceForge:
http://sourceforge.net/projects/subsonic/Or more precisely:
http://sourceforge.net/p/subsonic/code/HEAD/tree/You have to check out revision 2415 of
svn://svn.code.sf.net/p/subsonic/code/trunkEither you do this using Subclipse (first add the given URL as repository and then check-out - don't forget the revision!) or you checkout using the command line of Subversion:
- Code: Select all
svn checkout svn://svn.code.sf.net/p/subsonic/code/trunk -r 2415
...with Subclipse choose "Check out as project in the workspace" and leave the default "trunk" value in the text box.
...if you used the command line, you'll have to import "trunk" as project into Eclipse.
Inside "trunk" you will find a folder named "subsonic-main". Select this folder, right-click and select "Team" > "Apply patch...". Then select the file (from my old posting above) and click "Next". In the following, you'll have to select "subsonic-main", which should already be pre-selected, because you clicked on it before. And of course, you should leave "Apply the patch to the selected file, folder or project:" selected (should be selected by default).
You can then click "Next" again to see my changes in detail. Hit "Finish" to apply them.
After my changes are applied, you'll have to compile everything. Therefore, you run maven on "trunk/pom.xml" with goals "clean install" (or at least "install"). Right-click the pom.xml directly in "trunk" and select "Run As" > "Maven build...". Enter the goals "clean install" and hit "Run".
Alternatively, run Maven from the command line:
- Code: Select all
cd ${checkoutdirectory}/trunk
mvn clean install
That's it: There's now a new subsonic.war inside the "trunk/subsonic-main/target/" folder.