On 04/07/2011 01:53 PM, Thomas Wolf wrote:
> On 07.04.2011 13:40, Sascha Zelzer wrote:
>> Hi Thomas,
>>
>> could you explain your setup in more detail please? How are you using
>> SVN with the MITK Git sources?
>>
>> Thanks,
>> Sascha
>>
> Hi Sascha,
>
> we are versioning our own project (using the Mitk extApp mechanism) in a
> separate svn repository. ITK, VTK and MITK are held in an 3rdparty
> subfolder. From time to time we merge the newest differences from your
> original repository (former svn, now git) into ours. In between we have
> the benefit of stable, unchanging 3rdparty resources. As we keep the
> 3rdparty stuff in source also within te repository, we can apply
> patchessvn-versioned into ITK, VTK, or MITK if needed. Thats the rough
> setup.
>
> So to keep our project up to date, since recently I use git to pull the
> newest origin master, and merge them into our 3rdparty (in svn). i call
> the MITK makefile from the directory above simply with add_subdirectory..
>
> Regarding the mitk makefile, i now cannot extract the versioning number
> of mitk with git during project creaion phase, so the mitk
> CMakeLists.txt aborts. It would be nice to set the vaiables in that case
> to N/A, instead of aborting.
>
> Long story short, the Scenario is: GIT is installed and found via
> environment, but the working repository is svn (or maybe something else
> for other users.), which is not able to understand the git commands
> extracting the version info.
>
> Regards,
> Thomas
>
>

Hi Thomas,

I see... copying the MITK sources and using the build-system does not 
work if the sources are not part of a Git repository. We might consider 
fixing this, but this is a rather "exotic" use case.

Instead, I would suggest to use the CMake ExternalProject module to 
clone a specific revision of the official MITK git repository. You can 
also specify a patch step to automatically patch the cloned MITK source 
tree, if you need to.

Best,
Sascha

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to