ptanov / epf-process-validator

Set of plugins to be contributed to Eclipse Process Framework (EPF) for validating processes
0 stars 0 forks source link

Create maven archetype for custom type #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After this use it for Practice, Standard, Iteration and Project

Original issue reported on code.google.com by 1.Pla...@gmail.com on 23 Jan 2011 at 8:10

GoogleCodeExporter commented 9 years ago
Good starting point: 
http://maven.apache.org/guides/mini/guide-creating-archetypes.html

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 8:10

GoogleCodeExporter commented 9 years ago
Created in project archetypes/eu.tanov.epf.pv.achetypes.customtype, example use:
mvn archetype:generate -DarchetypeGroupId=eu.tanov.epf.pv.archetypes 
-DarchetypeArtifactId=eu.tanov.epf.pv.archetypes.customtype 
-DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=eu.tanov.epf.pv.types 
-DartifactId=eu.tanov.epf.pv.types.technique -DtypeName=Technique 
-DtypeNamePackage=technique -DtypeNamePlural=Techniques 
-DtypeNameString=Technique -DtypeNameVariable=technique 
-DtypeNamePluralConst=TECHNIQUES -DtypeNameNewInstanceName=technique

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 11:36

GoogleCodeExporter commented 9 years ago

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 11:46

GoogleCodeExporter commented 9 years ago
It should be updated if something is changed in CustomTypeHandler

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Updated archetype to respect changed in CustomTypeHandler and moved code from 
ItemProvider to TypeHelper

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 9:56

GoogleCodeExporter commented 9 years ago
Updated archetype to respect to new method 
CustomTypeHandler.isReadyToRegisterType()

Original comment by 1.Pla...@gmail.com on 24 Jan 2011 at 9:45

GoogleCodeExporter commented 9 years ago
Updated archetype to respect to new class 
eu.tanov.epf.pv.service.types.util.UmaTypeSettingDelegateFactory

Original comment by 1.Pla...@gmail.com on 24 Jan 2011 at 10:52

GoogleCodeExporter commented 9 years ago
All expected custom types are implemented, so CustomTypeHandler interface was 
enough flexible and template should not be changed any more (except if 
something unusual happens)

Original comment by 1.Pla...@gmail.com on 25 Jan 2011 at 10:07

GoogleCodeExporter commented 9 years ago
Updated archetype to: "Added extension point 
eu.tanov.epf.itemprovider.CustomCategoriesItemProviders for custom categories 
handling in Library tree, custom types are using it"

Original comment by 1.Pla...@gmail.com on 23 Mar 2011 at 10:11