Hello Jacques, Jacques Le Roux <jacques.le.r...@les7arts.com> writes:
> Any chances? Sorry for the delay, > Le 26/08/2019 à 13:47, Jacques Le Roux a écrit : >> >> If we need the stuff like >> >> org.apache.ofbiz.base.util.test.UtilObjectTests$TestFactoryIntf >> >> Then this one misses an ASL2 header >> >> I was also wondering how they are updated, when compiling? If so how is the >> ASL2 header added? Those files are meta-data files that are maintained manually. They are distributed inside the JAR to allow the ‘ServiceLoader’ API [1] to find the classes implementing a particular interface (corresponding to the file name) efficiently. According to the specification, those files can include comments using the # character so technically we could add the ASL2 header, however I am not sure if we should/must copyright them. What are the recommandation of the ASF regarding meta-data or configuration files? >> Le 22/08/2019 à 22:38, m...@apache.org a écrit : >>> Author: mthl >>> Date: Thu Aug 22 20:38:01 2019 >>> New Revision: 1865717 >>> >>> URL: http://svn.apache.org/viewvc?rev=1865717&view=rev >>> Log: >>> Improved: Separate resources from Java source files >>> (OFBIZ-11161) >>> >>> This moves the resource files in a dedicated "src/main/resources" >>> directory. This convention follows the Maven standard directory >>> layout which is the convention used by default in Gradle. >>> >>> [...] >>> Added: >>> ofbiz/ofbiz-framework/trunk/framework/base/src/main/resources/META-INF/services/org.apache.ofbiz.base.util.test.UtilObjectTests$TestFactoryIntf >>> URL: >>> http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/base/src/main/resources/META-INF/services/org.apache.ofbiz.base.util.test.UtilObjectTests%24TestFactoryIntf?rev=1865717&view=auto >>> ============================================================================== >>> --- >>> ofbiz/ofbiz-framework/trunk/framework/base/src/main/resources/META-INF/services/org.apache.ofbiz.base.util.test.UtilObjectTests$TestFactoryIntf >>> (added) >>> +++ >>> ofbiz/ofbiz-framework/trunk/framework/base/src/main/resources/META-INF/services/org.apache.ofbiz.base.util.test.UtilObjectTests$TestFactoryIntf >>> Thu Aug 22 20:38:01 2019 >>> @@ -0,0 +1,2 @@ >>> +org.apache.ofbiz.base.util.test.UtilObjectTests$FirstTestFactory >>> +org.apache.ofbiz.base.util.test.UtilObjectTests$SecondTestFactory >>> [...] [1] https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37