Page 1 of 1
New to Development Environment

Posted:
Wed Aug 05, 2009 6:32 pm
by lefko
This program is great! This may be a bad/uneducated question. Please bear with me.
I am a C programmer, that uses eclipse, and is trying to get familiar with Java/javascript and PHP. I've had some minor experience with J2MEon a small scale. This is a lot different/bigger. I have installed Maven which I am not really familiar with, but was able to get it going enough to compile and run the tests (I think) successfully.
What I would like to try to do is add a start/end time function to the player. I think this would be relatively simple. I'm wondering if you have any pointers on how to start. Is there a documentation feature, or a pointer that would help me to understand the architecture of the code?
There is also mention of a lite version with an API. What is the status of that?

Posted:
Wed Aug 12, 2009 6:59 pm
by lefko
So....
Things like based on springframework
http://www.springsource.org/ would have been helpful.
seems like a good tutorial here
http://static.springsource.org/docs/Spr ... p-by-step/
It is said somewhere that sindre uses Eclipse and maven to build the system. Curious about the javascript and ajax. Maybe a description of what languages are used where (and maybe why)? Does that make sense?

Posted:
Thu Aug 13, 2009 3:59 pm
by sindre_mehus
Hi,
Not sure how helpful this is, but here's a list of technologies used by Subsonic:
Spring MVC - Web app framework
Acegi Security - Security
DWR - Ajax
HSQL - Database
Ehcache - Caching
exe4j - Windows integration
NSIS - Windows installer
By the way, I'm using IntelliJ IDEA, but Eclipse would work equally well.

Posted:
Thu Aug 13, 2009 7:23 pm
by lefko
Thankyou. At some point I'm sure that list will be helpful, and maybe to others to understand what they would be getting into. I will try to update this as I find important gotchas as I have just discovered. During the tutorial for springframework MVC there was an issue with the latest version of tomcat and springframework that the link below resolves.
http://www.mularien.com/blog/2008/02/19 ... h-jstl-12/
However I did have to add both javaee.jar and appserv-jstl.jar to the tomcat directory in order to get it to load the tag library. I'm still fuzzy on the class lib/build path and import as they pertain to eclipse and also java somewhat, so that last part may not be necessary.
At some point in the forums you mentioned eclipse/maven that's where I got that from. It looks people think Intellij is better for java dev. I may check it out, but for right now I'm going to stick with eclipse since I know it somewhat from using the C/svn plugin.

Posted:
Wed Aug 19, 2009 3:59 pm
by lefko
Just about through with the springframework tutorial. There are many issues with it (typo's bitrot, etc). Google is your friend. One of the main issues is that I am using eclipse, and the instructions are more basic than that, but they do have a screenshot of what the project is supposed to look like in eclipse at the bottom. Unfortunately it's an older version of eclipse, but you can extrapolate. All in all eclipse helps because it can suggest fixes to problems that are caused by the above issues which somewhat may diverge from the described setup.
I'm also not as familiar with large scale java stuff (I've done a little J2ME professionally on an embedded device) so there are issues with buildpaths and classpaths too.

Posted:
Thu Aug 20, 2009 4:04 pm
by lefko
OK, back to compiling. So after putting the subsonic-amazon I built into the buildpath I was able to compile. I tried to deploy it, but I am running into an issue with maven
ERROR] BUILD FAILURE net.sourceforge.subsonic:subsonic-main:war:3.7 ( task-segment: [deploy] )
[INFO] ----------------------------------------------------------------------------
[INFO] org.codehaus.plexus.component.configurator.ComponentConfigurationException: Class 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated
[INFO] ----------------------------------------------------------------------------
[I
Do you have basic build/install instructions? Or, can you tell me what I am supposed to do with maven here and what I am supposed to wind up with?