Hi, On Sat, Apr 28, 2012 at 8:10 PM, Sabyasachi Mukherjee <[email protected]> wrote: > ...But to debug the sling project I tried to checkout it in Eclipse. > > I have checked it out from SVN and built it. > Firstly it was showing build error in the Sling Servlet API project . > I removed *<module>maven/archetypes/servlet</module> *from the main > pom.xml. > Then it was built well....
It looks like you're building directly from Eclipse? Building with Maven from the command line is recommended instead, at least to start with. You could always try the Eclipse build later, after confirming that the build works in your environment. The current trunk does build correctly with JDK 1.5 and 1.6, see https://builds.apache.org/job/sling-trunk-1.5/ and https://builds.apache.org/job/sling-trunk-1.6/ -Bertrand
