Community Forums
Results 1 to 4 of 4

Thread: what to put in the source code control

  1. #1
    Join Date
    Jan 2006
    Posts
    72

    what to put in the source code control

    when i work with IA projects and want to store in the clearcase repository,
    what do i put? just the .iap_xml? i also see a locales dir in the same dir where created the project.
    what about resources dir?

    i need to know what should be saving?

  2. #2
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147

    Exclamation

    I, for one, put only the .iap_xml project file in the repository. The resources folder is created at build time. But beware: even the slightest modification of your project file will create huge differences (so it'll be hard to see what exactly has been changed when looking at the diff).

  3. #3
    Join Date
    Dec 2007
    Location
    Waltham, MA, USA
    Posts
    115
    Yeah, I had already noticed that the format is not so nice as the one in ISMP, for which I often edited the XML directly if I wanted to make, e.g. filename changes and didn't feel like clicking on them all.

  4. #4
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147

    Talking

    This is the obvious thing to do: sometime, for a path change or a file name change is far more clear to directly edit the .iap_xml file with a text editor, and do the change and then commit: you'll have a nice clean diff, of the exact thing you've modified (and not countless unrelated changes (like new UUIDs being regenerated for things not touched).

    Just a side note in the choice of the text editor: because of the UTF-8 encoding of the .iap_xml projects, it might happen if your editor is set to automatically recognize the UTF-8 files to slightly alter it (the first bytes), thus actually corrupting your IA project (it has happened to me while using the UltraEdit editor, which has this setting enabled by default).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •