From imperius-dev-return-7-apmail-incubator-imperius-dev-archive=incubator.apache.org@incubator.apache.org Tue Dec 11 20:36:06 2007 Return-Path: Delivered-To: apmail-incubator-imperius-dev-archive@locus.apache.org Received: (qmail 48250 invoked from network); 11 Dec 2007 20:36:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 20:36:06 -0000 Received: (qmail 59855 invoked by uid 500); 11 Dec 2007 20:35:55 -0000 Delivered-To: apmail-incubator-imperius-dev-archive@incubator.apache.org Received: (qmail 59842 invoked by uid 500); 11 Dec 2007 20:35:55 -0000 Mailing-List: contact imperius-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: imperius-dev@incubator.apache.org Delivered-To: mailing list imperius-dev@incubator.apache.org Received: (qmail 59831 invoked by uid 99); 11 Dec 2007 20:35:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 12:35:55 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.43.132] (HELO sca-es-mail-1.sun.com) (192.18.43.132) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 20:35:55 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id lBBKZXMm014785 for ; Tue, 11 Dec 2007 12:35:33 -0800 (PST) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JSW00L01JL3LW00@fe-sfbay-10.sun.com> (original mail from Craig.Russell@Sun.COM) for imperius-dev@incubator.apache.org; Tue, 11 Dec 2007 12:35:33 -0800 (PST) Received: from [192.168.0.12] ([24.6.172.77]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JSW00DKHJV98H20@fe-sfbay-10.sun.com> for imperius-dev@incubator.apache.org; Tue, 11 Dec 2007 12:35:33 -0800 (PST) Date: Tue, 11 Dec 2007 12:35:33 -0800 From: Craig L Russell Subject: Re: Structure of the repository In-reply-to: Sender: Craig.Russell@Sun.COM To: imperius-dev@incubator.apache.org Message-id: <58F63CFA-A134-4F24-ACFC-C346851013DC@SUN.com> MIME-version: 1.0 X-Mailer: Apple Mail (2.752.3) Content-type: multipart/signed; protocol="application/pkcs7-signature"; boundary=Apple-Mail-157-54801887; micalg=sha1 References: X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-157-54801887 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Neeraj, On Dec 11, 2007, at 7:41 AM, Neeraj Joshi wrote: > Perhaps a quick introduction to what we have in our CVS currently > would > help you'all recommend what would be the optimal repository structure. > > 1. We have several eclipse projects in our current setup. They are as > follows: > a. SPLCore - As the name suggests is the core SPL policy processor > b. JavaSPLProvider - This is the Java binding for SPL > c. CIMSPLProvider - This is a CIM binding for SPL that runs on the > OpenPegasus Server > d. CIMSPLClientSideProvider - This is another CIM binding for > SPL that > runs independant for CIM servers > e. SPLEditor - This is an eclipse based editor for SPL > f. CIMSPLEditor - This is an editor extension for CIM > g. JavaSPLEditor - This is an editor extension for Java > h. SPLCustomExpressions - This contains some sample custom > expressions > (custom expressions is a way to extend the built-in set of SPL > expressions) > i. SPLDemo - A couple of samples All of the above would be good candidates for a directory directly under trunk. > j. ImperiusSite - The static HTML files for the website (under > construction) Site might better live at the same level as trunk, as the site would have information that related to the project as a whole including multiple releases. > > 2. Each project has a > \bin - for generated binaries > \src - src folder And within src, you might have java, conf, other src artifacts that aren't java. > \lib folders - prereq libararies It might be better to put dependencies in a more common area, to avoid unnecessary thrashing to update the same dependency in multiple sub-projects. Or worse, end up with different versions in different sub-projects. Have you looked at Ivy or Maven for dependency management? > and build.xml > > 3. Currently we are using plain ANT. A master build.xml drives builds > under each of the above listed projects > > 4. The generated targets are as follows: > > a. JavaSPLProvider.zip - Contains the required jars and samples and > some > scripts to run the samples > b. CIMSPLProvider.zip > c. CIMSPLClientSideProvider.zip > d. EclipseUpdateSite - That contains 2 features JavaSPLEditor and > CIMSPLEditor > e. SPLDemo - Contains the required jars and scripts to run the demo > > So I guess we could put all the projects listed under 1. under the > trunk > and at the same time have them under a release branch marked 1.0 or > something? During development, everything is under trunk. When ready for release, copy the trunk to a branch and finalize the release. When approved, copy the branch to a tag. Some of the mechanics of release are done more easily if you use Maven. > Another issue to discuss is what would be our release process - how to > determine schedule, what criterion to use to promote a build to a > release > build etc All good questions. Take a look at the openjpa project as an example of a release process including branching and tagging. Craig > > Suggestions? comments? > Thanks > Neeraj > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "'In the end, everything is fine. If it is not, it is not the end" > Neeraj Joshi > Autonomic Policy Development > Autonomic Computing Division > (919)543-5298 > TIE: 441-5298 > Ext: 3-5298 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Craig L Russell > Sent by: Craig.Russell@Sun.COM > 12/10/2007 02:29 PM > Please respond to > imperius-dev@incubator.apache.org > > > To > imperius-dev@incubator.apache.org > cc > > Subject > Structure of the repository > > > > > > > Now would be a great time to discuss the structure of the repository. > > Under the root (incubator/imperius) we currently have only board. > > What most projects do is to add a trunk for current (possibly broken > in small ways) development, branches for maintained branches as well > as multi-developer features that are too incomplete for the trunk, > and tags for released code. > > Under trunk, complex projects with multiple jar files often have > several sub-projects, each of which has a structure suitable for the > build/integration tool. For example, openjpa uses maven to build and > has openjpa/trunk/openjpa-jdbc/ in which you find src and target > directories and the pom.xml that defines the openjpa-jdbc sub-project. > > Some also have their site as a directory in the main repository. > Others use Confluence and publish directly to the web. > > Craig > > Craig Russell > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo > 408 276-5638 mailto:Craig.Russell@sun.com > P.S. A good JDO? O, Gasp! > > Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:Craig.Russell@sun.com P.S. A good JDO? O, Gasp! --Apple-Mail-157-54801887 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGUDCCAwkw ggJyoAMCAQICECvOQSuIjHMvOZRC95BRg/wwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MTIxMDE1MjM1MVoXDTA4MTIwOTE1MjM1 MVowbDEQMA4GA1UEBBMHUnVzc2VsbDEUMBIGA1UEKhMLQ3JhaWcgTGFpcmQxHDAaBgNVBAMTE0Ny YWlnIExhaXJkIFJ1c3NlbGwxJDAiBgkqhkiG9w0BCQEWFUNyYWlnLlJ1c3NlbGxAU3VuLkNPTTCC ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKzqGlLUastboCRqc0iBoTz2ODcqpMpEyPUo nYtluchkSIoWzOW63AuoTczRt9sKfhwoK5mope+62B6Li06WJabm2UHqKAaNSuMHLsmyqvOdwbSt enY7/HxOSCMqVoyVBTRJc2M8feCSVgi7ptGq9cM+Maa64R1/p9zqaQNucceU/1uper90bWplsjAT rHgicgr9XJIQb6uYjhjlgxxnY/aispnCvLxMX+CiA2FWeeJTI7AiFlLwibTXYF4v12ToByvXtTiJ knuND8qpwhK3Wp0tL4ae8mZ0nlKjCuNnqh99ZyEyTFH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