Created
October 26, 2011 06:57
-
-
Save eed3si9n/1315648 to your computer and use it in GitHub Desktop.
more than 9 settings
This file contains hidden or 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
| // tasks | |
| scalaxbConfig in scalaxb <<= new Scoped.RichTaskableKeys((combinedPackageNames in scalaxb) :^: | |
| (packageDir in scalaxb) :^: | |
| (classPrefix in scalaxb) :^: | |
| (paramPrefix in scalaxb) :^: | |
| (wrapContents in scalaxb) :^: | |
| (generateRuntime in scalaxb) :^: | |
| (chunkSize in scalaxb) :^: | |
| (protocolFileName in scalaxb) :^: | |
| (protocolPackageName in scalaxb) :^: | |
| (laxAny in scalaxb) :^: KNil) map { | |
| case pkg :+: pkgdir :+: cpre :+: ppre :+: w :+: rt :+: cs :+: pfn :+: ppn :+: la :+: HNil => | |
| ScConfig(packageNames = pkg, | |
| packageDir = pkgdir, | |
| classPrefix = cpre, | |
| paramPrefix = ppre, | |
| wrappedComplexTypes = w.toList, | |
| generateRuntime = rt, | |
| sequenceChunkSize = cs, | |
| protocolFileName = pfn, | |
| protocolPackageName = ppn, | |
| laxAny = la | |
| ) | |
| }, | |
| // settings | |
| scalaxbConfig in scalaxb <<= Project.app((combinedPackageNames in scalaxb) :^: | |
| (packageDir in scalaxb) :^: | |
| (classPrefix in scalaxb) :^: | |
| (paramPrefix in scalaxb) :^: | |
| (wrapContents in scalaxb) :^: | |
| (generateRuntime in scalaxb) :^: | |
| (chunkSize in scalaxb) :^: | |
| (protocolFileName in scalaxb) :^: | |
| (protocolPackageName in scalaxb) :^: | |
| (laxAny in scalaxb) :^: KNil) { | |
| case pkg :+: pkgdir :+: cpre :+: ppre :+: w :+: rt :+: cs :+: pfn :+: ppn :+: la :+: HNil => | |
| ScConfig(packageNames = pkg, | |
| packageDir = pkgdir, | |
| classPrefix = cpre, | |
| paramPrefix = ppre, | |
| wrappedComplexTypes = w.toList, | |
| generateRuntime = rt, | |
| sequenceChunkSize = cs, | |
| protocolFileName = pfn, | |
| protocolPackageName = ppn, | |
| laxAny = la | |
| ) | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment