javagitwebdynpro

can you version-control Java Web Dynpro projects with Git and, if yes, what do you have to consider?


we have a small SAP server with a Web Dynpro Java stack. At the moment, each one of us has a local copy of the corresponding project. Changes from one person have to be merged with another person's changes by hand.

We have not yet tried using Git before. However, some of my colleagues have tried SVN and found that automatically generated files are a huge problem. Also, view files seem to cause inconsistencies, so that one has to clean and rebuild the Java Web Dynpro project several times in order to get it to work again.

This all seems not really comfortable, at least we backed off from using SVN. Personally I like Git more anyways.

Is there any best practice out there how to use Git to version-control Java Web Dynpro projects, so that collaboration works in a somewhat reliable way?

All the best, Michael


Solution

  • I use Git on prod project, there is my .gitignore file:

    bin/
    gen/
    gen_ddic/
    gen_wdp/
    gen_cmi/
    dependencies.properties
    .project
    .classpath
    .settings/
    

    a tips: one man on one WebDynpro Component is easy for git.