http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-configure-service.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-configure-service.txt b/manual/src/docs/tutorials/howto-configure-service.txt index 4bfe228..02dc0a6 100644 --- a/manual/src/docs/tutorials/howto-configure-service.txt +++ b/manual/src/docs/tutorials/howto-configure-service.txt @@ -28,7 +28,7 @@ If you want to reproduce what's explained in this tutorial, remember to depend o include::../../../../core/bootstrap/build/docs/buildinfo/artifact.txt[] -At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-zest>> tutorial for details. +At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-polygene>> tutorial for details. == We need a Service == @@ -37,7 +37,7 @@ Destinations. For the sake of simplicity, we are leaving out the domain details. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/TravelPlan.java +source=manual/src/main/java/org/apache/polygene/manual/travel/TravelPlan.java tag=service ----------- @@ -45,7 +45,7 @@ So, then there is the ServiceComposite... [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/TravelPlanService.java +source=manual/src/main/java/org/apache/polygene/manual/travel/TravelPlanService.java tag=serviceComposite ----------- @@ -55,7 +55,7 @@ configuration interface. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/TravelPlanConfiguration.java +source=manual/src/main/java/org/apache/polygene/manual/travel/TravelPlanConfiguration.java tag=configuration ----------- @@ -66,7 +66,7 @@ Now we can access this configuration in the TravelPlanMixin like this; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/TravelPlanMixin.java +source=manual/src/main/java/org/apache/polygene/manual/travel/TravelPlanMixin.java tag=mixin ----------- @@ -77,7 +77,7 @@ with the refresh() method in the Configuration interface; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/TravelPlanMixin.java +source=manual/src/main/java/org/apache/polygene/manual/travel/TravelPlanMixin.java tag=refresh ----------- @@ -98,7 +98,7 @@ So, we create a properties file, where the keys are the names of the properties [snippet,bash] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/TravelPlanService.properties +source=manual/src/main/java/org/apache/polygene/manual/travel/TravelPlanService.properties tag=params ----------- File: org/hedhman/niclas/travel/TravelPlanService.properties @@ -109,7 +109,7 @@ And this would work with the standard assembly. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/Main.java +source=manual/src/main/java/org/apache/polygene/manual/travel/Main.java tag=simple ----------- @@ -120,7 +120,7 @@ the same package as the ServiceComposite sub type, the TravelPlanService in the [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/Main.java +source=manual/src/main/java/org/apache/polygene/manual/travel/Main.java tag=assemble ----------- @@ -128,18 +128,18 @@ And the two files for configuration, [snippet,bash] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/ExpediaService.properties +source=manual/src/main/java/org/apache/polygene/manual/travel/ExpediaService.properties tag=params ----------- -File: org/apache/zest/manual/travel/ExpediaService.properties +File: org/apache/polygene/manual/travel/ExpediaService.properties [snippet,bash] ----------- -source=manual/src/main/java/org/apache/zest/manual/travel/OrbitzService.properties +source=manual/src/main/java/org/apache/polygene/manual/travel/OrbitzService.properties tag=params ----------- -File: org/apache/zest/manual/travel/OrbitzService.properties +File: org/apache/polygene/manual/travel/OrbitzService.properties == Changing Configuration in runtime == Unlike most frameworks, the Configuration in Polygene⢠is an active Entity, and once the properties file has been read once
http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-contextual-fragments.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-contextual-fragments.txt b/manual/src/docs/tutorials/howto-contextual-fragments.txt index aee1ae8..d42152a 100644 --- a/manual/src/docs/tutorials/howto-contextual-fragments.txt +++ b/manual/src/docs/tutorials/howto-contextual-fragments.txt @@ -32,13 +32,13 @@ If you want to reproduce what's explained in this tutorial, remember to depend o include::../../../../core/bootstrap/build/docs/buildinfo/artifact.txt[] -At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-zest>> tutorial for details. +At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-polygene>> tutorial for details. The mixins, sideeffects and concerns are added during the bootstrap phase. It is very straight-forward; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/contextualFragments/TraceAll.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/contextualFragments/TraceAll.java tag=assemble ----------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-create-concern.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-create-concern.txt b/manual/src/docs/tutorials/howto-create-concern.txt index ade015d..d76ae1f 100644 --- a/manual/src/docs/tutorials/howto-create-concern.txt +++ b/manual/src/docs/tutorials/howto-create-concern.txt @@ -26,7 +26,7 @@ If you want to reproduce what's explained in this tutorial, remember to depend o include::../../../../core/bootstrap/build/docs/buildinfo/artifact.txt[] -At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-zest>> tutorial for details. +At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-polygene>> tutorial for details. == Typed Concern == @@ -34,7 +34,7 @@ A typed Concern is a Java class that implements the MixinType it can be used on: [snippet,java] ----------- -source=tutorials/introduction/tenminutes/src/main/java/org/apache/zest/demo/tenminute/InventoryConcern.java +source=tutorials/introduction/tenminutes/src/main/java/org/apache/polygene/demo/tenminute/InventoryConcern.java tag=allClass ----------- @@ -49,7 +49,7 @@ It can be used as follows; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/concern/Order.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/concern/Order.java tag=class ----------- @@ -63,7 +63,7 @@ arbitrary MixinType. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/concern/MyGenericConcern.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/concern/MyGenericConcern.java tag=class ----------- @@ -71,7 +71,7 @@ It can be used as follows; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/concern/AnyMixinType.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/concern/AnyMixinType.java tag=class ----------- @@ -90,7 +90,7 @@ Here is how the declaration goes ; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/concern/MyGenericConcern.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/concern/MyGenericConcern.java tag=appliesTo ----------- @@ -98,7 +98,7 @@ And how to use the annotation ; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/concern/AnyMixinType.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/concern/AnyMixinType.java tag=annotationUse ----------- @@ -108,6 +108,6 @@ Finally here is how to implement an AppliesToFilter: [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/concern/MyAppliesToFilter.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/concern/MyAppliesToFilter.java tag=filter ----------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-create-constraint.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-create-constraint.txt b/manual/src/docs/tutorials/howto-create-constraint.txt index 5d0630c..9efd38e 100644 --- a/manual/src/docs/tutorials/howto-create-constraint.txt +++ b/manual/src/docs/tutorials/howto-create-constraint.txt @@ -26,7 +26,7 @@ If you want to reproduce what's explained in this tutorial, remember to depend o include::../../../../core/bootstrap/build/docs/buildinfo/artifact.txt[] -At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-zest>> tutorial for details. +At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-polygene>> tutorial for details. == Method Constraint == @@ -34,7 +34,7 @@ Method Constraints are declared with annotations on the method argument. The ann [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createConstraint/Dialer.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createConstraint/Dialer.java tag=dialer ----------- @@ -42,7 +42,7 @@ In the code above we say that we want the argument to the callPhoneNumber() meth [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createConstraint/PhoneNumber.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createConstraint/PhoneNumber.java tag=annotation ----------- @@ -50,7 +50,7 @@ We then need to provide the Constraint implementation. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createConstraint/PhoneNumberConstraint.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createConstraint/PhoneNumberConstraint.java tag=constraint ----------- @@ -58,7 +58,7 @@ We also need to include the Constraint on the Composites we want to have them pr [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createConstraint/DialerComposite.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createConstraint/DialerComposite.java tag=composite ----------- @@ -67,7 +67,7 @@ in the method invocation. Concerns can be used to catch and report these violati [snippet,java] ---- -source=manual/src/main/java/org/apache/zest/manual/recipes/createConstraint/ParameterViolationConcern.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createConstraint/ParameterViolationConcern.java tag=report ---- @@ -77,7 +77,7 @@ Property Constraints are declared on the Property method. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createConstraint/HasPhoneNumber.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createConstraint/HasPhoneNumber.java tag=property ----------- @@ -89,6 +89,6 @@ which can be done like this; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createConstraint/PhoneNumberParameterViolationConcern.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createConstraint/PhoneNumberParameterViolationConcern.java tag=property ----------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-create-entity.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-create-entity.txt b/manual/src/docs/tutorials/howto-create-entity.txt index 0fb0044..2a20ce6 100644 --- a/manual/src/docs/tutorials/howto-create-entity.txt +++ b/manual/src/docs/tutorials/howto-create-entity.txt @@ -29,7 +29,7 @@ include::../../../../core/bootstrap/build/docs/buildinfo/artifact.txt[] Moreover, you'll need an EntityStore for persistence and an Indexing engine for querying. Choose among the available implementations listed in the <<extensions>> section. -At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-zest>> tutorial for details. +At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-polygene>> tutorial for details. == Basics First == @@ -68,17 +68,17 @@ Entity management. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/Car.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Car.java tag=entity ----------- [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/Manufacturer.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Manufacturer.java tag=entity ----------- [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/Accident.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Accident.java tag=entity ----------- @@ -93,17 +93,17 @@ We will also need to define the composites for the above domain structure; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/CarEntity.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/CarEntity.java tag=composite ----------- [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/ManufacturerEntity.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/ManufacturerEntity.java tag=composite ----------- [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/AccidentValue.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/AccidentValue.java tag=composite ----------- @@ -117,7 +117,7 @@ We must also assemble an EntityStore for the entire application, but that is out [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/MyAssembler.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/MyAssembler.java tag=assembler1 ----------- @@ -133,7 +133,7 @@ fairly small implementation. So how is that done? [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/CarEntityFactory.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/CarEntityFactory.java tag=carFactory ----------- @@ -142,7 +142,7 @@ make it possible for the service injection later. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/CarEntityFactoryService.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/CarEntityFactoryService.java tag=carFactoryService ----------- @@ -150,7 +150,7 @@ Then we need an implementation of the mixin. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/CarEntityFactoryMixin.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/CarEntityFactoryMixin.java tag=carFactoryMixin1 ----------- @@ -162,7 +162,7 @@ to obtain a Module is simply to; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/CarEntityFactoryMixin.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/CarEntityFactoryMixin.java tag=carFactoryMixin2 ----------- @@ -171,7 +171,7 @@ during the construction, we can also request it in the same manner as constructo [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/CarEntityFactoryMixin.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/CarEntityFactoryMixin.java tag=carFactoryMixin3 ----------- @@ -182,7 +182,7 @@ We then need to provide the implementation for the create() method. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/CarEntityFactoryMixin.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/CarEntityFactoryMixin.java tag=create ----------- @@ -194,7 +194,7 @@ re-usable. So let's create one for the Manufacturer type. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/ManufacturerRepository.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/ManufacturerRepository.java tag=repo ----------- @@ -202,7 +202,7 @@ And then we repeat the process for creating a Service... [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/ManufacturerRepositoryService.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/ManufacturerRepositoryService.java tag=manufacturerRepositoryService ----------- @@ -210,7 +210,7 @@ and a Mixin that implements it... [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/ManufacturerRepositoryMixin.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/ManufacturerRepositoryMixin.java tag=repo ----------- @@ -219,7 +219,7 @@ Services to be available to the application layer above, and not restricted to w [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/createEntity/MyAssembler.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/MyAssembler.java tag=assembler2 ----------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-create-sideeffect.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-create-sideeffect.txt b/manual/src/docs/tutorials/howto-create-sideeffect.txt index 4506a51..d9b5680 100644 --- a/manual/src/docs/tutorials/howto-create-sideeffect.txt +++ b/manual/src/docs/tutorials/howto-create-sideeffect.txt @@ -26,7 +26,7 @@ If you want to reproduce what's explained in this tutorial, remember to depend o include::../../../../core/bootstrap/build/docs/buildinfo/artifact.txt[] -At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-zest>> tutorial for details. +At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-polygene>> tutorial for details. == Typed SideEffect == @@ -34,7 +34,7 @@ A typed SideEffect is a Java class that implements the MixinType it can be used [snippet,java] ----------- -source=tutorials/introduction/tenminutes/src/main/java/org/apache/zest/demo/tenminute/MailNotifySideEffect.java +source=tutorials/introduction/tenminutes/src/main/java/org/apache/polygene/demo/tenminute/MailNotifySideEffect.java tag=allClass ----------- @@ -49,7 +49,7 @@ It can be used as follows; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/sideeffects/OrderEntity.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/sideeffects/OrderEntity.java tag=body ----------- @@ -62,7 +62,7 @@ arbitrary MixinType. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/sideeffects/MyGenericSideEffect.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/sideeffects/MyGenericSideEffect.java tag=body ----------- @@ -70,7 +70,7 @@ It can be used as follows; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/sideeffects/AnyMixinType.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/sideeffects/AnyMixinType.java tag=body ----------- @@ -90,7 +90,7 @@ Here is how the declaration goes ; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/sideeffects/MyGenericSideEffect.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/sideeffects/MyGenericSideEffect.java tag=appliesTo ----------- @@ -98,7 +98,7 @@ And how to use the annotation ; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/sideeffects/AnyMixinType.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/sideeffects/AnyMixinType.java tag=annotation ----------- @@ -108,7 +108,7 @@ Finally here is how to implement an AppliesToFilter: [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/sideeffects/MyAppliesToFilter.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/sideeffects/MyAppliesToFilter.java tag=filter ----------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-depend-on-zest.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-depend-on-zest.txt b/manual/src/docs/tutorials/howto-depend-on-zest.txt index 76fe286..8b3901b 100644 --- a/manual/src/docs/tutorials/howto-depend-on-zest.txt +++ b/manual/src/docs/tutorials/howto-depend-on-zest.txt @@ -17,7 +17,7 @@ * under the License. /////////////////////////////////////////////////////////////// -[[howto-depend-on-zest,Depend on Polygene⢠in your build]] +[[howto-depend-on-polygene,Depend on Polygene⢠in your build]] = Depend on Polygene⢠in your build = NOTE: Some of the <<libraries>> and <<extensions>> depend on artifacts that are not deployed in central, you'll need to @@ -37,7 +37,7 @@ http://repository.apache.org/snapshots/ == Manually == If you don't rely on your build scripts dependency resolution mechanism you should -https://zest.apache.org/download.html[download] the SDK distribution. +https://polygene.apache.org/download.html[download] the SDK distribution. == Using Maven == http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-invocation-annotation.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-invocation-annotation.txt b/manual/src/docs/tutorials/howto-invocation-annotation.txt index a712093..8c87fe3 100644 --- a/manual/src/docs/tutorials/howto-invocation-annotation.txt +++ b/manual/src/docs/tutorials/howto-invocation-annotation.txt @@ -53,7 +53,7 @@ First create an annotation of your own liking, it must have +java.lang.annotatio [snippet,java] ----------- -source=core/runtime/src/test/java/org/apache/zest/runtime/injection/InvocationInjectionTest.java +source=core/runtime/src/test/java/org/apache/polygene/runtime/injection/InvocationInjectionTest.java tag=annotation ----------- @@ -61,7 +61,7 @@ After that it is possible to have this annotation placed on composite type metho [snippet,java] ----------- -source=core/runtime/src/test/java/org/apache/zest/runtime/injection/InvocationInjectionTest.java +source=core/runtime/src/test/java/org/apache/polygene/runtime/injection/InvocationInjectionTest.java tag=declaration ----------- @@ -69,7 +69,7 @@ and then the annotation can simply be injected into your Concerns or Mixins, lik [snippet,java] ----------- -source=core/runtime/src/test/java/org/apache/zest/runtime/injection/InvocationInjectionTest.java +source=core/runtime/src/test/java/org/apache/polygene/runtime/injection/InvocationInjectionTest.java tag=use1 ----------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-leverage-properties.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-leverage-properties.txt b/manual/src/docs/tutorials/howto-leverage-properties.txt index f12482b..c3fda1e 100644 --- a/manual/src/docs/tutorials/howto-leverage-properties.txt +++ b/manual/src/docs/tutorials/howto-leverage-properties.txt @@ -27,19 +27,19 @@ If you want to reproduce what's explained in this tutorial, remember to depend o include::../../../../core/api/build/docs/buildinfo/artifact.txt[] -At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-zest>> tutorial for details. +At runtime you will need the Core Runtime artifact too. See the <<howto-depend-on-polygene>> tutorial for details. So in Polygene, instead of writing; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/properties/pojo/Book.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/properties/pojo/Book.java tag=book ----------- [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/properties/pojo/MutableBook.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/properties/pojo/MutableBook.java tag=mutableBook ----------- @@ -54,7 +54,7 @@ like this; [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/properties/Book.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/properties/Book.java tag=book ----------- @@ -67,7 +67,7 @@ There is more to this than meets the eye. [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/properties/BookFactory.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/properties/BookFactory.java tag=create ----------- @@ -90,7 +90,7 @@ actual domain model. Such Swing client will utilize a SwingInfo property info if [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/properties/SwingInfo.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/properties/SwingInfo.java tag=info ----------- @@ -98,6 +98,6 @@ Our generic Swing UI will be mainly reflective in nature, but when it gets hold [snippet,java] ----------- -source=manual/src/main/java/org/apache/zest/manual/recipes/properties/SwingPanel.java +source=manual/src/main/java/org/apache/polygene/manual/recipes/properties/SwingPanel.java tag=info-use ----------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-releasing-apache.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-releasing-apache.txt b/manual/src/docs/tutorials/howto-releasing-apache.txt index e37a6eb..2854c88 100644 --- a/manual/src/docs/tutorials/howto-releasing-apache.txt +++ b/manual/src/docs/tutorials/howto-releasing-apache.txt @@ -49,16 +49,16 @@ Clone/checkout all needed repositories, next to each other: [source,shell] ---- -mkdir zest-repos -cd zest-repos -git clone https://git-wip-us.apache.org/repos/asf/zest-java.git zest-java -svn checkout https://svn.apache.org/repos/asf/zest/ zest-web -svn checkout --depth empty https://dist.apache.org/repos/dist/ zest-dist -cd zest-dist +mkdir polygene-repos +cd polygene-repos +git clone https://git-wip-us.apache.org/repos/asf/polygene-java.git polygene-java +svn checkout https://svn.apache.org/repos/asf/polygene/ polygene-web +svn checkout --depth empty https://dist.apache.org/repos/dist/ polygene-dist +cd polygene-dist svn update --set-depth immediates dev svn update --set-depth immediates release -svn update --set-depth infinity dev/zest -svn update --set-depth infinity release/zest +svn update --set-depth infinity dev/polygene +svn update --set-depth infinity release/polygene ---- You should then get the following directory tree: @@ -66,20 +66,20 @@ You should then get the following directory tree: [source,text] ---- . -âââ zest-repos - âââ zest-java # Apache Polygene⢠(Java Edition) source - âââ zest-web # https://zest.apache.org/ website - âââ zest-dist +âââ polygene-repos + âââ polygene-java # Apache Polygene⢠(Java Edition) source + âââ polygene-web # https://polygene.apache.org/ website + âââ polygene-dist âââ dev - | âââ zest # Releases candidate distributions + | âââ polygene # Releases candidate distributions âââ release - âââ zest # Releases distributions + âââ polygene # Releases distributions ---- [TIP] ==== -From now on, all command line snippets start from the `zest-repos` directory. +From now on, all command line snippets start from the `polygene-repos` directory. ==== @@ -91,7 +91,7 @@ Here is what should pass before going further: [source,shell] ---- -cd zest-java +cd polygene-java ./gradlew -Dversion="<RELEASE-VERSION>" website signArchives ---- @@ -100,7 +100,7 @@ See the <<build-system, Build System>> tutorial for details. === Install Jekyll -Moreover, you will need to have a valid http://jekyllrb.com/[Jekyll] installation as the Apache Polygene⢠https://zest.apache.org/[website] is generated using it. +Moreover, you will need to have a valid http://jekyllrb.com/[Jekyll] installation as the Apache Polygene⢠https://polygene.apache.org/[website] is generated using it. === Setup git flow @@ -128,26 +128,26 @@ See the Apache https://www.apache.org/dev/publishing-maven-artifacts.html[Publis === Update the `KEYS` files if needed. -The reference `KEYS` file can be found at the `zest-java` repository's root, that is `zest-java/KEYS`. +The reference `KEYS` file can be found at the `polygene-java` repository's root, that is `polygene-java/KEYS`. Ensure that it contains your public key. Next, diff it against the ones present in the `dev` and `release` distribution areas: [source,shell] ---- -diff zest-java/KEYS zest-dist/dev/zest/KEYS -diff zest-java/KEYS zest-dist/release/zest/KEYS +diff polygene-java/KEYS polygene-dist/dev/polygene/KEYS +diff polygene-java/KEYS polygene-dist/release/polygene/KEYS ---- And update them if needed: [source,shell] ---- -cp zest-java/KEYS zest-dist/dev/zest/KEYS -cp zest-java/KEYS zest-dist/release/zest/KEYS -cd zest-dist/dev/zest -svn add dev/zest/KEYS release/zest/KEYS -svn commit -m "zest: updating Polygene KEYS" +cp polygene-java/KEYS polygene-dist/dev/polygene/KEYS +cp polygene-java/KEYS polygene-dist/release/polygene/KEYS +cd polygene-dist/dev/polygene +svn add dev/polygene/KEYS release/polygene/KEYS +svn commit -m "polygene: updating Polygene KEYS" ---- @@ -179,27 +179,27 @@ Set it up to generate plain-text release-notes. We will need these in several formats. Starting from the plain-text one we will generate the others. -First save the text-plain release-notes in a file named `apache-zest-java-<RELEASE-VERSION>-release-notes.txt`. -A good place for this file would be in the `zest-repos` directory created earlier, alongside all repositories. +First save the text-plain release-notes in a file named `apache-polygene-java-<RELEASE-VERSION>-release-notes.txt`. +A good place for this file would be in the `polygene-repos` directory created earlier, alongside all repositories. Convert to Asciidoc: [source,shell] ---- -cat "apache-zest-java-<RELEASE-VERSION>-release-notes.txt" | \ +cat "apache-polygene-java-<RELEASE-VERSION>-release-notes.txt" | \ sed -e "s/\[ZEST-\([0-9]\)*\]/https:\/\/issues.apache.org\/jira\/browse\/ZEST-\1[ZEST-\1]/" | \ sed -e "s/ \* /- /" | sed -e "s/^\*\*/====/" \ - > "apache-zest-java-<RELEASE-VERSION>-release-notes.adoc" + > "apache-polygene-java-<RELEASE-VERSION>-release-notes.adoc" ---- Convert to Markdown: [source,shell] ---- -cat "apache-zest-java-<RELEASE-VERSION>-release-notes.txt" | \ +cat "apache-polygene-java-<RELEASE-VERSION>-release-notes.txt" | \ sed -e "s/\[ZEST-\([0-9]*\)\]/[ZEST-\1](https:\/\/issues.apache.org\/jira\/browse\/ZEST-\1)/" | \ sed -e "s/ \* /- /" | sed -e "s/^\*\*/####/" \ - > "apache-zest-java-<RELEASE-VERSION>-release-notes.md" + > "apache-polygene-java-<RELEASE-VERSION>-release-notes.md" ---- You should then have the following files: @@ -207,9 +207,9 @@ You should then have the following files: [source,shell] ---- . -âââ apache-zest-java-<RELEASE-VERSION>-release-notes.txt -âââ apache-zest-java-<RELEASE-VERSION>-release-notes.adoc -âââ apache-zest-java-<RELEASE-VERSION>-release-notes.md +âââ apache-polygene-java-<RELEASE-VERSION>-release-notes.txt +âââ apache-polygene-java-<RELEASE-VERSION>-release-notes.adoc +âââ apache-polygene-java-<RELEASE-VERSION>-release-notes.md ---- We will use them later. @@ -221,7 +221,7 @@ We use `<RELEASE-VERSION>-RC#` where `RELEASE-VERSION` is the target release ver [source,shell] ---- -cd zest-java +cd polygene-java git flow release start "<RELEASE-VERSION>-RC#" ---- @@ -234,34 +234,34 @@ Make a complete build, deploying maven artifacts locally: [source,shell] ---- -cd zest-java -./gradlew -Dversion="<RELEASE-VERSION>" -PuploadRepository="file://$(pwd)/build/repositories/zest-java" \ +cd polygene-java +./gradlew -Dversion="<RELEASE-VERSION>" -PuploadRepository="file://$(pwd)/build/repositories/polygene-java" \ clean assemble checkDists uploadArchives ---- -Review maven artifacts in `build/repositories/zest-java`. +Review maven artifacts in `build/repositories/polygene-java`. Also review the release distributions in `build/distributions` where you should find the following files: [source,shell] ---- . -âââ apache-zest-java-<RELEASE-VERSION>-bin.tgz -âââ apache-zest-java-<RELEASE-VERSION>-bin.tgz.MD5 -âââ apache-zest-java-<RELEASE-VERSION>-bin.tgz.SHA-512 -âââ apache-zest-java-<RELEASE-VERSION>-bin.tgz.asc -âââ apache-zest-java-<RELEASE-VERSION>-bin.zip -âââ apache-zest-java-<RELEASE-VERSION>-bin.zip.MD5 -âââ apache-zest-java-<RELEASE-VERSION>-bin.zip.SHA-512 -âââ apache-zest-java-<RELEASE-VERSION>-bin.zip.asc -âââ apache-zest-java-<RELEASE-VERSION>-src.tgz -âââ apache-zest-java-<RELEASE-VERSION>-src.tgz.MD5 -âââ apache-zest-java-<RELEASE-VERSION>-src.tgz.SHA-512 -âââ apache-zest-java-<RELEASE-VERSION>-src.tgz.asc -âââ apache-zest-java-<RELEASE-VERSION>-src.zip -âââ apache-zest-java-<RELEASE-VERSION>-src.zip.MD5 -âââ apache-zest-java-<RELEASE-VERSION>-src.zip.SHA-512 -âââ apache-zest-java-<RELEASE-VERSION>-src.zip.asc +âââ apache-polygene-java-<RELEASE-VERSION>-bin.tgz +âââ apache-polygene-java-<RELEASE-VERSION>-bin.tgz.MD5 +âââ apache-polygene-java-<RELEASE-VERSION>-bin.tgz.SHA-512 +âââ apache-polygene-java-<RELEASE-VERSION>-bin.tgz.asc +âââ apache-polygene-java-<RELEASE-VERSION>-bin.zip +âââ apache-polygene-java-<RELEASE-VERSION>-bin.zip.MD5 +âââ apache-polygene-java-<RELEASE-VERSION>-bin.zip.SHA-512 +âââ apache-polygene-java-<RELEASE-VERSION>-bin.zip.asc +âââ apache-polygene-java-<RELEASE-VERSION>-src.tgz +âââ apache-polygene-java-<RELEASE-VERSION>-src.tgz.MD5 +âââ apache-polygene-java-<RELEASE-VERSION>-src.tgz.SHA-512 +âââ apache-polygene-java-<RELEASE-VERSION>-src.tgz.asc +âââ apache-polygene-java-<RELEASE-VERSION>-src.zip +âââ apache-polygene-java-<RELEASE-VERSION>-src.zip.MD5 +âââ apache-polygene-java-<RELEASE-VERSION>-src.zip.SHA-512 +âââ apache-polygene-java-<RELEASE-VERSION>-src.zip.asc ---- If any, make the required changes, commit them and iterate. @@ -273,7 +273,7 @@ Once you are satisfied with the produced artifacts, close the release candidate [source,shell] ---- -cd zest-java +cd polygene-java git flow release finish "<RELEASE-VERSION>-RC#" ---- @@ -284,7 +284,7 @@ To build the release candidate bits, we need to checkout the release candidate t [source,shell] ---- -cd zest-java +cd polygene-java git checkout "<RELEASE-VERSION>-RC#" ---- @@ -293,7 +293,7 @@ git checkout "<RELEASE-VERSION>-RC#" [source,shell] ---- -cd zest-java +cd polygene-java ./gradlew -Dversion="<RELEASE-VERSION>" clean assemble ---- @@ -304,7 +304,7 @@ Stage artifacts to https://repository.apache.org/[repository.apache.org] : [source,shell] ---- -cd zest-java +cd polygene-java ./gradlew -Dversion="<RELEASE-VERSION>" uploadArchives ---- @@ -313,63 +313,63 @@ Close the staging Nexus repository by following the https://www.apache.org/dev/p === Upload RC distributions -Source and binary distributions, checksums and signatures must be uploaded to https://dist.apache.org/repos/dist/dev/zest/[dist.apache.org/repos/dist/dev/zest]. -This build created these in the `buid/distributions` directory, named `apache-zest-java-<RELEASE-VERSION>-[src|bin]*.*`. +Source and binary distributions, checksums and signatures must be uploaded to https://dist.apache.org/repos/dist/dev/polygene/[dist.apache.org/repos/dist/dev/polygene]. +This build created these in the `buid/distributions` directory, named `apache-polygene-java-<RELEASE-VERSION>-[src|bin]*.*`. As this release still is a simple candidate, we'll rename them before upload to advertise this in their names. [source,shell] ---- # Source ZIP -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.zip" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.zip.MD5" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.MD5" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.zip.SHA-512" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.SHA-512" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.zip.asc" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.asc" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.zip" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.zip.MD5" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.MD5" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.zip.SHA-512" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.SHA-512" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.zip.asc" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.asc" # Source TAR.GZ -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.tgz" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.tgz.MD5" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.MD5" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.tgz.SHA-512" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.SHA-512" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-src.tgz.asc" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.asc" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.tgz" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.tgz.MD5" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.MD5" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.tgz.SHA-512" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.SHA-512" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-src.tgz.asc" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.asc" # Binary ZIP -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.zip" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.zip.MD5" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.MD5" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.zip.SHA-512" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.SHA-512" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.zip.asc" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.asc" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.zip" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.zip.MD5" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.MD5" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.zip.SHA-512" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.SHA-512" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.zip.asc" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.asc" # Binary TAR.GZ -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.tgz" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.tgz.MD5" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.tgz.SHA-512" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.SHA-512" -cp "zest-java/build/distributions/apache-zest-java-<RELEASE-VERSION>-bin.tgz.asc" \ - "zest-dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.asc" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.tgz" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.tgz.MD5" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.tgz.SHA-512" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.SHA-512" +cp "polygene-java/build/distributions/apache-polygene-java-<RELEASE-VERSION>-bin.tgz.asc" \ + "polygene-dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.asc" ---- And then upload them: [source,shell] ---- -cd zest-dist/dev/zest +cd polygene-dist/dev/polygene svn add * --force -svn commit -m "zest: upload <RELEASE-VERSION> to dist/dev/zest" +svn commit -m "polygene: upload <RELEASE-VERSION> to dist/dev/polygene" ---- == Run the vote -Send a "VOTE" to the mailto:[email protected][developer mailing list] including links to release artifacts. A VOTE always contains two parts. Send an email to the developer mailing list with the subject line: +Send a "VOTE" to the mailto:[email protected][developer mailing list] including links to release artifacts. A VOTE always contains two parts. Send an email to the developer mailing list with the subject line: [source,text] ---- @@ -386,13 +386,13 @@ I am happy to start the VOTE thread for Apache Polygene (Java Edition) <RELEASE- The changelog for this release can be found here: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316820&version=12332997 -Tag: https://git-wip-us.apache.org/repos/asf?p=zest-java.git;a=tag;h=refs/tags/<RELEASE-VERSION>-RC# +Tag: https://git-wip-us.apache.org/repos/asf?p=polygene-java.git;a=tag;h=refs/tags/<RELEASE-VERSION>-RC# -The distributions to be voted on are located here: https://dist.apache.org/repos/dist/dev/zest/ +The distributions to be voted on are located here: https://dist.apache.org/repos/dist/dev/polygene/ -Convenience artifacts in a maven repository are staged here: https://repository.apache.org/content/groups/staging/org/apache/zest/ +Convenience artifacts in a maven repository are staged here: https://repository.apache.org/content/groups/staging/org/apache/polygene/ -Release distributions and convenience artifacts are signed with the following key: https://dist.apache.org/repos/dist/dev/zest/KEYS +Release distributions and convenience artifacts are signed with the following key: https://dist.apache.org/repos/dist/dev/polygene/KEYS Please vote on releasing this package as Apache Polygene (Java Edition) <RELEASE-VERSION>. @@ -420,8 +420,8 @@ Here is a sample template: [source,text] ---- -To: "Polygene Developers List" <[email protected]> -CC: "Polygene Project Management Committee List" <[email protected]> +To: "Polygene Developers List" <[email protected]> +CC: "Polygene Project Management Committee List" <[email protected]> Subject: [RESULT][VOTE] Release Polygene (Java Edition) version <RELEASE-VERSION> Hi, @@ -448,29 +448,29 @@ A single check is better than none. === Download RC -First go downloading the release candidate distributions from https://dist.apache.org/repos/dist/dev/zest/[dist.a.o/repos/dist/dev/zest]. +First go downloading the release candidate distributions from https://dist.apache.org/repos/dist/dev/polygene/[dist.a.o/repos/dist/dev/polygene]. Including `*.MD5`, `*.SHA-512` and `*.asc` files. Put them in a directory: [source,shell] ---- -cd zest-check-rc -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.SHA-512 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.asc -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.MD5 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.SHA-512 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.asc -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.MD5 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.SHA-512 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.asc -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.MD5 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.SHA-512 -wget https://dist.apache.org/repos/dist/dev/zest/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.asc +cd polygene-check-rc +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.SHA-512 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.asc +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.MD5 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.SHA-512 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.asc +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.MD5 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.SHA-512 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.asc +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.MD5 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.SHA-512 +wget https://dist.apache.org/repos/dist/dev/polygene/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.asc ---- @@ -480,11 +480,11 @@ Verify PGP signatures: [source,shell] ---- -cd zest-check-rc -gpg apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.asc -gpg apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.asc -gpg apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.asc -gpg apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.asc +cd polygene-check-rc +gpg apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.asc +gpg apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.asc +gpg apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.asc +gpg apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.asc ---- This must output `gpg: Good signature from "Signer Name <[email protected]>"` for each distribution. @@ -494,11 +494,11 @@ Verify MD5 checksum: [source,shell] ---- -cd zest-check-rc -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz" | md5sum -c - -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip" | md5sum -c - -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz" | md5sum -c - -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-src.zip" | md5sum -c - +cd polygene-check-rc +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz" | md5sum -c - +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip" | md5sum -c - +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz" | md5sum -c - +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip" | md5sum -c - ---- This must output `some-filename: OK` for each distribution. @@ -508,11 +508,11 @@ Verify SHA-512 checksum: [source,shell] ---- -cd zest-check-rc -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz" | shasum -a 512 -c - -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip" | shasum -a 512 -c - -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz" | shasum -a 512 -c - -echo "$(cat apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.MD5) apache-zest-java-<RELEASE-VERSION>-RC#-src.zip" | shasum -a 512 -c - +cd polygene-check-rc +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz" | shasum -a 512 -c - +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip" | shasum -a 512 -c - +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz" | shasum -a 512 -c - +echo "$(cat apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.MD5) apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip" | shasum -a 512 -c - ---- This also must output `some-filename: OK` for each distribution. @@ -524,9 +524,9 @@ Unpack the source distributions, we will use the `zip` distribution here, both s [source,shell] ---- -cd zest-check-rc -unzip apache-zest-java-<RELEASE-VERSION>-RC#-src.zip -cd apache-zest-java-<RELEASE-VERSION>-RC#-src +cd polygene-check-rc +unzip apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip +cd apache-polygene-java-<RELEASE-VERSION>-RC#-src ---- @@ -543,7 +543,7 @@ You can also `grep` the whole source tree. [source,shell] ---- -cd zest-check-rc/apache-zest-java-<RELEASE-VERSION>-RC#-src +cd polygene-check-rc/apache-polygene-java-<RELEASE-VERSION>-RC#-src ./gradlew check assemble ---- @@ -557,7 +557,7 @@ Create and sign the release git tag from the unsigned release candidate tag: [source,shell] ---- -cd zest-java +cd polygene-java git tag -s "<RELEASE-VERSION>" "<RELEASE-VERSION>-RC#" ---- @@ -565,7 +565,7 @@ Push all git changes: [source,shell] ---- -cd zest-java +cd polygene-java git checkout master git push origin master git checkout develop @@ -578,65 +578,65 @@ git push origin --tags Promote the staged Nexus repository so it gets synched to Maven Central by following the https://www.apache.org/dev/publishing-maven-artifacts.html#promote[Promoting a repo] guide. -Move the release distributions, checksums and signatures from https://dist.apache.org/repos/dist/dev/zest/[zest-dist/dev/zest] to https://dist.apache.org/repos/dist/release/zest/[zest-dist/release/zest]: +Move the release distributions, checksums and signatures from https://dist.apache.org/repos/dist/dev/polygene/[polygene-dist/dev/polygene] to https://dist.apache.org/repos/dist/release/polygene/[polygene-dist/release/polygene]: [source,shell] ---- -cd zest-dist +cd polygene-dist # Source ZIP -export DIST_DEV_URL="https://dist.apache.org/repos/dist/dev/zest" -export DIST_RELEASE_URL="https://dist.apache.org/repos/dist/release/zest" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.zip" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.MD5" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.zip.MD5" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.SHA-512" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.zip.SHA-512" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.zip.asc" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.zip.asc" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" +export DIST_DEV_URL="https://dist.apache.org/repos/dist/dev/polygene" +export DIST_RELEASE_URL="https://dist.apache.org/repos/dist/release/polygene" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.zip" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.MD5" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.zip.MD5" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.SHA-512" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.zip.SHA-512" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.zip.asc" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.zip.asc" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" # Source TAR.GZ -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.tgz" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.MD5" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.tgz.MD5" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.SHA-512" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.tgz.SHA-512" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-src.tgz.asc" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-src.tgz.asc" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.tgz" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.MD5" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.tgz.MD5" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.SHA-512" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.tgz.SHA-512" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-src.tgz.asc" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-src.tgz.asc" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" # Binary ZIP -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.zip" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.MD5" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.zip.MD5" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.SHA-512" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.zip.SHA-512" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.zip.asc" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.zip.asc" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.zip" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.MD5" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.zip.MD5" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.SHA-512" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.zip.SHA-512" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.zip.asc" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.zip.asc" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" # Binary TAR.GZ -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.tgz" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.tgz.MD5" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.SHA-512" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.tgz.SHA-512" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" -svn move "$DIST_DEV_URL/apache-zest-java-<RELEASE-VERSION>-RC#-bin.tgz.asc" \ - "$DIST_RELEASE_URL/apache-zest-java-<RELEASE-VERSION>-bin.tgz.asc" \ - -m "zest: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.tgz" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.MD5" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.tgz.MD5" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.SHA-512" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.tgz.SHA-512" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" +svn move "$DIST_DEV_URL/apache-polygene-java-<RELEASE-VERSION>-RC#-bin.tgz.asc" \ + "$DIST_RELEASE_URL/apache-polygene-java-<RELEASE-VERSION>-bin.tgz.asc" \ + -m "polygene: promoting release <RELEASE-VERSION> distributions" ---- This produces one commit per file but keep svn history and runs fast, without re-uploading the distributions. @@ -665,24 +665,24 @@ Generate the documentation and javadoc minisite: [source,shell] ---- -cd zest-java +cd polygene-java ./gradlew -Dversion="<RELEASE-VERSION>" archiveJavadocs manuals ---- -This will automatically put all files into the `zest-web` website repository. +This will automatically put all files into the `polygene-web` website repository. Create a new post on the Polygene⢠website by creating a new Markdown file: [source,shell] ---- -cd zest-web -touch "site/src/_posts/YYYY-MM-DD-apache-zest-java-<RELEASE-VERSION>.md" +cd polygene-web +touch "site/src/_posts/YYYY-MM-DD-apache-polygene-java-<RELEASE-VERSION>.md" open !$ ---- You can reuse the Markdown formatted announcement content. -Add the new released version in `zest-web/site/content/java/versions.json` below the `latest` entry: +Add the new released version in `polygene-web/site/content/java/versions.json` below the `latest` entry: [source,js] ---- @@ -695,13 +695,13 @@ Add the new released version in `zest-web/site/content/java/versions.json` below } ---- -Finally, edit `zest-web/site/src/_data/releases.yml` with the new release data. +Finally, edit `polygene-web/site/src/_data/releases.yml` with the new release data. Upmost is the latest: [source,text] ---- - version: <RELEASE-VERSION> - announcement: YYYY/MM/DD/apache-zest-java-<RELEASE-VERSION> + announcement: YYYY/MM/DD/apache-polygene-java-<RELEASE-VERSION> signer: John Doe pgpId: FB751943 ---- @@ -710,7 +710,7 @@ You can run the Polygene⢠website locally: [source,shell] ---- -cd zest-web +cd polygene-web jekyll serve ---- @@ -720,7 +720,7 @@ Once you are satisfied with the changes, build the production website: [source,shell] ---- -cd zest-web +cd polygene-web jekyll build ---- @@ -729,7 +729,7 @@ And publish it: [source,shell] ---- svn add * --force -svn commit -m "zest: update website" +svn commit -m "polygene: update website" ---- @@ -740,14 +740,14 @@ Register the new release at https://reporter.apache.org/[reporter.apache.org] === Announce -Finally, send an announcement to mailto:[email protected][dev@] and mailto:[email protected][users@] mailing lists. Email announcements should have the subject line: +Finally, send an announcement to mailto:[email protected][dev@] and mailto:[email protected][users@] mailing lists. Email announcements should have the subject line: [source,text] ---- [ANNOUNCE] Released Polygene (Java Edition) version <RELEASE-VERSION> ---- -The announcement email should contains the release-notes as text, remember they are in the `apache-zest-java-<RELEASE-VERSION>-release-notes.txt` file you created earlier. +The announcement email should contains the release-notes as text, remember they are in the `apache-polygene-java-<RELEASE-VERSION>-release-notes.txt` file you created earlier. @@ -762,7 +762,7 @@ Remember, we created a release candidate branch and tags, no signed release tag. [source,shell] ---- -cd zest-java +cd polygene-java git checkout master git push origin master git checkout develop @@ -775,14 +775,14 @@ git push origin --tags Drop the Nexus staging repository by following the https://www.apache.org/dev/publishing-maven-artifacts.html#drop[Dropping a repo] guide. -Drop distributions, checksums and signatures from https://dist.apache.org/repos/dist/dev/zest/[zest-dist/dev/zest] +Drop distributions, checksums and signatures from https://dist.apache.org/repos/dist/dev/polygene/[polygene-dist/dev/polygene] [source,shell] ---- -cd zest-dist/dev/zest/ +cd polygene-dist/dev/polygene/ rm "*<RELEASE-VERSION>-RC#*.*" svn add * --force -svn commit -m "zest: dropping <RELEASE-VERSION>-RC# from dist/dev/zest as the vote failed" +svn commit -m "polygene: dropping <RELEASE-VERSION>-RC# from dist/dev/polygene as the vote failed" ---- http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/tutorials/howto-writing-docs.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/tutorials/howto-writing-docs.txt b/manual/src/docs/tutorials/howto-writing-docs.txt index 438b936..35f7deb 100644 --- a/manual/src/docs/tutorials/howto-writing-docs.txt +++ b/manual/src/docs/tutorials/howto-writing-docs.txt @@ -127,28 +127,28 @@ External links are added like this: [source] ---- -https://zest.apache.org/[Link text here] +https://polygene.apache.org/[Link text here] ---- -Which renders like: https://zest.apache.org/[Link text here] +Which renders like: https://polygene.apache.org/[Link text here] For short links it may be better not to add a link text, just do: [source] ---- -https://zest.apache.org/ +https://polygene.apache.org/ ---- -Which renders like: https://zest.apache.org/ +Which renders like: https://polygene.apache.org/ It's ok to have a dot right after the URL, it won't be part of the link. [source] ---- -https://zest.apache.org/. +https://polygene.apache.org/. ---- -Which renders like: https://zest.apache.org/. +Which renders like: https://polygene.apache.org/. == Text Formatting == @@ -226,7 +226,7 @@ Most source code that is included in the documentation should be extract via +SN ---- [snippet,java] ----------- - source=tutorials/introduction/tenminutes/src/main/java/org/apache/zest/demo/tenminute/OrderEntity.java + source=tutorials/introduction/tenminutes/src/main/java/org/apache/polygene/demo/tenminute/OrderEntity.java tag=mainClass ----------- ---- @@ -259,7 +259,7 @@ which will be rendered as; [snippet,java] ----------- -source=tutorials/introduction/tenminutes/src/main/java/org/apache/zest/demo/tenminute/OrderEntity.java +source=tutorials/introduction/tenminutes/src/main/java/org/apache/polygene/demo/tenminute/OrderEntity.java tag=mainClass ----------- @@ -322,8 +322,8 @@ For other highlighters we could add see http://alexgorbatchev.com/SyntaxHighligh Common attributes you can use in documents: -* \{zest-revnumber} - rendered as "{zest-revnumber}" -* \{zest-importdir} - rendered as "{zest-importdir}" +* \{polygene-revnumber} - rendered as "{polygene-revnumber}" +* \{polygene-importdir} - rendered as "{polygene-importdir}" These can substitute part of URLs that point to for example APIdocs or source code. http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/userguide/core.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/userguide/core.txt b/manual/src/docs/userguide/core.txt index 7c962a5..4c3da23 100644 --- a/manual/src/docs/userguide/core.txt +++ b/manual/src/docs/userguide/core.txt @@ -78,7 +78,7 @@ applications during the bootstrap phase. === Core Runtime === //____ Your code should *never*, *ever*, have a dependency on Polygene⢠Core Runtime. If you think you need this, you should -probably contact [email protected] and see if your usecase can either be solved in a existing way or +probably contact [email protected] and see if your usecase can either be solved in a existing way or perhaps that a new Core Extension SPI is needed. <<core-runtime,Learn more>> http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/userguide/index.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/userguide/index.txt b/manual/src/docs/userguide/index.txt index c8190ef..a2fda6a 100644 --- a/manual/src/docs/userguide/index.txt +++ b/manual/src/docs/userguide/index.txt @@ -19,9 +19,9 @@ = Polygene⢠v{revnumber} User Guide = -:zest-version: {revnumber} -:zest-buildnumber: {revnumber} -:zest-git-tag: {gitversion} +:polygene-version: {revnumber} +:polygene-buildnumber: {revnumber} +:polygene-git-tag: {gitversion} :leveloffset: {level2} http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/userguide/preface.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/userguide/preface.txt b/manual/src/docs/userguide/preface.txt index f8836ea..5831837 100644 --- a/manual/src/docs/userguide/preface.txt +++ b/manual/src/docs/userguide/preface.txt @@ -20,7 +20,7 @@ [[preface, Preface]] = Preface = -This is the reference manual for Polygene⢠version {zest-version}, written by members of the Polygene⢠Community. +This is the reference manual for Polygene⢠version {polygene-version}, written by members of the Polygene⢠Community. The main parts of the manual are: http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/website/intro.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/website/intro.txt b/manual/src/docs/website/intro.txt index 66142b2..c5524f2 100644 --- a/manual/src/docs/website/intro.txt +++ b/manual/src/docs/website/intro.txt @@ -40,7 +40,7 @@ include::../../../../tutorials/introduction/src/docs/what-is-composite-oriented- :leveloffset: 2 -// include::../../../../tutorials/introduction/src/docs/zest-cop.txt[] +// include::../../../../tutorials/introduction/src/docs/polygene-cop.txt[] // // :leveloffset: 2 http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/website/javadocs.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/website/javadocs.txt b/manual/src/docs/website/javadocs.txt index ecf1889..5da195e 100644 --- a/manual/src/docs/website/javadocs.txt +++ b/manual/src/docs/website/javadocs.txt @@ -37,24 +37,24 @@ In this section you will find links to JavaDocs corresponding to this Apache Pol Links to _"alias versions"_ JavaDocs: -* https://zest.apache.org/java/latest/javadocs/[Latest Release (`master` branch)] -* https://zest.apache.org/java/develop/javadocs/[Development (`develop` branch)] +* https://polygene.apache.org/java/latest/javadocs/[Latest Release (`master` branch)] +* https://polygene.apache.org/java/develop/javadocs/[Development (`develop` branch)] === Previous Releases === Archived JavaDocs of previous releases: -* https://zest.apache.org/java/2.0/javadocs/[Release 2.0] -* https://zest.apache.org/java/1.4.1/javadocs/[Release 1.4.1] -* https://zest.apache.org/java/1.4/javadocs/[Release 1.4] -* https://zest.apache.org/java/1.3/javadocs/[Release 1.3] +* https://polygene.apache.org/java/2.0/javadocs/[Release 2.0] +* https://polygene.apache.org/java/1.4.1/javadocs/[Release 1.4.1] +* https://polygene.apache.org/java/1.4/javadocs/[Release 1.4] +* https://polygene.apache.org/java/1.3/javadocs/[Release 1.3] * Release 1.2 -** https://zest.apache.org/java/1.2/javadocs/api[Core API] -** https://zest.apache.org/java/1.2/javadocs/bootstrap[Core Bootstrap] -** https://zest.apache.org/java/1.2/javadocs/spi[Core SPI] +** https://polygene.apache.org/java/1.2/javadocs/api[Core API] +** https://polygene.apache.org/java/1.2/javadocs/bootstrap[Core Bootstrap] +** https://polygene.apache.org/java/1.2/javadocs/spi[Core SPI] * Release 1.0 -** https://zest.apache.org/java/1.0/javadocs/api[Core API] -** https://zest.apache.org/java/1.0/javadocs/bootstrap[Core Bootstrap] -** https://zest.apache.org/java/1.0/javadocs/spi[Core SPI] +** https://polygene.apache.org/java/1.0/javadocs/api[Core API] +** https://polygene.apache.org/java/1.0/javadocs/bootstrap[Core Bootstrap] +** https://polygene.apache.org/java/1.0/javadocs/spi[Core SPI] http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/website/samples.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/website/samples.txt b/manual/src/docs/website/samples.txt index 749c73e..3c0d3ec 100644 --- a/manual/src/docs/website/samples.txt +++ b/manual/src/docs/website/samples.txt @@ -35,7 +35,7 @@ The samples are available in the +samples/+ directory of the Polygene⢠SDK. Sample of how DCI (Data, Context & Interaction) pattern is implemented using Polygene⢠core only. -https://github.com/apache/zest-java/tree/develop/samples/dci[Browse Source] +https://github.com/apache/polygene-java/tree/develop/samples/dci[Browse Source] [[sample-dci-cargo,DCI Cargo Sample]] == DCI Cargo Sample == @@ -46,7 +46,7 @@ Polygeneâ¢, for Eric Evans DDD sample. This sample, contributed by Marc Grue, is described in details on his website: http://marcgrue.com/ -https://github.com/apache/zest-java/tree/develop/samples/dci-cargo[Browse Source] +https://github.com/apache/polygene-java/tree/develop/samples/dci-cargo[Browse Source] [[sample-forum,Forum Sample]] == Forum Sample == @@ -54,7 +54,7 @@ https://github.com/apache/zest-java/tree/develop/samples/dci-cargo[Browse Source Sample of how to build a web forum using <<library-rest-server>>, <<extension-es-file>> and <<library-fileconfig>>. -https://github.com/apache/zest-java/tree/develop/samples/forum[Browse Source] +https://github.com/apache/polygene-java/tree/develop/samples/forum[Browse Source] [[sample-car-rental,Car Rental Sample]] == Car Rental Sample == @@ -62,14 +62,14 @@ https://github.com/apache/zest-java/tree/develop/samples/forum[Browse Source] Sample of implementation of a Car Rental application implemented as a Servlet based Webapp packaged as a WAR. -https://github.com/apache/zest-java/tree/develop/samples/rental[Browse Source] +https://github.com/apache/polygene-java/tree/develop/samples/rental[Browse Source] // [[sample-scala,Scala Sample]] // == Scala Sample == // // Sample of how to use Scala with Polygeneâ¢. // -// https://github.com/apache/zest-java/tree/develop/samples/scala[Browse Source] +// https://github.com/apache/polygene-java/tree/develop/samples/scala[Browse Source] [[sample-sql-support,SQL Support Sample]] == SQL Support Sample == @@ -78,7 +78,7 @@ NOTE: This sample use PostgreSQL and drop all of its data once run in order to b Sample of how to fully use Polygene⢠SQL support : <<library-sql>>, <<extension-es-sql>> and <<extension-indexing-sql>>. -https://github.com/apache/zest-java/tree/develop/samples/sql-support[Browse Source] +https://github.com/apache/polygene-java/tree/develop/samples/sql-support[Browse Source] Here are the steps needed to setup the database using the `psql` utility command: @@ -107,4 +107,4 @@ See <<build-system>> if you need some guidance. Sample of how to write custom binders. -https://github.com/apache/zest-java/tree/develop/samples/swing[Browse Source] +https://github.com/apache/polygene-java/tree/develop/samples/swing[Browse Source] http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/website/tutorials.txt ---------------------------------------------------------------------- diff --git a/manual/src/docs/website/tutorials.txt b/manual/src/docs/website/tutorials.txt index 99b60ea..111090b 100644 --- a/manual/src/docs/website/tutorials.txt +++ b/manual/src/docs/website/tutorials.txt @@ -25,7 +25,7 @@ == Overview == TIP: Theses tutorials are based on actual code found in the `tutorials/` directory of the -https://zest.apache.org/download.html[Polygene⢠SDK sources]. You should start your favorite editor and find the code related to +https://polygene.apache.org/download.html[Polygene⢠SDK sources]. You should start your favorite editor and find the code related to this tutorial, run it and play with it. In this section you will find a comprehensive set of tutorials about Composite Oriented Programming using Polygeneâ¢. @@ -48,7 +48,7 @@ Throughout this set of tutorials it will be shown how to depend on Polygene⢠i application, how to create and work with Composites and Services, how to use contextual fragments and leverage properties. -- <<howto-depend-on-zest>> +- <<howto-depend-on-polygene>> - <<howto-assemble-application>> - <<tut-composites>> - <<tut-services>> @@ -94,7 +94,7 @@ include::../../../../tutorials/introduction/twohours/src/docs/two-hours.txt[] :leveloffset: 2 -include::../tutorials/howto-depend-on-zest.txt[] +include::../tutorials/howto-depend-on-polygene.txt[] :leveloffset: 2 http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/docs/website/xsl/head.xsl ---------------------------------------------------------------------- diff --git a/manual/src/docs/website/xsl/head.xsl b/manual/src/docs/website/xsl/head.xsl index f91c23d..85780d1 100644 --- a/manual/src/docs/website/xsl/head.xsl +++ b/manual/src/docs/website/xsl/head.xsl @@ -25,15 +25,15 @@ <!-- favicon --> -<link rel="shortcut icon" href="http://zest.apache.org/favicon.ico" type="image/vnd.microsoft.icon" /> -<link rel="icon" href="http://zest.apache.org/favicon.ico" type="image/x-icon" /> +<link rel="shortcut icon" href="http://polygene.apache.org/favicon.ico" type="image/vnd.microsoft.icon" /> +<link rel="icon" href="http://polygene.apache.org/favicon.ico" type="image/x-icon" /> <!-- style --> <link href="css/shCore.css" rel="stylesheet" type="text/css" /> <link href="css/shCoreEclipse.css" rel="stylesheet" type="text/css" /> <link href="css/shThemeEclipse.css" rel="stylesheet" type="text/css" /> -<link href="css/zest.css" rel="stylesheet" type="text/css" /> +<link href="css/polygene.css" rel="stylesheet" type="text/css" /> <!-- Syntax Highlighter --> http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/main/java/org/apache/polygene/manual/recipes/assemble/Main.java ---------------------------------------------------------------------- diff --git a/manual/src/main/java/org/apache/polygene/manual/recipes/assemble/Main.java b/manual/src/main/java/org/apache/polygene/manual/recipes/assemble/Main.java index 4a7270c..a1c87e2 100644 --- a/manual/src/main/java/org/apache/polygene/manual/recipes/assemble/Main.java +++ b/manual/src/main/java/org/apache/polygene/manual/recipes/assemble/Main.java @@ -28,7 +28,7 @@ import org.apache.polygene.bootstrap.*; // START SNIPPET: main public class Main { - private static Energy4Java zest; + private static Energy4Java polygene; private static Application application; public static void main( String[] args ) @@ -36,10 +36,10 @@ public class Main { // Bootstrap Polygene Runtime // Create a Polygene Runtime - zest = new Energy4Java(); + polygene = new Energy4Java(); // Instantiate the Application Model. - application = zest.newApplication( new ApplicationAssembler() + application = polygene.newApplication( new ApplicationAssembler() { public ApplicationAssembly assemble( ApplicationAssemblyFactory factory ) http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Main.java ---------------------------------------------------------------------- diff --git a/manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Main.java b/manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Main.java index 13fcbac..21370bc 100644 --- a/manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Main.java +++ b/manual/src/main/java/org/apache/polygene/manual/recipes/createEntity/Main.java @@ -27,10 +27,10 @@ public class Main public static void main(String[] args) throws Exception { - Energy4Java zest = new Energy4Java(); + Energy4Java polygene = new Energy4Java(); // Instantiate the Application Model. - Application application = zest.newApplication( new ApplicationAssembler() + Application application = polygene.newApplication( new ApplicationAssembler() { @Override public ApplicationAssembly assemble(ApplicationAssemblyFactory applicationFactory) throws AssemblyException http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/resources/css/progressive-enhancement.css ---------------------------------------------------------------------- diff --git a/manual/src/resources/css/progressive-enhancement.css b/manual/src/resources/css/progressive-enhancement.css index 06b53f3..a6a551b 100644 --- a/manual/src/resources/css/progressive-enhancement.css +++ b/manual/src/resources/css/progressive-enhancement.css @@ -118,7 +118,7 @@ li.jenkins-job div.links > a { /** * Google Groups forum */ -#zest-dev-iframe { +#polygene-dev-iframe { -moz-transform: scale(0.85, 0.85); -webkit-transform: scale(0.85, 0.85); -o-transform: scale(0.85, 0.85); http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/resources/js/progressive-enhancement.js ---------------------------------------------------------------------- diff --git a/manual/src/resources/js/progressive-enhancement.js b/manual/src/resources/js/progressive-enhancement.js index 359a835..75722b0 100644 --- a/manual/src/resources/js/progressive-enhancement.js +++ b/manual/src/resources/js/progressive-enhancement.js @@ -24,7 +24,7 @@ */ $( document ).ready( function($){ - var atHome = window.location.hostname == "zest.apache.org" + var atHome = window.location.hostname == "polygene.apache.org" /** * Glossary. @@ -95,7 +95,7 @@ $( document ).ready( function($){ } else { - return "https://zest.apache.org/java/" + versions[ displayName ]; + return "https://polygene.apache.org/java/" + versions[ displayName ]; } } $( "div.logo select" ).change( function() http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/resources/schemas/2008/dev-status/1/dev-status.xsd ---------------------------------------------------------------------- diff --git a/manual/src/resources/schemas/2008/dev-status/1/dev-status.xsd b/manual/src/resources/schemas/2008/dev-status/1/dev-status.xsd index 37a8f8f..47831aa 100644 --- a/manual/src/resources/schemas/2008/dev-status/1/dev-status.xsd +++ b/manual/src/resources/schemas/2008/dev-status/1/dev-status.xsd @@ -20,9 +20,9 @@ --> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - targetNamespace="http://zest.apache.org/schemas/2008/dev-status/1" + targetNamespace="http://polygene.apache.org/schemas/2008/dev-status/1" xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="module" type="ns:moduleType" xmlns:ns="http://zest.apache.org/schemas/2008/dev-status/1"/> + <xs:element name="module" type="ns:moduleType" xmlns:ns="http://polygene.apache.org/schemas/2008/dev-status/1"/> <xs:complexType name="licensesType"> <xs:sequence> <xs:element type="xs:string" name="license"> @@ -48,8 +48,8 @@ </xs:complexType> <xs:complexType name="moduleType"> <xs:sequence> - <xs:element type="ns:statusType" name="status" xmlns:ns="http://zest.apache.org/schemas/2008/dev-status/1"/> - <xs:element type="ns:licensesType" name="licenses" xmlns:ns="http://zest.apache.org/schemas/2008/dev-status/1"/> + <xs:element type="ns:statusType" name="status" xmlns:ns="http://polygene.apache.org/schemas/2008/dev-status/1"/> + <xs:element type="ns:licensesType" name="licenses" xmlns:ns="http://polygene.apache.org/schemas/2008/dev-status/1"/> </xs:sequence> </xs:complexType> <xs:complexType name="statusType"> http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/xsl/disqus-footer.xsl ---------------------------------------------------------------------- diff --git a/manual/src/xsl/disqus-footer.xsl b/manual/src/xsl/disqus-footer.xsl index 3384040..e4707e1 100644 --- a/manual/src/xsl/disqus-footer.xsl +++ b/manual/src/xsl/disqus-footer.xsl @@ -101,7 +101,7 @@ var disqus_url = window.location; if ( disqus_url.protocol === "http:" || disqus_url.protocol === "https:" ) { - var docsLocation = "http://zest.apache.org/chunked/snapshot/"; + var docsLocation = "http://polygene.apache.org/chunked/snapshot/"; var path = disqus_url.pathname; var position = path.lastIndexOf('/'); if ( position === -1 ) @@ -114,7 +114,7 @@ disqus_url = docsLocation + page; } } - var disqus_shortname = "zest"; + var disqus_shortname = "polygene"; var disqus_developer = 0; (function() { http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/xsl/fo.xsl ---------------------------------------------------------------------- diff --git a/manual/src/xsl/fo.xsl b/manual/src/xsl/fo.xsl index 75ffcc1..50d18af 100644 --- a/manual/src/xsl/fo.xsl +++ b/manual/src/xsl/fo.xsl @@ -346,7 +346,7 @@ <xsl:with-param name="master-reference">titlepage</xsl:with-param> <xsl:with-param name="content"> <fo:block text-align="center" margin-top="5.0cm"> - <fo:external-graphic src="url(images/zest-blue.png)" + <fo:external-graphic src="url(images/polygene-blue.png)" content-width="12cm" content-height="2.94cm" scaling="uniform"/> http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/manual/src/xsl/head-offline.xsl ---------------------------------------------------------------------- diff --git a/manual/src/xsl/head-offline.xsl b/manual/src/xsl/head-offline.xsl index f44ec1c..57fa60a 100644 --- a/manual/src/xsl/head-offline.xsl +++ b/manual/src/xsl/head-offline.xsl @@ -25,15 +25,15 @@ <!-- favicon --> -<link rel="shortcut icon" href="http://zest.apache.org/favicon.ico" type="image/vnd.microsoft.icon" /> -<link rel="icon" href="http://zest.apache.org/favicon.ico" type="image/x-icon" /> +<link rel="shortcut icon" href="http://polygene.apache.org/favicon.ico" type="image/vnd.microsoft.icon" /> +<link rel="icon" href="http://polygene.apache.org/favicon.ico" type="image/x-icon" /> <!-- style --> <link href="css/shCore.css" rel="stylesheet" type="text/css" /> <link href="css/shCoreEclipse.css" rel="stylesheet" type="text/css" /> <link href="css/shThemeEclipse.css" rel="stylesheet" type="text/css" /> -<link href="css/zest.css" rel="stylesheet" type="text/css" /> +<link href="css/polygene.css" rel="stylesheet" type="text/css" /> <!-- Syntax Highlighter --> http://git-wip-us.apache.org/repos/asf/zest-java/blob/54b69c48/samples/dci/build.gradle ---------------------------------------------------------------------- diff --git a/samples/dci/build.gradle b/samples/dci/build.gradle index 08e3487..c5e97c9 100644 --- a/samples/dci/build.gradle +++ b/samples/dci/build.gradle @@ -24,11 +24,11 @@ description = "Sample of how DCI (Data, Context & Interaction) pattern is implem jar { manifest { name = "Apache Polygene⢠Sample - DCI" } } dependencies { - compile zest.core.bootstrap - compile zest.core.runtime /* TODO: Get rid of this dependency */ - compile zest.library( 'constraints' ) + compile polygene.core.bootstrap + compile polygene.core.runtime /* TODO: Get rid of this dependency */ + compile polygene.library( 'constraints' ) - testCompile zest.core.testsupport + testCompile polygene.core.testsupport testCompile libraries.easymock testRuntime libraries.logback
