Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 2599834f3cfd10989119524ec2ae5cfde045d963 @jenkins-pipeline-code jenkins-pipeline-code committed Mar 27, 2013
Showing with 18,587 additions and 0 deletions.
  1. +8 −0 .gitignore
  2. +3 −0 README
  3. +241 −0 configuration/myadmin_pmd
  4. +6 −0 de.pellepelster.myadmin.build/.classpath
  5. +3 −0 de.pellepelster.myadmin.build/.directory
  6. +9 −0 de.pellepelster.myadmin.build/.gitignore
  7. +18 −0 de.pellepelster.myadmin.build/.project
  8. +2 −0 de.pellepelster.myadmin.build/.settings/org.apache.ivyde.eclipse.prefs
  9. +1 −0 de.pellepelster.myadmin.build/ant/.gitignore
  10. +21 −0 de.pellepelster.myadmin.build/ant/MyAdminBuildBootstrap.xml
  11. +18 −0 de.pellepelster.myadmin.build/ant/MyAdminCommon.xml
  12. +36 −0 de.pellepelster.myadmin.build/ant/ivysettings.xml
  13. +1 −0 de.pellepelster.myadmin.build/ant/myadmin/.gitignore
  14. +19 −0 de.pellepelster.myadmin.build/ant/myadmin/BaseCommon.properties
  15. +247 −0 de.pellepelster.myadmin.build/ant/myadmin/BaseCommon.xml
  16. +113 −0 de.pellepelster.myadmin.build/ant/myadmin/GeneratorCommon.xml
  17. +140 −0 de.pellepelster.myadmin.build/ant/myadmin/IvyJarImport.xml
  18. +22 −0 de.pellepelster.myadmin.build/ant/myadmin/MyAdminProjectCommon.xml
  19. +74 −0 de.pellepelster.myadmin.build/ant/myadmin/MyAdminProjectTemplates.xml
  20. +34 −0 de.pellepelster.myadmin.build/ant/myadmin/ivysettings-myadmin-base.xml
  21. +29 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/build.project/build.xml
  22. +16 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/build.project/ivy.xml
  23. +20 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/client.project/build.xml
  24. +41 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/client.project/ivy.xml
  25. +26 −0 .../ant/myadmin/templates/client.project/src/project.package.path/client/project.name.camelcase.java
  26. +11 −0 ...uild/ant/myadmin/templates/client.project/src/project.package.path/project.name.camelcase.gwt.xml
  27. +16 −0 ...d/ant/myadmin/templates/client.project/src/project.package.path/public/project.name.camelcase.css
  28. +18 −0 .../ant/myadmin/templates/client.project/src/project.package.path/public/project.name.camelcase.html
  29. +5 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/client.test.project/build.xml
  30. +18 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/client.test.project/ivy.xml
  31. +5 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/deploy.project/build.xml
  32. +18 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/deploy.project/ivy.xml
  33. +29 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/generator.project/build.xml
  34. +26 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/generator.project/ivy.xml
  35. +157 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/generator.project/src/project.name.camelcase.msl
  36. +15 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/ivysettings.xml
  37. +2 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/project.name.properties
  38. +8 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/project.name.xml
  39. +3 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.project/WebContent/META-INF/MANIFEST.MF
  40. +3 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.project/WebContent/META-INF/context.xml
  41. +166 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.project/WebContent/WEB-INF/log4j.dtd
  42. +7 −0 ...llepelster.myadmin.build/ant/myadmin/templates/server.project/WebContent/WEB-INF/log4j.properties
  43. +7 −0 ....build/ant/myadmin/templates/server.project/WebContent/WEB-INF/project.name.camelcase-servlet.xml
  44. +64 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.project/WebContent/WEB-INF/web.xml
  45. +40 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.project/build.xml
  46. +47 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.project/ivy.xml
  47. +5 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.test.project/build.properties
  48. +69 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.test.project/build.xml
  49. +41 −0 de.pellepelster.myadmin.build/ant/myadmin/templates/server.test.project/ivy.xml
  50. +1 −0 de.pellepelster.myadmin.build/ant/properties/.gitignore
  51. +3 −0 de.pellepelster.myadmin.build/ant/properties/default.build.properties
  52. +10 −0 de.pellepelster.myadmin.build/ant/properties/pelle.build.properties
  53. +10 −0 de.pellepelster.myadmin.build/ant/properties/tomcat6.build.properties
  54. +30 −0 de.pellepelster.myadmin.build/ant/templates/bootstrap_MyAdminProjectBuildBootstrap.xml
  55. +10 −0 de.pellepelster.myadmin.build/ant/templates/bootstrap_ivy.xml
  56. +31 −0 de.pellepelster.myadmin.build/ant/templates/bootstrap_ivysettings.xml
  57. +32 −0 de.pellepelster.myadmin.build/build.xml
  58. +53 −0 de.pellepelster.myadmin.build/build_ivy.xml
  59. +279 −0 de.pellepelster.myadmin.build/configuration/code_formatter.xml
  60. +246 −0 de.pellepelster.myadmin.build/configuration/myadmin_pmd.xml
  61. +25 −0 de.pellepelster.myadmin.build/ivy.xml
  62. +3 −0 de.pellepelster.myadmin.build/version.properties
  63. +7 −0 de.pellepelster.myadmin.client.base/.classpath
  64. +6 −0 de.pellepelster.myadmin.client.base/.gitignore
  65. +18 −0 de.pellepelster.myadmin.client.base/.project
  66. +3 −0 de.pellepelster.myadmin.client.base/.settings/org.apache.ivyde.eclipse.prefs
  67. +12 −0 de.pellepelster.myadmin.client.base/.settings/org.eclipse.jdt.core.prefs
  68. +36 −0 de.pellepelster.myadmin.client.base/build.xml
  69. +5 −0 de.pellepelster.myadmin.client.base/build_ivy.xml
  70. +25 −0 de.pellepelster.myadmin.client.base/ivy.xml
  71. +2 −0 de.pellepelster.myadmin.client.base/src/META-INF/MANIFEST.MF
  72. +9 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/MyAdminClientBase.gwt.xml
  73. +430 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/VOBeanUtil.java
  74. +68 −0 ...myadmin.client.base/src/de/pellepelster/myadmin/client/base/databinding/IBaseObservableValue.java
  75. +23 −0 ...ter.myadmin.client.base/src/de/pellepelster/myadmin/client/base/databinding/IObservableValue.java
  76. +21 −0 ...r.myadmin.client.base/src/de/pellepelster/myadmin/client/base/databinding/IUIObservableValue.java
  77. +28 −0 ...myadmin.client.base/src/de/pellepelster/myadmin/client/base/databinding/IValueChangeListener.java
  78. +61 −0 ...lepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/databinding/TypeHelper.java
  79. +36 −0 ...ter.myadmin.client.base/src/de/pellepelster/myadmin/client/base/databinding/ValueChangeEvent.java
  80. +66 −0 ...lster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/AttributeDescriptor.java
  81. +83 −0 ...elster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/BaseHierarchicalVO.java
  82. +239 −0 ...lster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/BaseParentArrayList.java
  83. +89 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/BaseVO.java
  84. +23 −0 ...ster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/IAttributeDescriptor.java
  85. +80 −0 ...pelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/IBaseHierarchical.java
  86. +100 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/IBaseVO.java
  87. +43 −0 ...lepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/IHierarchicalVO.java
  88. +17 −0 ...ellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/IMobileBaseVO.java
  89. +38 −0 ...elster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/IValidationMessage.java
  90. +54 −0 ...pelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/LimitFilterResult.java
  91. +23 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/Mandatory.java
  92. +24 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/NaturalKey.java
  93. +48 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/Result.java
  94. +110 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/UUID.java
  95. +39 −0 ...myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/UnknownAttributeException.java
  96. +23 −0 ...pelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/VALIDATION_STATUS.java
  97. +55 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/VOArrayList.java
  98. +100 −0 ...pelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/db/vos/ValidationMessage.java
  99. +39 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/AssociationVO.java
  100. +91 −0 ...ter.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/BaseEntityAssociationVO.java
  101. +137 −0 ...ter.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/ConditionalExpressionVO.java
  102. +56 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/EntityVO.java
  103. +58 −0 ...elster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/GenericFilterFactory.java
  104. +145 −0 ...ellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/GenericFilterVO.java
  105. +22 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/IAssociation.java
  106. +24 −0 ...er.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/IConditionalExpressionVO.java
  107. +17 −0 ...pelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/IExpressionObjectVO.java
  108. +48 −0 ...r.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/IntegerExpressionObjectVO.java
  109. +17 −0 ...lepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/LogicalOperatorVO.java
  110. +61 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/OrderClauseVO.java
  111. +95 −0 ...epelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/jpql/RelationalOperator.java
  112. +44 −0 ...lient.base/src/de/pellepelster/myadmin/client/base/jpql/expressions/EntityExpressionObjectVO.java
  113. +50 −0 ....client.base/src/de/pellepelster/myadmin/client/base/jpql/expressions/LongExpressionObjectVO.java
  114. +53 −0 ...se/src/de/pellepelster/myadmin/client/base/jpql/expressions/NamedParameterExpressionObjectVO.java
  115. +40 −0 ....client.base/src/de/pellepelster/myadmin/client/base/jpql/expressions/NullExpressionObjectVO.java
  116. +50 −0 ...lient.base/src/de/pellepelster/myadmin/client/base/jpql/expressions/StringExpressionObjectVO.java
  117. +51 −0 ...nt.base/src/de/pellepelster/myadmin/client/base/jpql/expressions/TimestampExpressionObjectVO.java
  118. +62 −0 ...in.client.base/src/de/pellepelster/myadmin/client/base/jpql/expressions/VOExpressionObjectVO.java
  119. +79 −0 ...ter.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/DictionarySearchInput.java
  120. +36 −0 ...lepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/IContainerInput.java
  121. +41 −0 ...myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/IDictionaryLayoutStrategy.java
  122. +22 −0 ...lepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/ILayoutCallback.java
  123. +16 −0 ....myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/ILayoutContainerCallback.java
  124. +27 −0 ...r.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/ILayoutContainerFactory.java
  125. +77 −0 ...llepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/ILayoutFactory.java
  126. +65 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/IModuleUI.java
  127. +25 −0 ...myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/ITabFolderLayoutContainer.java
  128. +48 −0 ...er.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/IWorkbenchPartCallback.java
  129. +17 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/layout/LAYOUT_TYPE.java
  130. +37 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/module/IModule.java
  131. +42 −0 ...ase/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IBaseLookupControlModel.java
  132. +32 −0 ...dmin.client.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IBaseModel.java
  133. +30 −0 ...base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IDatabindingAwareModel.java
  134. +65 −0 ...lient.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IDictionaryModel.java
  135. +46 −0 ...in.client.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IEditorModel.java
  136. +38 −0 ...in.client.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IFilterModel.java
  137. +29 −0 ...in.client.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/ILookupModel.java
  138. +65 −0 ...base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IMobileDictionaryModel.java
  139. +51 −0 ...in.client.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/IResultModel.java
  140. +54 −0 ...in.client.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/ISearchModel.java
  141. +163 −0 ...admin.client.base/src/de/pellepelster/myadmin/client/base/modules/dictionary/model/ModelUtil.java
  142. +25 −0 ...e/pellepelster/myadmin/client/base/modules/dictionary/model/containers/IAssignmentTableModel.java
  143. +35 −0 .../de/pellepelster/myadmin/client/base/modules/dictionary/model/containers/IBaseContainerModel.java
  144. +25 −0 .../src/de/pellepelster/myadmin/client/base/modules/dictionary/model/containers/IBaseTableModel.java
  145. +23 −0 .../src/de/pellepelster/myadmin/client/base/modules/dictionary/model/containers/ICompositeModel.java
  146. +32 −0 .../de/pellepelster/myadmin/client/base/modules/dictionary/model/containers/IEditableTableModel.java
  147. +78 −0 .../src/de/pellepelster/myadmin/client/base/modules/dictionary/model/controls/IBaseControlModel.java
  148. +42 −0 ...e/pellepelster/myadmin/client/base/modules/dictionary/model/controls/IBigDecimalControlModel.java
  149. +23 −0 ...c/de/pellepelster/myadmin/client/base/modules/dictionary/model/controls/IBooleanControlModel.java
  150. +23 −0 .../src/de/pellepelster/myadmin/client/base/modules/dictionary/model/controls/IDateControlModel.java
  151. +28 −0 .../pellepelster/myadmin/client/base/modules/dictionary/model/controls/IEnumarationControlModel.java
  152. +26 −0 ...pellepelster/myadmin/client/base/modules/dictionary/model/controls/IHierarchicalControlModel.java
  153. +38 −0 ...c/de/pellepelster/myadmin/client/base/modules/dictionary/model/controls/IIntegerControlModel.java
  154. +26 −0 ...de/pellepelster/myadmin/client/base/modules/dictionary/model/controls/IReferenceControlModel.java
  155. +45 −0 .../src/de/pellepelster/myadmin/client/base/modules/dictionary/model/controls/ITextControlModel.java
  156. +67 −0 ....base/src/de/pellepelster/myadmin/client/base/modules/hierarchical/HierarchicalConfiguration.java
  157. +73 −0 ...myadmin.client.base/src/de/pellepelster/myadmin/client/base/modules/hierarchical/VOHierarchy.java
  158. +24 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/rest/ParameterOrder.java
  159. +73 −0 de.pellepelster.myadmin.client.base/src/de/pellepelster/myadmin/client/base/util/Collections.java
  160. +9 −0 de.pellepelster.myadmin.client.core/.classpath
  161. +6 −0 de.pellepelster.myadmin.client.core/.gitignore
  162. +18 −0 de.pellepelster.myadmin.client.core/.project
  163. +42 −0 de.pellepelster.myadmin.client.core/build.xml
  164. +5 −0 de.pellepelster.myadmin.client.core/build_ivy.xml
  165. +27 −0 de.pellepelster.myadmin.client.core/ivy.xml
  166. +2 −0 de.pellepelster.myadmin.client.core/src/META-INF/MANIFEST.MF
  167. +12 −0 de.pellepelster.myadmin.client.core/src/de/pellepelster/myadmin/MyAdminClientCore.gwt.xml
  168. +35 −0 ....client.core/src/de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/BaseModel.java
  169. +120 −0 ...t.core/src/de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/DictionaryModel.java
  170. +94 −0 ...lient.core/src/de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/EditorModel.java
  171. +78 −0 ...lient.core/src/de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/FilterModel.java
  172. +96 −0 ...lient.core/src/de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/ResultModel.java
  173. +110 −0 ...lient.core/src/de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/SearchModel.java
  174. +98 −0 ...llepelster/myadmin/client/core/modules/dictionary/model/impl/containers/AssignmentTableModel.java
  175. +90 −0 ...pelster/myadmin/client/core/modules/dictionary/model/impl/containers/CompositeContainerModel.java
  176. +44 −0 ...lepelster/myadmin/client/core/modules/dictionary/model/impl/containers/ContainerModelFactory.java
  177. +98 −0 ...pellepelster/myadmin/client/core/modules/dictionary/model/impl/containers/EditableTableModel.java
  178. +164 −0 .../de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/controls/BaseControlModel.java
  179. +82 −0 ...llepelster/myadmin/client/core/modules/dictionary/model/impl/controls/BigDecimalControlModel.java
  180. +39 −0 .../pellepelster/myadmin/client/core/modules/dictionary/model/impl/controls/BooleanControlModel.java
  181. +74 −0 .../pellepelster/myadmin/client/core/modules/dictionary/model/impl/controls/ControlModelFactory.java
  182. +39 −0 .../de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/controls/DateControlModel.java
  183. +47 −0 ...lepelster/myadmin/client/core/modules/dictionary/model/impl/controls/EnumerationControlModel.java
  184. +52 −0 ...epelster/myadmin/client/core/modules/dictionary/model/impl/controls/HierarchicalControlModel.java
  185. +66 −0 .../pellepelster/myadmin/client/core/modules/dictionary/model/impl/controls/IntegerControlModel.java
  186. +63 −0 ...ellepelster/myadmin/client/core/modules/dictionary/model/impl/controls/ReferenceControlModel.java
  187. +59 −0 .../de/pellepelster/myadmin/client/core/modules/dictionary/model/impl/controls/TextControlModel.java
  188. +48 −0 ...epelster.myadmin.client.core/src/de/pellepelster/myadmin/client/core/utils/HierarchicalUtils.java
  189. +14 −0 de.pellepelster.myadmin.client.gwt.test/.classpath
  190. +3 −0 de.pellepelster.myadmin.client.gwt.test/.gitignore
  191. +18 −0 de.pellepelster.myadmin.client.gwt.test/.project
  192. +12 −0 de.pellepelster.myadmin.client.gwt.test/.settings/org.eclipse.jdt.core.prefs
  193. +27 −0 de.pellepelster.myadmin.client.gwt.test/MyAdminClientGwtTest.launch
  194. +26 −0 de.pellepelster.myadmin.client.gwt.test/MyAdminDemoClient.launch
  195. +19 −0 de.pellepelster.myadmin.client.gwt.test/build_ivy.xml
  196. +26 −0 de.pellepelster.myadmin.client.gwt.test/ivy.xml
  197. +12 −0 de.pellepelster.myadmin.client.gwt.test/src/de/pellepelster/myadmin/CellTableTest.gwt.xml
  198. +12 −0 de.pellepelster.myadmin.client.gwt.test/src/de/pellepelster/myadmin/MyAdminClientGwtTest.gwt.xml
  199. +251 −0 ...llepelster.myadmin.client.gwt.test/src/de/pellepelster/myadmin/client/gwt/test/CellTableTest.java
  200. +52 −0 ...lepelster.myadmin.client.gwt.test/src/de/pellepelster/myadmin/client/gwt/test/MyAdminGwtTest.java
  201. +487 −0 ...lster.myadmin.client.gwt.test/src/de/pellepelster/myadmin/client/gwt/test/SuggestCellControl.java
  202. +11 −0 de.pellepelster.myadmin.client.gwt/.classpath
  203. +3 −0 de.pellepelster.myadmin.client.gwt/.gitignore
  204. +18 −0 de.pellepelster.myadmin.client.gwt/.project
  205. +12 −0 de.pellepelster.myadmin.client.gwt/.settings/org.eclipse.jdt.core.prefs
  206. +55 −0 de.pellepelster.myadmin.client.gwt/.settings/org.eclipse.jdt.ui.prefs
  207. +24 −0 de.pellepelster.myadmin.client.gwt/build_ivy.xml
  208. +27 −0 de.pellepelster.myadmin.client.gwt/ivy.xml
  209. +23 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/MyAdminClientGwt.gwt.xml
  210. +122 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/ColumnLayoutStrategy.java
  211. +59 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/ContainerFactory.java
  212. +113 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/ControlHandler.java
  213. +108 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/ControlHelper.java
  214. +388 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/GWTLayoutFactory.java
  215. +39 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/GwtClient.java
  216. +55 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/GwtStyles.java
  217. +28 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/IGwtModuleUI.java
  218. +90 −0 ...lster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/ActionBar.java
  219. +74 −0 ...r.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/BaseCellTable.java
  220. +74 −0 ...er.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/BaseDataGrid.java
  221. +30 −0 ....client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/BaseDictionaryModuleUI.java
  222. +54 −0 ...er.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/BaseModuleUI.java
  223. +75 −0 ...yadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/DictionaryEditor.java
  224. +116 −0 ...yadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/DictionaryFilter.java
  225. +94 −0 ...yadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/DictionaryResult.java
  226. +29 −0 ...n.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/IVODoubleClickHandler.java
  227. +95 −0 ...lient.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/MyAdminAsyncDataProvider.java
  228. +40 −0 ...myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/ResultCellTable.java
  229. +148 −0 ...ient.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/container/AssignmentTable.java
  230. +27 −0 ...nt.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/container/BaseVOKeyProvider.java
  231. +41 −0 ...min.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/container/Composite.java
  232. +235 −0 ...client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/container/EditableTable.java
  233. +87 −0 .../src/de/pellepelster/myadmin/client/gwt/modules/dictionary/container/EditableTableActionCell.java
  234. +152 −0 ...lient.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/BaseCellControl.java
  235. +181 −0 ...nt.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/BaseControlFactory.java
  236. +141 −0 ...ent.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/BigDecimalControl.java
  237. +117 −0 .../src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/BigDecimalControlFactory.java
  238. +121 −0 ...client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/BooleanControl.java
  239. +87 −0 ...gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/BooleanControlFactory.java
  240. +73 −0 ...in.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/ControlUtil.java
  241. +140 −0 ...in.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/DateControl.java
  242. +109 −0 ...nt.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/DateControlFactory.java
  243. +248 −0 ...rc/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/EditTextCellWithValidation.java
  244. +188 −0 ...nt.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/EnumerationControl.java
  245. +98 −0 ...src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/EnumerationControlFactory.java
  246. +125 −0 ...t.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/HierarchicalControl.java
  247. +44 −0 ...rc/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/HierarchicalControlFactory.java
  248. +119 −0 ...client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/IntegerControl.java
  249. +104 −0 ...gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/IntegerControlFactory.java
  250. +39 −0 ....client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/ReferenceCell.java
  251. +145 −0 ...ient.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/ReferenceControl.java
  252. +133 −0 ...t/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/ReferenceControlFactory.java
  253. +389 −0 ...nt.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/SuggestCellControl.java
  254. +119 −0 ...in.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/TextControl.java
  255. +57 −0 ...nt.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/TextControlFactory.java
  256. +100 −0 ...lient.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/VOSuggestOracle.java
  257. +53 −0 ...n.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/controls/VOSuggestion.java
  258. +152 −0 ...wt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/editor/DictionaryEditorModuleUI.java
  259. +36 −0 ...de/pellepelster/myadmin/client/gwt/modules/dictionary/editor/DictionaryEditorModuleUIFactory.java
  260. +143 −0 ...wt/src/de/pellepelster/myadmin/client/gwt/modules/dictionary/search/DictionarySearchModuleUI.java
  261. +36 −0 ...de/pellepelster/myadmin/client/gwt/modules/dictionary/search/DictionarySearchModuleUIFactory.java
  262. +38 −0 ...dmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalCell.java
  263. +103 −0 ...ent.gwt/src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalDataProvider.java
  264. +45 −0 ....client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalNodeInfo.java
  265. +52 −0 ...gwt/src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalSafeHtmlRenderer.java
  266. +35 −0 ...dmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalTree.java
  267. +158 −0 ...client.gwt/src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalTreeModel.java
  268. +48 −0 ...ent.gwt/src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalTreeModuleUI.java
  269. +33 −0 .../src/de/pellepelster/myadmin/client/gwt/modules/hierarchical/HierarchicalTreeModuleUIFactory.java
  270. +165 −0 ...lient.gwt/src/de/pellepelster/myadmin/client/gwt/modules/navigation/ModuleNavigationModuleUI.java
  271. +33 −0 ...wt/src/de/pellepelster/myadmin/client/gwt/modules/navigation/ModuleNavigationModuleUIFactory.java
  272. +78 −0 ...ellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/public/myadmin-standard.css
  273. +59 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/utils/Pair.java
  274. +66 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/widgets/ImageButton.java
  275. +29 −0 de.pellepelster.myadmin.client.gwt/src/de/pellepelster/myadmin/client/gwt/widgets/Spacer.java
  276. +12 −0 de.pellepelster.myadmin.client.test/.classpath
  277. +7 −0 de.pellepelster.myadmin.client.test/.gitignore
  278. +18 −0 de.pellepelster.myadmin.client.test/.project
  279. +12 −0 de.pellepelster.myadmin.client.test/.settings/org.eclipse.jdt.core.prefs
  280. +65 −0 de.pellepelster.myadmin.client.test/build.xml
  281. +5 −0 de.pellepelster.myadmin.client.test/build_ivy.xml
  282. +23 −0 de.pellepelster.myadmin.client.test/ivy.xml
  283. +21 −0 ...lepelster.myadmin.client.test/src/de/pellepelster/myadmin/client/test/MyAdminClientTestSuite.java
  284. +194 −0 de.pellepelster.myadmin.client.test/src/de/pellepelster/myadmin/client/test/VOBeanUtilTest.java
  285. +11 −0 de.pellepelster.myadmin.client.web.test/.classpath
  286. +1 −0 de.pellepelster.myadmin.client.web.test/.gitignore
  287. +18 −0 de.pellepelster.myadmin.client.web.test/.project
  288. +12 −0 de.pellepelster.myadmin.client.web.test/.settings/org.eclipse.jdt.core.prefs
  289. +63 −0 de.pellepelster.myadmin.client.web.test/build.xml
  290. +5 −0 de.pellepelster.myadmin.client.web.test/build_ivy.xml
  291. +31 −0 de.pellepelster.myadmin.client.web.test/ivy.xml
  292. +2 −0 de.pellepelster.myadmin.client.web.test/src/META-INF/MANIFEST.MF
  293. +14 −0 de.pellepelster.myadmin.client.web.test/src/de/pellepelster/myadmin/MyAdminClientWebTest.gwt.xml
  294. +179 −0 ...r.myadmin.client.web.test/src/de/pellepelster/myadmin/client/web/test/BaseHierarchicalTestVO.java
  295. +24 −0 ...ster.myadmin.client.web.test/src/de/pellepelster/myadmin/client/web/test/HierarchicalTest1VO.java
  296. +24 −0 ...ster.myadmin.client.web.test/src/de/pellepelster/myadmin/client/web/test/HierarchicalTest2VO.java
  297. +24 −0 ...ster.myadmin.client.web.test/src/de/pellepelster/myadmin/client/web/test/HierarchicalTest3VO.java
  298. +293 −0 de.pellepelster.myadmin.client.web.test/src/de/pellepelster/myadmin/client/web/test/Test1VO.java
  299. +284 −0 de.pellepelster.myadmin.client.web.test/src/de/pellepelster/myadmin/client/web/test/Test2VO.java
  300. +108 −0 de.pellepelster.myadmin.client.web.test/src/de/pellepelster/myadmin/client/web/test/Test3VO.java
Sorry, we could not display the entire diff because too many files (3,019) changed.
8 .gitignore
@@ -0,0 +1,8 @@
+bin
+bin-gen
+dist
+build
+classes
+.pmd
+reports
+*~
3 README
@@ -0,0 +1,3 @@
+MyAdmin is a model based Java framework for realising simple CRUD applications as fast and simple as possible.
+
+<a href="http://myadmin.pelle.io">http://myadmin.pelle.io</a>
241 configuration/myadmin_pmd
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<ruleset xmlns="http://pmd.sf.net/ruleset/1.0.0" name="myadmin_pmd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd">
+ <description>myadmin_pmd</description>
+ <rule ref="rulesets/typeresolution.xml/LooseCoupling"/>
+ <rule ref="rulesets/typeresolution.xml/CloneMethodMustImplementCloneable"/>
+ <rule ref="rulesets/typeresolution.xml/UnusedImports"/>
+ <rule ref="rulesets/typeresolution.xml/SignatureDeclareThrowsException"/>
+ <rule ref="rulesets/braces.xml/IfStmtsMustUseBraces"/>
+ <rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces"/>
+ <rule ref="rulesets/braces.xml/IfElseStmtsMustUseBraces"/>
+ <rule ref="rulesets/braces.xml/ForLoopsMustUseBraces"/>
+ <rule ref="rulesets/design.xml/UseSingleton"/>
+ <rule ref="rulesets/design.xml/SimplifyBooleanReturns"/>
+ <rule ref="rulesets/design.xml/SimplifyBooleanExpressions"/>
+ <rule ref="rulesets/design.xml/SwitchStmtsShouldHaveDefault"/>
+ <rule ref="rulesets/design.xml/AvoidDeeplyNestedIfStmts"/>
+ <rule ref="rulesets/design.xml/AvoidReassigningParameters"/>
+ <rule ref="rulesets/design.xml/SwitchDensity"/>
+ <rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod"/>
+ <rule ref="rulesets/design.xml/AccessorClassGeneration"/>
+ <rule ref="rulesets/design.xml/FinalFieldCouldBeStatic"/>
+ <rule ref="rulesets/design.xml/CloseResource"/>
+ <rule ref="rulesets/design.xml/NonStaticInitializer"/>
+ <rule ref="rulesets/design.xml/DefaultLabelNotLastInSwitchStmt"/>
+ <rule ref="rulesets/design.xml/NonCaseLabelInSwitchStatement"/>
+ <rule ref="rulesets/design.xml/OptimizableToArrayCall"/>
+ <rule ref="rulesets/design.xml/BadComparison"/>
+ <rule ref="rulesets/design.xml/EqualsNull"/>
+ <rule ref="rulesets/design.xml/ConfusingTernary"/>
+ <rule ref="rulesets/design.xml/InstantiationToGetClass"/>
+ <rule ref="rulesets/design.xml/IdempotentOperations"/>
+ <rule ref="rulesets/design.xml/SimpleDateFormatNeedsLocale"/>
+ <rule ref="rulesets/design.xml/ImmutableField"/>
+ <rule ref="rulesets/design.xml/UseLocaleWithCaseConversions"/>
+ <rule ref="rulesets/design.xml/AvoidProtectedFieldInFinalClass"/>
+ <rule ref="rulesets/design.xml/AssignmentToNonFinalStatic"/>
+ <rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass"/>
+ <rule ref="rulesets/design.xml/AvoidSynchronizedAtMethodLevel"/>
+ <rule ref="rulesets/design.xml/MissingBreakInSwitch"/>
+ <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"/>
+ <rule ref="rulesets/design.xml/AvoidInstanceofChecksInCatchClause"/>
+ <rule ref="rulesets/design.xml/AbstractClassWithoutAbstractMethod"/>
+ <rule ref="rulesets/design.xml/SimplifyConditional"/>
+ <rule ref="rulesets/design.xml/CompareObjectsWithEquals"/>
+ <rule ref="rulesets/design.xml/PositionLiteralsFirstInComparisons"/>
+ <rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn"/>
+ <rule ref="rulesets/design.xml/NonThreadSafeSingleton"/>
+ <rule ref="rulesets/design.xml/UncommentedEmptyMethod"/>
+ <rule ref="rulesets/design.xml/UncommentedEmptyConstructor"/>
+ <rule ref="rulesets/design.xml/AvoidConstantsInterface"/>
+ <rule ref="rulesets/design.xml/UnsynchronizedStaticDateFormatter"/>
+ <rule ref="rulesets/design.xml/PreserveStackTrace"/>
+ <rule ref="rulesets/design.xml/UseCollectionIsEmpty"/>
+ <rule ref="rulesets/design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal"/>
+ <rule ref="rulesets/design.xml/EmptyMethodInAbstractClassShouldBeAbstract"/>
+ <rule ref="rulesets/design.xml/SingularField"/>
+ <rule ref="rulesets/design.xml/ReturnEmptyArrayRatherThanNull"/>
+ <rule ref="rulesets/design.xml/AbstractClassWithoutAnyMethod"/>
+ <rule ref="rulesets/design.xml/TooFewBranchesForASwitchStatement"/>
+ <rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable"/>
+ <rule ref="rulesets/strictexception.xml/SignatureDeclareThrowsException"/>
+ <rule ref="rulesets/strictexception.xml/ExceptionAsFlowControl"/>
+ <rule ref="rulesets/strictexception.xml/AvoidCatchingNPE"/>
+ <rule ref="rulesets/strictexception.xml/AvoidThrowingRawExceptionTypes"/>
+ <rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException"/>
+ <rule ref="rulesets/strictexception.xml/AvoidRethrowingException"/>
+ <rule ref="rulesets/strictexception.xml/DoNotExtendJavaLangError"/>
+ <rule ref="rulesets/strictexception.xml/DoNotThrowExceptionInFinally"/>
+ <rule ref="rulesets/strictexception.xml/AvoidThrowingNewInstanceOfSameException"/>
+ <rule ref="rulesets/unusedcode.xml/UnusedPrivateField"/>
+ <rule ref="rulesets/unusedcode.xml/UnusedLocalVariable"/>
+ <rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod"/>
+ <rule ref="rulesets/unusedcode.xml/UnusedFormalParameter"/>
+ <rule ref="rulesets/logging-java.xml/MoreThanOneLogger"/>
+ <rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>
+ <rule ref="rulesets/logging-java.xml/SystemPrintln"/>
+ <rule ref="rulesets/logging-java.xml/AvoidPrintStackTrace"/>
+ <rule ref="rulesets/strings.xml/AvoidDuplicateLiterals"/>
+ <rule ref="rulesets/strings.xml/StringInstantiation"/>
+ <rule ref="rulesets/strings.xml/StringToString"/>
+ <rule ref="rulesets/strings.xml/InefficientStringBuffering"/>
+ <rule ref="rulesets/strings.xml/UnnecessaryCaseChange"/>
+ <rule ref="rulesets/strings.xml/UseStringBufferLength"/>
+ <rule ref="rulesets/strings.xml/AppendCharacterWithChar"/>
+ <rule ref="rulesets/strings.xml/ConsecutiveLiteralAppends"/>
+ <rule ref="rulesets/strings.xml/UseIndexOfChar"/>
+ <rule ref="rulesets/strings.xml/InefficientEmptyStringCheck"/>
+ <rule ref="rulesets/strings.xml/InsufficientStringBufferDeclaration"/>
+ <rule ref="rulesets/strings.xml/UselessStringValueOf"/>
+ <rule ref="rulesets/strings.xml/StringBufferInstantiationWithChar"/>
+ <rule ref="rulesets/strings.xml/UseEqualsToCompareStrings"/>
+ <rule ref="rulesets/strings.xml/AvoidStringBufferField"/>
+ <rule ref="rulesets/migrating.xml/ReplaceVectorWithList"/>
+ <rule ref="rulesets/migrating.xml/ReplaceHashtableWithMap"/>
+ <rule ref="rulesets/migrating.xml/ReplaceEnumerationWithIterator"/>
+ <rule ref="rulesets/migrating.xml/AvoidEnumAsIdentifier"/>
+ <rule ref="rulesets/migrating.xml/AvoidAssertAsIdentifier"/>
+ <rule ref="rulesets/migrating.xml/IntegerInstantiation"/>
+ <rule ref="rulesets/migrating.xml/ByteInstantiation"/>
+ <rule ref="rulesets/migrating.xml/ShortInstantiation"/>
+ <rule ref="rulesets/migrating.xml/LongInstantiation"/>
+ <rule ref="rulesets/migrating.xml/JUnit4TestShouldUseBeforeAnnotation"/>
+ <rule ref="rulesets/migrating.xml/JUnit4TestShouldUseAfterAnnotation"/>
+ <rule ref="rulesets/migrating.xml/JUnit4TestShouldUseTestAnnotation"/>
+ <rule ref="rulesets/migrating.xml/JUnit4SuitesShouldUseSuiteAnnotation"/>
+ <rule ref="rulesets/migrating.xml/JUnitUseExpected"/>
+ <rule ref="rulesets/j2ee.xml/UseProperClassLoader"/>
+ <rule ref="rulesets/j2ee.xml/MDBAndSessionBeanNamingConvention"/>
+ <rule ref="rulesets/j2ee.xml/RemoteSessionInterfaceNamingConvention"/>
+ <rule ref="rulesets/j2ee.xml/LocalInterfaceSessionNamingConvention"/>
+ <rule ref="rulesets/j2ee.xml/LocalHomeNamingConvention"/>
+ <rule ref="rulesets/j2ee.xml/RemoteInterfaceNamingConvention"/>
+ <rule ref="rulesets/j2ee.xml/DoNotCallSystemExit"/>
+ <rule ref="rulesets/j2ee.xml/StaticEJBFieldShouldBeFinal"/>
+ <rule ref="rulesets/j2ee.xml/DoNotUseThreads"/>
+ <rule ref="rulesets/optimizations.xml/LocalVariableCouldBeFinal"/>
+ <rule ref="rulesets/optimizations.xml/MethodArgumentCouldBeFinal"/>
+ <rule ref="rulesets/optimizations.xml/AvoidInstantiatingObjectsInLoops"/>
+ <rule ref="rulesets/optimizations.xml/UseArrayListInsteadOfVector"/>
+ <rule ref="rulesets/optimizations.xml/SimplifyStartsWith"/>
+ <rule ref="rulesets/optimizations.xml/UseStringBufferForStringAppends"/>
+ <rule ref="rulesets/optimizations.xml/UseArraysAsList"/>
+ <rule ref="rulesets/optimizations.xml/AvoidArrayLoops"/>
+ <rule ref="rulesets/optimizations.xml/UnnecessaryWrapperObjectCreation"/>
+ <rule ref="rulesets/optimizations.xml/AddEmptyString"/>
+ <rule ref="rulesets/basic.xml/EmptyCatchBlock"/>
+ <rule ref="rulesets/basic.xml/EmptyIfStmt"/>
+ <rule ref="rulesets/basic.xml/EmptyWhileStmt"/>
+ <rule ref="rulesets/basic.xml/EmptyTryBlock"/>
+ <rule ref="rulesets/basic.xml/EmptyFinallyBlock"/>
+ <rule ref="rulesets/basic.xml/EmptySwitchStatements"/>
+ <rule ref="rulesets/basic.xml/JumbledIncrementer"/>
+ <rule ref="rulesets/basic.xml/ForLoopShouldBeWhileLoop"/>
+ <rule ref="rulesets/basic.xml/UnnecessaryConversionTemporary"/>
+ <rule ref="rulesets/basic.xml/OverrideBothEqualsAndHashcode"/>
+ <rule ref="rulesets/basic.xml/DoubleCheckedLocking"/>
+ <rule ref="rulesets/basic.xml/ReturnFromFinallyBlock"/>
+ <rule ref="rulesets/basic.xml/EmptySynchronizedBlock"/>
+ <rule ref="rulesets/basic.xml/UnnecessaryReturn"/>
+ <rule ref="rulesets/basic.xml/EmptyStaticInitializer"/>
+ <rule ref="rulesets/basic.xml/UnconditionalIfStatement"/>
+ <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop"/>
+ <rule ref="rulesets/basic.xml/BooleanInstantiation"/>
+ <rule ref="rulesets/basic.xml/UnnecessaryFinalModifier"/>
+ <rule ref="rulesets/basic.xml/CollapsibleIfStatements"/>
+ <rule ref="rulesets/basic.xml/UselessOverridingMethod"/>
+ <rule ref="rulesets/basic.xml/ClassCastExceptionWithToArray"/>
+ <rule ref="rulesets/basic.xml/AvoidDecimalLiteralsInBigDecimalConstructor"/>
+ <rule ref="rulesets/basic.xml/UselessOperationOnImmutable"/>
+ <rule ref="rulesets/basic.xml/MisplacedNullCheck"/>
+ <rule ref="rulesets/basic.xml/UnusedNullCheckInEquals"/>
+ <rule ref="rulesets/basic.xml/AvoidThreadGroup"/>
+ <rule ref="rulesets/basic.xml/BrokenNullCheck"/>
+ <rule ref="rulesets/basic.xml/BigIntegerInstantiation"/>
+ <rule ref="rulesets/basic.xml/AvoidUsingOctalValues"/>
+ <rule ref="rulesets/basic.xml/AvoidUsingHardCodedIP"/>
+ <rule ref="rulesets/basic.xml/CheckResultSet"/>
+ <rule ref="rulesets/basic.xml/AvoidMultipleUnaryOperators"/>
+ <rule ref="rulesets/basic.xml/EmptyInitializer"/>
+ <rule ref="rulesets/sunsecure.xml/MethodReturnsInternalArray"/>
+ <rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly"/>
+ <rule ref="rulesets/coupling.xml/CouplingBetweenObjects"/>
+ <rule ref="rulesets/coupling.xml/ExcessiveImports"/>
+ <rule ref="rulesets/coupling.xml/LooseCoupling"/>
+ <rule ref="rulesets/imports.xml/DuplicateImports"/>
+ <rule ref="rulesets/imports.xml/DontImportJavaLang"/>
+ <rule ref="rulesets/imports.xml/UnusedImports"/>
+ <rule ref="rulesets/imports.xml/ImportFromSamePackage"/>
+ <rule ref="rulesets/imports.xml/TooManyStaticImports"/>
+ <rule ref="rulesets/junit.xml/JUnitStaticSuite"/>
+ <rule ref="rulesets/junit.xml/JUnitSpelling"/>
+ <rule ref="rulesets/junit.xml/JUnitAssertionsShouldIncludeMessage"/>
+ <rule ref="rulesets/junit.xml/JUnitTestsShouldIncludeAssert"/>
+ <rule ref="rulesets/junit.xml/TestClassWithoutTestCases"/>
+ <rule ref="rulesets/junit.xml/UnnecessaryBooleanAssertion"/>
+ <rule ref="rulesets/junit.xml/UseAssertEqualsInsteadOfAssertTrue"/>
+ <rule ref="rulesets/junit.xml/UseAssertSameInsteadOfAssertTrue"/>
+ <rule ref="rulesets/junit.xml/UseAssertNullInsteadOfAssertTrue"/>
+ <rule ref="rulesets/junit.xml/SimplifyBooleanAssertion"/>
+ <rule ref="rulesets/controversial.xml/UnnecessaryConstructor"/>
+ <rule ref="rulesets/controversial.xml/NullAssignment"/>
+ <rule ref="rulesets/controversial.xml/OnlyOneReturn"/>
+ <rule ref="rulesets/controversial.xml/UnusedModifier"/>
+ <rule ref="rulesets/controversial.xml/AssignmentInOperand"/>
+ <rule ref="rulesets/controversial.xml/AtLeastOneConstructor"/>
+ <rule ref="rulesets/controversial.xml/DontImportSun"/>
+ <rule ref="rulesets/controversial.xml/SuspiciousOctalEscape"/>
+ <rule ref="rulesets/controversial.xml/CallSuperInConstructor"/>
+ <rule ref="rulesets/controversial.xml/UnnecessaryParentheses"/>
+ <rule ref="rulesets/controversial.xml/DefaultPackage"/>
+ <rule ref="rulesets/controversial.xml/BooleanInversion"/>
+ <rule ref="rulesets/controversial.xml/DataflowAnomalyAnalysis"/>
+ <rule ref="rulesets/controversial.xml/AvoidFinalLocalVariable"/>
+ <rule ref="rulesets/controversial.xml/AvoidUsingShortType"/>
+ <rule ref="rulesets/controversial.xml/AvoidUsingVolatile"/>
+ <rule ref="rulesets/controversial.xml/AvoidUsingNativeCode"/>
+ <rule ref="rulesets/controversial.xml/AvoidAccessibilityAlteration"/>
+ <rule ref="rulesets/controversial.xml/DoNotCallGarbageCollectionExplicitly"/>
+ <rule ref="rulesets/naming.xml/ShortVariable"/>
+ <rule ref="rulesets/naming.xml/LongVariable"/>
+ <rule ref="rulesets/naming.xml/ShortMethodName"/>
+ <rule ref="rulesets/naming.xml/VariableNamingConventions"/>
+ <rule ref="rulesets/naming.xml/MethodNamingConventions"/>
+ <rule ref="rulesets/naming.xml/ClassNamingConventions"/>
+ <rule ref="rulesets/naming.xml/AbstractNaming"/>
+ <rule ref="rulesets/naming.xml/AvoidDollarSigns"/>
+ <rule ref="rulesets/naming.xml/MethodWithSameNameAsEnclosingClass"/>
+ <rule ref="rulesets/naming.xml/SuspiciousHashcodeMethodName"/>
+ <rule ref="rulesets/naming.xml/SuspiciousConstantFieldName"/>
+ <rule ref="rulesets/naming.xml/SuspiciousEqualsMethodName"/>
+ <rule ref="rulesets/naming.xml/AvoidFieldNameMatchingTypeName"/>
+ <rule ref="rulesets/naming.xml/AvoidFieldNameMatchingMethodName"/>
+ <rule ref="rulesets/naming.xml/NoPackage"/>
+ <rule ref="rulesets/naming.xml/PackageCase"/>
+ <rule ref="rulesets/naming.xml/MisleadingVariableName"/>
+ <rule ref="rulesets/naming.xml/BooleanGetMethodName"/>
+ <rule ref="rulesets/codesize.xml/NPathComplexity"/>
+ <rule ref="rulesets/codesize.xml/ExcessiveMethodLength"/>
+ <rule ref="rulesets/codesize.xml/ExcessiveParameterList"/>
+ <rule ref="rulesets/codesize.xml/ExcessiveClassLength"/>
+ <rule ref="rulesets/codesize.xml/CyclomaticComplexity"/>
+ <rule ref="rulesets/codesize.xml/ExcessivePublicCount"/>
+ <rule ref="rulesets/codesize.xml/TooManyFields"/>
+ <rule ref="rulesets/codesize.xml/NcssMethodCount"/>
+ <rule ref="rulesets/codesize.xml/NcssTypeCount"/>
+ <rule ref="rulesets/codesize.xml/NcssConstructorCount"/>
+ <rule ref="rulesets/codesize.xml/TooManyMethods"/>
+ <rule ref="rulesets/finalizers.xml/EmptyFinalizer"/>
+ <rule ref="rulesets/finalizers.xml/FinalizeOnlyCallsSuperFinalize"/>
+ <rule ref="rulesets/finalizers.xml/FinalizeOverloaded"/>
+ <rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize"/>
+ <rule ref="rulesets/finalizers.xml/FinalizeShouldBeProtected"/>
+ <rule ref="rulesets/finalizers.xml/AvoidCallingFinalize"/>
+ <rule ref="rulesets/logging-jakarta-commons.xml/UseCorrectExceptionLogging"/>
+ <rule ref="rulesets/logging-jakarta-commons.xml/ProperLogger"/>
+ <rule ref="rulesets/javabeans.xml/BeanMembersShouldSerialize"/>
+ <rule ref="rulesets/javabeans.xml/MissingSerialVersionUID"/>
+ <rule ref="rulesets/clone.xml/ProperCloneImplementation"/>
+ <rule ref="rulesets/clone.xml/CloneThrowsCloneNotSupportedException"/>
+ <rule ref="rulesets/clone.xml/CloneMethodMustImplementCloneable"/>
+</ruleset>
6 de.pellepelster.myadmin.build/.classpath
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=de.pellepelster.myadmin.build&amp;ivyXmlPath=ivy.xml&amp;confs=*"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
3 de.pellepelster.myadmin.build/.directory
@@ -0,0 +1,3 @@
+[Dolphin]
+Timestamp=2009,4,3,21,26,43
+ViewMode=1
9 de.pellepelster.myadmin.build/.gitignore
@@ -0,0 +1,9 @@
+bin
+bin-gen
+dist
+build
+derby.log
+reports
+/lib
+/bootstrap-lib
+/lib-bootstrap
18 de.pellepelster.myadmin.build/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>de.pellepelster.myadmin.build</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.apache.ivyde.eclipse.ivynature</nature>
+ </natures>
+</projectDescription>
2 de.pellepelster.myadmin.build/.settings/org.apache.ivyde.eclipse.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.apache.ivyde.eclipse.standaloneretrieve=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><setuplist/>
1 de.pellepelster.myadmin.build/ant/.gitignore
@@ -0,0 +1 @@
+/bootstrap-lib
21 de.pellepelster.myadmin.build/ant/MyAdminBuildBootstrap.xml
@@ -0,0 +1,21 @@
+<project name="MyAdminBuildBootstrap" xmlns:ivy="antlib:org.apache.ivy.ant" default="bootstrap">
+
+ <dirname property="bootstrap.imported.basedir" file="${ant.file.MyAdminBuildBootstrap}" />
+
+ <property name="bootstrap.ivy.temp.file" value="${java.io.tmpdir}/${ant.project.name}_ivy.xml" />
+ <property name="bootstrap.ivy.settings.temp.file" value="${java.io.tmpdir}/${ant.project.name}_ivysettings.xml" />
+ <property name="bootstrap.lib.dir" value="${bootstrap.imported.basedir}/../lib-bootstrap" />
+
+ <target name="write.ivy.files">
+ <echo file="${bootstrap.ivy.temp.file}" message="&lt;ivy-module version='1.0'>&lt;info organisation='de.pellepelster.myadmin' module='MyAdminBuildBootstrap' status='integration' /&gt;&lt;dependencies&gt;&lt;dependency org=&quot;org.tigris.antelope&quot; name=&quot;antelopetasks&quot; rev=&quot;3.2.10&quot; /&gt;&lt;dependency org=&quot;ant-contrib&quot; name=&quot;ant-contrib&quot; rev=&quot;1.0b3&quot; /&gt;&lt;dependency org=&quot;com.jcraft&quot; name=&quot;jsch&quot; rev=&quot;0.1.48&quot; /&gt;&lt;/dependencies>&lt;/ivy-module&gt;" append="false" />
+ <echo file="${bootstrap.ivy.settings.temp.file}" message="&lt;ivysettings&gt;&lt;settings defaultResolver=&quot;bootstrap_default&quot; /&gt;&lt;include url=&quot;${ivy.default.settings.dir}/ivysettings-public.xml&quot; /&gt;&lt;include url=&quot;${ivy.default.settings.dir}/ivysettings-shared.xml&quot; /&gt;&lt;include url=&quot;${ivy.default.settings.dir}/ivysettings-local.xml&quot; /&gt;&lt;include url=&quot;${ivy.default.settings.dir}/ivysettings-main-chain.xml&quot; /&gt;&lt;include url=&quot;${ivy.default.settings.dir}/ivysettings-default-chain.xml&quot; /&gt;&lt;resolvers&gt;&lt;chain name=&quot;bootstrap_default&quot; returnFirst=&quot;true&quot; checkmodified=&quot;true&quot;&gt;&lt;resolver ref=&quot;default&quot; /&gt;&lt;/chain&gt;&lt;/resolvers&gt;&lt;/ivysettings&gt;" append="false" />
+ </target>
+
+ <target name="bootstrap" depends="write.ivy.files">
+ <ivy:settings id="bootstrap.ivy.settings" file="${bootstrap.ivy.settings.temp.file}" />
+
+ <ivy:resolve settingsref="bootstrap.ivy.settings" file="${bootstrap.ivy.temp.file}" checkifchanged="true" conf="default" />
+ <ivy:retrieve settingsref="bootstrap.ivy.settings" overwriteMode="always" pattern="${bootstrap.lib.dir}/[artifact]-[type].[ext]" conf="default" />
+ </target>
+
+</project>
18 de.pellepelster.myadmin.build/ant/MyAdminCommon.xml
@@ -0,0 +1,18 @@
+<project name="MyAdminCommon" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <dirname property="MyAdminCommon.basedir" file="${ant.file.MyAdminCommon}" />
+ <import file="${MyAdminCommon.basedir}/myadmin/BaseCommon.xml" />
+
+ <property name="build.type" value="CI" />
+ <property name="build.number" value="1" />
+ <property name="revision.number" value="1" />
+
+ <target name="info">
+ <echo message="--------------------------------------------------------------------------------" />
+ <echo message="ivy.resolver.default: ${ivy.resolver.default}" />
+ <echo message="ivy.resolver.publish: ${ivy.resolver.publish}" />
+ <echo message="ivy.staging.repository.root: ${ivy.staging.repository.root}" />
+ <echo message="--------------------------------------------------------------------------------" />
+ </target>
+
+</project>
36 de.pellepelster.myadmin.build/ant/ivysettings.xml
@@ -0,0 +1,36 @@
+<ivysettings>
+
+ <properties file="properties/${user.name}.build.properties" />
+
+ <property name="ivy.staging.repository.root" value="${ivy.default.ivy.user.dir}/myadmin/" override="false" />
+
+ <include url="myadmin/ivysettings-myadmin-base.xml" />
+
+ <settings defaultResolver="${ivy.resolver.default}" />
+
+ <resolvers>
+
+ <filesystem name="myadmin_staging_repository">
+ <ivy pattern="${ivy.staging.repository.root}/${ivy.local.default.ivy.pattern}" />
+ <artifact pattern="${ivy.staging.repository.root}/${ivy.local.default.artifact.pattern}" />
+ </filesystem>
+
+ <filesystem name="myadmin_dependencies_local">
+ <ivy pattern="${ivy.default.ivy.user.dir}/myadmin_dependencies/${ivy.local.default.ivy.pattern}" />
+ <artifact pattern="${ivy.default.ivy.user.dir}/myadmin_dependencies/${ivy.local.default.artifact.pattern}" />
+ </filesystem>
+
+ <chain name="myadmin_dev" returnFirst="true" checkmodified="true">
+ <resolver ref="default" />
+ <resolver ref="myadmin_dependencies_local" />
+ <resolver ref="myadmin_dependencies" />
+ </chain>
+
+ <chain name="myadmin_staging" returnFirst="true" checkmodified="true">
+ <resolver ref="myadmin_staging_repository" />
+ <resolver ref="myadmin_dev" />
+ </chain>
+
+ </resolvers>
+
+</ivysettings>
1 de.pellepelster.myadmin.build/ant/myadmin/.gitignore
@@ -0,0 +1 @@
+/MyAdminProjectBuildBootstrap.xml
19 de.pellepelster.myadmin.build/ant/myadmin/BaseCommon.properties
@@ -0,0 +1,19 @@
+# locations
+lib.dir = lib
+build.dir = build
+classes.dir = classes
+src.dir = src
+test.dir = test
+build.gen.dir = bin-gen
+src.gen.dir = src-gen
+
+# filenames
+jar.file = ${build.dir}/${ant.project.name}.jar
+jar.source.file = ${build.dir}/${ant.project.name}-source.jar
+ivy.file = ${basedir}/ivy.xml
+
+# compiler options
+javac.target = 1.6
+javac.source = 1.6
+javac.debuglevel = source,lines,vars
+javac.debug = true
247 de.pellepelster.myadmin.build/ant/myadmin/BaseCommon.xml
@@ -0,0 +1,247 @@
+<project name="BaseCommon" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <dirname property="BaseCommon.imported.basedir" file="${ant.file.BaseCommon}" />
+ <property file="${BaseCommon.imported.basedir}/BaseCommon.properties" />
+
+ <!-- default file locations -->
+ <property name="build.project.root.dir" value="${BaseCommon.imported.basedir}/../.." />
+ <property name="projects.root.dir" value="${build.project.root.dir}/.." />
+ <property name="build.project.ant.dir" value="${build.project.root.dir}/ant" />
+
+ <property name="templates.dir" value="${BaseCommon.imported.basedir}/templates" />
+ <property name="bootstrap.lib.dir" value="${build.project.root.dir}/lib-bootstrap" />
+ <property name="ivy.settings.file" value="${build.project.ant.dir}/ivysettings.xml" />
+
+ <!-- ivy configuration -->
+ <ivy:settings id="ivy.settings" file="${ivy.settings.file}" />
+
+ <!-- property defaults -->
+ <property environment="env" />
+ <property name="ivy.resolver.default" value="default" />
+ <property file="${project.ant.dir}/properties/${user.name}.build.properties" />
+ <property file="${project.ant.dir}/properties/default.build.properties" />
+
+ <tstamp>
+ <format property="build.timestamp" pattern="yyyyMMddHHmmss" />
+ </tstamp>
+
+ <mkdir dir="${build.project.ant.dir}/properties"/>
+
+ <!-- write property file for ivy settings -->
+ <condition property="ivy.staging.repository.root" value="${env.WORKSPACE}/ivy" else="${java.io.tmpdir}/${ant.project.name}">
+ <isset property="env.WORKSPACE"/>
+ </condition>
+
+ <!-- version configuration -->
+ <property name="version.file" value="${build.project.root.dir}/version.properties" />
+ <fail message="version file '${version.file}' is missing">
+ <condition>
+ <not>
+ <available file="${version.file}" />
+ </not>
+ </condition>
+ </fail>
+ <property file="${version.file}" />
+ <property name="module.version" value="${module.version.major}.${module.version.minor}.${module.version.micro}" />
+
+ <!-- task and type defs -->
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties" onerror="ignore">
+ <classpath>
+ <fileset dir="${bootstrap.lib.dir}" includes="*.jar" />
+ </classpath>
+ </taskdef>
+
+ <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" onerror="ignore">
+ <classpath>
+ <fileset dir="${bootstrap.lib.dir}" includes="*.jar" />
+ </classpath>
+ </taskdef>
+
+ <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant">
+ <classpath>
+ <fileset dir="${bootstrap.lib.dir}" includes="*.jar" />
+ </classpath>
+ </taskdef>
+
+ <condition property="no.compile">
+ <not>
+ <available file="${src.dir}" type="dir" />
+ </not>
+ </condition>
+
+ <!-- defaults for compile/jaring -->
+ <path id="jar.files">
+ <fileset dir="${classes.dir}" />
+ <fileset dir="${src.dir}" includes="**/*.xml" />
+ <fileset dir="${src.dir}" includes="**/*.properties" />
+ <fileset dir="${src.dir}" includes="**/*.css" />
+ <fileset dir="${src.dir}" includes="**/*.msl" />
+ </path>
+
+ <path id="source.jar.files">
+ <fileset dir="${src.dir}" includes="**/*.java" />
+ <fileset dir="${src.dir}" includes="**/*.xml" />
+ <fileset dir="${src.dir}" includes="**/*.png" />
+ <fileset dir="${src.dir}" includes="**/*.properties" />
+ <fileset dir="${src.dir}" includes="**/*.css" />
+ <fileset dir="${src.dir}" includes="**/*.msl" />
+ </path>
+
+ <target name="build.info">
+ <echo message="java version: ${java.version}" />
+ </target>
+
+ <path id="source.files">
+ <dirset dir="${src.dir}" />
+ </path>
+
+ <path id="lib.path.id">
+ <fileset dir="${lib.dir}" />
+ </path>
+
+ <path id="run.path.id">
+ <path refid="lib.path.id" />
+ <path location="${classes.dir}" />
+ </path>
+
+ <target name="resolve" depends="clean.lib">
+
+ <mkdir dir="${lib.dir}" />
+
+ <ivy:resolve settingsref="ivy.settings" file="${ivy.file}" checkifchanged="true" />
+ <ivy:retrieve settingsref="ivy.settings" overwriteMode="always" pattern="${lib.dir}/[artifact]-[type].[ext]" conf="compile" />
+
+ </target>
+
+ <target name="report" depends="resolve">
+ <ivy:report settingsref="ivy.settings" todir="${build.dir}" />
+ </target>
+
+ <target name="pre.compile">
+ </target>
+
+ <target name="post.compile">
+ </target>
+
+ <target name="compile" depends="resolve" unless="no.compile">
+
+ <antcall target="pre.compile" />
+
+ <mkdir dir="${classes.dir}" />
+
+ <javac destdir="${classes.dir}" classpathref="lib.path.id" debuglevel="${javac.debuglevel}" debug="${javac.debug}" target="${javac.target}" source="${javac.source}" includeAntRuntime="false">
+ <src refid="source.files" />
+ </javac>
+
+ <antcall target="post.compile" />
+
+ </target>
+
+ <target name="run" depends="version, compile">
+ <java classpathref="run.path.id" classname="${main.class.name}" />
+ </target>
+
+ <!--
+ <target name="ivy.new.version" unless="ivy.new.revision">
+ <ivy:info settingsref="ivy.settings" file="${ivy.file}" />
+ <ivy:buildnumber settingsref="ivy.settings" organisation="${ivy.organisation}" module="${ivy.module}" revision="${module.version}" defaultBuildNumber="1" />
+ </target>
+ -->
+
+ <target name="new.version">
+ <property name="ivy.new.revision.qualifier" value="${build.timestamp}" />
+ <property name="ivy.new.revision.version" value="${module.version}" />
+ <property name="ivy.new.revision" value="${ivy.new.revision.version}-${ivy.new.revision.qualifier}" />
+ </target>
+
+ <target name="version" depends="new.version">
+
+ <mkdir dir="${classes.dir}" />
+ <echo message="version=${ivy.new.revision}" file="${classes.dir}/${ant.project.name}.properties" append="false" />
+ <property file="${classes.dir}/${ant.project.name}.properties" />
+
+ </target>
+
+ <target name="pre.jar">
+ </target>
+
+ <target name="post.jar">
+ </target>
+
+ <target name="test" if="test.suite.name">
+
+ <delete dir="${test.dir}" />
+ <mkdir dir="${test.dir}" />
+
+ <junit printsummary="yes" newenvironment="yes" haltonfailure="yes" fork="true">
+
+ <classpath refid="lib.path.id" />
+ <classpath>
+ <fileset dir="${build.dir}" includes="*.jar" excludes="*-source.jar" />
+ </classpath>
+
+ <formatter type="xml" />
+
+ <test name="${test.suite.name}" haltonfailure="yes" outfile="${test.dir}/${test.suite.name}" />
+
+ </junit>
+
+ </target>
+
+ <target name="jar" depends="version, compile" unless="no.compile">
+
+ <antcall target="pre.jar" />
+
+ <jar destfile="${jar.file}">
+ <path refid="jar.files" />
+ <manifest>
+ <attribute name="Built-By" value="${user.name}" />
+ <attribute name="Build-Version" value="${version}" />
+ </manifest>
+ </jar>
+
+ <jar destfile="${jar.source.file}">
+ <path refid="source.jar.files" />
+ <manifest>
+ <attribute name="Built-By" value="${user.name}" />
+ <attribute name="Build-Version" value="${version}" />
+ </manifest>
+ </jar>
+
+ <antcall target="post.jar" />
+
+ </target>
+
+ <target name="publish" depends="new.version, jar, test">
+ <ivy:publish settingsref="ivy.settings" artifactspattern="${build.dir}/[artifact].[ext]" resolver="${ivy.resolver.publish}" pubrevision="${version}" pubdate="${build.timestamp}" status="integration" forcedeliver="true" />
+ <echo message="project ${ant.project.name} published to ${ivy.resolver.publish} with version ${version}" />
+ </target>
+
+ <target name="clean.local">
+ <ivy:info settingsref="ivy.settings" file="${ivy.file}" />
+ <delete dir="${ivy.local.default.root}/${ivy.organisation}/${ivy.module}" />
+ </target>
+
+ <target name="clean.lib" description="--> clean the project libraries directory (dependencies)">
+ <delete includeemptydirs="true" dir="${lib.dir}" failonerror="false" />
+ </target>
+
+ <target name="clean.build">
+ <delete includeemptydirs="true" dir="${build.dir}" />
+ </target>
+
+ <target name="clean" depends="clean.build, clean.lib" description="--> clean the project" />
+
+ <target name="info">
+ <echo message="project locations" />
+ <echo message="build project: ${build.project}" />
+ <echo message="deploy project: ${deploy.project}" />
+ <echo message="client project: ${client.project}" />
+ <echo message="client test project: ${client.test.project}" />
+ <echo message="server project: ${server.project}" />
+ <echo message="server test project: ${server.test.project}" />
+ <echo message="" />
+ <echo message="projects root dir: ${projects.root.dir}" />
+ </target>
+
+</project>
113 de.pellepelster.myadmin.build/ant/myadmin/GeneratorCommon.xml
@@ -0,0 +1,113 @@
+<project name="GeneratorCommon">
+
+ <macrodef name="myadmingenerate.internal">
+
+ <attribute name="workflow.file" />
+ <attribute name="pathRefId" />
+ <attribute name="modelName" />
+ <attribute name="artefactName" />
+ <attribute name="runXJC" default="yes" />
+ <attribute name="supplementaryXsds" default="" />
+
+ <sequential>
+
+ <taskdef name="xjc" classname="org.jvnet.jaxb2_commons.xjc.XJC2Task" classpathref="@{pathRefId}" />
+
+ <echo message="--------------------------------------------------------------------------------" />
+ <echo message="workflow: @{workflow.file}" />
+ <echo message="classpath: @{pathRefId}" />
+ <echo message="modelName: @{modelName}" />
+ <echo message="artefactName: @{artefactName}" />
+ <echo message="--------------------------------------------------------------------------------" />
+
+ <property name="gen.temp.bin.dir" value="${java.io.tmpdir}/${ant.project.name}/${src.gen.dir}/bin/" />
+ <property name="gen.temp.src.dir" value="${java.io.tmpdir}/${ant.project.name}/${src.gen.dir}/src/" />
+
+ <delete dir="${gen.temp.bin.dir}" failonerror="false" />
+ <delete dir="${gen.temp.src.dir}" failonerror="false" />
+
+ <mkdir dir="${gen.temp.bin.dir}" />
+ <mkdir dir="${gen.temp.src.dir}" />
+
+ <if>
+ <equals arg1="@{runXJC}" arg2="true" />
+ <then>
+ <!-- <unzip dest="${gen.temp.src.dir}"> <fileset refid="@{supplementaryXsds}"/> </unzip> -->
+ </then>
+ </if>
+
+ <java classname="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher" classpathref="@{pathRefId}" fork="true" failonerror="true">
+
+ <arg value="@{workflow.file}" />
+ <arg value="-p" />
+ <arg value="targetDir=${gen.temp.src.dir}" />
+ <arg value="modelName=@{modelName}" />
+
+ <!-- <jvmarg line="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=y"/> -->
+ </java>
+
+ <if>
+ <equals arg1="@{runXJC}" arg2="true" />
+ <then>
+
+ <property name="xml_catalog_hack" value="${java.io.tmpdir}/xml_catalog_hack/"/>
+ <delete dir="${xml_catalog_hack}" failonerror="false" />
+
+ <if>
+ <available file="lib/myadmin-xml-gen-jar.jar" />
+ <then>
+ <mkdir dir="${xml_catalog_hack}" />
+ <unjar dest="${xml_catalog_hack}" src="lib/myadmin-xml-gen-jar.jar" />
+ </then>
+ </if>
+
+ <xjc extension="true" destdir="${gen.temp.src.dir}" catalog="${java.io.tmpdir}/xml_catalog_hack/myadmin.cat">
+ <arg value="-Xannotate" />
+ <schema dir="${gen.temp.src.dir}" includes="*.xsd" />
+ </xjc>
+ </then>
+ </if>
+
+ <javac debuglevel="${javac.debuglevel}" destdir="${gen.temp.bin.dir}" source="${javac.source}" target="${javac.target}">
+ <src path="${gen.temp.src.dir}" />
+ <classpath refid="@{pathRefId}" />
+ </javac>
+
+ <jar destfile="${build.dir}/@{artefactName}-gen.jar">
+ <fileset dir="${gen.temp.bin.dir}">
+ <include name="**/*" />
+ </fileset>
+ <fileset dir="${gen.temp.src.dir}">
+ <include name="**/*" />
+ </fileset>
+ </jar>
+
+ <jar destfile="${build.dir}/@{artefactName}-gen-source.jar" basedir="${gen.temp.src.dir}" />
+
+ </sequential>
+ </macrodef>
+
+ <macrodef name="myadmingenerate">
+
+ <attribute name="artefactName" />
+ <attribute name="pathRefId" />
+ <attribute name="modelName" />
+ <attribute name="supplementaryXsds" default="" />
+
+
+ <sequential>
+ <property name="gen.temp.bin.dir" value="${java.io.tmpdir}/${ant.project.name}/${src.gen.dir}/bin/" />
+ <property name="gen.temp.src.dir" value="${java.io.tmpdir}/${ant.project.name}/${src.gen.dir}/src/" />
+
+ <property name="gen.temp.src.dir" value="${java.io.tmpdir}/${ant.project.name}/${src.gen.dir}/src/" />
+
+ <myadmingenerate.internal workflow.file="classpath:///workflow/MyAdminDslWebClientGenerator.mwe2" modelname="@{modelName}" pathrefid="@{pathRefId}" artefactname="@{artefactName}-web-client" />
+ <myadmingenerate.internal workflow.file="classpath:///workflow/MyAdminDslXmlGenerator.mwe2" modelname="@{modelName}" pathrefid="@{pathRefId}" artefactname="@{artefactName}-xml" runxjc="true" supplementaryXsds="@{supplementaryXsds}" />
+ <myadmingenerate.internal workflow.file="classpath:///workflow/MyAdminDslMobileClientGenerator.mwe2" modelname="@{modelName}" pathrefid="@{pathRefId}" artefactname="@{artefactName}-mobile-client" />
+ <myadmingenerate.internal workflow.file="classpath:///workflow/MyAdminDslServerGenerator.mwe2" modelname="@{modelName}" pathrefid="@{pathRefId}" artefactname="@{artefactName}-server" />
+
+ </sequential>
+
+ </macrodef>
+
+</project>
140 de.pellepelster.myadmin.build/ant/myadmin/IvyJarImport.xml
@@ -0,0 +1,140 @@
+<project name="IvyJarImport" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <property name="artifact.log.file" value="${java.io.tmpdir}/artifact.log" />
+ <property name="artifact.temp.dir" value="${java.io.tmpdir}/artifact/" />
+
+ <macrodef name="IvyJarImport">
+
+ <attribute name="baseArtifactDir" />
+ <attribute name="versionDelimiter" default="_" />
+ <attribute name="targetResolver" default="shared" />
+ <attribute name="sourceResolver" default="localjars" />
+ <attribute name="ivySettings" />
+
+ <sequential>
+
+ <property name="extension" value="jar" />
+
+ <delete file="${artifact.log.file}" failonerror="false" />
+ <delete dir="${artifact.temp.dir}" failonerror="false" />
+
+ <echo message="searching for '${extension}' artifacts in '@{baseArtifactDir}" />
+ <echo message="expected format is '@{baseArtifactDir}/[organisation name]/[module name]@{versionDelimiter}[version].${extension}" />
+ <echo message="source resolver is '@{targetResolver}" />
+ <echo message="target resolver is '@{sourceResolver}" />
+
+ <foreach target="iterateBaseArtifactDir" param="organisation.dir" inheritall="true">
+ <path>
+ <dirset dir="@{baseArtifactDir}" />
+ </path>
+ <param name="baseArtifactDir" value="@{baseArtifactDir}" />
+ <param name="versionDelimiter" value="@{versionDelimiter}" />
+ <param name="targetResolver" value="@{targetResolver}" />
+ <param name="sourceResolver" value="@{sourceResolver}" />
+ <param name="extension" value="${extension}" />
+ <param name="ivySettings" value="@{ivySettings}" />
+ </foreach>
+
+ <ant antfile="${ant.file}" target="show.log" />
+
+ <delete file="${artifact.log.file}" failonerror="false" />
+ <delete dir="${artifact.temp.dir}" failonerror="false" />
+
+ </sequential>
+
+ </macrodef>
+
+ <target name="show.log">
+ <if>
+ <available file="${artifact.log.file}" />
+ <then>
+ <loadfile srcfile="${artifact.log.file}" property="artifact.log" />
+
+ <echo message="#######################################################################################################" />
+ <echo message="module import successfull, the imported modules can be used with the following dependency declarations" />
+ <echo message="-------------------------------------------------------------------------------------------------------" />
+ <echo message="${artifact.log}" />
+ <echo message="#######################################################################################################" />
+ </then>
+ <else>
+ <echo message="no modules found" />
+ </else>
+ </if>
+ </target>
+
+ <target name="iterateBaseArtifactDir">
+
+ <stringutil string="${baseArtifactDir}" property="baseArtifactDir.length">
+ <length />
+ </stringutil>
+
+ <stringutil string="${organisation.dir}" property="organisation">
+ <substring beginindex="${baseArtifactDir.length}" />
+ <replace regex="\\" replacement="" />
+ <replace regex="/" replacement="" />
+ </stringutil>
+
+ <if>
+ <equals arg1="${baseArtifactDir}" arg2="${organisation.dir}" />
+ <then>
+ <echo message="ignoring root folder '${organisation.dir}'" />
+ </then>
+ <else>
+ <echo message="found organisation folder '${organisation.dir}'" />
+
+ <foreach target="jar.install" param="artefact.location" inheritall="true">
+ <path>
+ <fileset dir="${organisation.dir}" includes="*.${extension}" />
+ </path>
+ <param name="baseArtifactDir" value="${baseArtifactDir}" />
+ <param name="versionDelimiter" value="${versionDelimiter}" />
+ <param name="targetResolver" value="${targetResolver}" />
+ <param name="sourceResolver" value="${sourceResolver}" />
+ <param name="extension" value="${extension}" />
+ <param name="ivySettings" value="${ivySettings}" />
+ </foreach>
+ </else>
+ </if>
+ </target>
+
+
+ <target name="jar.install">
+
+ <echo message="found file '${artefact.location}'" />
+ <basename property="artefact.filename" file="${artefact.location}" />
+ <basename property="artefact.basename" file="${artefact.location}" suffix="${extension}" />
+
+ <stringutil string="${artefact.basename}" property="delimiter.index">
+ <indexof string="${versionDelimiter}" />
+ </stringutil>
+
+ <if>
+ <equals arg1="${delimiter.index}" arg2="-1" />
+ <then>
+ <echo message="version delmiter '${versionDelimiter}' not found in filename '${artefact.filename}' ignoring" />
+ </then>
+ <else>
+ <stringutil string="${artefact.basename}" property="version">
+ <substring beginindex="${delimiter.index}" />
+ <substring beginindex="1" />
+ </stringutil>
+
+ <stringutil string="${artefact.basename}" property="artefact.name">
+ <substring endindex="${delimiter.index}" />
+ </stringutil>
+
+ <echo message="detected organisation: ${organisation}" />
+ <echo message="detected module name: ${artefact.name}" />
+ <echo message="detected version: ${version}" />
+
+ <echo file="${artifact.log.file}" append="true">&lt;dependency org="${organisation}" name="${artefact.name}" rev="${version}" /&gt;${line.separator}</echo>
+
+ <copy tofile="${artifact.temp.dir}/${artefact.name}.${extension}" file="${artefact.location}" />
+ <ivy:install settingsref="${ivySettings}" overwrite="true" organisation="${organisation}" module="${artefact.name}" type="${extension}" revision="${version}" from="${sourceResolver}" to="${targetResolver}" />
+ </else>
+ </if>
+
+
+ </target>
+
+</project>
22 de.pellepelster.myadmin.build/ant/myadmin/MyAdminProjectCommon.xml
@@ -0,0 +1,22 @@
+<project name="MyAdminProjectCommon" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <dirname property="imported.basedir" file="${ant.file.MyAdminProjectCommon}" />
+ <import file="${imported.basedir}/BaseCommon.xml" />
+
+ <!-- read myadmin properties file or fail -->
+ <property name="myadmin.properties.file" value="${build.project.root.dir}/myadmin.properties" />
+ <fail message="myadmin properties file '${myadmin.properties.file}' is missing">
+ <condition>
+ <not>
+ <available file="${myadmin.properties.file}" />
+ </not>
+ </condition>
+ </fail>
+ <property file="${myadmin.properties.file}" />
+
+
+ <property name="build.type" value="CI" />
+ <property name="build.number" value="1" />
+ <property name="revision.number" value="1" />
+
+</project>
74 de.pellepelster.myadmin.build/ant/myadmin/MyAdminProjectTemplates.xml
@@ -0,0 +1,74 @@
+<project name="MyAdminProjectTemplates" xmlns:ivy="antlib:org.apache.ivy.ant" default="build">
+
+ <dirname property="MyAdminProjectTemplates.imported.basedir" file="${ant.file.MyAdminProjectTemplates}" />
+ <import file="${MyAdminProjectTemplates.imported.basedir}/MyAdminProjectCommon.xml" />
+
+ <stringutil string="${project.name}" property="project.name.first.uppercase">
+ <uppercase />
+ <substring beginindex="0" endindex="1" />
+ </stringutil>
+
+ <stringutil string="${project.name}" property="roject.name">
+ <substring beginindex="1" />
+ </stringutil>
+
+ <property name="project.name.camelcase" value="${project.name.first.uppercase}${roject.name}" />
+ <property name="project.package" value="${organisation.name}.${project.name}" />
+
+ <stringutil string="${project.package}" property="project.package.path">
+ <replace regex="\." replacement="/" />
+ </stringutil>
+
+ <filterset id="myadmin.tokens">
+ <filter token="organisation.name" value="${organisation.name}" />
+ <filter token="project.name" value="${project.name}" />
+ <filter token="project.package" value="${project.package}" />
+ <filter token="project.package.path" value="${project.package.path}" />
+ <filter token="project.name.camelcase" value="${project.name.camelcase}" />
+ <filter token="ant.common.file" value="../${build.project}/ant/${project.name}.xml" />
+ </filterset>
+
+ <filtermapper id="myadmin.filtermapper">
+ <replacestring from="project.name.camelcase" to="${project.name.camelcase}" />
+ <replacestring from="project.package.path" to="${project.package.path}" />
+ <replacestring from="project.name" to="${project.name}" />
+ <replacestring from="project.package" to="${project.package}" />
+ </filtermapper>
+
+ <target name="copy.project.templates">
+
+ <echo message="project: ${organisation.name}.${project.name}.${project.name.postifx}" />
+
+ <copy todir="${projects.root.dir}/${organisation.name}.${project.name}.${project.name.postifx}" overwrite="false">
+ <fileset dir="${templates.dir}/${project.name.postifx}.project" includes="**/*" />
+ <filterset refid="myadmin.tokens" />
+ <filterset>
+ <filter token="ant.project.name" value="${organisation.name}.${project.name}.${project.name.postifx}" />
+ </filterset>
+ <filtermapper refid="myadmin.filtermapper" />
+ </copy>
+
+ </target>
+
+ <target name="build">
+ <antcall target="copy.templates" />
+ </target>
+
+ <target name="copy.templates">
+
+ <foreach list="build,deploy,client,client.test,server,server.test,generator" param="project.name.postifx" target="copy.project.templates">
+ </foreach>
+
+ <!-- build -->
+ <copy todir="${build.project.ant.dir}" overwrite="false">
+ <fileset dir="${templates.dir}">
+ <include name="*.xml" />
+ <include name="*.properties" />
+ </fileset>
+ <filtermapper refid="myadmin.filtermapper" />
+ <filterset refid="myadmin.tokens" />
+ </copy>
+
+ </target>
+
+</project>
34 de.pellepelster.myadmin.build/ant/myadmin/ivysettings-myadmin-base.xml
@@ -0,0 +1,34 @@
+<ivysettings>
+
+ <property name="ivy.local.default.root" value="${ivy.default.ivy.user.dir}/local" override="false"/>
+ <property name="ivy.local.default.ivy.pattern" value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" override="false"/>
+ <property name="ivy.local.default.artifact.pattern" value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" override="false"/>
+
+ <include url="${ivy.default.settings.dir}/ivysettings-public.xml" />
+ <include url="${ivy.default.settings.dir}/ivysettings-shared.xml" />
+ <include url="${ivy.default.settings.dir}/ivysettings-local.xml" />
+ <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml" />
+ <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml" />
+
+ <resolvers>
+
+ <url name="gwt_commons">
+ <ivy pattern="http://ivy.pelle.io/repository/${ivy.local.default.ivy.pattern}" />
+ <artifact pattern="http://ivy.pelle.io/repository/${ivy.local.default.artifact.pattern}" />
+ </url>
+
+ <url name="myadmin_libs">
+ <ivy pattern="http://myadmin-dev/~myadmin_dependencies/ivy/${ivy.local.default.ivy.pattern}" />
+ <artifact pattern="http://myadmin-dev/~myadmin_dependencies/ivy/${ivy.local.default.artifact.pattern}" />
+ </url>
+
+ <chain name="myadmin_dependencies" returnFirst="true" checkmodified="true">
+ <resolver ref="gwt_commons" />
+ <!--
+ <resolver ref="myadmin_libs" />
+ -->
+ </chain>
+
+ </resolvers>
+
+</ivysettings>
29 de.pellepelster.myadmin.build/ant/myadmin/templates/build.project/build.xml
@@ -0,0 +1,29 @@
+<project name="@ant.project.name@" xmlns:ivy="antlib:org.apache.ivy.ant" default="publish.all">
+
+ <import file="@ant.common.file@" />
+
+
+ <target name="buildlist">
+
+ <ivy:buildlist settingsref="ivy.settings" reference="build.path">
+ <fileset dir="../">
+ <include name="@organisation.name@.@project.name@.*/build.xml" />
+ </fileset>
+ </ivy:buildlist>
+ </target>
+
+ <target name="publish.all" depends="buildlist">
+ <antcall target="info" />
+ <subant target="publish" buildpathref="build.path" />
+ </target>
+
+ <target name="clean.all" depends="buildlist">
+ <subant target="clean" buildpathref="build.path" />
+ </target>
+
+ <target name="clean" depends="clean.all">
+ <delete dir="repository" />
+ <ivy:cleancache />
+ </target>
+
+</project>
16 de.pellepelster.myadmin.build/ant/myadmin/templates/build.project/ivy.xml
@@ -0,0 +1,16 @@
+<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+
+ <info organisation="@organisation.name@" module="@project.name@.build" status="integration"></info>
+
+ <configurations>
+ <conf name="default" extends="master, runtime" />
+ <conf name="master" />
+ <conf name="compile" extends="master" />
+ <conf name="runtime" />
+ <conf name="sources" />
+ </configurations>
+
+ <publications>
+ </publications>
+
+</ivy-module>
20 de.pellepelster.myadmin.build/ant/myadmin/templates/client.project/build.xml
@@ -0,0 +1,20 @@
+<project name="@ant.project.name@" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <import file="@ant.common.file@" />
+
+ <target name="pre.jar">
+
+ <java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler">
+ <classpath>
+ <pathelement path="src/" />
+ <path refid="lib.path.id" />
+ </classpath>
+ <jvmarg value="-Xmx768M" />
+ <arg value="-localWorkers" />
+ <arg value="2" />
+ <arg line="@project.package@.@project.name.camelcase@" />
+ </java>
+
+ </target>
+
+</project>
41 de.pellepelster.myadmin.build/ant/myadmin/templates/client.project/ivy.xml
@@ -0,0 +1,41 @@
+<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ version="2.0" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+
+ <info organisation="@organisation.name@" module="@project.name@.client"
+ status="integration"></info>
+
+ <configurations>
+ <conf name="default" extends="master, runtime" />
+ <conf name="master" />
+ <conf name="compile" extends="master" />
+ <conf name="runtime" />
+ <conf name="sources" />
+ </configurations>
+
+ <publications>
+ </publications>
+
+ <dependencies>
+
+ <dependency org="de.pellepelster.myadmin" name="client-gwt"
+ rev="latest.integration" conf="*->default,sources" />
+
+ <dependency org="com.google.gwt" name="gwt-dev" rev="2.5.0"
+ transitive="false" />
+
+ <dependency name="@project.name@.generator" rev="latest.integration"
+ conf="*->generated" />
+
+ <dependency org="commons-httpclient" name="commons-httpclient"
+ rev="3.1">
+ <artifact name="commons-httpclient" type="jar" />
+ </dependency>
+
+ <dependency org="commons-fileupload" name="commons-fileupload"
+ rev="1.2.2">
+ <artifact name="commons-fileupload" type="jar" />
+ </dependency>
+
+ </dependencies>
+
+</ivy-module>
26 ...dmin/templates/client.project/src/project.package.path/client/project.name.camelcase.java
@@ -0,0 +1,26 @@
+package @project.package@.client;
+
+import com.google.gwt.core.client.EntryPoint;
+import com.google.gwt.dom.client.Style.Unit;
+import com.google.gwt.user.client.ui.DockLayoutPanel.Direction;
+
+import de.pellepelster.myadmin.client.gwt.ControlHandler;
+import de.pellepelster.myadmin.client.gwt.GWTLayoutFactory;
+import de.pellepelster.myadmin.client.web.MyAdmin;
+import de.pellepelster.myadmin.client.web.modules.navigation.ModuleNavigationModule;
+
+public class @project.name.camelcase@ implements EntryPoint
+{
+ /** {@inheritDoc} */
+ @Override
+ public void onModuleLoad()
+ {
+
+ GWTLayoutFactory gwtLayoutFactory = new GWTLayoutFactory(Unit.PX);
+ MyAdmin.getInstance().setLayoutFactory(gwtLayoutFactory);
+ MyAdmin.getInstance().setControlHandler(new ControlHandler());
+
+ gwtLayoutFactory.startModule(ModuleNavigationModule.MODULE_ID, Direction.WEST.toString());
+
+ }
+}
11 .../myadmin/templates/client.project/src/project.package.path/project.name.camelcase.gwt.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source/core/src/gwt-module.dtd">
+<module rename-to="@project.name.camelcase@">
+
+ <inherits name='de.pellepelster.myadmin.MyAdminClientGwt' />
+ <inherits name='com.google.gwt.user.theme.standard.Standard'/>
+
+
+ <entry-point class="@project.package@.client.@project.name.camelcase@" />
+
+</module>
16 ...admin/templates/client.project/src/project.package.path/public/project.name.camelcase.css
@@ -0,0 +1,16 @@
+
+.toolStripBottomBorder {
+ border-bottom: 1px solid #A7ABB4;
+ background:url("./images/ListGrid/header.png") repeat-x scroll left bottom #FFFFFF;
+}
+
+
+.errorListGridCell,
+.errorListGridCellOver,
+.errorListGridCellOverDark,
+.errorListGridCellDark {
+ font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px; text-overflow:ellipsis;
+ color:black;
+ border-bottom:1px solid #ffc0c0; border-top:1px solid #ffc0c0;
+ background-color:#ffc0c0;
+}
18 ...dmin/templates/client.project/src/project.package.path/public/project.name.camelcase.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<!-- The DOCTYPE declaration above will set the -->
+<!-- browser's rendering engine into -->
+<!-- "Standards Mode". Replacing this declaration -->
+<!-- with a "Quirks Mode" doctype is not supported. -->
+
+<html>
+ <head>
+ <title>@project.name.camelcase@</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ </head>
+ <body>
+
+ <script language="javascript" src="@project.name.camelcase@.nocache.js"></script>
+ <iframe src="javascript:''" id="__gwt_historyFrame" style="width: 0; height: 0; border: 0"></iframe>
+
+ </body>
+</html>
5 de.pellepelster.myadmin.build/ant/myadmin/templates/client.test.project/build.xml
@@ -0,0 +1,5 @@
+<project name="@ant.project.name@" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <import file="@ant.common.file@" />
+
+</project>
18 de.pellepelster.myadmin.build/ant/myadmin/templates/client.test.project/ivy.xml
@@ -0,0 +1,18 @@
+<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ version="2.0" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+
+ <info organisation="@organisation.name@" module="@project.name@.client.test"
+ status="integration"></info>
+
+ <configurations>
+ <conf name="default" extends="master, runtime" />
+ <conf name="master" />
+ <conf name="compile" extends="master" />
+ <conf name="runtime" />
+ <conf name="sources" />
+ </configurations>
+
+ <publications>
+ </publications>
+
+</ivy-module>
5 de.pellepelster.myadmin.build/ant/myadmin/templates/deploy.project/build.xml
@@ -0,0 +1,5 @@
+<project name="@ant.project.name@" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <import file="@ant.common.file@" />
+
+</project>
18 de.pellepelster.myadmin.build/ant/myadmin/templates/deploy.project/ivy.xml
@@ -0,0 +1,18 @@
+<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ version="2.0" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+
+ <info organisation="@organisation.name@" module="@project.name@.deploy"
+ status="integration"></info>
+
+ <configurations>
+ <conf name="default" extends="master, runtime" />
+ <conf name="master" />
+ <conf name="compile" extends="master" />
+ <conf name="runtime" />
+ <conf name="sources" />
+ </configurations>
+
+ <publications>
+ </publications>
+
+</ivy-module>
29 de.pellepelster.myadmin.build/ant/myadmin/templates/generator.project/build.xml
@@ -0,0 +1,29 @@
+<project name="@ant.project.name@" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <import file="@ant.common.file@" />
+ <import file="../@organisation.name@.@project.name@.build/ant/myadmin/GeneratorCommon.xml" />
+
+ <path id="jar.files">
+ <fileset dir="${classes.dir}" />
+ <fileset dir="${src.dir}" includes="*.msl" />
+ </path>
+
+ <path id="local.lib.path.id">
+ <path refid="lib.path.id" />
+ <fileset dir="${build.dir}" includes="*.jar" />
+ </path>
+
+ <path id="xjc.classpath">
+ <fileset dir="lib">
+ <include name="*xml-gen-jar.jar"/>
+ </fileset>
+ <path refid="lib.path.id" />
+ </path>
+
+ <target name="post.jar" depends="resolve">
+ <myadmingenerate modelName="@project.name.camelcase@" artefactname="@organisation.name@.@project.name@" pathrefid="local.lib.path.id" />
+ </target>
+
+</project>
+
+
26 de.pellepelster.myadmin.build/ant/myadmin/templates/generator.project/ivy.xml
@@ -0,0 +1,26 @@
+<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+
+ <info organisation="@organisation.name@" module="@project.name@.generator" status="integration"></info>
+
+ <configurations>
+ <conf name="default" extends="master, runtime" />
+ <conf name="master" />
+ <conf name="compile" extends="master" />
+ <conf name="runtime" />
+ <conf name="sources" />
+ <conf name="generated" />
+ </configurations>
+
+ <publications>
+ <artifact name="@organisation.name@.@project.name@.generator" type="jar" ext="jar" conf="master,generated" />
+ <artifact name="@organisation.name@.@project.name@-mobile-client-gen" type="jar" ext="jar" conf="master,generated" />
+ <artifact name="@organisation.name@.@project.name@-web-client-gen" type="jar" ext="jar" conf="master,generated" />
+ <artifact name="@organisation.name@.@project.name@-server-gen" type="jar" ext="jar" conf="master,generated" />
+ <artifact name="@organisation.name@.@project.name@-xml-gen" type="jar" ext="jar" conf="master,generated" />
+ </publications>
+
+ <dependencies>
+ <dependency org="de.pellepelster.myadmin" name="generator" rev="latest.integration" conf="*->@" />
+ </dependencies>
+
+</ivy-module>
157 ...ster.myadmin.build/ant/myadmin/templates/generator.project/src/project.name.camelcase.msl
@@ -0,0 +1,157 @@
+project @project.name.camelcase@ schemaUrl "http://@organisation.name@/@project.name@/schema" {
+
+ package @organisation.name@.@project.name@ {
+
+ navigationnode Navigation {
+
+ navigationnode Entity1 {
+ dictionarySearch dictionaries.Entity1Dictionary.Entity1Search
+ }
+
+ navigationnode Entity2 {
+ dictionarySearch dictionaries.Entity2Dictionary.Entity2Search
+ }
+ }
+
+ package entities {
+
+ textdatatype StringDatatype {
+ maxLength 32
+ }
+
+ integerdatatype IntegerDatatype {
+ max 100
+ min 10
+ }
+
+ booleandatatype BooleanDatatype
+ {
+ }
+
+ datedatatype DateDatatype
+ {
+ }
+
+ entity Entity1 {
+
+ naturalkey { string1 }
+
+ datatype StringDatatype string1
+ datatype BooleanDatatype boolean1
+ datatype IntegerDatatype integer1
+ datatype Entity2Datatype entity2
+ }
+
+ entity Entity2 {
+
+ naturalkey { string2 }
+
+ datatype StringDatatype string2
+ datatype DateDatatype date2
+ }
+
+ referencedatatype Entity2Datatype
+ {
+ entity Entity2
+ }
+
+ }
+
+ package dictionaries {
+
+ dictionary Entity1Dictionary {
+
+ entity entities.Entity1
+
+ dictionarycontrols {
+
+ textcontrol String1Control {
+ entityattribute entities.Entity1.string1
+ label "String 1"
+ }
+
+ booleancontrol Boolean1Control {
+ entityattribute entities.Entity1.boolean1
+ label "Boolean 1"
+ }
+
+ integercontrol Integer1Control {
+ entityattribute entities.Entity1.integer1
+ label "Integer 1"
+ }
+
+ referencecontrol Entity2Control
+ {
+ entityattribute entities.Entity1.entity2
+ label "Entity 2"
+ dictionary Entity2Dictionary
+ }
+
+ }
+
+ dictionarysearch Entity1Search {
+
+ dictionaryfilter Entity1Filter {
+ textcontrol ref String1Control
+ }
+
+ dictionaryresult Entity1Result {
+ textcontrol ref String1Control
+ booleancontrol ref Boolean1Control
+ integercontrol ref Integer1Control
+ referencecontrol ref Entity2Control
+ }
+ }
+
+ dictionaryeditor Entity1Editor {
+ textcontrol ref String1Control
+ booleancontrol ref Boolean1Control
+ integercontrol ref Integer1Control
+ referencecontrol ref Entity2Control
+ }
+ }
+
+ dictionary Entity2Dictionary {
+
+ entity entities.Entity2
+ title "Entity 2"
+
+ dictionarycontrols {
+
+ textcontrol String2Control {
+ entityattribute entities.Entity2.string2
+ label "String 2"
+ }
+
+ datecontrol Date2Control {
+ entityattribute entities.Entity2.date2
+ label "Date 2"
+ }
+
+ }
+
+ labelcontrols {
+ textcontrol ref String2Control
+ }
+
+
+ dictionarysearch Entity2Search {
+
+ dictionaryfilter Entity2Filter {
+ textcontrol ref String2Control
+ }
+
+ dictionaryresult Entity2Result {
+ textcontrol ref String2Control
+ datecontrol ref Date2Control
+ }
+ }
+
+ dictionaryeditor Entity1Editor {
+ textcontrol ref String2Control
+ datecontrol ref Date2Control
+ }
+ }
+ }
+ }
+}
15 de.pellepelster.myadmin.build/ant/myadmin/templates/ivysettings.xml
@@ -0,0 +1,15 @@
+<ivysettings>
+
+ <properties file="properties/${user.name}.build.properties" />
+ <include url="myadmin/ivysettings-myadmin-base.xml" />
+ <settings defaultResolver="${ivy.resolver.default}" />
+
+ <resolvers>
+
+ <chain name="@project.name@_default" returnFirst="true" checkmodified="true">
+ <resolver ref="default" />
+ </chain>
+
+ </resolvers>
+
+</ivysettings>
2