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

schema2proto seems to ignore the --outputFilename command line argument #193

Open
salimfadhleyhtp opened this issue Jul 16, 2021 · 1 comment

Comments

@salimfadhleyhtp
Copy link

I have a command like this:

java -jar /tmp/schema2proto/schema2proto-lib/target/schema2proto-lib-1.40-SNAP
SHOT.jar --configFile /generateproto.yml --outputFilename "elexeon_RDRI.proto" --outputDirectory "/proto" /xsds/RDRI_Dat
aPush_Response_XSD.xsd

As a result of running this, it generates a proto file:

/com/elexeon/com_elexeon.proto

The filename appears to be derived from the targetNamespace attribute of the schema tag in the XSD.

Is there any idea how to make schema2proto save the exact file required?

@seime
Copy link
Contributor

seime commented Aug 4, 2021

What is the content of your generateproto.yml file? If I remember correctly you should use either command line arguments OR the config file, not both.

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

2 participants