[JBoss JIRA] Created: (SEAMXML-35) Remove / update license headers
by Jozef Hartinger (JIRA)
Remove / update license headers
-------------------------------
Key: SEAMXML-35
URL: https://issues.jboss.org/browse/SEAMXML-35
Project: Seam Config
Issue Type: Task
Affects Versions: 3.0.0.Beta2
Reporter: Jozef Hartinger
Priority: Minor
Fix For: 3.0.0.CR1
Although the module is now distributed under the terms of ASL, some files still contain LGPL headers.
Please either:
a) Remove the license headers
for Java files, this can be done by running
{noformat}for i in `find . -name "*.java"`; do sed -E -n '1h;1!H;${;g;s/\/\*.*package/package/g;p;}' -i $i; done{noformat}
b) Replace the LGPL license headers with ASL license headers
A list of files containing LGPL headers follows:
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/NamespaceResolverTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/SimpleXmlProvider.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/constructor/ValueProvider.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/constructor/ConstructedBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/constructor/ConstructorTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/ProducerQualifier.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/OtherQualifier.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/ProducerBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/ProducerFieldValueBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/QualifiedBean1.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/QualifiedBean2.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/RecieverBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/QualifierTestBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/injection/QualifierAttributesTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/DecoratedInterface.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/Qualifier2.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/MethodValueArrayProducer.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/MethodBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/PrimitiveMethodTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/QualifierEnum.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/MethodTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/MethodTarget.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/MethodValueBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/Decorator1.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/QualifiedType.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/PrimitiveBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/Qualifier1.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/PrimitiveValueProducer.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/method/Qualifier3.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/AbstractXMLTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/SimpleBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/ExtendedQualifier1.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/ExtendedBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/Bean3.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/ScopeOverrideTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/Bean2.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/OverriddenBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/Bean1.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/ScopeOverrideBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/simple/ExtendedQualifier2.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/BootstrapTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/interceptor/Binding.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/interceptor/InterceptorBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/interceptor/InterceptedBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/interceptor/InterceptorTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/stereotype/StereotypeTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/stereotype/Stereotype1.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/Horse.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/ELValueProducer.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/MapFieldValue.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/FieldValueProducer.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/SetArrayFieldValueBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/ELValueBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/Knight.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/InlineBeanFieldValueBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/HorseShoe.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/ArrayFieldValue.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/ELFieldValueBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/SetCollectionFieldValueBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/FieldsetQualifier.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/Sword.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/CollectionFieldValue.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/SetFieldValueBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/FieldValueBean.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/fieldset/SetMapFieldValueBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/producer/Reciever.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/producer/ProducerQualifier.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/producer/Producer.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/producer/MultipleProducerBeanTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/virtualproducer/VirtualProducerFieldTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/types/TypeInjectedClass.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/types/AllowedType.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/types/RestrictedType.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/types/TypesTest.java
./providers/xml/src/test/java/org/jboss/seam/config/xml/test/types/SomeInterface.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/util/XmlParseException.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/util/Reflections.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/util/TypeOccuranceInformation.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/util/FileDataReader.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/util/TypeReader.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/util/XmlObjectConverter.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/util/XmlConfigurationException.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/MapFieldSet.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/ArrayFieldSet.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/SimpleFieldValue.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/FieldValue.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/InlineBeanFieldValue.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/CollectionFieldSet.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/InlineBeanQualifier.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/ELFieldValue.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/InjectionTargetWrapper.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/ConstantFieldValue.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/fieldset/FieldValueObject.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/KeyXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/PropertyXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ClassXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ParameterXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/XmlItemType.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ParametersXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/AnnotationXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ValueXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/EntryXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/XmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/AnnotationUtils.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ModelBuilder.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ArrayXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/AbstractXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ModifiesXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/MethodXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ResultType.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/model/ReplacesXmlItem.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/parser/namespace/CompositeNamespaceElementResolver.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/parser/namespace/InvalidElementException.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/parser/namespace/NamespaceElementResolver.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/parser/namespace/RootNamespaceElementResolver.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/parser/namespace/PackageNamespaceElementResolver.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/parser/ParserMain.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/parser/SaxNode.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/bootstrap/XmlDocument.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/bootstrap/XmlDocumentProvider.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/bootstrap/XmlConfigExtension.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/bootstrap/ResourceLoaderXmlDocumentProvider.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/core/VirtualProducerField.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/core/BeanResultType.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/core/XmlConfiguredBeanLiteral.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/core/XmlId.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/core/BeanResult.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/core/XmlResult.java
./providers/xml/src/main/java/org/jboss/seam/config/xml/core/XmlConfiguredBean.java
./examples/princess-rescue/src/main/java/org/jboss/seam/config/example/princessrescue/ShootEffect.java
./examples/princess-rescue/src/main/java/org/jboss/seam/config/example/princessrescue/GameMessage.java
./examples/princess-rescue/src/main/java/org/jboss/seam/config/example/princessrescue/GameRoom.java
./examples/princess-rescue/src/main/java/org/jboss/seam/config/example/princessrescue/GameManager.java
./examples/princess-rescue/src/main/java/org/jboss/seam/config/example/princessrescue/RoomType.java
./examples/princess-rescue/src/main/java/org/jboss/seam/config/example/princessrescue/Room.java
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Created: (SEAMXML-8) Review all deviations from the original JSR-299 draft spec
by Stuart Douglas (JIRA)
Review all deviations from the original JSR-299 draft spec
-----------------------------------------------------------
Key: SEAMXML-8
URL: https://jira.jboss.org/browse/SEAMXML-8
Project: Seam XML Bean Config
Issue Type: Task
Reporter: Stuart Douglas
There a quite a few changes from the draft spec, I have listed them below:
- shorthand field value syntax
You can do <ns:MyBean fieldName="fieldValue" />
- Producer method / field syntax was:
<ns:Bean>
<ns:field>
<Producer>
<ns:SomeQualifier/>
</Producer>
</ns:field>
</ns:Bean>
I have changed this to:
<ns:Bean>
<ns:field>
<Producer/>
<ns:SomeQualifier/>
</ns:field>
</ns:Bean>
- Setting initial field values
You can now do:
<ns:Bean>
<ns:field>
<Producer/>
<value>10</value>
</ns:field>
<ns:field2>5</ns:field2>
<ns:mapField>
<entry><key>a</key><value>b</value></entry>
<e><k>c</k><v>d</v></e>
</ns:mapField/>
</ns:Bean>
The value key and entry tags can be shorted to just <v><k> and <e> tags. The <value> element was not able to be used like this in the original spec, so it was not possible to apply annotations and set the field value.
- <overrides> and <specializes> tags
- Change of syntax for constructor and method parameters
In the draft spec method parameters are specified as direct children of the method like so:
<ns:Bean>
<ns:method>
<Producer/>
<ns:ParamType1><ns:SomeAnntation/></ns:ParamType1>
<ns:SomeOtherAnnotation/>
<ns:ParamType2/>
</ns:method>
</ns:Bean>
This has been changed to:
<ns:Bean>
<ns:method>
<Producer/>
<ns:SomeOtherAnnotation/>
<parameters>
<ns:ParamType1><ns:SomeAnntation/></ns:ParamType1>
<ns:ParamType2/>
</parameters/>
</ns:method>
</ns:Bean>
- Interface configuration
Annotations / field values applied to an interface via XML are applied to all classes that implement that interface.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months