Last active
December 20, 2017 10:30
-
-
Save jclagache/991a72ba25333f617a6d0371f897e780 to your computer and use it in GitHub Desktop.
akka.config transformations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<akka> | |
<hocon> | |
<![CDATA[ | |
akka | |
{ | |
loglevel = DEBUG | |
} | |
]]> | |
</hocon> | |
</akka> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> | |
<akka xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<hocon xdt:Transform="Replace"> | |
<![CDATA[ | |
akka | |
{ | |
loglevel = ERROR | |
} | |
]]> | |
</hocon> | |
</akka> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<configSections> | |
<section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" /> | |
</configSections> | |
<akka configSource="akka.config"/> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ItemGroup> | |
<Content Include="akka.config"> | |
</Content> | |
<None Include="akka.Release.config"> | |
<DependentUpon>akka.config</DependentUpon> | |
<SubType>Designer</SubType> | |
</None> | |
<ItemGroup> | |
<UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" /> | |
<Target Name="AfterBuild"> | |
<TransformXml Source="akka.config" Destination="$(OutputPath)akka.config" Transform="akka.$(Configuration).config" Condition="Exists('akka.$(Configuration).config')" /> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment