Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is using an alternate PARENT_PACKAGE currently supported? #1

Open
darach opened this issue Nov 18, 2017 · 0 comments
Open

Is using an alternate PARENT_PACKAGE currently supported? #1

darach opened this issue Nov 18, 2017 · 0 comments

Comments

@darach
Copy link

darach commented Nov 18, 2017

Hi folk,

Perhaps this is user error, but using an alternate PARENT_PACKAGE in the codec
generation results in failing acceptance tests after mopping up any obvious import
issues:

@@ -190,6 +194,9 @@ project(':fix-44-codecs') {
         main = 'uk.co.real_logic.artio.dictionary.CodecGenerationTool'
         classpath = sourceSets.main.runtimeClasspath
         args generatedDir, '../../quickfixj/quickfixj-messages/quickfixj-messages-fix44/src/main/resources/FIX44.xml'
+        systemProperties = [
+            PARENT_PACKAGE: "foo.bar"
+        ]

         outputs.dir generatedDir
     }

It seems logical to use different parent packages for different FIX dialects but it looks like a uk.co.real_logic.artio parent package is assumed at least at the moment, or is it a missing
configuration step, for example, or do some artio packages like Session need to be tweaked
to use different Header Encoders etc..?

Cheers,

Darach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant