1

I have structured my jave project as:

MyProejct
  - src
  - build
  - test
  - lib
  - ..

In the root of my lib folder, I've placed all of my external .jar files (hibernate, jboss, etc). Now I have decided to move all my third-party jar files into another repo (Namely Lib) and have them on my lib folder while checking out the project. I've used svn:externals to do this. I have created my Lib repo like the following:

Lib Repository
  - hibernate
  - jsf
  - junit
  - ...

Why when I refer these jar files using svn:external property to different folders in my Lib repo, only .jar files in my last external property are checked out?

TonySalimi
  • 8,257
  • 4
  • 33
  • 62

2 Answers2

0

It is not possible to have many files in a folder coming from different repositories using externals. The best way to do this is to keep each .jar file in its own folder and update the content of that folder by its relevant external property.

TonySalimi
  • 8,257
  • 4
  • 33
  • 62
0

svn:externals is versioned property, thus, you get files, which correlate to the state of svn:externals for current revision of Working Copy

Lazy Badger
  • 94,711
  • 9
  • 78
  • 110
  • So, how can I collect all of my .jar files located in different repos into a single folder? – TonySalimi Feb 20 '12 at 17:40
  • @hsalimi - you have now all files (physically) in lib, as I read your text. Which **additional externals** you want to have? In case of SVN 1.6, you can use externals on file-level and define or skip PEG-revision of external resource – Lazy Badger Feb 20 '12 at 18:41