reusable/master project files for a trunks branches?

Hi There,

The short of it: When you make a new branch with 99% of the same file structure and libraries within it, how can you use another branch's IDEA project files?

Not quite sure what the proper forum is for this :-/

Our codebase is a large J2EE, Spring, Hibernate web-app and we use BitKeeper for source control.

We store libraries/dependencies within branches (thus any branch will have all it needs with relative path under its root).

BitKeeper is very distributed, so we're very often making branches and later pulling them into the main trunk. This is really easy with BK, but I can't get working IPR, IML, and IWS files that I can port around whenever I make my own branch.

My goal is to get all the Facets all working (that alone is about 4,000 discussion posts away for me), but for now, I just want a project I can port around so I don't have to wizard a new one every time.

I've tried (of course) copying the \*.i\* to the new branch's root directory. I seem to remember this working for Idea6. Now (on 7.0.4), however, it opens a project with the directory structure apparently intact, but each directory reports empty (i.e. it thinks there's no files in the whole tree). I can't explore to anything nor Ctrl-Shift-N.

I've tried clicking the synchronize buttons (though, honestly, these rarely seem to do anything for me) and they do nothing, and I tried clearing the cache, which, upon reload, seemed to scan a lot of the lib jars, but never any of my source code; same result.

I don't see any xml in the iml and ipr files to force it to rescan?

Please help! I love IDEA and I want to be able to use it across repositories. Again the goal is eventually perfect facet functionality and the \*.i\* files under source control, but this would be a start!

Thanks again,
John Marnell

Please sign in to leave a comment.