Hi, like the title saids, I found a drawback working with some co-workers with different diagrams, under version control (svn). The following issue is that when somebody use the include feature and upload the code for the others users, the path of the included file, it doesn't the same, for example:
User 1 creates foo.iuml, with the following:
@startuml
!include /home/user1/PATH/TO/FILE/clases/UC_skinparam.skp
/' More code '/
@enduml
After he concluded the work, uploads the file and the User 2 receive the file with a sintax error beacuse the path to the included file is:
!include /home/user1/PATH/TO/FILE/clases/UC_skinparam.skp
when it sholud be:
/home/user2/LARGE/PATH/TO/THE/FILE/clases/UC_skinparam.skp for example.
Its any way to solve this?
If it doesn't, I was looking to the automatic path that the application constructs for a included file, and its is possible to change that,
- define a root folder (where the diagrams project resides),
- automatic construct the path to that root folder, and allow the users define a namespace in the top of each file? Like in Symfony projects (php).
So, it will be something like this:
Root folder: UML_Diagrams/
bar.iuml:
@startuml
namespace PATH\TO\THIS\FILE
/' SOME CODE '/
@enduml
foo.iuml
@startuml
namespace PATH\TO\THIS\FILE
!include \PATH\TO\BAR_FILE\bar.iuml
@enduml
Then, in low level, the path that the application constructs it will be:
\home\user\...\...\UML_Diagrams\PATH\TO\BAR_FILE\bar.iuml
I hope you can understand me :) .
Regards!