-
Notifications
You must be signed in to change notification settings - Fork 123
Getting started with CmisSync development
Nicolas Raoul edited this page Aug 21, 2019
·
35 revisions
- Install Git (Windows users: http://windows.github.com)
- In the Git console, type the following commands:
git clone https://github.com/aegif/CmisSync.git
cd CmisSync
git submodule init
git submodule update
- Install Microsoft Visual Studio (the Express version is free)
- Install WiX
- Install the WiX extension for Visual Studio
- Open Microsoft Visual C#
- Import CmisSync/Windows/CmisSync.sln
- Ensure that your
Solution Platforms
dropdown is set toAny CPU
(rather thanMixed platforms
) - Select the
CmisSync.Console
project and pressBuild
- Select the whole solution and press
Build
- Debug > Start debugging
Announcement: Package maintainers wanted! Redhat, Ubuntu, etc.
- Install as described here: https://github.com/aegif/CmisSync/blob/master/CmisSync/Linux/README.md
- Run: cmissync start
- Install Monodevelop
- Import CmisSync/Linux/CmisSync.sln
- Debugging does not seem to work out-of-the-box, but debugging from Monodevelop is possible using this trick.
(Some installation bugs remain, volunteers wanted!)
- Install as described here: https://github.com/aegif/CmisSync/blob/master/CmisSync/Mac/README.md
- Run: cmissync start
See the "Troubleshooting" section of this page, and Internals.
To make the log appear in Visual Studio, add a TraceAppender (and matching appender-ref
) to your <log4net>
configuration in config.xml
. For instance:
<log4net>
<appender name="CmisSyncFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="C:\Users\### INSERT YOUR USERNAME HERE ###\AppData\Roaming\cmissync\debug_log.txt" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="5MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
</layout>
</appender>
<appender name="TraceAppender" type="log4net.Appender.TraceAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d [%t] %-5p %c %m%n"/>
</layout>
</appender>
<root>
<level value="ALL" />
<appender-ref ref="CmisSyncFileAppender" />
<appender-ref ref="TraceAppender"/>
</root>
</log4net>
For explanations about the source code, database, XML format, etc, see Internals.