Reputation: 16686
This is how my SVN looks like now
SVN
+ trunk
+ src
+ pom.xml
and I want to add
+ trunk_alternative_pom
+ src -> SVN/trunk/src
+ pom.xml
so when I update the project (in Linux or Windows), it will look like both "src" folders are completely unrelated, although behind the scenes (inside SVN) they are the same.
It's important that the original trunk has not a single byte modified. Assume I can't add pom_alternative.xml to trunk and run Maven with a -f argument,
Upvotes: 0
Views: 1116
Reputation: 28194
You will need to use svn:externals to point trunk_alternative_pom/src
at SVN/trunk/src
If all clients were using a UNIX-like OS (Linux, MacOS, etc.) you could use a symlink, but SVN on Windows doesn't support symlinks (and NTFS only started supporting it with Windows Vista).
Upvotes: 1