Demonstration of how to generate code using Annotation Processors.
-
deors-demos-annotations-base - some simple annotation types
-
deors-demos-annotations-base-client - a 'client' project making use of annotation types defined above
-
deors-demos-annotations-base-processors - annotation processors which handle annotation types defined above
-
deors-demos-annotations-beaninfo - annotation types related to BeanInfo metadata
-
deors-demos-annotations-beaninfo-client - a 'client' project making use of BeanInfo annotation types
-
deors-demos-annotations-beaninfo-processors - annotation processors which generate BeanInfo classes based on annotated metadata
-
deors-demos-annotations-velocity - annotation types related to BeanInfo metadata for the Apache Velocity processor
-
deors-demos-annotations-velocity-client - a 'client' project making use of BeanInfo annotation types, to be used with the Apache Velocity processor
-
deors-demos-annotations-velocity-processors - annotation processors which generate BeanInfo classes but using Apache Velocity as a template engine
-
deors-demos-annotations-entity - annotation types related to GenerateEntity example
-
deors-demos-annotations-entity-client - a 'client' project making use of GenerateEntity annotation types
-
deors-demos-annotations-entity-processors - annotation processors which generate Entity classes from annotated interfaces
cd /<PROJECT_HOME>/deors-demos-annotations-base
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-base-processors
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-base-client
mvn clean test
build-with-javac.bat
cd /<PROJECT_HOME>/deors-demos-annotations-beaninfo
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-beaninfo-processors
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-beaninfo-client
mvn clean test
build-with-javac.bat
cd /<PROJECT_HOME>/deors-demos-annotations-velocity
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-velocity-processors
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-velocity-client
mvn clean test
build-with-javac.bat
cd /<PROJECT_HOME>/deors-demos-annotations-entity
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-entity-processors
mvn clean install
cd /<PROJECT_HOME>/deors-demos-annotations-entity-client
mvn clean test
build-with-javac.bat
NOTE: Generated sources can be found on each client module in folder target/generated-sources/annotations.