by otakucode » Sun Feb 26, 2012 1:07 pm
I've had a chance to do a bit more work on getting subsonic to build. I figured I should share my experiences.
I messed around with it a bit in Eclipse, but didn't get very far. I was always running into dependency problems and maven wouldn't/couldn't resolve them. So, I grabbed the NetBeans IDE from Oracle. That worked much more easily (and I think I like NetBeans better than Eclipse thus far, it's pretty nice in general).
In NetBeans, I just opened the subsonic project and it went and got the necessary dependencies and built, as simple as that. I did run into some display oddities where NetBeans was making it look like some of the components were missing (like the directwebremoting classes), but this went away after a bit, I think it just had to refresh the display after getting the dependencies. If you load it up and get a 'Build success' message you should be good to go.
The next step toward actually being able to debug was getting subsonic to run. I created a server inside NetBeans, it let me download and install GlassFish with a refreshing lack of bother. All I had to do was give a name to the local domain the GlassFish server would use.
Once that was done, I was able to choose to Run the project in NetBeans and it rebuilt subsonic, started up GlassFish, deployed the war file, and opened up the index page in my browser. Boom, subsonic building and running. I haven't tried running it with the debugger turned on, that is next...
Good luck to others interested in helping out with subsonic!
otakucode