DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007

    Repository/Build Management Question

    I'm trying to incorporate Ant and Subversion into a project I'm working on, and have run into an issue regarding source code organization. It is not a J2EE project, but it does have components spread across three tiers. Each tier has some exclusive components, but some -- a data transfer object, and a few utility classes -- will be used in all tiers.

    Could anyone suggest an effective way to organize my repository, and how to manage my builds? My thought is to have the repository be a composite whose artifacts/structure support all three tiers. Each tier would have it's own working set and build area, and its own build.xml to checkout the appropriate files and build them.

    As a bonus for those who would like a more challenging question, the client & midtier components are to be built with JDK5 -- the server component is to be built using JDK1.4. Any recommendations, caveats, horror-stories? (I'm using XStream to serialize and pass the data transfer object between tiers.)


    Eric Adamson
    Lansing, Michigan

  2. #2
    Join Date
    Feb 2007
    Probably I'm wrong, but I don't see why you can't organize your repository because it's not J2EE ? SVN allow to organize anything you like. After, the challenge is more on configuring Ant to adapt the repository structure, but it's a one-off job.
    Anyway, try to google CI tool. CruiseControl or Bamboo (never use it, but people said it's better, though unlike CC it's not free). It will help to take all the code from repository (thanks to SVN), build (thanks to Ant) deploy, run the test, generate reports etc. It's not easy for the first time user, but it greatly helps and saves a valuable time.
    About different JDK, I never tried it, but I guess you can configure your project (Ant) to use different JAR (I did it with 2 different version of framework like Axis, but never have a requirement to use different JDK).

Similar Threads

  1. Memory Management Question
    By kief12 in forum C++
    Replies: 7
    Last Post: 08-01-2007, 10:03 AM
  2. Data management question
    By jac in forum VB Classic
    Replies: 3
    Last Post: 05-23-2005, 11:20 PM
  3. Replies: 1
    Last Post: 12-01-2002, 06:42 AM
  4. Replies: 0
    Last Post: 11-25-2002, 11:09 PM
  5. Display one record at a time!
    By ASP learner in forum ASP.NET
    Replies: 5
    Last Post: 10-08-2002, 07:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.