Page 1 of 1

source editor / compiler question

PostPosted: Fri Jul 11, 2008 5:03 pm
by cellulit
Hi guys;

A quick question. What do you use to compile Subsonic from source files? I've tried to import it into Eclipse, but w/o success. Any tips are much appreciated.

Thank you!

PostPosted: Tue Jul 15, 2008 7:56 am
by sindre_mehus
Subsonic uses Maven for building.

PostPosted: Thu Jul 17, 2008 10:18 am
by mars96
Hi!

I'm also using Eclipse to work on Subsonic.

I've created one project for the unmodified sourcecode and one that I use to modify the code.
It includes all needed subsonic sub-modules (e.g. subsonic-main, subsonic-booter,...).
At the root of the subsonic eclipse project the pom.xml is located.
Additionally I added a batch file called "compileSubsonic.cmd" which calls Maven ("mvn install") to build the project.

Currently I do some things by manually as my versions are backports of the current code with new functions (see http://forum.subsonic.org/forum/viewtopic.php?t=950) and it has to run on Java 1.4.1 (my Server is running eComStation 2.0 - formerly known as IBM OS/2).

Off-Topic:
Since three month there is a hack available to use at least the original Sun Java Runtime v1.5.0_07 on eComStation and OS/2 but I doubt that Subsonic will work as the Inntek Java 1.4.2 using the same "wrapper" approach didn't work with my backports using Jetty.
The background colors were missing, login didn't always work,...
I'll give it a try tomorrow when I reinstall my Server with the latest eCS 2.0 release candidate.