Hi , Yes, it was asked during the interative mode,the reason why I mentioned it here is,because this parameter is mandatory to create the template. Possible values are file,mqtt,http,tcp,jms,email etc.
Regards, Kalaiyarasi Ganeshalingam Associate Software Engineer| WSO2 WSO2 Inc : http://wso2.org <http://www.google.com/url?q=http%3A%2F%2Fwso2.org&sa=D&sntz=1&usg=AFQjCNE_eTDfyl2ibPcq0hcXvRDNVuQmMg> Tel:+94 076 6792895 LinkedIn :www.linkedin.com/in/kalaiyarasiganeshalingam Blogs : http://kalai4.blogspot.com/ On Thu, Sep 21, 2017 at 1:20 PM, Sriskandarajah Suhothayan <[email protected]> wrote: > Why are we asking -DtypeOfIO=<create template’s IO type>? > I thought it was asked during the interactive mode? > What are some possible values to this? > > Regards > Suho > > > > On Thu, Sep 21, 2017 at 12:55 PM, Kalaiyarasi Ganeshalingam < > [email protected]> wrote: > >> Hi all, >> >> I have implemented the archetype for Siddhi extension.Archetype >> automatically set up all directories and project files for a new maven >> project for siddhi extension.This is a multi module archetype which >> contains siddhi-io ,siddhi-map ,siddhi-execution and siddhi-store >> archetypes.This can be used for creating Siddhi extensions template in >> maven projects.Users can able to generate templates by passing parameters >> like group id, artifact id, version and package names. >> >> For an instance,to create siddhi-io template,user can execute following >> command >> >> mvn archetype:generate -DarchetypeGroupId=<generated archetype parent’s >> group_id> -DarchetypeArtifactId=<generated archetype parent’s >> artifact_id> -DarchetypeVersion=<generated archetype parent’s version> >> -DgroupId=<create template’s group_id> >> -Dversion=<create template’s version> -DtypeOfIO=<create template’s IO >> type> >> >> The given example is used to creating the siddhi-extension-io's >> template,by passing mentioned parameters. >> >> For an instance new project template's structure is given below. >> >> └── siddhi-io-file >> ├── component >> │ ├── pom.xml >> │ └── src >> │ ├── main >> │ │ ├── java >> │ │ │ └── org >> │ │ │ └── wso2 >> │ │ │ └── extension >> │ │ │ └── siddhi >> │ │ │ └── io >> │ │ │ └── file >> │ │ │ ├── sink >> │ │ │ │ └── FileSink.java >> │ │ │ └── source >> │ │ │ └── FileSource.java >> │ │ └── resources >> │ │ └── log4j.properties >> │ └── test >> │ └── java >> │ └── org >> │ └── wso2 >> │ └── extension >> │ └── siddhi >> │ └── io >> │ └── file >> │ ├── sink >> │ │ └── >> TestCaseOfFileSink.java >> │ └── source >> │ └── >> TestCaseOfFileSource.java >> └── pom.xml >> >> >> Regards, >> Kalaiyarasi Ganeshalingam >> Associate Software Engineer| WSO2 >> WSO2 Inc : http://wso2.org >> <http://www.google.com/url?q=http%3A%2F%2Fwso2.org&sa=D&sntz=1&usg=AFQjCNE_eTDfyl2ibPcq0hcXvRDNVuQmMg> >> Tel:+94 076 6792895 <+94%2076%20679%202895> >> LinkedIn :www.linkedin.com/in/kalaiyarasiganeshalingam >> Blogs : http://kalai4.blogspot.com/ >> > > > > -- > > *S. Suhothayan* > Associate Director / Architect > *WSO2 Inc. *http://wso2.com > * <http://wso2.com/>* > lean . enterprise . middleware > > > *cell: (+94) 779 756 757 <+94%2077%20975%206757> | blog: > http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter: > http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in: > http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>* >
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
