Re: [Dev] [C5] What is the usage of package-info.java file?

2015-08-27 Thread Manuri Amaya Perera
Hi, There are some JaxB models inside this package right? I think the namespace for the xml schema relevant to a JaxB model is defined here in this file. Eg: for this model[1] I put the relevant namespace here[2] [1]

[Dev] [C5] What is the usage of package-info.java file?

2015-08-26 Thread Aruna Karunarathna
Hi all, Any idea regarding the usage of file [1]. [1]. https://github.com/wso2/carbon-kernel/blob/master/core/src/main/java/org/wso2/carbon/clustering/config/package-info.java Regards, Aruna -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20,

Re: [Dev] [C5] What is the usage of package-info.java file?

2015-08-26 Thread Kavith Lokuhewage
Seems it is also the recommended file to include package level annotations[1]. JSR 175 recommends package-info.java for package level annotations [1] http://docs.oracle.com/javase/7/docs/api/javax/xml/bind/annotation/XmlSchema.html On Thu, Aug 27, 2015 at 11:00 AM, Kavith Lokuhewage

Re: [Dev] [C5] What is the usage of package-info.java file?

2015-08-26 Thread Kavith Lokuhewage
Hi Aruna, Normally package-info.java files are used to add package level doc comments[1]. But the file that you have pointed out, doesn't seems to include any package level doc comment. [1] http://www.intertech.com/Blog/whats-package-info-java-for/ Thanks, On Thu, Aug 27, 2015 at 10:53 AM,