On Tue, Oct 14, 2014 at 8:04 AM, anjan <[email protected]> wrote: > Hi Robert, based on your suggestion, I ran the script > tooling/release/generate_javadoc_for_release.sh. Then I ran mvn clean > install from the tooling/release/out directory. The build was successful. > Please see the attached build output. buildlog.txt > <http://apache-sling.73963.n3.nabble.com/file/n4041797/buildlog.txt> . > > But I have some questions. > (1) I don't see the standalone jar after the build. Please see that > attached pom file that was available in the tooling/release/out directory. > pom.xml <http://apache-sling.73963.n3.nabble.com/file/n4041797/pom.xml>
Right, with this step you've built all the bundles that are part of the launchpad and installed them in your local m2 repository. The standalone jar is a different project, but now you've built all the bundles from source, therefore when building the launchpad from the tag [1] it will include the artifacts you've built locally and will not pull them from a Maven repository. Therefore, from a Sling point of view, everything is built from the source. > (2) When the script "tooling/release/generate_javadoc_for_release.sh" was > running I saw the message "Exported revision 1631356". I think this was the > latest revision from SVN when I ran the script. So I am not sure how this > corresponds to the Sling 7 build. Please throw some light on this. The script checks out ( well, exports ) all the bundles which are part of the launchpad . These bundles were released at different times, and therefore at different revisions. Therefore it's expected to have different revision numbers fly by. For instance: $ svn log https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.jcr.jcr-wrapper-2.0.0 -v --stop-on-copy ------------------------------------------------------------------------ r1402056 | cziegeler | 2012-10-25 12:45:08 +0300 (Thu, 25 Oct 2012) | 1 line $ svn log https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.javascript-2.0.14/ -v --stop-on-copy ------------------------------------------------------------------------ r1603808 | bdelacretaz | 2014-06-19 13:08:01 +0300 (Thu, 19 Jun 2014) | 1 line Just to state this again, as it's an important point - even though the bundles are part of the same repository, they are not released at the same time, or from the same revision. Their lifecycles are typically independent, and so is the lifecycle of the launchpad. Hope this clear things up, but if it doesn't let me know :-) Cheers, Robert [1]: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad-7
