Buix-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
August 2008
- 1 participants
- 31 discussions
r837 - in trunk/lutinjaxx: . jaxx-swing-action util
by tchemit@users.labs.libre-entreprise.org 24 Aug '08
by tchemit@users.labs.libre-entreprise.org 24 Aug '08
24 Aug '08
Author: tchemit
Date: 2008-08-24 12:02:56 +0000 (Sun, 24 Aug 2008)
New Revision: 837
Added:
trunk/lutinjaxx/LICENSE.txt
trunk/lutinjaxx/THIRD-PARTY.txt
trunk/lutinjaxx/jaxx-swing-action/LICENSE.txt
trunk/lutinjaxx/jaxx-swing-action/THIRD-PARTY.txt
trunk/lutinjaxx/util/LICENSE.txt
trunk/lutinjaxx/util/THIRD-PARTY.txt
Log:
application license lgpl
Added: trunk/lutinjaxx/LICENSE.txt
===================================================================
--- trunk/lutinjaxx/LICENSE.txt (rev 0)
+++ trunk/lutinjaxx/LICENSE.txt 2008-08-24 12:02:56 UTC (rev 837)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Added: trunk/lutinjaxx/THIRD-PARTY.txt
===================================================================
--- trunk/lutinjaxx/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinjaxx/THIRD-PARTY.txt 2008-08-24 12:02:56 UTC (rev 837)
@@ -0,0 +1,17 @@
+List of third-party dependencies grouped by their license type.
+
+Common Public License Version 1.0 :
+ * JUnit (junit:junit:3.8.1 - http://junit.org)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+
+The Apache Software License, Version 2.0 :
+ * Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Log4j (log4j:log4j:1.2.14 - http://logging.apache.org/log4j/docs/)
+
+Unknown license :
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Unnamed - commons-beanutils:commons-beanutils:jar:1.7.0 (commons-beanutils:commons-beanutils:1.7.0 - no url defined)
+ * Unnamed - commons-primitives:commons-primitives:jar:1.0 (commons-primitives:commons-primitives:1.0 - no url defined)
\ No newline at end of file
Added: trunk/lutinjaxx/jaxx-swing-action/LICENSE.txt
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/LICENSE.txt (rev 0)
+++ trunk/lutinjaxx/jaxx-swing-action/LICENSE.txt 2008-08-24 12:02:56 UTC (rev 837)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Added: trunk/lutinjaxx/jaxx-swing-action/THIRD-PARTY.txt
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinjaxx/jaxx-swing-action/THIRD-PARTY.txt 2008-08-24 12:02:56 UTC (rev 837)
@@ -0,0 +1,24 @@
+List of third-party dependencies grouped by their license type.
+
+Common Public License Version 1.0 :
+ * JUnit (junit:junit:3.8.1 - http://junit.org)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+ * core (org.codelutin.jaxx:core:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/core)
+ * runtime (org.codelutin.jaxx:runtime:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/runtime)
+ * util (org.codelutin.jaxx:util:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/util)
+
+MPL 1.1 :
+ * Javassist (jboss:javassist:3.7.ga - http://labs.jboss.com/javassist/)
+
+The Apache Software License, Version 2.0 :
+ * Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Log4j (log4j:log4j:1.2.14 - http://logging.apache.org/log4j/docs/)
+
+Unknown license :
+ * JavaHelp API (javax.help:javahelp:2.0.02 - http://java.sun.com/products/javahelp/index.jsp)
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Unnamed - commons-beanutils:commons-beanutils:jar:1.7.0 (commons-beanutils:commons-beanutils:1.7.0 - no url defined)
+ * Unnamed - commons-primitives:commons-primitives:jar:1.0 (commons-primitives:commons-primitives:1.0 - no url defined)
\ No newline at end of file
Added: trunk/lutinjaxx/util/LICENSE.txt
===================================================================
--- trunk/lutinjaxx/util/LICENSE.txt (rev 0)
+++ trunk/lutinjaxx/util/LICENSE.txt 2008-08-24 12:02:56 UTC (rev 837)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Added: trunk/lutinjaxx/util/THIRD-PARTY.txt
===================================================================
--- trunk/lutinjaxx/util/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinjaxx/util/THIRD-PARTY.txt 2008-08-24 12:02:56 UTC (rev 837)
@@ -0,0 +1,17 @@
+List of third-party dependencies grouped by their license type.
+
+Common Public License Version 1.0 :
+ * JUnit (junit:junit:3.8.1 - http://junit.org)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+
+The Apache Software License, Version 2.0 :
+ * Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Log4j (log4j:log4j:1.2.14 - http://logging.apache.org/log4j/docs/)
+
+Unknown license :
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Unnamed - commons-beanutils:commons-beanutils:jar:1.7.0 (commons-beanutils:commons-beanutils:1.7.0 - no url defined)
+ * Unnamed - commons-primitives:commons-primitives:jar:1.0 (commons-primitives:commons-primitives:1.0 - no url defined)
\ No newline at end of file
1
0
r836 - in trunk/lutinjaxx: . core jaxx-swing jaxx-swing-action jaxx-swing-tab maven runtime util
by tchemit@users.labs.libre-entreprise.org 24 Aug '08
by tchemit@users.labs.libre-entreprise.org 24 Aug '08
24 Aug '08
Author: tchemit
Date: 2008-08-24 11:13:04 +0000 (Sun, 24 Aug 2008)
New Revision: 836
Added:
trunk/lutinjaxx/core/LICENSE.txt
trunk/lutinjaxx/core/THIRD-PARTY.txt
trunk/lutinjaxx/jaxx-swing-tab/LICENSE.txt
trunk/lutinjaxx/jaxx-swing-tab/THIRD-PARTY.txt
trunk/lutinjaxx/maven/LICENSE.txt
trunk/lutinjaxx/maven/THIRD-PARTY.txt
trunk/lutinjaxx/runtime/LICENSE.txt
trunk/lutinjaxx/runtime/THIRD-PARTY.txt
Modified:
trunk/lutinjaxx/jaxx-swing-action/pom.xml
trunk/lutinjaxx/jaxx-swing/pom.xml
trunk/lutinjaxx/pom.xml
trunk/lutinjaxx/util/pom.xml
Log:
application license lgp + utilisation org.codelutin.plugin:maven-i18n-plugin
Added: trunk/lutinjaxx/core/LICENSE.txt
===================================================================
--- trunk/lutinjaxx/core/LICENSE.txt (rev 0)
+++ trunk/lutinjaxx/core/LICENSE.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Added: trunk/lutinjaxx/core/THIRD-PARTY.txt
===================================================================
--- trunk/lutinjaxx/core/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinjaxx/core/THIRD-PARTY.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,19 @@
+List of third-party dependencies grouped by their license type.
+
+Common Public License Version 1.0 :
+ * JUnit (junit:junit:3.8.1 - http://junit.org)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+ * util (org.codelutin.jaxx:util:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/util)
+
+The Apache Software License, Version 2.0 :
+ * Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Log4j (log4j:log4j:1.2.14 - http://logging.apache.org/log4j/docs/)
+
+Unknown license :
+ * JavaHelp API (javax.help:javahelp:2.0.02 - http://java.sun.com/products/javahelp/index.jsp)
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Unnamed - commons-beanutils:commons-beanutils:jar:1.7.0 (commons-beanutils:commons-beanutils:1.7.0 - no url defined)
+ * Unnamed - commons-primitives:commons-primitives:jar:1.0 (commons-primitives:commons-primitives:1.0 - no url defined)
\ No newline at end of file
Modified: trunk/lutinjaxx/jaxx-swing/pom.xml
===================================================================
--- trunk/lutinjaxx/jaxx-swing/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
+++ trunk/lutinjaxx/jaxx-swing/pom.xml 2008-08-24 11:13:04 UTC (rev 836)
@@ -29,19 +29,7 @@
<build>
<plugins>
- <!--plugin>
- <groupId>lutinplugin</groupId>
- <artifactId>maven-i18n-plugin</artifactId>
- <executions>
- <execution>
- <phase>process-classes</phase>
- <goals>
- <goal>parserJava</goal>
- <goal>gen</goal>
- </goals>
- </execution>
- </executions>
- </plugin-->
+
</plugins>
</build>
Modified: trunk/lutinjaxx/jaxx-swing-action/pom.xml
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
+++ trunk/lutinjaxx/jaxx-swing-action/pom.xml 2008-08-24 11:13:04 UTC (rev 836)
@@ -28,7 +28,7 @@
</plugin>
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
</plugin>
Added: trunk/lutinjaxx/jaxx-swing-tab/LICENSE.txt
===================================================================
--- trunk/lutinjaxx/jaxx-swing-tab/LICENSE.txt (rev 0)
+++ trunk/lutinjaxx/jaxx-swing-tab/LICENSE.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Added: trunk/lutinjaxx/jaxx-swing-tab/THIRD-PARTY.txt
===================================================================
--- trunk/lutinjaxx/jaxx-swing-tab/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinjaxx/jaxx-swing-tab/THIRD-PARTY.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,21 @@
+List of third-party dependencies grouped by their license type.
+
+Common Public License Version 1.0 :
+ * JUnit (junit:junit:3.8.1 - http://junit.org)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+ * core (org.codelutin.jaxx:core:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/core)
+ * runtime (org.codelutin.jaxx:runtime:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/runtime)
+ * util (org.codelutin.jaxx:util:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/util)
+
+The Apache Software License, Version 2.0 :
+ * Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Log4j (log4j:log4j:1.2.14 - http://logging.apache.org/log4j/docs/)
+
+Unknown license :
+ * JavaHelp API (javax.help:javahelp:2.0.02 - http://java.sun.com/products/javahelp/index.jsp)
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Unnamed - commons-beanutils:commons-beanutils:jar:1.7.0 (commons-beanutils:commons-beanutils:1.7.0 - no url defined)
+ * Unnamed - commons-primitives:commons-primitives:jar:1.0 (commons-primitives:commons-primitives:1.0 - no url defined)
\ No newline at end of file
Added: trunk/lutinjaxx/maven/LICENSE.txt
===================================================================
--- trunk/lutinjaxx/maven/LICENSE.txt (rev 0)
+++ trunk/lutinjaxx/maven/LICENSE.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Added: trunk/lutinjaxx/maven/THIRD-PARTY.txt
===================================================================
--- trunk/lutinjaxx/maven/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinjaxx/maven/THIRD-PARTY.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,39 @@
+List of third-party dependencies grouped by their license type.
+
+Common Public License Version 1.0 :
+ * JUnit (junit:junit:3.8.1 - http://junit.org)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+ * core (org.codelutin.jaxx:core:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/core)
+ * jaxx-swing (org.codelutin.jaxx:jaxx-swing:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/jaxx-swing)
+ * jaxx-swing-action (org.codelutin.jaxx:jaxx-swing-action:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/jaxx-swing-action)
+ * runtime (org.codelutin.jaxx:runtime:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/runtime)
+ * util (org.codelutin.jaxx:util:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/util)
+
+MPL 1.1 :
+ * Javassist (jboss:javassist:3.7.ga - http://labs.jboss.com/javassist/)
+
+The Apache Software License, Version 2.0 :
+ * Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Log4j (log4j:log4j:1.2.14 - http://logging.apache.org/log4j/docs/)
+ * Maven Artifact (org.apache.maven:maven-artifact:2.0.4 - http://maven.apache.org/maven-artifact)
+ * Maven Artifact Manager (org.apache.maven:maven-artifact-manager:2.0.4 - http://maven.apache.org/maven-artifact-manager)
+ * Maven Local Settings Model (org.apache.maven:maven-settings:2.0.4 - http://maven.apache.org/maven-settings)
+ * Maven Model (org.apache.maven:maven-model:2.0.4 - http://maven.apache.org/maven-model)
+ * Maven Plugin API (org.apache.maven:maven-plugin-api:2.0.4 - http://maven.apache.org/maven-plugin-api)
+ * Maven Profile Model (org.apache.maven:maven-profile:2.0.4 - http://maven.apache.org/maven-profile)
+ * Maven Project Builder (org.apache.maven:maven-project:2.0.4 - http://maven.apache.org/maven-project)
+ * Maven Repository Metadata Model (org.apache.maven:maven-repository-metadata:2.0.4 - http://maven.apache.org/maven-repository-metadata)
+ * Maven Wagon API (org.apache.maven.wagon:wagon-provider-api:1.0-alpha-6 - no url defined)
+
+Unknown license :
+ * Default Plexus Container (org.codehaus.plexus:plexus-container-default:1.0-alpha-9 - no url defined)
+ * JavaHelp API (javax.help:javahelp:2.0.02 - http://java.sun.com/products/javahelp/index.jsp)
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Plexus Common Utilities (org.codehaus.plexus:plexus-utils:1.0.4 - no url defined)
+ * Plexus Common Utilities (org.codehaus.plexus:plexus-utils:1.1 - no url defined)
+ * Unnamed - commons-beanutils:commons-beanutils:jar:1.7.0 (commons-beanutils:commons-beanutils:1.7.0 - no url defined)
+ * Unnamed - commons-primitives:commons-primitives:jar:1.0 (commons-primitives:commons-primitives:1.0 - no url defined)
+ * classworlds (classworlds:classworlds:1.1-alpha-2 - http://classworlds.codehaus.org/)
\ No newline at end of file
Modified: trunk/lutinjaxx/pom.xml
===================================================================
--- trunk/lutinjaxx/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
+++ trunk/lutinjaxx/pom.xml 2008-08-24 11:13:04 UTC (rev 836)
@@ -73,7 +73,7 @@
<pluginManagement>
<plugins>
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<executions>
<execution>
Added: trunk/lutinjaxx/runtime/LICENSE.txt
===================================================================
--- trunk/lutinjaxx/runtime/LICENSE.txt (rev 0)
+++ trunk/lutinjaxx/runtime/LICENSE.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Added: trunk/lutinjaxx/runtime/THIRD-PARTY.txt
===================================================================
--- trunk/lutinjaxx/runtime/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinjaxx/runtime/THIRD-PARTY.txt 2008-08-24 11:13:04 UTC (rev 836)
@@ -0,0 +1,20 @@
+List of third-party dependencies grouped by their license type.
+
+Common Public License Version 1.0 :
+ * JUnit (junit:junit:3.8.1 - http://junit.org)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+ * core (org.codelutin.jaxx:core:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/core)
+ * util (org.codelutin.jaxx:util:0.4 - http://labs.libre-entreprise.org/projects/buix/pom/util)
+
+The Apache Software License, Version 2.0 :
+ * Commons Collections (commons-collections:commons-collections:3.2.1 - http://commons.apache.org/collections/)
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Log4j (log4j:log4j:1.2.14 - http://logging.apache.org/log4j/docs/)
+
+Unknown license :
+ * JavaHelp API (javax.help:javahelp:2.0.02 - http://java.sun.com/products/javahelp/index.jsp)
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Unnamed - commons-beanutils:commons-beanutils:jar:1.7.0 (commons-beanutils:commons-beanutils:1.7.0 - no url defined)
+ * Unnamed - commons-primitives:commons-primitives:jar:1.0 (commons-primitives:commons-primitives:1.0 - no url defined)
\ No newline at end of file
Modified: trunk/lutinjaxx/util/pom.xml
===================================================================
--- trunk/lutinjaxx/util/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
+++ trunk/lutinjaxx/util/pom.xml 2008-08-24 11:13:04 UTC (rev 836)
@@ -20,7 +20,7 @@
<build>
<plugins>
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
</plugin>
</plugins>
1
0
r835 - in trunk/lutinjaxx: . core jaxx-swing-action maven maven/src maven/src/main/java/org/codelutin/jaxx runtime util
by tchemit@users.labs.libre-entreprise.org 12 Aug '08
by tchemit@users.labs.libre-entreprise.org 12 Aug '08
12 Aug '08
Author: tchemit
Date: 2008-08-12 15:11:36 +0000 (Tue, 12 Aug 2008)
New Revision: 835
Added:
trunk/lutinjaxx/maven/src/site/
Modified:
trunk/lutinjaxx/core/pom.xml
trunk/lutinjaxx/jaxx-swing-action/pom.xml
trunk/lutinjaxx/maven/pom.xml
trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java
trunk/lutinjaxx/pom.xml
trunk/lutinjaxx/runtime/pom.xml
trunk/lutinjaxx/util/pom.xml
Log:
version 0.4 : utilisation org.codelutin:lutinproject:2.4 !
documentation du plugin
Modified: trunk/lutinjaxx/core/pom.xml
===================================================================
--- trunk/lutinjaxx/core/pom.xml 2008-08-12 14:06:53 UTC (rev 834)
+++ trunk/lutinjaxx/core/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
@@ -26,11 +26,6 @@
<dependencies>
<dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
-
- <dependency>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>util</artifactId>
</dependency>
Modified: trunk/lutinjaxx/jaxx-swing-action/pom.xml
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/pom.xml 2008-08-12 14:06:53 UTC (rev 834)
+++ trunk/lutinjaxx/jaxx-swing-action/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
@@ -26,19 +26,12 @@
<compilerArgument>-proc:none</compilerArgument>
</configuration>
</plugin>
+
<plugin>
<groupId>lutinplugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>parserJava</goal>
- <goal>gen</goal>
- </goals>
- </execution>
- </executions>
</plugin>
+
</plugins>
</build>
Modified: trunk/lutinjaxx/maven/pom.xml
===================================================================
--- trunk/lutinjaxx/maven/pom.xml 2008-08-12 14:06:53 UTC (rev 834)
+++ trunk/lutinjaxx/maven/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
@@ -15,8 +15,9 @@
<version>0.4</version>
</parent>
+ <!--groupId>org.apache.maven.plugins</groupId-->
<artifactId>maven-jaxx-plugin</artifactId>
- <name>maven plugin</name>
+ <name>maven-jaxx-plugin</name>
<dependencies>
@@ -80,6 +81,11 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ </plugin>
+
</plugins>
</build>
<!-- ************************************************************* -->
Modified: trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java
===================================================================
--- trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java 2008-08-12 14:06:53 UTC (rev 834)
+++ trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java 2008-08-12 15:11:36 UTC (rev 835)
@@ -55,21 +55,21 @@
protected MavenProject project;
/**
- * Répertoire de destination des fichiers java à générer.
+ * Répertoire de destination des fichiers java a generer.
*
* @parameter expression="${jaxx.outJava}" default-value="${basedir}/target/generated-sources/java"
*/
protected File outJava;
/**
- * chemin du répertoire de génération des resources.
+ * chemin du repertoire de generation des resources.
*
* @parameter expression="${jaxx.outResource}" default-value="${basedir}/target/generated-sources/resources"
*/
protected File outResource;
/**
- * chemin du répertoire de compilation des resources.
+ * chemin du repertoire de compilation des resources.
*
* @parameter expression="${jaxx.outClass}" default-value="${basedir}/target/classes"
*/
@@ -83,14 +83,14 @@
protected boolean verbose;
/**
- * Répertoire sources des fichiers jaxx à générer.
+ * Repertoire sources des fichiers jaxx a generer.
*
* @parameter expression="${jaxx.src}" default-value="${maven.src.dir}/main/uimodel"
*/
protected File src;
/**
- * pour optimizer le code compilé ou généré ?
+ * pour optimizer le code compile ou genere ?
*
* @parameter expression="${jaxx.optimize}" default-value="false"
*/
@@ -104,7 +104,7 @@
protected String javaOpts = null;
/**
- * pour filter
+ * pour filter les fichiers a traiter
*
* @parameter expression="${jaxx.includes}"
*/
Modified: trunk/lutinjaxx/pom.xml
===================================================================
--- trunk/lutinjaxx/pom.xml 2008-08-12 14:06:53 UTC (rev 834)
+++ trunk/lutinjaxx/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
@@ -10,9 +10,9 @@
<!-- ************************************************************* -->
<parent>
- <groupId>lutinlib</groupId>
+ <groupId>org.codelutin</groupId>
<artifactId>lutinproject</artifactId>
- <version>2.3</version>
+ <version>2.4</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -43,19 +43,6 @@
<description>Jaxx lutin library main pom</description>
<inceptionYear>2008</inceptionYear>
- <!-- Developpers, contributors... -->
- <developers>
- <developer>
- <name>Tony Chemit</name>
- <email>chemit(a)codelutin.com</email>
- <organization>Code Lutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Developer</role>
- </roles>
- </developer>
- </developers>
-
<!-- ************************************************************* -->
<!-- *** Build Settings ****************************************** -->
<!-- ************************************************************* -->
@@ -72,18 +59,6 @@
<labs.project>buix</labs.project>
- <!-- par defaut, mode non verbeux -->
- <!--maven.verbose>false</maven.verbose-->
- <!-- compile with ? -->
- <maven.compile.source>1.6</maven.compile.source>
- <maven.compile.target>1.6</maven.compile.target>
- <maven.compile.encoding>UTF-8</maven.compile.encoding>
-
- <!-- Lists URL -->
- <labs.lists>
- http://lists.labs.libre-entreprise.org/mailman/listinfo/lutinutil
- </labs.lists>
-
<!-- maven will suffix with /${pom.artifactId} -->
<maven.scm.developerConnection>scm:svn:svn+ssh://${username}@${labs.host}/svnroot/buix/trunk
</maven.scm.developerConnection>
@@ -93,101 +68,34 @@
</properties>
- <profiles>
- <profile>
- <id>project</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <!-- test (par defaut, on ne les execute pas) -->
- <maven.test.skip>true</maven.test.skip>
- <maven.reports.generate>false</maven.reports.generate>
- </properties>
- </profile>
- <profile>
- <id>tests</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <!-- test (par defaut, on les execute) -->
- <maven.test.skip>true</maven.test.skip>
- <maven.reports.generate>false</maven.reports.generate>
- </properties>
- </profile>
- <profile>
- <id>site</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <!-- test (par defaut, on ne les execute pas) -->
- <maven.test.skip>false</maven.test.skip>
- <maven.reports.generate>true</maven.reports.generate>
- </properties>
- </profile>
- </profiles>
-
<build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compile.source}</source>
- <target>${maven.compile.target}</target>
- <encoding>${maven.compile.encoding}</encoding>
- </configuration>
- </plugin>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>lutinplugin</groupId>
+ <artifactId>maven-i18n-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>parserJava</goal>
+ <goal>gen</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <encoding>${maven.compile.encoding}</encoding>
- </configuration>
- </plugin>
+ <plugins>
<plugin>
- <groupId>lutinplugin</groupId>
- <artifactId>maven-i18n-plugin</artifactId>
- <configuration>
- <bundles>
- <param>fr_FR</param>
- <param>en_GB</param>
- </bundles>
- <src>${maven.src.dir}/main/resources/i18n</src>
- <defaultBasedir>${maven.src.dir}/main/java</defaultBasedir>
- <keysModifier>false</keysModifier>
- <keepBackup>false</keepBackup>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
</plugin>
+
</plugins>
+
</build>
<dependencyManagement>
@@ -232,14 +140,6 @@
</dependency>
<dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1</version>
- <scope>compile</scope>
- </dependency>
-
-
- <dependency>
<groupId>com.sun</groupId>
<artifactId>dt</artifactId>
<version>${java.version}</version>
@@ -253,14 +153,7 @@
<version>2.0.02</version>
</dependency>
- <!-- Plugins -->
<dependency>
- <groupId>lutinplugin</groupId>
- <artifactId>maven-i18n-plugin</artifactId>
- <version>0.4</version>
- </dependency>
-
- <dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0.4</version>
Modified: trunk/lutinjaxx/runtime/pom.xml
===================================================================
--- trunk/lutinjaxx/runtime/pom.xml 2008-08-12 14:06:53 UTC (rev 834)
+++ trunk/lutinjaxx/runtime/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
@@ -17,12 +17,6 @@
<version>0.4</version>
<description>Jaxx lutin library runtime</description>
- <build>
- <plugins>
-
- </plugins>
- </build>
-
<dependencies>
<dependency>
Modified: trunk/lutinjaxx/util/pom.xml
===================================================================
--- trunk/lutinjaxx/util/pom.xml 2008-08-12 14:06:53 UTC (rev 834)
+++ trunk/lutinjaxx/util/pom.xml 2008-08-12 15:11:36 UTC (rev 835)
@@ -22,20 +22,8 @@
<plugin>
<groupId>lutinplugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>parserJava</goal>
- <goal>gen</goal>
- </goals>
- </execution>
- </executions>
</plugin>
</plugins>
</build>
- <dependencies>
-
- </dependencies>
</project>
1
0
r834 - trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx
by tchemit@users.labs.libre-entreprise.org 12 Aug '08
by tchemit@users.labs.libre-entreprise.org 12 Aug '08
12 Aug '08
Author: tchemit
Date: 2008-08-12 14:06:53 +0000 (Tue, 12 Aug 2008)
New Revision: 834
Modified:
trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java
Log:
use process-sources phase since maven-i18n-plugin will use generate-resources ...
Modified: trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java
===================================================================
--- trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java 2008-08-12 14:06:40 UTC (rev 833)
+++ trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java 2008-08-12 14:06:53 UTC (rev 834)
@@ -48,6 +48,7 @@
/**
* Dépendance du projet.
+ *
* @parameter default-value="${project}"
* @readonly
*/
@@ -55,48 +56,56 @@
/**
* Répertoire de destination des fichiers java à générer.
+ *
* @parameter expression="${jaxx.outJava}" default-value="${basedir}/target/generated-sources/java"
*/
protected File outJava;
/**
* chemin du répertoire de génération des resources.
+ *
* @parameter expression="${jaxx.outResource}" default-value="${basedir}/target/generated-sources/resources"
*/
protected File outResource;
/**
* chemin du répertoire de compilation des resources.
+ *
* @parameter expression="${jaxx.outClass}" default-value="${basedir}/target/classes"
*/
protected File outClass;
/**
* verbose flag
+ *
* @parameter expression="${jaxx.verbose}" default-value="false"
*/
protected boolean verbose;
/**
* Répertoire sources des fichiers jaxx à générer.
+ *
* @parameter expression="${jaxx.src}" default-value="${maven.src.dir}/main/uimodel"
*/
protected File src;
/**
* pour optimizer le code compilé ou généré ?
+ *
* @parameter expression="${jaxx.optimize}" default-value="false"
*/
protected boolean optimize;
/**
* les options de la compilation
+ *
* @parameter expression="${jaxx.javaOpts}"
*/
protected String javaOpts = null;
/**
* pour filter
+ *
* @parameter expression="${jaxx.includes}"
*/
protected String[] includes;
1
0
r833 - trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx
by tchemit@users.labs.libre-entreprise.org 12 Aug '08
by tchemit@users.labs.libre-entreprise.org 12 Aug '08
12 Aug '08
Author: tchemit
Date: 2008-08-12 14:06:40 +0000 (Tue, 12 Aug 2008)
New Revision: 833
Modified:
trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java
Log:
use process-sources phase since maven-i18n-plugin will use generate-resources ...
Modified: trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java
===================================================================
--- trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java 2008-08-11 10:04:09 UTC (rev 832)
+++ trunk/lutinjaxx/maven/src/main/java/org/codelutin/jaxx/JaxxGeneratorMojo.java 2008-08-12 14:06:40 UTC (rev 833)
@@ -42,61 +42,61 @@
*
* @author chemit
* @goal generate
- * @phase process-resources
+ * @phase process-sources
*/
public class JaxxGeneratorMojo extends AbstractMojo {
/**
- * @description Dépendance du projet.
+ * Dépendance du projet.
* @parameter default-value="${project}"
* @readonly
*/
protected MavenProject project;
/**
- * @description Répertoire de destination des fichiers java à générer.
+ * Répertoire de destination des fichiers java à générer.
* @parameter expression="${jaxx.outJava}" default-value="${basedir}/target/generated-sources/java"
*/
protected File outJava;
/**
- * @description chemin du répertoire de génération des resources.
+ * chemin du répertoire de génération des resources.
* @parameter expression="${jaxx.outResource}" default-value="${basedir}/target/generated-sources/resources"
*/
protected File outResource;
/**
- * @description chemin du répertoire de compilation des resources.
+ * chemin du répertoire de compilation des resources.
* @parameter expression="${jaxx.outClass}" default-value="${basedir}/target/classes"
*/
protected File outClass;
/**
- * @description verbose
+ * verbose flag
* @parameter expression="${jaxx.verbose}" default-value="false"
*/
protected boolean verbose;
/**
- * @description Répertoire sources des fichiers jaxx à générer.
+ * Répertoire sources des fichiers jaxx à générer.
* @parameter expression="${jaxx.src}" default-value="${maven.src.dir}/main/uimodel"
*/
protected File src;
/**
- * @description pour optimizer le code compilé ou généré ?
+ * pour optimizer le code compilé ou généré ?
* @parameter expression="${jaxx.optimize}" default-value="false"
*/
protected boolean optimize;
/**
- * @description les options de la compilation
+ * les options de la compilation
* @parameter expression="${jaxx.javaOpts}"
*/
protected String javaOpts = null;
/**
- * @description pour filter
+ * pour filter
* @parameter expression="${jaxx.includes}"
*/
protected String[] includes;
1
0
Author: tchemit
Date: 2008-08-11 10:04:09 +0000 (Mon, 11 Aug 2008)
New Revision: 832
Modified:
trunk/lutinjaxx/pom.xml
Log:
passage en version 0.4 (version stable int?\195?\169grant les derni?\195?\168re corrections sur le processor d'annotation) : resources en UTF-8
Modified: trunk/lutinjaxx/pom.xml
===================================================================
--- trunk/lutinjaxx/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
+++ trunk/lutinjaxx/pom.xml 2008-08-11 10:04:09 UTC (rev 832)
@@ -65,7 +65,7 @@
<properties>
<!-- current version -->
- <current.version>0.3</current.version>
+ <current.version>0.4</current.version>
<!-- id du projet du labs -->
<labs.id>38</labs.id>
@@ -77,7 +77,7 @@
<!-- compile with ? -->
<maven.compile.source>1.6</maven.compile.source>
<maven.compile.target>1.6</maven.compile.target>
- <maven.compile.compile>UTF-8</maven.compile.compile>
+ <maven.compile.encoding>UTF-8</maven.compile.encoding>
<!-- Lists URL -->
<labs.lists>
@@ -131,7 +131,25 @@
<build>
<plugins>
+
<plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compile.source}</source>
+ <target>${maven.compile.target}</target>
+ <encoding>${maven.compile.encoding}</encoding>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <encoding>${maven.compile.encoding}</encoding>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>lutinplugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<configuration>
1
0
r831 - in trunk/lutinjaxx: . core jaxx-swing jaxx-swing-action jaxx-swing-tab maven runtime util
by tchemit@users.labs.libre-entreprise.org 11 Aug '08
by tchemit@users.labs.libre-entreprise.org 11 Aug '08
11 Aug '08
Author: tchemit
Date: 2008-08-11 09:52:40 +0000 (Mon, 11 Aug 2008)
New Revision: 831
Modified:
trunk/lutinjaxx/core/pom.xml
trunk/lutinjaxx/jaxx-swing-action/pom.xml
trunk/lutinjaxx/jaxx-swing-tab/pom.xml
trunk/lutinjaxx/jaxx-swing/pom.xml
trunk/lutinjaxx/maven/pom.xml
trunk/lutinjaxx/pom.xml
trunk/lutinjaxx/runtime/pom.xml
trunk/lutinjaxx/util/pom.xml
Log:
passage en version 0.4 (version stable int?\195?\169grant les derni?\195?\168re corrections sur le processor d'annotation)
Modified: trunk/lutinjaxx/core/pom.xml
===================================================================
--- trunk/lutinjaxx/core/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/core/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -7,14 +7,14 @@
<parent>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>pom</artifactId>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
</parent>
<artifactId>core</artifactId>
<name>core</name>
<packaging>jar</packaging>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>Jaxx lutin library core</description>
<build>
Modified: trunk/lutinjaxx/jaxx-swing/pom.xml
===================================================================
--- trunk/lutinjaxx/jaxx-swing/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/jaxx-swing/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -7,14 +7,14 @@
<parent>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>pom</artifactId>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
</parent>
<artifactId>jaxx-swing</artifactId>
<name>jaxx-swing</name>
<packaging>jar</packaging>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>Jaxx library swing extension</description>
<dependencies>
Modified: trunk/lutinjaxx/jaxx-swing-action/pom.xml
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/jaxx-swing-action/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -7,14 +7,14 @@
<parent>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>pom</artifactId>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
</parent>
<artifactId>jaxx-swing-action</artifactId>
<name>jaxx-swing-action</name>
<packaging>jar</packaging>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>Jaxx lutin library swing actions extension</description>
<build>
Modified: trunk/lutinjaxx/jaxx-swing-tab/pom.xml
===================================================================
--- trunk/lutinjaxx/jaxx-swing-tab/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/jaxx-swing-tab/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -7,14 +7,14 @@
<parent>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>pom</artifactId>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
</parent>
<artifactId>jaxx-swing-tab</artifactId>
<name>jaxx-swing-tab</name>
<packaging>jar</packaging>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>Jaxx lutin library swing tab extension</description>
<build>
Modified: trunk/lutinjaxx/maven/pom.xml
===================================================================
--- trunk/lutinjaxx/maven/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/maven/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -12,7 +12,7 @@
<parent>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>pom</artifactId>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
</parent>
<artifactId>maven-jaxx-plugin</artifactId>
@@ -63,7 +63,7 @@
<!-- *** Project Information ************************************* -->
<!-- ************************************************************* -->
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>
Maven 2 plugin to generate java source from ui interface definitions
Modified: trunk/lutinjaxx/pom.xml
===================================================================
--- trunk/lutinjaxx/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -39,7 +39,7 @@
<!-- *** Project Information ************************************* -->
<!-- ************************************************************* -->
<name>pom</name>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>Jaxx lutin library main pom</description>
<inceptionYear>2008</inceptionYear>
Modified: trunk/lutinjaxx/runtime/pom.xml
===================================================================
--- trunk/lutinjaxx/runtime/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/runtime/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -7,14 +7,14 @@
<parent>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>pom</artifactId>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
</parent>
<artifactId>runtime</artifactId>
<name>runtime</name>
<packaging>jar</packaging>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>Jaxx lutin library runtime</description>
<build>
Modified: trunk/lutinjaxx/util/pom.xml
===================================================================
--- trunk/lutinjaxx/util/pom.xml 2008-08-11 09:51:33 UTC (rev 830)
+++ trunk/lutinjaxx/util/pom.xml 2008-08-11 09:52:40 UTC (rev 831)
@@ -7,14 +7,14 @@
<parent>
<groupId>org.codelutin.jaxx</groupId>
<artifactId>pom</artifactId>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
</parent>
<artifactId>util</artifactId>
<name>util</name>
<packaging>jar</packaging>
- <version>0.3-SNAPSHOT</version>
+ <version>0.4</version>
<description>Jaxx lutin library utility</description>
<build>
1
0
r830 - trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action
by tchemit@users.labs.libre-entreprise.org 11 Aug '08
by tchemit@users.labs.libre-entreprise.org 11 Aug '08
11 Aug '08
Author: tchemit
Date: 2008-08-11 09:51:33 +0000 (Mon, 11 Aug 2008)
New Revision: 830
Modified:
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java
Log:
javadoc
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java 2008-08-11 08:43:07 UTC (rev 829)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java 2008-08-11 09:51:33 UTC (rev 830)
@@ -64,24 +64,31 @@
* @author chemit */
public class ActionAnnotationProcessing extends AbstractProcessor {
- //protected ActionProviderAnnotation providerConfig;
-
+ /** the {@link ActionProvider} service declaration relative path */
protected String providerDeclarationLocation = "META-INF/services/" + ActionProvider.class.getName();
+ /** the relative path where to store actions mapping, will be complete with the name of base action to use */
protected String actionsFileLocation = ActionProviderFromProperties.actionsFileLocation;
+ /** verbose flag (can be activated by passing an annotation parameter to compiler via <code>-Ai18n.verbose</code>) */
protected boolean verbose;
+ /** the list of class processed by the processor */
protected java.util.List<String> processedClass;
+ /** the map of actions processed, keys are the action commaned and values are fqn of implementations */
protected Properties actions;
+ /** Extractor of values of annotations found */
protected AnnotationValueVisitor<Object, Void> annotationValueExtractor;
+ /** the type element of the base action to be used by {@link ActionProvider} */
protected TypeElement baseActionElement;
+ /** the fqn of the action provider to generate */
protected String providerFQN;
+ /** the fqn of the base action class to be used */
protected String baseFQN;
@Override
@@ -108,18 +115,16 @@
baseActionElement = (TypeElement) annotatedWith.iterator().next();
- //fixme CheckbaseActionElement is assigned from MyAbstractAction
- //if (!baseActionElement.getSuperclass()) ...
+ //fixme it is not possible to know if baseActionElement is assigned from MyAbstractAction, since we
+ // can NOT garanted at this stage thaht the class was compiled...
- //providerConfig = baseActionElement.getAnnotation(ActionProviderAnnotation.class);
-
baseFQN = baseActionElement.asType().toString();
- int index = baseFQN.lastIndexOf(".");
- String baseSimpleName = baseFQN.substring(index + 1);
- String packageName = baseFQN.substring(0, index + 1);
+ int index = baseFQN.lastIndexOf(".") + 1;
+ String baseSimpleName = baseFQN.substring(index);
+ String packageName = baseFQN.substring(0, index);
providerFQN = packageName + baseSimpleName + "Provider";
- printInfo("providerFQN " + packageName + "," + baseSimpleName + "," + providerFQN);
+ printDebug("providerFQN " + providerFQN);
actionsFileLocation = String.format(actionsFileLocation, baseSimpleName);
continue;
}
1
0
r829 - in trunk/lutinjaxx: jaxx-swing-action/src/main/java/org/codelutin/jaxx/action util/src/main/java/org/codelutin/jaxx/util
by tchemit@users.labs.libre-entreprise.org 11 Aug '08
by tchemit@users.labs.libre-entreprise.org 11 Aug '08
11 Aug '08
Author: tchemit
Date: 2008-08-11 08:43:07 +0000 (Mon, 11 Aug 2008)
New Revision: 829
Modified:
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/AbstractActionConfigurationResolver.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigConfigurationResolver.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigurationResolver.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactory.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactoryFromProvider.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionNameProvider.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/MyAbstractAction.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/SelectActionConfigConfigurationResolver.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ToggleActionConfigConfigurationResolver.java
trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/AbstractUIAction.java
trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FactoryWindowListener.java
trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FormElement.java
trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/ShowUIAction.java
trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/UIProvider.java
Log:
preparation pour changement de licence + javadoc
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/AbstractActionConfigurationResolver.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/AbstractActionConfigurationResolver.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/AbstractActionConfigurationResolver.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
@@ -81,7 +81,7 @@
protected TypeElement baseActionElement;
protected String providerFQN;
-
+
protected String baseFQN;
@Override
@@ -115,11 +115,11 @@
baseFQN = baseActionElement.asType().toString();
int index = baseFQN.lastIndexOf(".");
- String baseSimpleName = baseFQN.substring(index+1);
- String packageName = baseFQN.substring(0, index+1);
+ String baseSimpleName = baseFQN.substring(index + 1);
+ String packageName = baseFQN.substring(0, index + 1);
providerFQN = packageName + baseSimpleName + "Provider";
- printInfo("providerFQN "+packageName+","+baseSimpleName+","+providerFQN);
+ printInfo("providerFQN " + packageName + "," + baseSimpleName + "," + providerFQN);
actionsFileLocation = String.format(actionsFileLocation, baseSimpleName);
continue;
}
@@ -220,7 +220,7 @@
protected void writeProviderClass() throws IOException, NotFoundException, CannotCompileException, ClassNotFoundException {
OutputStream outputStream = null;
try {
-
+
ClassPool pool = ClassPool.getDefault();
pool.appendClassPath(new LoaderClassPath(ActionProviderFromProperties.class.getClassLoader()));
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigConfigurationResolver.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigConfigurationResolver.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigConfigurationResolver.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigurationResolver.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigurationResolver.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionConfigurationResolver.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactory.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactory.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactory.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
@@ -22,14 +22,29 @@
import java.util.Set;
/**
- * Action factory using the ActionConfig annotations to configure the action.
+ * Action factory using the <code>ActionConfig-like</code> annotations to configure actions.
* <p/>
- * Use after the {@link #loadActions(jaxx.runtime.JAXXObject)} to instanciate
- * actions in ui with id equals a known action...
* <p/>
- * TODO Finish doc
+ * An {@link ActionFactory} builds actions always on a same type <code>A</code> and obtain them from some
+ * {@link ActionProvider} via methods {@link #newAction(String, JComponent)} and {@link #newAction(String)} .
+ * <p/>
+ * If the action coming from the provider is not on the same type <code>A</code>, then the action is boxed in a *
+ * action <code>A</code> and use the generic mecanism of delegation provided by {@link MyAbstractAction}.
+ * <p/>
+ * Use after the {@link #loadActions(jaxx.runtime.JAXXObject)} to instanciate actions in ui with id equals a known
+ * action...
+ * <p/>
+ * All actions instanciated are stored in a cache that you can request via method {@link #getActionFromCache(String)},
+ * {@link #cacheEntrySet()} and {@link #resetCache()}.
+ * <p/>
+ * You can also from this factory fires some action via the methods {@link #fireAction(String, Object, JComponent)} ,
+ * {@link #fireAction(String, Object)} , {@link #fireAction0(String, Object, MyAbstractAction)}.
+ * <p/>
+ * Finally, a {@link #dispose()} method is there to shut down all instanciated action when you want to dispose all uis.
*
* @author chemit
+ * @see ActionProvider
+ * @see MyAbstractAction
*/
public interface ActionFactory<A extends MyAbstractAction> {
@@ -41,8 +56,23 @@
Map<String, Class<? extends MyAbstractAction>> init();
/** @return the class of the base action of the factory. */
- Class<A> getBaseImpl();
+ Class<A> getBaseClass();
+ /** @return the set of all the action's classes known by the factory. */
+ Set<Entry<String, Class<? extends MyAbstractAction>>> implsEntrySet();
+
+ /** @return the array of names of all actions known by the factory */
+ String[] getActionNames();
+
+ /** @return the set of all actions cached in factory indexed by their name */
+ Set<Entry<String, A>> cacheEntrySet();
+
+ /**
+ * @param actionKey the action's key
+ * @return the action in cache or <code>null</code> if action is not in cache
+ */
+ MyAbstractAction getActionFromCache(String actionKey);
+
/** clear the cache of instanciated actions. */
void resetCache();
@@ -50,8 +80,9 @@
* @param actionKey the key of an action
* @return the action with this key from cache, or <code>null</code> if this action is not in cache
*/
- A get(String actionKey);
+ //A get(String actionKey);
+
/**
* For a given ui, load all actions registred in factory.
* <p/>
@@ -71,7 +102,7 @@
A newAction(String actionKey, JComponent component);
/**
- * Obtain an action instance given his key (should call {@link #newAction(String, javax.swing.JComponent)}
+ * Obtain an action instance given his key (should call {@link #newAction(String, JComponent)}
* <p/>
* This is a convinient method when you want to obtain an action with no attached widget.
*
@@ -80,15 +111,7 @@
*/
A newAction(String actionKey);
- /** @return the array of names of all actions known by the factory */
- String[] getActionNames();
- /** @return the set of all the action's classes known by the factory. */
- Set<Entry<String, Class<? extends MyAbstractAction>>> implsEntrySet();
-
- /** @return the set of all actions cached in factory indexed by their name */
- Set<Entry<String, A>> cacheEntrySet();
-
/**
* Fire an action given his key, his source and tthe widget responsible of action
*
@@ -117,14 +140,9 @@
*/
void fireAction0(String actionKey, Object source, A action);
- /**
- * @param actionKey the action's key
- * @return the action in cache or <code>null</code> if action is not in cache
- */
- MyAbstractAction getActionFromCache(String actionKey);
/**
- * dispose all actions in cache using {@link org.codelutin.jaxx.action.MyAbstractAction#disposeUI()} on each
+ * dispose all actions in cache using {@link MyAbstractAction#disposeUI()} on each
* action, then {@link #resetCache()}
*/
void dispose();
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactoryFromProvider.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactoryFromProvider.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionFactoryFromProvider.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -85,7 +85,7 @@
this.selectActionConfigInitializer = registerInitializer(SelectActionConfigConfigurationResolver.class);
}
- public Class<A> getBaseImpl() {
+ public Class<A> getBaseClass() {
return baseImpl;
}
@@ -93,9 +93,9 @@
cache.clear();
}
- public A get(String actionKey) {
+ /*public A get(String actionKey) {
return cache.get(actionKey);
- }
+ }*/
public void loadActions(JAXXObject ui) {
if (log.isDebugEnabled()) {
@@ -246,16 +246,16 @@
// on vérifie que l'action existe bien
checkRegistredAction(actionKey);
+ A action = null;
// try in cache
if (cache.containsKey(actionKey)) {
// use cached action
- A action = cache.get(actionKey);
+ action = cache.get(actionKey);
if (log.isDebugEnabled()) {
log.debug("use cache action " + action);
}
- return action;
}
- return null;
+ return action;
}
public void dispose() {
@@ -377,9 +377,9 @@
MyAbstractAction result;
result = klazz.getConstructor(String.class).newInstance(actionKey);
result.putValue(Action.ACTION_COMMAND_KEY, actionKey);
- if (!getBaseImpl().isAssignableFrom(klazz)) {
+ if (!getBaseClass().isAssignableFrom(klazz)) {
// the instanciated action must be boxed in the base Action of the factory
- result = getBaseImpl().getConstructor(MyAbstractAction.class).newInstance(result);
+ result = getBaseClass().getConstructor(MyAbstractAction.class).newInstance(result);
}
return (A) result;
}
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionNameProvider.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionNameProvider.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionNameProvider.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,19 +10,19 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
/**
- * Contrat pour obtenir les noms d'une action de manière dynamique.
+ * Contrat pour obtenir les noms d'une action de maniere dynamique.
* <p/>
- * Cette méthode sera appelé par un {@link ActionProvider} lorsque la clef dans le
- * fichier de mapping est :fqn (où fqn correspond à une implantation de ce contrat).
+ * Cette méthode sera appelee par un {@link ActionProvider} lorsque la clef dans le
+ * fichier de mapping est <code>:fqn</code> (où fqn correspond à une implantation de ce contrat).
* <p/>
- * Ainsi on peut associer à une action donnée plusieurs instances avec des noms différents mais avec le même comportement.
+ * Ainsi on peut associer à une action donnee plusieurs instances avec des noms différents mais de le meme comportement.
* <p/>
- * Par exemple, une changement de locale où seule la locale varie (et elle sera retrouvée à partir du nom de l'action).
+ * Par exemple, une changement de locale ou seule la locale varie (et elle sera retrouvee a partir du nom de l'action).
*
* @author chemit
*/
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,16 +10,19 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
/**
* Contract to be realized by a provider of Actions.
* <p/>
- * A provider of actions
+ * A provider of actions is based on a certain type of {@link MyAbstractAction} (<code>A</code>) with an accessor
+ * {@link #getBaseClass()} and deliver some implementations of such actions indexed by their logical names via the
+ * method {#link #getClasses()}.
*
* @author chemit
+ * @see MyAbstractAction
*/
public interface ActionProvider<A extends MyAbstractAction> {
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/MyAbstractAction.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/MyAbstractAction.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/MyAbstractAction.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/SelectActionConfigConfigurationResolver.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/SelectActionConfigConfigurationResolver.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/SelectActionConfigConfigurationResolver.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ToggleActionConfigConfigurationResolver.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ToggleActionConfigConfigurationResolver.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ToggleActionConfigConfigurationResolver.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.action;
Modified: trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/AbstractUIAction.java
===================================================================
--- trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/AbstractUIAction.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/AbstractUIAction.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.util;
Modified: trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FactoryWindowListener.java
===================================================================
--- trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FactoryWindowListener.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FactoryWindowListener.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.util;
Modified: trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FormElement.java
===================================================================
--- trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FormElement.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/FormElement.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.util;
Modified: trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/ShowUIAction.java
===================================================================
--- trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/ShowUIAction.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/ShowUIAction.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.util;
Modified: trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/UIProvider.java
===================================================================
--- trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/UIProvider.java 2008-08-10 16:40:49 UTC (rev 828)
+++ trunk/lutinjaxx/util/src/main/java/org/codelutin/jaxx/util/UIProvider.java 2008-08-11 08:43:07 UTC (rev 829)
@@ -1,5 +1,5 @@
/**
- * # #% Copyright (C) 2008 Code Lutin, Tony Chemit
+ * ##% Copyright (C) 2008 Code Lutin, Tony Chemit
* This program is free software; you
* can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation; either version 2
@@ -10,7 +10,7 @@
* should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 59 Temple Place
* - Suite 330, Boston, MA 02111-1307, USA.
- * # #%
+ * ##%
*/
package org.codelutin.jaxx.util;
1
0
r828 - trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action
by tchemit@users.labs.libre-entreprise.org 10 Aug '08
by tchemit@users.labs.libre-entreprise.org 10 Aug '08
10 Aug '08
Author: tchemit
Date: 2008-08-10 16:40:49 +0000 (Sun, 10 Aug 2008)
New Revision: 828
Modified:
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java
trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java
Log:
simplify code : all is fully generated now : nothing has to be configured via the annotation. just placed it :)
suppression name field in ActionProvider
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java 2008-08-10 15:18:09 UTC (rev 827)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionAnnotationProcessing.java 2008-08-10 16:40:49 UTC (rev 828)
@@ -64,11 +64,11 @@
* @author chemit */
public class ActionAnnotationProcessing extends AbstractProcessor {
- protected ActionProviderAnnotation providerConfig;
+ //protected ActionProviderAnnotation providerConfig;
protected String providerDeclarationLocation = "META-INF/services/" + ActionProvider.class.getName();
- protected String actionsFileLocation = "META-INF/jaxx-%1$s-actions.properties";
+ protected String actionsFileLocation = ActionProviderFromProperties.actionsFileLocation;
protected boolean verbose;
@@ -80,6 +80,10 @@
protected TypeElement baseActionElement;
+ protected String providerFQN;
+
+ protected String baseFQN;
+
@Override
public synchronized void init(ProcessingEnvironment processingEnv) {
super.init(processingEnv);
@@ -107,9 +111,16 @@
//fixme CheckbaseActionElement is assigned from MyAbstractAction
//if (!baseActionElement.getSuperclass()) ...
- providerConfig = baseActionElement.getAnnotation(ActionProviderAnnotation.class);
+ //providerConfig = baseActionElement.getAnnotation(ActionProviderAnnotation.class);
- actionsFileLocation = String.format(actionsFileLocation, providerConfig.name());
+ baseFQN = baseActionElement.asType().toString();
+ int index = baseFQN.lastIndexOf(".");
+ String baseSimpleName = baseFQN.substring(index+1);
+ String packageName = baseFQN.substring(0, index+1);
+
+ providerFQN = packageName + baseSimpleName + "Provider";
+ printInfo("providerFQN "+packageName+","+baseSimpleName+","+providerFQN);
+ actionsFileLocation = String.format(actionsFileLocation, baseSimpleName);
continue;
}
@@ -135,7 +146,7 @@
if ((roundEnv.processingOver())) {
printDebug("round is over " + roundEnv);
try {
- if (providerConfig != null) {
+ if (baseActionElement != null) {
// found the base action class to be compiled, so we have to write provider things...
writeProviderClass();
writeProviderServiceDeclaration();
@@ -184,25 +195,6 @@
return f.getAbsolutePath().substring(index);
}
- /**
- * @throws ClassNotFoundException ifclass not find
- * @deprecated Can not use anylonger this class, beacause at compile time we are not garanted to have
- * some actions classes compiled, so can not use {@link Class#forName(String)} method.
- */
- @Deprecated
- protected void findProviderConfigFromCompiledClass() throws ClassNotFoundException {
- if (!actions.isEmpty()) {
- Class<?> klazz = Class.forName(processedClass.get(0));
- providerConfig = klazz.getAnnotation(ActionProviderAnnotation.class);
- while (klazz != null && providerConfig == null) {
- klazz = klazz.getSuperclass();
- if (klazz != null) {
- providerConfig = klazz.getAnnotation(ActionProviderAnnotation.class);
- }
- }
- }
- }
-
protected boolean registerActionsForClass(TypeMirror annotationType, Element e) {
boolean doTreate = false;
for (AnnotationMirror mirror : e.getAnnotationMirrors()) {
@@ -228,24 +220,23 @@
protected void writeProviderClass() throws IOException, NotFoundException, CannotCompileException, ClassNotFoundException {
OutputStream outputStream = null;
try {
- String fqn = providerConfig.fqn();
-
+
ClassPool pool = ClassPool.getDefault();
pool.appendClassPath(new LoaderClassPath(ActionProviderFromProperties.class.getClassLoader()));
CtClass superClass = pool.get(ActionProviderFromProperties.class.getName());
- CtClass clazz = pool.makeClass(fqn);
+ CtClass clazz = pool.makeClass(providerFQN);
// define the base action class in javassist pool to make possible compilation
- pool.makeClass(baseActionElement.asType().toString());
+ pool.makeClass(baseFQN);
clazz.setSuperclass(superClass);
// add constructor
CtConstructor constructor = new CtConstructor(null, clazz);
- constructor.setBody("super(\"" + providerConfig.name() + "\"," + baseActionElement.asType().toString() + ".class,\"/" + actionsFileLocation + "\");");
+ constructor.setBody("super( " + baseFQN + ".class);");
clazz.addConstructor(constructor);
byte[] byteCode = clazz.toBytecode();
- JavaFileObject fo = processingEnv.getFiler().createClassFile(fqn);
+ JavaFileObject fo = processingEnv.getFiler().createClassFile(providerFQN);
printInfo("writing " + fo.toUri());
outputStream = fo.openOutputStream();
outputStream.write(byteCode);
@@ -264,7 +255,7 @@
w = new BufferedWriter(fo.openWriter());
w.append("# generated by ").append(getClass().getName()).append("\n").toString();
w.append("#").append(new java.util.Date().toString()).append("\n").toString();
- w.append(providerConfig.fqn());
+ w.append(providerFQN);
} finally {
if (w != null)
w.close();
@@ -345,23 +336,9 @@
continue;
}
- /*Class<ActionNameHelper.ActionNameProvider> klazz = (Class<ActionNameHelper.ActionNameProvider>) entry.getValue().accept(getAnnotationValueExtractor(), null);
- if (ActionNameHelper.CompileActionNameProvider.class.isAssignableFrom(klazz)) {
- // means there is a compile time names provider
- try {
- result = klazz.newInstance().getActionCommands();
- break;
- } catch (InstantiationException e) {
- throw new RuntimeException(e);
- } catch (IllegalAccessException e) {
- throw new RuntimeException(e);
- }
- }
- if (ActionNameHelper.RuntimeActionNameProvider.class.isAssignableFrom(klazz)) {*/
// means there is a runtime names provider
result = new String[]{":" + classname};
break;
- //}
}
if ("actionCommand".equals(name)) {
result = new String[]{(String) entry.getValue().accept(getAnnotationValueExtractor(), null)};
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java 2008-08-10 15:18:09 UTC (rev 827)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProvider.java 2008-08-10 16:40:49 UTC (rev 828)
@@ -23,9 +23,6 @@
*/
public interface ActionProvider<A extends MyAbstractAction> {
- /** @return the name of the provider */
- String getName();
-
/** @return the base classe of provided actions */
Class<A> getBaseClass();
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java 2008-08-10 15:18:09 UTC (rev 827)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderAnnotation.java 2008-08-10 16:40:49 UTC (rev 828)
@@ -31,11 +31,4 @@
@Target(ElementType.TYPE)
public @interface ActionProviderAnnotation {
-
- /** @return le nom du provider */
- String name();
-
- /** @return le nom qualifie duprovider a generer */
- String fqn();
-
}
Modified: trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java
===================================================================
--- trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java 2008-08-10 15:18:09 UTC (rev 827)
+++ trunk/lutinjaxx/jaxx-swing-action/src/main/java/org/codelutin/jaxx/action/ActionProviderFromProperties.java 2008-08-10 16:40:49 UTC (rev 828)
@@ -30,30 +30,24 @@
/** default prefix for an entryin mapping file. */
protected static final String ACTION_KEY_PREFIX = "action.";
+ protected static final String actionsFileLocation = "META-INF/jaxx-%1$s-actions.properties";
+
protected String propertiesPath;
protected static Log log = LogFactory.getLog(ActionProviderFromProperties.class);
- protected String name;
-
protected Class<A> baseClass;
protected Map<String, Class<? extends A>> actions;
- protected ActionProviderFromProperties(String name, Class<A> baseClass, String propertiesPath) {
+ protected ActionProviderFromProperties(Class<A> baseClass) {
- this.name = name;
this.baseClass = baseClass;
-
- this.propertiesPath = propertiesPath;
+ this.propertiesPath = "/" + String.format(actionsFileLocation, baseClass.getSimpleName());
this.actions = initCache();
}
- public String getName() {
- return name;
- }
-
public Class<A> getBaseClass() {
return baseClass;
}
@@ -64,7 +58,7 @@
@Override
public String toString() {
- return super.toString() + "<name:" + name + ", baseClass:" + baseClass.getSimpleName() + ">";
+ return super.toString() + "<baseClass:" + baseClass.getSimpleName() + ">";
}
protected void clearCache() {
@@ -90,13 +84,16 @@
try {
inputStream = getClass().getResourceAsStream(propertiesPath);
if (inputStream == null) {
- throw new NullPointerException("could not find action file " + propertiesPath);
+ //throw new NullPointerException("could not find action file " + propertiesPath);
+ // actually, there is nothing to load, this is not an error
+ } else {
+ log.info("load " + propertiesPath);
+ properties.load(inputStream);
}
- log.info("load " + propertiesPath);
- properties.load(inputStream);
} catch (IOException e) {
- log.warn(_("jaxx.error.load.actions.file", e.getMessage()));
- throw new RuntimeException(_("jaxx.error.load.actions.file", e.getMessage()));
+ String message = _("jaxx.error.load.actions.file", e.getMessage());
+ log.warn(message);
+ throw new RuntimeException(message);
} finally {
if (inputStream != null) {
try {
@@ -128,12 +125,8 @@
}
log.debug("found action <" + actionKey + " : " + implCass + ">");
cache.put(actionKey, implCass);
- } catch (ClassNotFoundException e) {
+ } catch (Exception e) {
throw new RuntimeException(_("jaxx.error.load.actions.class", key, qfn), e);
- } catch (IllegalAccessException e) {
- throw new RuntimeException(_("jaxx.error.load.actions.class", key, qfn), e);
- } catch (InstantiationException e) {
- throw new RuntimeException(_("jaxx.error.load.actions.class", key, qfn), e);
}
}
1
0