i2group / analyze

Develop and deploy custom Java extensions and REST API client code for i2 Analyze. View the Java API documentation.
https://i2group.github.io/analyze/
MIT License
37 stars 30 forks source link

problems about convert data source into a form that is compatible with the iap #16

Closed tantairs closed 9 years ago

tantairs commented 9 years ago

Hi, The version of my iap is 3.0.11.0, when i do the convertion from data source to a form that is compatible with the iap following the document(data_acquisition_developer_guide). which as following picture.( i have defined a schema by myself) default .I can't run the command: python da-setup.py -t generate-mapping-jar -x IapSchema -z xsdFiles -o JarFiles. I check my file that are ended with gradle. I can't find the solusion following this document (data_acquisition_developer_guide). So how can i do the conversion with this version ? thinks for reply.

boalesth commented 9 years ago

Hi Tantairs,

The guide hasn't been updated yet, but for 3.0.11 you will need to run the gradle equivalent:

setup -t generateMappingJar -x IapSchema -z XsdFiles -o JarFiles

For example:

setup -t generateMappingJar -x "C:\dev\is-ingestion.xml" -o "c:\temp\is.jar" -z "c:\temp"

For a full list of the commands that are supported at 3.0.11, refer to the embedded help:

setup -h

For help with da specific commands use:

setup -dh

Thanks

Esther

tantairs commented 9 years ago

Thanks for your reply,i will have a try.