Hi Sling devs,

I'm sorry if this basic question has already been answered, I couldn't find something in the list.

My understanding of the "standard scheme" of developing apps with Sling is as follows:

Option A: Use scripts which are stored in the JCR repository under /apps

Option B: Use Java classes (servlets) in OSGi bundles

Is this correct?


Option A seems suitable if all developers have access to a common Sling server, and one would probably use the JCR capabilities for code versioning. But for a distributed development environment, I'd rather use the good old SVN. Is it possible to keep the scripts outside the JCR repository? Or would I have to do a roundtrip (export from JCR, commit to SVN, update form SVN, import to JCR)? How do you handle this when you change for instance the lauchpad webapp code?

Thanks a lot in advance for any clarification!

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01

Reply via email to