Skip to content

Commit

Permalink
[Java] Avoid duplicates clash on archive and cluster resources by usi…
Browse files Browse the repository at this point in the history
…ng their own directories.
  • Loading branch information
mjpt777 committed Jan 21, 2020
1 parent 403b223 commit 04c3702
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,9 @@ project(':aeron-archive') {
}

task generateCodecs(type: JavaExec) {
def codecsFile = 'src/main/resources/aeron-archive-codecs.xml'
def markCodecsFile = 'src/main/resources/aeron-archive-mark-codecs.xml'
def sbeFile = 'src/main/resources/fpl/sbe.xsd'
def codecsFile = 'src/main/resources/archive/aeron-archive-codecs.xml'
def markCodecsFile = 'src/main/resources/archive/aeron-archive-mark-codecs.xml'
def sbeFile = 'src/main/resources/archive/fpl/sbe.xsd'

inputs.files(codecsFile, markCodecsFile, sbeFile)
outputs.dir generatedDir
Expand All @@ -491,9 +491,9 @@ project(':aeron-archive') {
'sbe.output.dir': generatedCppDir,
'sbe.target.language': 'Cpp',
'sbe.target.namespace': 'aeron.archive.client',
'sbe.validation.xsd': 'src/main/resources/fpl/sbe.xsd',
'sbe.validation.xsd': 'src/main/resources/archive/fpl/sbe.xsd',
'sbe.validation.stop.on.error': 'true')
args = ['src/main/resources/aeron-archive-codecs.xml']
args = ['src/main/resources/archive/aeron-archive-codecs.xml']
}

jar {
Expand Down Expand Up @@ -588,9 +588,9 @@ project(':aeron-cluster') {
}

task generateCodecs(type: JavaExec) {
def codecsFile = 'src/main/resources/aeron-cluster-codecs.xml'
def markCodecsFile = 'src/main/resources/aeron-cluster-mark-codecs.xml'
def sbeFile = 'src/main/resources/fpl/sbe.xsd'
def codecsFile = 'src/main/resources/cluster/aeron-cluster-codecs.xml'
def markCodecsFile = 'src/main/resources/cluster/aeron-cluster-mark-codecs.xml'
def sbeFile = 'src/main/resources/cluster/fpl/sbe.xsd'

inputs.files(codecsFile, markCodecsFile, sbeFile)
outputs.dir generatedDir
Expand Down

0 comments on commit 04c3702

Please sign in to comment.