The Petals ESB source code is fully accessible through our Subversion repository using the URL: https://anonymous:anonymous@svn.petalslink.com/svnroot/trunk/product/dev/prod/petals.
See Editing Petals ESB source code to configure your Eclipse to contribute to the Petals ESB source code.
See Building Petals ESB source code to build Petals ESB.