Skip to content

ihsandemir/hazelcast-client-protocol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hazelcast-client-protocol

This project generates code of client protocol accross languages.

Output directory of generated classes

hazelcast-client-protocol/hazelcast/target/generated-sources/annotations

To generate java classes and hazelcast-client-protocol.jar

mvn clean compile

We have code generation for some other languages as well.

To generate for other languages

mvn clean compile -Dhazelcast.generator.[LANGUAGE]=TRUE 

Supported options for [LANGUAGE] are

  1. cpp (C++)
  2. cs (C#)
  3. py (python)
  4. md (documentation of protocol)

To generate for another custom languages, an ftl file with codec-template-[LANGUAGE].ftl needs to be added to
hazelcast-client-protocol/hazelcast-code-generator/src/main/resources

For ftl see,
http://freemarker.incubator.apache.org/

After putting the ftl file, following command can be run to generate sources

mvn clean compile -Dhazelcast.generator.[LANGUAGE]=TRUE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 79.1%
  • FreeMarker 20.8%
  • Shell 0.1%