Nuiton-utils-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
- 2 participants
- 110 discussions
[Lutinutil-commits] r1066 - in trunk/lutini18neditor: . src/main/java/org/codelutin/i18n/editor src/main/java/org/codelutin/i18n/editor/model src/main/java/org/codelutin/i18n/editor/ui
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:57:02 +0000 (Sun, 24 Aug 2008)
New Revision: 1066
Added:
trunk/lutini18neditor/LICENSE.txt
trunk/lutini18neditor/THIRD-PARTY.txt
Modified:
trunk/lutini18neditor/pom.xml
trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/I18nEditor.java
trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ManagerI18n.java
trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertieNode.java
trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertiesTreeModel.java
trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/CreateBundleImpl.java
trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/GBC.java
trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/I18nPrincipalImpl.java
Log:
passage en license lgpl
Added: trunk/lutini18neditor/LICENSE.txt
===================================================================
--- trunk/lutini18neditor/LICENSE.txt (rev 0)
+++ trunk/lutini18neditor/LICENSE.txt 2008-08-24 11:57:02 UTC (rev 1066)
@@ -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/lutini18neditor/THIRD-PARTY.txt
===================================================================
--- trunk/lutini18neditor/THIRD-PARTY.txt (rev 0)
+++ trunk/lutini18neditor/THIRD-PARTY.txt 2008-08-24 11:57:02 UTC (rev 1066)
@@ -0,0 +1,22 @@
+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)
+ * 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
Modified: trunk/lutini18neditor/pom.xml
===================================================================
--- trunk/lutini18neditor/pom.xml 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/pom.xml 2008-08-24 11:57:02 UTC (rev 1066)
@@ -86,7 +86,7 @@
</plugin>
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<executions>
<execution>
@@ -124,7 +124,7 @@
</archive>
</configuration>
</plugin>
-
+
</plugins>
</build>
Modified: trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/I18nEditor.java
===================================================================
--- trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/I18nEditor.java 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/I18nEditor.java 2008-08-24 11:57:02 UTC (rev 1066)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin I18n Editor
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.i18n.editor;
Modified: trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ManagerI18n.java
===================================================================
--- trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ManagerI18n.java 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ManagerI18n.java 2008-08-24 11:57:02 UTC (rev 1066)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin.
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin I18n Editor
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.editor;
@@ -96,12 +96,12 @@
// Récupération des fichiers
URL[] files = I18n.getBundleManager().getUrls();
- if (files.length==0) {
+ if (files.length == 0) {
//fixme :
- PROJECT_NAME="unknown ?";
+ PROJECT_NAME = "unknown ?";
return;
}
-
+
//List<URL> files = Resource.getURLs(".*i18n/.+\\.properties");
for (URL file : files) {
Modified: trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertieNode.java
===================================================================
--- trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertieNode.java 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertieNode.java 2008-08-24 11:57:02 UTC (rev 1066)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin.
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin I18n Editor
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.editor.model;
Modified: trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertiesTreeModel.java
===================================================================
--- trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertiesTreeModel.java 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/model/PropertiesTreeModel.java 2008-08-24 11:57:02 UTC (rev 1066)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin.
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin I18n Editor
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.editor.model;
Modified: trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/CreateBundleImpl.java
===================================================================
--- trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/CreateBundleImpl.java 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/CreateBundleImpl.java 2008-08-24 11:57:02 UTC (rev 1066)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin.
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin I18n Editor
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.editor.ui;
Modified: trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/GBC.java
===================================================================
--- trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/GBC.java 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/GBC.java 2008-08-24 11:57:02 UTC (rev 1066)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin I18n Editor
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
/*
GBC - A convenience class to tame the GridBagLayout
@@ -24,33 +42,34 @@
import java.awt.Insets;
/**
- This class simplifies the use of the GridBagConstraints
- class.
+ * This class simplifies the use of the GridBagConstraints
+ * class.
*/
-public class GBC extends GridBagConstraints
-{
+public class GBC extends GridBagConstraints {
+ private static final long serialVersionUID = -3626882543530638704L;
+
/**
- Constructs a GBC with a given gridx and gridy position and
- all other grid bag constraint values set to the default.
- @param gridx the gridx position
- @param gridy the gridy position
+ * Constructs a GBC with a given gridx and gridy position and
+ * all other grid bag constraint values set to the default.
+ *
+ * @param gridx the gridx position
+ * @param gridy the gridy position
*/
- public GBC(int gridx, int gridy)
- {
+ public GBC(int gridx, int gridy) {
this.gridx = gridx;
this.gridy = gridy;
}
/**
- Constructs a GBC with given gridx, gridy, gridwidth, gridheight
- and all other grid bag constraint values set to the default.
- @param gridx the gridx position
- @param gridy the gridy position
- @param gridwidth the cell span in x-direction
- @param gridheight the cell span in y-direction
+ * Constructs a GBC with given gridx, gridy, gridwidth, gridheight
+ * and all other grid bag constraint values set to the default.
+ *
+ * @param gridx the gridx position
+ * @param gridy the gridy position
+ * @param gridwidth the cell span in x-direction
+ * @param gridheight the cell span in y-direction
*/
- public GBC(int gridx, int gridy, int gridwidth, int gridheight)
- {
+ public GBC(int gridx, int gridy, int gridwidth, int gridheight) {
this.gridx = gridx;
this.gridy = gridy;
this.gridwidth = gridwidth;
@@ -58,74 +77,73 @@
}
/**
- Sets the anchor.
- @param anchor the anchor value
- @return this object for further modification
+ * Sets the anchor.
+ *
+ * @param anchor the anchor value
+ * @return this object for further modification
*/
- public GBC setAnchor(int anchor)
- {
+ public GBC setAnchor(int anchor) {
this.anchor = anchor;
return this;
}
/**
- Sets the fill direction.
- @param fill the fill direction
- @return this object for further modification
+ * Sets the fill direction.
+ *
+ * @param fill the fill direction
+ * @return this object for further modification
*/
- public GBC setFill(int fill)
- {
+ public GBC setFill(int fill) {
this.fill = fill;
return this;
}
/**
- Sets the cell weights.
- @param weightx the cell weight in x-direction
- @param weighty the cell weight in y-direction
- @return this object for further modification
+ * Sets the cell weights.
+ *
+ * @param weightx the cell weight in x-direction
+ * @param weighty the cell weight in y-direction
+ * @return this object for further modification
*/
- public GBC setWeight(double weightx, double weighty)
- {
+ public GBC setWeight(double weightx, double weighty) {
this.weightx = weightx;
this.weighty = weighty;
return this;
}
/**
- Sets the insets of this cell.
- @param distance the spacing to use in all directions
- @return this object for further modification
+ * Sets the insets of this cell.
+ *
+ * @param distance the spacing to use in all directions
+ * @return this object for further modification
*/
- public GBC setInsets(int distance)
- {
+ public GBC setInsets(int distance) {
this.insets = new Insets(distance, distance, distance, distance);
return this;
}
/**
- Sets the insets of this cell.
- @param top the spacing to use on top
- @param left the spacing to use to the left
- @param bottom the spacing to use on the bottom
- @param right the spacing to use to the right
- @return this object for further modification
+ * Sets the insets of this cell.
+ *
+ * @param top the spacing to use on top
+ * @param left the spacing to use to the left
+ * @param bottom the spacing to use on the bottom
+ * @param right the spacing to use to the right
+ * @return this object for further modification
*/
- public GBC setInsets(int top, int left, int bottom, int right)
- {
+ public GBC setInsets(int top, int left, int bottom, int right) {
this.insets = new Insets(top, left, bottom, right);
return this;
}
/**
- Sets the internal padding
- @param ipadx the internal padding in x-direction
-
- @param ipady the internal padding in y-direction
- @return this object for further modification
+ * Sets the internal padding
+ *
+ * @param ipadx the internal padding in x-direction
+ * @param ipady the internal padding in y-direction
+ * @return this object for further modification
*/
- public GBC setIpad(int ipadx, int ipady)
- {
+ public GBC setIpad(int ipadx, int ipady) {
this.ipadx = ipadx;
this.ipady = ipady;
return this;
Modified: trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/I18nPrincipalImpl.java
===================================================================
--- trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/I18nPrincipalImpl.java 2008-08-24 10:20:12 UTC (rev 1065)
+++ trunk/lutini18neditor/src/main/java/org/codelutin/i18n/editor/ui/I18nPrincipalImpl.java 2008-08-24 11:57:02 UTC (rev 1066)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin.
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin I18n Editor
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.editor.ui;
1
0
24 Aug '08
Author: tchemit
Date: 2008-08-24 10:20:12 +0000 (Sun, 24 Aug 2008)
New Revision: 1065
Added:
trunk/commandline/LICENSE.txt
trunk/commandline/THIRD-PARTY.txt
trunk/commandline/commandline-core/LICENSE.txt
trunk/commandline/commandline-core/THIRD-PARTY.txt
trunk/commandline/commandline-demo/LICENSE.txt
trunk/commandline/commandline-demo/THIRD-PARTY.txt
trunk/commandline/commandline-ui-action/LICENSE.txt
trunk/commandline/commandline-ui-action/THIRD-PARTY.txt
trunk/commandline/commandline-ui/LICENSE.txt
trunk/commandline/commandline-ui/THIRD-PARTY.txt
trunk/commandline/maven-plugin/LICENSE.txt
trunk/commandline/maven-plugin/THIRD-PARTY.txt
Modified:
trunk/commandline/commandline-core/pom.xml
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/AbstractContext.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Argument.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Config.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigKey.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigPropertyKey.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Context.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKey.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKeyImpl.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextProvider.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitor.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Option.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionAction.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionAnnotation.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionProcessor.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionKey.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParser.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserContexts.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserResult.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserException.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserFailedException.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserUtil.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeConfigRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeFileConfigRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionEditConfigRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpConfigRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionResetConfigRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionShowConfigRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionUiRunnable.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentDefinition.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentType.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentValueType.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ConfigPropertyModifier.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/GroupDefinition.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinition.java
trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinitionBuilder.java
trunk/commandline/commandline-demo/pom.xml
trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoContext.java
trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoMain.java
trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/DemoMainUI.java
trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/actions/CommandLineDemoBaseAction.java
trunk/commandline/commandline-ui-action/pom.xml
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/AboutUI.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/AboutAction.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ActionHelper.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocaleAction.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocationActionNameProvider.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/CommandLineBaseAction.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ConfigAction.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/HelpAction.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/QuitAction.java
trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/SiteAction.java
trunk/commandline/commandline-ui/pom.xml
trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ClassCellEditor.java
trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableEditor.java
trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableModel.java
trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableRenderer.java
trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUI.java
trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUIHandler.java
trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/LoginUIHandler.java
trunk/commandline/commandline-ui/src/test/java/org/codelutin/option/ui/UITest.java
trunk/commandline/maven-plugin/pom.xml
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/AbsractDefinitionContext.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefaultOptionAction.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParser.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserContexts.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserException.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserFromProperties.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserUtil.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/MandatoryConfigProperty.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoader.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoaderEntry.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoader.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoaderEntry.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/Loader.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/LoaderEntry.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoader.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoaderEntry.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorContext.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorGoal.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorContext.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorGoal.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractConfigJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractContextJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractOptionActionJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/ConfigJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/DefaultOptionActionJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionActionJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionKeyJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionParserJavaGenerator.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorContext.java
trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorGoal.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext1.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser1.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserBadOptionTest.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserTest.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserTest.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserUtilForTest.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/PropertiesLoaderTest.java
trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/generate/GenerateJavaTest.java
trunk/commandline/pom.xml
Log:
passage en license lgpl
Added: trunk/commandline/LICENSE.txt
===================================================================
--- trunk/commandline/LICENSE.txt (rev 0)
+++ trunk/commandline/LICENSE.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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/commandline/THIRD-PARTY.txt
===================================================================
--- trunk/commandline/THIRD-PARTY.txt (rev 0)
+++ trunk/commandline/THIRD-PARTY.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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/commandline/commandline-core/LICENSE.txt
===================================================================
--- trunk/commandline/commandline-core/LICENSE.txt (rev 0)
+++ trunk/commandline/commandline-core/LICENSE.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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/commandline/commandline-core/THIRD-PARTY.txt
===================================================================
--- trunk/commandline/commandline-core/THIRD-PARTY.txt (rev 0)
+++ trunk/commandline/commandline-core/THIRD-PARTY.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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
Modified: trunk/commandline/commandline-core/pom.xml
===================================================================
--- trunk/commandline/commandline-core/pom.xml 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/pom.xml 2008-08-24 10:20:12 UTC (rev 1065)
@@ -21,7 +21,7 @@
<plugins>
<!-- i18n -->
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<executions>
<execution>
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/AbstractContext.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/AbstractContext.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/AbstractContext.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
@@ -419,4 +424,4 @@
}
return (T) extraValues.get(strKey);
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Argument.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Argument.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Argument.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2007 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Config.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Config.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Config.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option;
import org.apache.commons.logging.Log;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigKey.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigKey.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigKey.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option;
import static org.codelutin.i18n.I18n._;
@@ -128,4 +127,4 @@
public void accept(ContextVisitor visitor) {
// no more thing to visit
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigPropertyKey.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigPropertyKey.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ConfigPropertyKey.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option;
import org.apache.commons.beanutils.Converter;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Context.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Context.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Context.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKey.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKey.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKey.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKeyImpl.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKeyImpl.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextKeyImpl.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextProvider.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextProvider.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextProvider.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
@@ -27,4 +31,4 @@
* @param visitor le visiteur
*/
void accept(ContextVisitor visitor);
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitor.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitor.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ContextVisitor.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Option.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Option.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/Option.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2003 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
/**
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionAction.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
import org.apache.commons.logging.Log;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionAnnotation.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionAnnotation.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionAnnotation.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionProcessor.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionProcessor.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionProcessor.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
import javax.annotation.processing.AbstractProcessor;
@@ -32,4 +50,4 @@
}
return false;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionActionRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
/**
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionKey.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionKey.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionKey.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option;
import static org.codelutin.i18n.I18n._;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParser.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParser.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParser.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-* Cédric Pineau, Benjamin Poussin,
-*
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserContexts.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserContexts.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserContexts.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option;
import org.apache.commons.beanutils.ConvertUtils;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserResult.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserResult.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/OptionParserResult.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserException.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserException.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserException.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,23 +1,23 @@
-/**##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% core
+ * Copyright (C) 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option;
+import org.codelutin.option.OptionParserContexts;
import java.util.ArrayList;
import java.util.List;
@@ -25,7 +25,7 @@
* Exception soulevable uniquement par le parser d'option.
*
* @author chemit
- * @see OptionParser
+ * @see org.codelutin.option.OptionParser
*/
public class ParserException extends Exception { // ParserException
@@ -59,4 +59,4 @@
}
return builder.toString();
}
-} // ParserException
\ No newline at end of file
+} // ParserException
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserFailedException.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserFailedException.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserFailedException.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
import static org.codelutin.i18n.I18n._;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserUtil.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserUtil.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/ParserUtil.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option;
import org.apache.commons.logging.Log;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeConfigRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeConfigRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeConfigRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeFileConfigRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeFileConfigRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionChangeFileConfigRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
@@ -30,4 +35,4 @@
}
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionEditConfigRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionEditConfigRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionEditConfigRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
@@ -42,4 +47,4 @@
ui.getClass().getMethod("init", AbstractContext.class, Config[].class).invoke(ui, context, configs);
ui.setVisible(true);
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpConfigRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpConfigRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpConfigRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
@@ -73,4 +78,4 @@
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionHelpRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
@@ -96,4 +101,4 @@
}
}
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionResetConfigRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionResetConfigRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionResetConfigRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
@@ -35,4 +40,4 @@
log.info(_("lutinutil.message.reset.user.configuration"));
context.setFirstLaunch(true);
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionShowConfigRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionShowConfigRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionShowConfigRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionUiRunnable.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionUiRunnable.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/actions/OptionActionUiRunnable.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.actions;
@@ -37,4 +42,4 @@
}
init = true;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentDefinition.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentDefinition.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentDefinition.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentType.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentType.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentType.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option.def;
/**
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentValueType.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentValueType.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ArgumentValueType.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option.def;
import java.io.File;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ConfigPropertyModifier.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ConfigPropertyModifier.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/ConfigPropertyModifier.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.def;
/**
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/GroupDefinition.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/GroupDefinition.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/GroupDefinition.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2007 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
@@ -72,4 +78,4 @@
public ArgumentDefinition[] getArguments() {
return arguments;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinition.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinition.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinition.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2007 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinitionBuilder.java
===================================================================
--- trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinitionBuilder.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-core/src/main/java/org/codelutin/option/def/OptionDefinitionBuilder.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% core
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.def;
import org.apache.commons.logging.Log;
Added: trunk/commandline/commandline-demo/LICENSE.txt
===================================================================
--- trunk/commandline/commandline-demo/LICENSE.txt (rev 0)
+++ trunk/commandline/commandline-demo/LICENSE.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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/commandline/commandline-demo/THIRD-PARTY.txt
===================================================================
--- trunk/commandline/commandline-demo/THIRD-PARTY.txt (rev 0)
+++ trunk/commandline/commandline-demo/THIRD-PARTY.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -0,0 +1,38 @@
+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)
+
+GPL :
+ * Graphical Widget (lutinlib:lutinwidget:0.10-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinwidget/lutinwidget)
+
+LGPL :
+ * Lutin utilities library (org.codelutin:lutinutil:0.30-SNAPSHOT - http://labs.libre-entreprise.org/projects/lutinutil)
+ * commandine-ui-action (org.codelutin.commandline:commandline-ui-action:0.9 - http://labs.libre-entreprise.org/projects/lutinutil/commandline-ui-action)
+ * core (org.codelutin.commandline:commandline-core:0.9 - http://labs.libre-entreprise.org/projects/lutinutil/commandline-core)
+ * 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)
+ * ui (org.codelutin.commandline:commandline-ui:0.9 - http://labs.libre-entreprise.org/projects/lutinutil/commandline-ui)
+ * 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/)
+ * Logging (commons-logging:commons-logging:1.1 - http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/)
+
+Unknown license :
+ * JavaBeans Activation Framework (JAF) (javax.activation:activation:1.0.2 - http://java.sun.com/products/javabeans/jaf/index.jsp)
+ * JavaHelp API (javax.help:javahelp:2.0.02 - http://java.sun.com/products/javahelp/index.jsp)
+ * JavaMail API (javax.mail:mail:1.3.3 - http://java.sun.com/products/javamail/index.jsp)
+ * Logging (commons-logging:commons-logging:1.0.3 - http://jakarta.apache.org/commons/logging/)
+ * Looks (jgoodies:looks:1.2.2 - 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)
+ * Unnamed - externallib:l2fprod-common:jar:0.1 (externallib:l2fprod-common:0.1 - no url defined)
+ * Unnamed - sdoc:sdoc:jar:0.5.0-beta (sdoc:sdoc:0.5.0-beta - no url defined)
\ No newline at end of file
Modified: trunk/commandline/commandline-demo/pom.xml
===================================================================
--- trunk/commandline/commandline-demo/pom.xml 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-demo/pom.xml 2008-08-24 10:20:12 UTC (rev 1065)
@@ -122,7 +122,7 @@
</plugin>
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<executions>
<!--execution>
Modified: trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoContext.java
===================================================================
--- trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoContext.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoContext.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandline-demo
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.commandline.demo;
Modified: trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoMain.java
===================================================================
--- trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoMain.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/DemoMain.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandline-demo
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.commandline.demo;
Modified: trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/DemoMainUI.java
===================================================================
--- trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/DemoMainUI.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/DemoMainUI.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandline-demo
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.commandline.demo.ui;
Modified: trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/actions/CommandLineDemoBaseAction.java
===================================================================
--- trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/actions/CommandLineDemoBaseAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-demo/src/main/java/org/codelutin/commandline/demo/ui/actions/CommandLineDemoBaseAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandline-demo
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.commandline.demo.ui.actions;
Added: trunk/commandline/commandline-ui/LICENSE.txt
===================================================================
--- trunk/commandline/commandline-ui/LICENSE.txt (rev 0)
+++ trunk/commandline/commandline-ui/LICENSE.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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/commandline/commandline-ui/THIRD-PARTY.txt
===================================================================
--- trunk/commandline/commandline-ui/THIRD-PARTY.txt (rev 0)
+++ trunk/commandline/commandline-ui/THIRD-PARTY.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -0,0 +1,23 @@
+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.commandline:commandline-core:0.9 - http://labs.libre-entreprise.org/projects/lutinutil/commandline-core)
+ * 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)
+ * 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
Modified: trunk/commandline/commandline-ui/pom.xml
===================================================================
--- trunk/commandline/commandline-ui/pom.xml 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/pom.xml 2008-08-24 10:20:12 UTC (rev 1065)
@@ -59,7 +59,7 @@
<!-- i18n -->
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<executions>
<execution>
Modified: trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ClassCellEditor.java
===================================================================
--- trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ClassCellEditor.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ClassCellEditor.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.ui;
import org.apache.commons.beanutils.Converter;
@@ -109,4 +108,4 @@
protected boolean hasDelegate() {
return delegate != null;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableEditor.java
===================================================================
--- trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableEditor.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableEditor.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.ui;
import javax.swing.DefaultCellEditor;
Modified: trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableModel.java
===================================================================
--- trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableModel.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableModel.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.ui;
import static org.codelutin.i18n.I18n._;
Modified: trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableRenderer.java
===================================================================
--- trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableRenderer.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigTableRenderer.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.ui;
import static org.codelutin.i18n.I18n._;
Modified: trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUI.java
===================================================================
--- trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUI.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUI.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.ui;
import org.codelutin.option.Config;
Modified: trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUIHandler.java
===================================================================
--- trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUIHandler.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/ConfigUIHandler.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.ui;
import org.codelutin.option.Config;
@@ -112,4 +111,4 @@
getTableModel().reset();
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/LoginUIHandler.java
===================================================================
--- trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/LoginUIHandler.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/main/java/org/codelutin/option/ui/LoginUIHandler.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option.ui;
public abstract class LoginUIHandler {
@@ -25,4 +43,4 @@
public boolean isCancel() {
return cancel;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-ui/src/test/java/org/codelutin/option/ui/UITest.java
===================================================================
--- trunk/commandline/commandline-ui/src/test/java/org/codelutin/option/ui/UITest.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui/src/test/java/org/codelutin/option/ui/UITest.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% ui
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.ui;
import org.codelutin.i18n.I18n;
Added: trunk/commandline/commandline-ui-action/LICENSE.txt
===================================================================
--- trunk/commandline/commandline-ui-action/LICENSE.txt (rev 0)
+++ trunk/commandline/commandline-ui-action/LICENSE.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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/commandline/commandline-ui-action/THIRD-PARTY.txt
===================================================================
--- trunk/commandline/commandline-ui-action/THIRD-PARTY.txt (rev 0)
+++ trunk/commandline/commandline-ui-action/THIRD-PARTY.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -0,0 +1,28 @@
+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.commandline:commandline-core:0.9 - http://labs.libre-entreprise.org/projects/lutinutil/commandline-core)
+ * 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)
+ * ui (org.codelutin.commandline:commandline-ui:0.9 - http://labs.libre-entreprise.org/projects/lutinutil/commandline-ui)
+ * 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
Modified: trunk/commandline/commandline-ui-action/pom.xml
===================================================================
--- trunk/commandline/commandline-ui-action/pom.xml 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/pom.xml 2008-08-24 10:20:12 UTC (rev 1065)
@@ -56,7 +56,7 @@
<!-- Compile phase -->
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<configuration>
</configuration>
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/AboutUI.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/AboutUI.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/AboutUI.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui;
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/AboutAction.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/AboutAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/AboutAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
@@ -59,4 +63,4 @@
}
return aboutUI;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ActionHelper.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ActionHelper.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ActionHelper.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocaleAction.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocaleAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocaleAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocationActionNameProvider.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocationActionNameProvider.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ChangeLocationActionNameProvider.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/CommandLineBaseAction.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/CommandLineBaseAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/CommandLineBaseAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ConfigAction.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ConfigAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/ConfigAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
@@ -61,4 +65,4 @@
}
return ui;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/HelpAction.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/HelpAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/HelpAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
@@ -47,4 +51,4 @@
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/QuitAction.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/QuitAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/QuitAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
@@ -71,4 +75,4 @@
getContext().dispose(false);
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/SiteAction.java
===================================================================
--- trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/SiteAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/commandline-ui-action/src/main/java/org/codelutin/option/ui/actions/SiteAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% commandine-ui-action
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.ui.actions;
@@ -57,4 +61,4 @@
Desktop.getDesktop().browse(siteUrl.toURI());
}
-}
\ No newline at end of file
+}
Added: trunk/commandline/maven-plugin/LICENSE.txt
===================================================================
--- trunk/commandline/maven-plugin/LICENSE.txt (rev 0)
+++ trunk/commandline/maven-plugin/LICENSE.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -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/commandline/maven-plugin/THIRD-PARTY.txt
===================================================================
--- trunk/commandline/maven-plugin/THIRD-PARTY.txt (rev 0)
+++ trunk/commandline/maven-plugin/THIRD-PARTY.txt 2008-08-24 10:20:12 UTC (rev 1065)
@@ -0,0 +1,32 @@
+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.commandline:commandline-core:0.9 - http://labs.libre-entreprise.org/projects/lutinutil/commandline-core)
+
+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)
+ * Lang (commons-lang:commons-lang:2.1 - http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/)
+ * 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)
+ * 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/commandline/maven-plugin/pom.xml
===================================================================
--- trunk/commandline/maven-plugin/pom.xml 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/pom.xml 2008-08-24 10:20:12 UTC (rev 1065)
@@ -70,7 +70,7 @@
<plugins>
<!-- i18n -->
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<executions>
<execution>
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/AbsractDefinitionContext.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/AbsractDefinitionContext.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/AbsractDefinitionContext.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefaultOptionAction.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefaultOptionAction.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefaultOptionAction.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,15 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParser.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParser.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParser.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.def;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserContexts.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserContexts.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserContexts.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.def;
import org.apache.commons.beanutils.Converter;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserException.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserException.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserException.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,20 +1,19 @@
-/**##%
- * Copyright (C) 2002, 2007 Code Lutin
+/* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.def;
@@ -29,7 +28,7 @@
* application finale (voir maven-commandline-plugin).
*
* @author chemit
- * @see DefinitionParser
+ * @see org.codelutin.option.def.DefinitionParser
*/
public class DefinitionParserException extends RuntimeException { // DefinitionParserException
@@ -63,4 +62,4 @@
}
return builder.toString();
}
-} // DefinitionParserException
\ No newline at end of file
+} // DefinitionParserException
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserFromProperties.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserFromProperties.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserFromProperties.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.def;
import static org.codelutin.i18n.I18n._;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserUtil.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserUtil.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/DefinitionParserUtil.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.def;
import org.codelutin.option.def.DefinitionParserContexts.ArgumentContext;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/MandatoryConfigProperty.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/MandatoryConfigProperty.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/MandatoryConfigProperty.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoader.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoader.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoader.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
@@ -116,4 +120,4 @@
return str;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoaderEntry.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoaderEntry.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigLoaderEntry.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoader.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoader.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoader.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
@@ -42,4 +46,4 @@
}
return true;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoaderEntry.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoaderEntry.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/ConfigPropertyLoaderEntry.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/Loader.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/Loader.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/Loader.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/LoaderEntry.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/LoaderEntry.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/LoaderEntry.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoader.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoader.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoader.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoaderEntry.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoaderEntry.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/def/loader/OptionLoaderEntry.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def.loader;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorContext.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorContext.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorContext.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.generate;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorGoal.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorGoal.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/JavaGeneratorGoal.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate;
import org.apache.commons.lang.StringUtils;
@@ -420,4 +419,4 @@
}
FileUtil.copy(file, compiledFile);
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorContext.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorContext.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorContext.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.generate;
@@ -127,4 +131,4 @@
return loader;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorGoal.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorGoal.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/RstGeneratorGoal.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate;
import org.codelutin.i18n.I18n;
@@ -186,4 +185,4 @@
this.bundles = bundles;
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractConfigJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractConfigJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractConfigJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.codelutin.option.ConfigPropertyKey;
@@ -157,4 +155,4 @@
return sb.toString();
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractContextJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractContextJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractContextJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.apache.commons.lang.StringUtils;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.apache.commons.logging.Log;
@@ -50,24 +48,6 @@
return StringUtil.convertToConstantName(key) + suffix;
}
- private static final String LICENCE = "/* \n" +
- "* ##% Copyright (C) 2007, 2008 Code Lutin.\n" +
- "*\n" +
- "* This program is free software; you can redistribute it and/or\n" +
- "* modify it under the terms of the GNU General Public License\n" +
- "* as published by the Free Software Foundation; either version 2\n" +
- "* of the License, or (at your option) any later version.\n" +
- "*\n" +
- "* This program is distributed in the hope that it will be useful,\n" +
- "* but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +
- "* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +
- "* GNU General Public License for more details.\n" +
- "*\n" +
- "* You should have received a copy of the GNU General Public License\n" +
- "* along with this program; if not, write to the Free Software\n" +
- "* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" +
- "* ##% */";
-
/** @return la javadoc de la classe à générer */
protected String generateClassJavadoc() {
return null;
@@ -389,7 +369,7 @@
}
protected void generateHeader() {
- headerBuilder.append(LICENCE).append("\n");
+ //headerBuilder.append(LICENCE).append("\n");
headerBuilder.append("\npackage ").append(pack).append(";\n");
if (!staticImports.isEmpty()) {
Collections.sort(staticImports);
@@ -463,4 +443,4 @@
}
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractOptionActionJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractOptionActionJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/AbstractOptionActionJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.codelutin.option.Option;
@@ -109,4 +107,4 @@
return sb.toString();
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/ConfigJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/ConfigJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/ConfigJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.apache.commons.lang.StringUtils;
@@ -194,4 +192,4 @@
sb.append("\n@see #").append(fieldName).append('\n');
return sb.toString();
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/DefaultOptionActionJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/DefaultOptionActionJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/DefaultOptionActionJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option.generate.java;
import org.apache.commons.lang.StringUtils;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionActionJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionActionJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionActionJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.apache.commons.lang.StringUtils;
@@ -155,4 +153,4 @@
sb.append("@return see {@link ").append(optionClass).append('#').append(methodName).append("()}");
return sb.toString();
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.apache.commons.lang.StringUtils;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionKeyJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionKeyJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionKeyJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.codelutin.option.Option;
@@ -88,4 +86,4 @@
return sb.toString();
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionParserJavaGenerator.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionParserJavaGenerator.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/java/OptionParserJavaGenerator.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.java;
import org.apache.commons.lang.StringUtils;
@@ -212,4 +211,4 @@
invokeMethod(builder, "builder", methodName, params);
}
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorContext.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorContext.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorContext.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.generate.util;
Modified: trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorGoal.java
===================================================================
--- trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorGoal.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/main/java/org/codelutin/option/generate/util/AbstractGeneratorGoal.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate.util;
import org.apache.maven.plugin.AbstractMojo;
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
/** @author chemit */
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext1.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext1.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyContext1.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
/** @author chemit */
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
import org.codelutin.option.def.OptionDefinition;
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser1.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser1.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/MyParser1.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option;
import org.codelutin.option.def.ArgumentType;
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserBadOptionTest.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserBadOptionTest.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserBadOptionTest.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2007 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
@@ -197,4 +203,4 @@
file = ParserUtilForTest.initFileMock(key, "option", defs);
parser = DefinitionParser.doParse(DefinitionParserFromProperties.class, file, Collections.<String, String>emptyMap());
}
-}
\ No newline at end of file
+}
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserTest.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserTest.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/DefinitionParserTest.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2007 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserTest.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserTest.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserTest.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,3 +1,21 @@
+/**
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.option.def;
import junit.framework.TestCase;
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserUtilForTest.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserUtilForTest.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/ParserUtilForTest.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2007 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/PropertiesLoaderTest.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/PropertiesLoaderTest.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/def/PropertiesLoaderTest.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.option.def;
Modified: trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/generate/GenerateJavaTest.java
===================================================================
--- trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/generate/GenerateJavaTest.java 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/maven-plugin/src/test/java/org/codelutin/option/generate/GenerateJavaTest.java 2008-08-24 10:20:12 UTC (rev 1065)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% maven-plugin
+ * Copyright (C) 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.option.generate;
import junit.framework.TestCase;
Modified: trunk/commandline/pom.xml
===================================================================
--- trunk/commandline/pom.xml 2008-08-24 10:16:13 UTC (rev 1064)
+++ trunk/commandline/pom.xml 2008-08-24 10:20:12 UTC (rev 1065)
@@ -40,7 +40,9 @@
<version>0.9</version>
<description>lutincommandline library main pom</description>
<inceptionYear>2008</inceptionYear>
-
+ <!-- BE WARE, this value must rewritten here since it will be otherwise suffixed by inheritance -->
+ <url>${labs.project.url}</url>
+
<!-- ************************************************************* -->
<!-- *** Build Settings ****************************************** -->
<!-- ************************************************************* -->
1
0
24 Aug '08
Author: tchemit
Date: 2008-08-24 10:16:13 +0000 (Sun, 24 Aug 2008)
New Revision: 1064
Added:
trunk/lutinutil/THIRD-PARTY.txt
Modified:
trunk/lutinutil/LICENSE.txt
Log:
passage en license lgpl
Modified: trunk/lutinutil/LICENSE.txt
===================================================================
--- trunk/lutinutil/LICENSE.txt 2008-08-24 10:01:42 UTC (rev 1063)
+++ trunk/lutinutil/LICENSE.txt 2008-08-24 10:16:13 UTC (rev 1064)
@@ -1,280 +1,166 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ 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.
- Preamble
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
+ 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.
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
+ 0. Additional Definitions.
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
+ 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.
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
+ 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.
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
+ 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".
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
+ 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 precise terms and conditions for copying, distribution and
-modification follow.
+ 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.
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+ 1. Exception to Section 3 of the GNU GPL.
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
+ 2. Conveying Modified Versions.
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
+ 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:
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
+ 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
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
+ 3. Object Code Incorporating Material from Library Header Files.
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
+ 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:
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
+ 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.
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
+ 4. Combined Works.
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
+ 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:
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one 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.
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
+ 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.
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
+ d) Do one of the following:
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
+ 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.
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
+ 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.
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
+ 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. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
+ 5. Combined Libraries.
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
+ 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:
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
+ 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.
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
+ 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.
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
+ 6. Revised Versions of the GNU Lesser General Public License.
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this 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.
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
+ 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.
- 9. The Free Software Foundation may publish revised and/or new versions
-of the 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.
+ 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.
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
Added: trunk/lutinutil/THIRD-PARTY.txt
===================================================================
--- trunk/lutinutil/THIRD-PARTY.txt (rev 0)
+++ trunk/lutinutil/THIRD-PARTY.txt 2008-08-24 10:16:13 UTC (rev 1064)
@@ -0,0 +1,14 @@
+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)
+
+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
[Lutinutil-commits] r1063 - in trunk/lutinutil: . src/main/java/org/codelutin/i18n src/main/java/org/codelutin/i18n/bundle src/main/java/org/codelutin/log src/main/java/org/codelutin/util src/main/java/org/codelutin/util/config src/main/resources/i18n src/test/java/org/codelutin/i18n src/test/java/org/codelutin/i18n/bundle src/test/java/org/codelutin/log src/test/java/org/codelutin/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 10:01:42 +0000 (Sun, 24 Aug 2008)
New Revision: 1063
Modified:
trunk/lutinutil/pom.xml
trunk/lutinutil/src/main/java/org/codelutin/i18n/CountryEnum.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/I18n.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nBundleBridge.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nDefaultTooltipFilter.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFileReader.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFilter.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nLoader.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nf.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/Language.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/LanguageEnum.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/LocaleEditor.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundle.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleEntry.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleManager.java
trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleScope.java
trunk/lutinutil/src/main/java/org/codelutin/log/Log4JWrapper.java
trunk/lutinutil/src/main/java/org/codelutin/log/LutinLog.java
trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogEvent.java
trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogFactory.java
trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogListener.java
trunk/lutinutil/src/main/java/org/codelutin/log/LutinProgressEvent.java
trunk/lutinutil/src/main/java/org/codelutin/log/MonitorMapper.java
trunk/lutinutil/src/main/java/org/codelutin/log/ProgressMonitorFrame.java
trunk/lutinutil/src/main/java/org/codelutin/log/ProgressState.java
trunk/lutinutil/src/main/java/org/codelutin/log/UserLog.java
trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java
trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParser.java
trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserDefaultOption.java
trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserException.java
trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserOption.java
trunk/lutinutil/src/main/java/org/codelutin/util/ArrayUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/BoundedList.java
trunk/lutinutil/src/main/java/org/codelutin/util/BoundedListOutOfBoundsException.java
trunk/lutinutil/src/main/java/org/codelutin/util/CallAnalyse.java
trunk/lutinutil/src/main/java/org/codelutin/util/CardinalityHelper.java
trunk/lutinutil/src/main/java/org/codelutin/util/CategorisedListenerSet.java
trunk/lutinutil/src/main/java/org/codelutin/util/CollectionUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/ConverterUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/DigestGenerator.java
trunk/lutinutil/src/main/java/org/codelutin/util/EnumConverter.java
trunk/lutinutil/src/main/java/org/codelutin/util/EnumEditor.java
trunk/lutinutil/src/main/java/org/codelutin/util/ExceptionUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/FileCompletion.java
trunk/lutinutil/src/main/java/org/codelutin/util/FileUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverter.java
trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverterFactory.java
trunk/lutinutil/src/main/java/org/codelutin/util/FormatMap.java
trunk/lutinutil/src/main/java/org/codelutin/util/GZUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/GZUtilException.java
trunk/lutinutil/src/main/java/org/codelutin/util/H2TypeEnum.java
trunk/lutinutil/src/main/java/org/codelutin/util/HashList.java
trunk/lutinutil/src/main/java/org/codelutin/util/HashMapMultiKey.java
trunk/lutinutil/src/main/java/org/codelutin/util/IOUtils.java
trunk/lutinutil/src/main/java/org/codelutin/util/LRUMapMultiKey.java
trunk/lutinutil/src/main/java/org/codelutin/util/ListenerSet.java
trunk/lutinutil/src/main/java/org/codelutin/util/LocaleConverter.java
trunk/lutinutil/src/main/java/org/codelutin/util/Log.java
trunk/lutinutil/src/main/java/org/codelutin/util/LoggingException.java
trunk/lutinutil/src/main/java/org/codelutin/util/LoggingPatternFormatter.java
trunk/lutinutil/src/main/java/org/codelutin/util/MD5.java
trunk/lutinutil/src/main/java/org/codelutin/util/MD5InputStream.java
trunk/lutinutil/src/main/java/org/codelutin/util/MD5State.java
trunk/lutinutil/src/main/java/org/codelutin/util/MonthEnum.java
trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/PropertiesDateRemoveFilterStream.java
trunk/lutinutil/src/main/java/org/codelutin/util/RecursiveProperties.java
trunk/lutinutil/src/main/java/org/codelutin/util/ReflectUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/Resource.java
trunk/lutinutil/src/main/java/org/codelutin/util/ResourceException.java
trunk/lutinutil/src/main/java/org/codelutin/util/ResourceNotFoundException.java
trunk/lutinutil/src/main/java/org/codelutin/util/SimplePaginationEnum.java
trunk/lutinutil/src/main/java/org/codelutin/util/SortedProperties.java
trunk/lutinutil/src/main/java/org/codelutin/util/StreamKeywordTokenizer.java
trunk/lutinutil/src/main/java/org/codelutin/util/StringUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/StringUtilException.java
trunk/lutinutil/src/main/java/org/codelutin/util/TransformedList.java
trunk/lutinutil/src/main/java/org/codelutin/util/Transformer.java
trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteSoftReference.java
trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteWeakReference.java
trunk/lutinutil/src/main/java/org/codelutin/util/URIConverter.java
trunk/lutinutil/src/main/java/org/codelutin/util/URLConverter.java
trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumber.java
trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberConverter.java
trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/ZipStreamEncoder.java
trunk/lutinutil/src/main/java/org/codelutin/util/ZipUtil.java
trunk/lutinutil/src/main/java/org/codelutin/util/config/Config.java
trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfig.java
trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfigProperty.java
trunk/lutinutil/src/main/java/org/codelutin/util/config/Property.java
trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleConfig.java
trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleIdentityConfig.java
trunk/lutinutil/src/main/resources/i18n/lutinutil-en_GB.properties
trunk/lutinutil/src/main/resources/i18n/lutinutil-fr_FR.properties
trunk/lutinutil/src/test/java/org/codelutin/i18n/I18nLoaderTest.java
trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBundleManagerTest.java
trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBunsleScopeTest.java
trunk/lutinutil/src/test/java/org/codelutin/log/LutinLogTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/ApplicationConfigTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/CallAnalyseTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/CardinalityHelperTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/CategorisedListenerSetTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/CollectionUtilTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/ConverterUtilTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/FileCompletionTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/FileUtilTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/HashMapMultiKeyTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/LRUMapMultiKeyTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/ListenerSetTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/LocaleConverterTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/LogTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/ObjectUtilTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/ResourceTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/StreamKeywordTokenizerTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/StringUtilTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/TransparenteReferenceTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/VersionNumberUtilTest.java
trunk/lutinutil/src/test/java/org/codelutin/util/ZipUtilTest.java
Log:
passage en license lgpl
Modified: trunk/lutinutil/pom.xml
===================================================================
--- trunk/lutinutil/pom.xml 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/pom.xml 2008-08-24 10:01:42 UTC (rev 1063)
@@ -87,7 +87,7 @@
<!-- i18n -->
<plugin>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<executions>
<execution>
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/CountryEnum.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/CountryEnum.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/CountryEnum.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n;
import static org.codelutin.i18n.I18n._;
@@ -284,4 +283,4 @@
}
return countryValue == null ? defaultValue : countryValue;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/I18n.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/I18n.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/I18n.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* ##%
- * Copyright (C) 2002 - 2007 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* I18n.java
@@ -347,4 +346,4 @@
}
return newLocale(language + (country == null ? "" : '_' + country));
}
-} //I18n
\ No newline at end of file
+} //I18n
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nBundleBridge.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nBundleBridge.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nBundleBridge.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003, 2004, 2005, 2006 Code Lutin,
-* Cedric Pineau, Benjamin Poussin, Arnaud Thimel
-*
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* **##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* BundleBridge.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nDefaultTooltipFilter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nDefaultTooltipFilter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nDefaultTooltipFilter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* i18nDefaultTooltipFilter.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFileReader.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFileReader.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFileReader.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* I18nFileReader.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFilter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFilter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nFilter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* i18nFilter.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nLoader.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nLoader.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nLoader.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.i18n;
@@ -49,6 +53,7 @@
protected List<Language> languages;
public I18nLoader(String encoding) {
+ log.info("encoding "+encoding);
this.encoding = encoding;
}
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nf.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nf.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/I18nf.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002-2008 Code Lutin, Benjamin Poussin
- *
- * 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
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You 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.
- *##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n;
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/Language.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/Language.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/Language.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/**##%%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/**
* Language.java
@@ -213,4 +212,4 @@
public String toString() {
return "Language <locale: " + locale + ", encoding: " + encoding + ",nbStences:" + (size()) + ">";
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/LanguageEnum.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/LanguageEnum.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/LanguageEnum.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n;
import static org.codelutin.i18n.I18n._;
@@ -183,4 +182,4 @@
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/LocaleEditor.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/LocaleEditor.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/LocaleEditor.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,36 +1,33 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n;
-import org.codelutin.i18n.I18n;
-
-import javax.swing.*;
+import javax.swing.JComboBox;
import java.util.Locale;
/**
* A {@link Locale} editor.
- *
+ * <p/>
* use the static method to have an instance of editor {@link #newEditor(java.util.Locale[])}
- *
+ * <p/>
* If no locale is given to this method, it will go and seek via
* {@link org.codelutin.i18n.bundle.I18nBundleManager#getLocales()} all loaded locales in i18n system
- *
+ *
* @author chemit
*/
public class LocaleEditor extends JComboBox {
@@ -54,4 +51,4 @@
return type;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundle.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundle.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundle.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2007, 2008 Code Lutin, Tony Chemit, Gabriel Landais
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.bundle;
import org.apache.commons.logging.Log;
@@ -42,8 +42,8 @@
* XXX.properties
* XXX-fr.properties
* XXX-fr_FR.properties
- * </pre> *
- * In that way, we can load resource in the godd order :load before more general scope to more specialized.
+ * </pre>
+ * In that way, we can load resource in the good order : load before more general scope to more specialized.
*
* @author chemit
* @see I18nBundleScope
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleEntry.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleEntry.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleEntry.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.bundle;
import org.codelutin.i18n.I18nFileReader;
@@ -129,6 +129,7 @@
if (I18nBundle.log.isDebugEnabled()) {
sb.append(getPath()).append("\n");
}
+ //fixme : voir pourquoi comment faire fonctionner avec n'importe quel encoding...
fileReader.load(inputStream, encoding);
if (I18nBundle.log.isDebugEnabled()) {
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleManager.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleManager.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleManager.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.bundle;
import org.apache.commons.logging.Log;
@@ -393,4 +393,4 @@
throw new IllegalStateException("should call init method on " + I18nBundleManager.class);
}
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleScope.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleScope.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/i18n/bundle/I18nBundleScope.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.bundle;
import org.codelutin.i18n.I18n;
@@ -136,4 +136,4 @@
private I18nBundleScope(String patternAll) {
this.patternAll = Pattern.compile(patternAll);
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/Log4JWrapper.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/Log4JWrapper.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/Log4JWrapper.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2007
- * Code Lutin, Benjamin Poussin
+/* **##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* Log4JWrapper.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/LutinLog.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/LutinLog.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/LutinLog.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, C�dric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LutinLog.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogEvent.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogEvent.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogEvent.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LutinLogEvent.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogFactory.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogFactory.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogFactory.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LutinLogFactory.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogListener.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogListener.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/LutinLogListener.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LutinLogListener.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/LutinProgressEvent.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/LutinProgressEvent.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/LutinProgressEvent.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LutinLogEvent.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/MonitorMapper.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/MonitorMapper.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/MonitorMapper.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* MonitorMapper.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/ProgressMonitorFrame.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/ProgressMonitorFrame.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/ProgressMonitorFrame.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ProgressMonitorFrame.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/ProgressState.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/ProgressState.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/ProgressState.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ProgressState.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/log/UserLog.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/log/UserLog.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/log/UserLog.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002-2008 Code Lutin, Benjamin Poussin
- *
- * 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
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You 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.
- *##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/
package org.codelutin.log;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002-2008 Code Lutin, Benjamin Poussin
- *
- * 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
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You 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.
- *##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParser.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParser.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParser.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003, 2004, 2005 Code Lutin,
-* Cédric Pineau, Benjamin Poussin,
-*
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ArgumentsParser.java
@@ -80,7 +77,7 @@
* @param argument le nombre d'argument que cette option a
* @param description description de cette option
* @return retourne l'option créer et qui sera utilisé
- * @see #addOption(Option)
+ * @see #addOption(javax.swing.text.html.Option)
*/
public ArgumentsParserOption addOption(String optionName,
String description, int argument, String... acceptedOption) {
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserDefaultOption.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserDefaultOption.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserDefaultOption.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2003 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
/**
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserException.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserException.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserException.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/**##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* /
/**
* ArgumentsParserException.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserOption.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserOption.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ArgumentsParserOption.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,14 +1,20 @@
/**
- * ##% Copyright (C) 2002, 2003 Code Lutin 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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. ##%*
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
/**
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ArrayUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ArrayUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ArrayUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ArrayUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/BoundedList.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/BoundedList.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/BoundedList.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003, 2004, 2005 Code Lutin,
-* Cédric Pineau, Benjamin Poussin,
-*
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* BoundedList.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/BoundedListOutOfBoundsException.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/BoundedListOutOfBoundsException.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/BoundedListOutOfBoundsException.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003, 2004, 2005 Code Lutin,
-* Cédric Pineau, Benjamin Poussin,
-*
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* BoundedListOfBoundsException.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/CallAnalyse.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/CallAnalyse.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/CallAnalyse.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, C�dric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* CallAnalyse.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/CardinalityHelper.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/CardinalityHelper.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/CardinalityHelper.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import java.util.regex.Matcher;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/CategorisedListenerSet.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/CategorisedListenerSet.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/CategorisedListenerSet.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* CategorisedListenerSet.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/CollectionUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/CollectionUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/CollectionUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* CollectionUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ConverterUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ConverterUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ConverterUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import org.apache.commons.beanutils.ConvertUtils;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/DigestGenerator.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/DigestGenerator.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/DigestGenerator.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/EnumConverter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/EnumConverter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/EnumConverter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-* Benjamin Poussin, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import org.apache.commons.beanutils.ConversionException;
@@ -135,4 +133,4 @@
vals = EnumSet.allOf(aClass);
return vals;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/EnumEditor.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/EnumEditor.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/EnumEditor.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import static org.codelutin.util.CollectionUtil.toGenericSet;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ExceptionUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ExceptionUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ExceptionUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%%
-* Copyright (C) 2002, 2003 Code Lutin
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%%**/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ExceptionUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/FileCompletion.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/FileCompletion.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/FileCompletion.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,4 +1,22 @@
/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
+/**
* <p>
* Class d'aide a la saisie de chemin de fichier
* </p>
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/FileUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/FileUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/FileUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* FileUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* FormatConverter.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverterFactory.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverterFactory.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/FormatConverterFactory.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* FormatConverterFactory.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/FormatMap.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/FormatMap.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/FormatMap.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* FormatMap.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/GZUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/GZUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/GZUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* GZUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/GZUtilException.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/GZUtilException.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/GZUtilException.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* GZUtilException.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/H2TypeEnum.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/H2TypeEnum.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/H2TypeEnum.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
/**
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/HashList.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/HashList.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/HashList.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* HashList.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/HashMapMultiKey.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/HashMapMultiKey.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/HashMapMultiKey.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* HashMapMultiKey.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/IOUtils.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/IOUtils.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/IOUtils.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.util;
import java.io.ByteArrayOutputStream;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/LRUMapMultiKey.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/LRUMapMultiKey.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/LRUMapMultiKey.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LRUMapMultiKey.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ListenerSet.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ListenerSet.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ListenerSet.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ListenerSet.java
*
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/LocaleConverter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/LocaleConverter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/LocaleConverter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-* Benjamin Poussin, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import org.apache.commons.beanutils.ConversionException;
@@ -121,4 +119,4 @@
return aClass == Locale.class;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/Log.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/Log.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/Log.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin, Cédric Pineau,
- Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* Log.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/LoggingException.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/LoggingException.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/LoggingException.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/**##%%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/**
* LogException.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/LoggingPatternFormatter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/LoggingPatternFormatter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/LoggingPatternFormatter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/**##%%
-* Copyright (C) 2002, 2003 Code Lutin
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%%**/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/**
* PatternFormatter.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/MD5.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/MD5.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/MD5.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.util;
import java.io.File;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/MD5InputStream.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/MD5InputStream.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/MD5InputStream.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.util;
import java.io.BufferedInputStream;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/MD5State.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/MD5State.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/MD5State.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.util;
/**
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/MonthEnum.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/MonthEnum.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/MonthEnum.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import static org.codelutin.i18n.I18n._;
@@ -68,4 +67,4 @@
// du chargement de l'enum...)
return _(libelle);
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, C�dric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ObjectUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/PropertiesDateRemoveFilterStream.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/PropertiesDateRemoveFilterStream.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/PropertiesDateRemoveFilterStream.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import java.io.FilterOutputStream;
@@ -29,9 +29,7 @@
public PropertiesDateRemoveFilterStream(OutputStream out) {
super(out);
firstLineOver = false;
- String lineSeparator = java.security.AccessController
- .doPrivileged(new sun.security.action.GetPropertyAction(
- "line.separator"));
+ String lineSeparator = System.getProperty("line.separator");
endChar = lineSeparator.charAt(lineSeparator.length() - 1);
}
@@ -47,4 +45,4 @@
}
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/RecursiveProperties.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/RecursiveProperties.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/RecursiveProperties.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* RecursiveProperties.java
@@ -54,7 +53,6 @@
*/
public class RecursiveProperties extends Properties {
- /** */
private static final long serialVersionUID = -5012939272780929116L;
public RecursiveProperties() {
@@ -65,6 +63,7 @@
super(defaults);
}
+ @Override
public String getProperty(String key) {
String result = super.getProperty(key);
if (result == null)
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ReflectUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ReflectUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ReflectUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import java.lang.reflect.Field;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/Resource.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/Resource.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/Resource.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/**##%%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/**
* Resource.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ResourceException.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ResourceException.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ResourceException.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ResourceException.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ResourceNotFoundException.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ResourceNotFoundException.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ResourceNotFoundException.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/**##%%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/**
* ResourceNotFoundException.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/SimplePaginationEnum.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/SimplePaginationEnum.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/SimplePaginationEnum.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
/**
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/SortedProperties.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/SortedProperties.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/SortedProperties.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2007
- * I18nPlugin, Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/StreamKeywordTokenizer.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/StreamKeywordTokenizer.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/StreamKeywordTokenizer.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* StreamKeywordTokenizer.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/StringUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/StringUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/StringUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%%**/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* StringUtil.java
*
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/StringUtilException.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/StringUtilException.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/StringUtilException.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
/*
* Created on Dec 7, 2004
*
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/TransformedList.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/TransformedList.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/TransformedList.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* TransformedList.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/Transformer.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/Transformer.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/Transformer.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* Transformer.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteSoftReference.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteSoftReference.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteSoftReference.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003 Code Lutin
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* TransparenteSoftReference.java
*
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteWeakReference.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteWeakReference.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/TransparenteWeakReference.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003 Code Lutin
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* TransparenteWeakReference.java
*
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/URIConverter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/URIConverter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/URIConverter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-* Benjamin Poussin, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import org.apache.commons.beanutils.ConversionException;
@@ -76,4 +74,4 @@
return aClass == URI.class;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/URLConverter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/URLConverter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/URLConverter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-* Benjamin Poussin, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import org.apache.commons.beanutils.ConversionException;
@@ -74,4 +72,4 @@
return aClass == URL.class;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumber.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumber.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumber.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import java.util.Arrays;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberConverter.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberConverter.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberConverter.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-* Benjamin Poussin, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import org.apache.commons.beanutils.ConversionException;
@@ -83,4 +81,4 @@
return aClass == VersionNumber.class;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/VersionNumberUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* NumberVersionUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ZipStreamEncoder.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ZipStreamEncoder.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ZipStreamEncoder.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,20 @@
/*
-* ##% Copyright (C) 2008 Code Lutin, Gabriel Landais
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import java.io.IOException;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ZipUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ZipUtil.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ZipUtil.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ZipUtil.java
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/config/Config.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/config/Config.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/config/Config.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.util.config;
@@ -43,4 +47,4 @@
void copyTo(Object dst, EnumSet<E> keys);
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfig.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfig.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfig.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.util.config;
@@ -34,4 +38,4 @@
void setEmail(String email);
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfigProperty.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfigProperty.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/config/IdentityConfigProperty.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.util.config;
@@ -42,4 +46,4 @@
IdentityConfigProperty(Class<?> type) {
this.type = type;
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/config/Property.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/config/Property.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/config/Property.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.util.config;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleConfig.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleConfig.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleConfig.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.util.config;
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleIdentityConfig.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleIdentityConfig.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/config/SimpleIdentityConfig.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.util.config;
Modified: trunk/lutinutil/src/main/resources/i18n/lutinutil-en_GB.properties
===================================================================
--- trunk/lutinutil/src/main/resources/i18n/lutinutil-en_GB.properties 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/resources/i18n/lutinutil-en_GB.properties 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,5 +1,7 @@
+Can't\ instantiate\ %s\ with\ params\ %s=
Can't\ save\ config\ in\ file\ %s=
Invoke\ %s\ with\ %s=
+Try\ to\ create\ %s\ with\ %s=
hello\ you\ \!=hello you \!
lutin.error.convertor.noValue=No value specified for converter {0}
lutin.error.no.convertor=no convertor found for type {1} and objet ''{0}''
Modified: trunk/lutinutil/src/main/resources/i18n/lutinutil-fr_FR.properties
===================================================================
--- trunk/lutinutil/src/main/resources/i18n/lutinutil-fr_FR.properties 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/main/resources/i18n/lutinutil-fr_FR.properties 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,5 +1,7 @@
+Can't\ instantiate\ %s\ with\ params\ %s=
Can't\ save\ config\ in\ file\ %s=
Invoke\ %s\ with\ %s=
+Try\ to\ create\ %s\ with\ %s=
hello\ you\ \!=Salut toi\!
lutin.error.convertor.noValue=Aucune valeur \u00E0 convertir pour le convertisseur {0}
lutin.error.no.convertor=Aucun convertisseur trouv\u00E9 pour le type {1} et l''objet ''{0}''
Modified: trunk/lutinutil/src/test/java/org/codelutin/i18n/I18nLoaderTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/i18n/I18nLoaderTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/i18n/I18nLoaderTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.i18n;
import junit.framework.TestCase;
Modified: trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBundleManagerTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBundleManagerTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBundleManagerTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.i18n.bundle;
import junit.framework.Test;
Modified: trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBunsleScopeTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBunsleScopeTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/i18n/bundle/I18nBunsleScopeTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.i18n.bundle;
Modified: trunk/lutinutil/src/test/java/org/codelutin/log/LutinLogTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/log/LutinLogTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/log/LutinLogTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LutinLogTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/ApplicationConfigTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/ApplicationConfigTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/ApplicationConfigTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
/*
* Copyright (C) 2002-2008 Code Lutin, Benjamin Poussin
*
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/CallAnalyseTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/CallAnalyseTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/CallAnalyseTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* CallAnalyseTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/CardinalityHelperTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/CardinalityHelperTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/CardinalityHelperTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,22 +1,20 @@
/*
-* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin,
-* Benjamin Poussin, 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-* ##% */
+* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.util;
import junit.framework.TestCase;
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/CategorisedListenerSetTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/CategorisedListenerSetTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/CategorisedListenerSetTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,19 +1,20 @@
/*
- * *##% Copyright (C) 2006 Code Lutin, Cédric Pineau, Benjamin Poussin
- *
- * 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 of the License, or (at your option) any later
- * version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You 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. ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
/*******************************************************************************
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/CollectionUtilTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/CollectionUtilTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/CollectionUtilTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.util;
import junit.framework.TestCase;
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/ConverterUtilTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/ConverterUtilTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/ConverterUtilTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.util;
import junit.framework.TestCase;
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/FileCompletionTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/FileCompletionTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/FileCompletionTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,3 +1,21 @@
+/**
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
package org.codelutin.util;
import java.io.IOException;
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/FileUtilTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/FileUtilTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/FileUtilTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003, 2004 Code Lutin, Cédric Pineau,
- * Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* FileUtilTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/HashMapMultiKeyTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/HashMapMultiKeyTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/HashMapMultiKeyTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2005
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* HashMapMultiKeyTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/LRUMapMultiKeyTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/LRUMapMultiKeyTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/LRUMapMultiKeyTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LRUMapMultiKeyTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/ListenerSetTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/ListenerSetTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/ListenerSetTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
- *
- * 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
- * of the License, or (at your option) any later version.
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ListenerSetTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/LocaleConverterTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/LocaleConverterTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/LocaleConverterTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,16 +1,20 @@
/**
- * ##% 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
- * of the License, or (at your option) any later version. This program is
- * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
- * 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.
- * ##%
+ * *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.util;
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/LogTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/LogTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/LogTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin, Cédric Pineau,
- Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* LogTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/ObjectUtilTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/ObjectUtilTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/ObjectUtilTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2007
- * Code Lutin, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ObjectUtilTest.java
@@ -139,4 +137,4 @@
this.name = name;
}
}
-}
\ No newline at end of file
+}
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/ResourceTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/ResourceTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/ResourceTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
-* Copyright (C) 2002, 2003, 2004 Code Lutin, C�dric Pineau, Benjamin Poussin
-*
-* 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
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You 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.
-*##%*/
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ResourceTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/StreamKeywordTokenizerTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/StreamKeywordTokenizerTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/StreamKeywordTokenizerTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* StreamKeywordTokenizer.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/StringUtilTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/StringUtilTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/StringUtilTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin, C�dric Pineau,
- Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/*******************************************************************************
* StringUtilTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/TransparenteReferenceTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/TransparenteReferenceTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/TransparenteReferenceTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* TransparenteReferenceTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/VersionNumberUtilTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/VersionNumberUtilTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/VersionNumberUtilTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,20 +1,19 @@
-/* *##%
- * Copyright (C) 2002, 2003 Code Lutin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* VersionNumberUtilTest.java
Modified: trunk/lutinutil/src/test/java/org/codelutin/util/ZipUtilTest.java
===================================================================
--- trunk/lutinutil/src/test/java/org/codelutin/util/ZipUtilTest.java 2008-08-24 09:22:01 UTC (rev 1062)
+++ trunk/lutinutil/src/test/java/org/codelutin/util/ZipUtilTest.java 2008-08-24 10:01:42 UTC (rev 1063)
@@ -1,21 +1,19 @@
-/* *##%
- * Copyright (C) 2006
- * Code Lutin, Cédric Pineau, Benjamin Poussin
+/* *##% Lutin utilities library
+ * Copyright (C) 2004 - 2008 CodeLutin
*
- * 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
- * of the License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU General Lesser Public License for more details.
*
- * You 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.
- *##%*/
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
/* *
* ZipUtilTest.java
1
0
[Lutinutil-commits] r1062 - trunk/maven-i18n-plugin
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 09:22:01 +0000 (Sun, 24 Aug 2008)
New Revision: 1062
Modified:
trunk/maven-i18n-plugin/pom.xml
Log:
passage en groupid org.codelutin.plugin
Modified: trunk/maven-i18n-plugin/pom.xml
===================================================================
--- trunk/maven-i18n-plugin/pom.xml 2008-08-24 09:17:57 UTC (rev 1061)
+++ trunk/maven-i18n-plugin/pom.xml 2008-08-24 09:22:01 UTC (rev 1062)
@@ -13,7 +13,7 @@
<version>2.4</version>
</parent>
- <groupId>lutinplugin</groupId>
+ <groupId>org.codelutin.plugin</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<dependencies>
1
0
[Lutinutil-commits] r1061 - trunk/maven-i18n-plugin
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 09:17:57 +0000 (Sun, 24 Aug 2008)
New Revision: 1061
Added:
trunk/maven-i18n-plugin/changelog.txt
Log:
changelog
Added: trunk/maven-i18n-plugin/changelog.txt
===================================================================
--- trunk/maven-i18n-plugin/changelog.txt (rev 0)
+++ trunk/maven-i18n-plugin/changelog.txt 2008-08-24 09:17:57 UTC (rev 1061)
@@ -0,0 +1,9 @@
+ver-0-5 20080824
+
+* <chemit> refactoring code + unificiation des reader et writer pour que cela fonctionne en utf8
+* <chemit> suppresion dependance lutinutil
+* <chemit> passage duprojet en utf8
+* <chemit> passage en maven 2 layout directory
+
+ver-0-4
+* <chemit> pas maintenu avant !
\ No newline at end of file
1
0
[Lutinutil-commits] r1060 - in trunk/maven-i18n-plugin: . src/main/java/org/codelutin/i18n/plugin src/main/java/org/codelutin/i18n/plugin/core src/main/java/org/codelutin/i18n/plugin/extension src/main/java/org/codelutin/i18n/plugin/ui
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 09:16:36 +0000 (Sun, 24 Aug 2008)
New Revision: 1060
Added:
trunk/maven-i18n-plugin/THIRD-PARTY.txt
Modified:
trunk/maven-i18n-plugin/pom.xml
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/PluginHelper.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nParser.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nPlugin.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Generate.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Getter.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Parser.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserEvent.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserException.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/SourceEntry.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJava.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaActionConfig.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaTabConfig.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJaxx.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserSwixat.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserXml.java
trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/ui/KeysModifier.java
Log:
correction du bug suite au passage utf8.
creation release 0.5 qui fonctionne tres bien en utf8 et qui utilise lutinproject:2.4
Added: trunk/maven-i18n-plugin/THIRD-PARTY.txt
===================================================================
--- trunk/maven-i18n-plugin/THIRD-PARTY.txt (rev 0)
+++ trunk/maven-i18n-plugin/THIRD-PARTY.txt 2008-08-24 09:16:36 UTC (rev 1060)
@@ -0,0 +1,33 @@
+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)
+
+GPL :
+ * Lutin file processor (lutinlib:lutinprocessor:0.12 - http://labs.libre-entreprise.org/projects/lutinprocessor/lutinprocessor)
+
+LGPL :
+ * Lutin plugin utilities library (org.codelutin:lutinpluginutil:0.1 - http://labs.libre-entreprise.org/projects/lutinutil)
+
+The Apache Software License, Version 2.0 :
+ * Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
+ * Logging (commons-logging:commons-logging:1.1 - http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/)
+ * 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)
+ * Unnamed - ant:ant:jar:1.6.5 (ant:ant:1.6.5 - http://www.apache.org/ant)
+ * XML Commons External Components XML APIs (xml-apis:xml-apis:1.0.b2 - http://xml.apache.org/commons/#external)
+
+Unknown license :
+ * Default Plexus Container (org.codehaus.plexus:plexus-container-default:1.0-alpha-9 - no url defined)
+ * 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-collections:commons-collections:jar:3.1 (commons-collections:commons-collections:3.1 - no url defined)
+ * Unnamed - xalan:xalan:jar:2.7.0 (xalan:xalan:2.7.0 - no url defined)
+ * classworlds (classworlds:classworlds:1.1-alpha-2 - http://classworlds.codehaus.org/)
\ No newline at end of file
Modified: trunk/maven-i18n-plugin/pom.xml
===================================================================
--- trunk/maven-i18n-plugin/pom.xml 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/pom.xml 2008-08-24 09:16:36 UTC (rev 1060)
@@ -66,7 +66,7 @@
<!-- *** Project Information ************************************* -->
<!-- ************************************************************* -->
<name>Plugin maven pour lutini18n</name>
- <version>0.4-SNAPSHOT</version>
+ <version>0.5</version>
<description>
Plugin pour maven 2 pour la génération des bundles pour l'internationnalisation des applications java fait par
lutinutil-i18n
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/PluginHelper.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/PluginHelper.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/PluginHelper.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,28 +1,31 @@
/**
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
package org.codelutin.i18n.plugin;
import java.io.File;
+import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FilterOutputStream;
import java.io.IOException;
+import java.io.InputStreamReader;
import java.io.OutputStream;
+import java.io.OutputStreamWriter;
import java.text.MessageFormat;
import java.util.Collections;
import java.util.Enumeration;
@@ -157,14 +160,18 @@
* Permet d'avoir les fichiers de proprietes tries.
*
* @author julien
+ * @author chemit
*/
public static class I18nProperties extends Properties {
private static final long serialVersionUID = -1147150444452577558L;
+ /** l'encoding a utiliser pour lire et ecrire le properties. */
+ protected String encoding;
- public I18nProperties() {
+ public I18nProperties(String encoding) {
super();
+ this.encoding = encoding;
}
public I18nProperties(Properties defaults) {
@@ -188,9 +195,37 @@
return result.elements();
}
- public void store(File bundleOut) throws IOException {
- super.store(new PropertiesDateRemoveFilterStream(new FileOutputStream(bundleOut)), null);
+ /**
+ * Charge le properties a partir d'un fichier.
+ *
+ * @param src le fichier src a charger en utilisant l'encoding declare
+ * @return l'instance du properties
+ * @throws IOException if any io pb
+ */
+ public I18nProperties load(File src) throws IOException {
+ super.load(new InputStreamReader(new FileInputStream(src), encoding));
+ return this;
}
+
+ /**
+ * Sauvegarde le properties dans un fichier, sans commentaire et en utilisant l'encoding declare.
+ *
+ * @param dst the fichier de destination
+ * @throws IOException if any io pb
+ */
+ public void store(File dst) throws IOException {
+ super.store(new OutputStreamWriter(new PropertiesDateRemoveFilterStream(new FileOutputStream(dst)), encoding), null);
+ }
+
+ /**
+ * Sauvegarde le properties dans un fichier, sans commentaire en laissant java encode en unicode.
+ *
+ * @param dst le fichier de destination
+ * @throws IOException if any io pb
+ */
+ public void store(OutputStream dst) throws IOException {
+ super.store(new PropertiesDateRemoveFilterStream(dst), null);
+ }
}
public static class PropertiesDateRemoveFilterStream extends FilterOutputStream {
@@ -201,9 +236,7 @@
public PropertiesDateRemoveFilterStream(OutputStream out) {
super(out);
firstLineOver = false;
- String lineSeparator = java.security.AccessController
- .doPrivileged(new sun.security.action.GetPropertyAction(
- "line.separator"));
+ String lineSeparator = System.getProperty("line.separator");
endChar = lineSeparator.charAt(lineSeparator.length() - 1);
}
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nParser.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nParser.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nParser.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.plugin.core;
@@ -20,20 +20,16 @@
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.codelutin.i18n.plugin.PluginHelper;
+import org.codelutin.i18n.plugin.PluginHelper.I18nProperties;
import org.codelutin.i18n.plugin.ui.KeysModifier;
import org.codelutin.util.FileUpdater;
import org.codelutin.util.FileUtil;
-import java.io.BufferedOutputStream;
import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
import java.io.IOException;
-import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import java.util.Properties;
/**
* Abstract implementation for parsing goal.
@@ -74,11 +70,11 @@
*/
protected SourceEntry[] entries;
- protected Properties result;
+ protected I18nProperties result;
- protected Properties oldParser;
+ protected I18nProperties oldParser;
- protected Properties oldLanguage;
+ protected I18nProperties oldLanguage;
protected int fileTreated = 0;
protected long t0;
@@ -91,9 +87,9 @@
public void init() {
t0 = System.nanoTime();
- result = new Properties();
- oldParser = new Properties();
- oldLanguage = new Properties();
+ result = new I18nProperties(encoding);
+ oldParser = new I18nProperties(encoding);
+ oldLanguage = new I18nProperties(encoding);
out.mkdirs();
// evenements
if (keysModifier) {
@@ -111,6 +107,7 @@
*
* @param file the file path to test
* @return <code>true</code> if file is up to date and do not need to be parsed
+ * @see FileUpdater
*/
protected final boolean isFileUptodate(File file) {
return updater != null && updater.isFileUpToDate(file);
@@ -130,28 +127,17 @@
try {
// Reprise sur un ancien parsing
File oldParserFile = PluginHelper.getGetterFile(out, getOutGetter(), true);
- //File oldParserFile = new File(out.getAbsolutePath() + File.separatorChar + getOutGetter());
File saveFile = PluginHelper.getGetterFileBackup(out, getOutGetter());
- //File saveFile = new File(out.getAbsolutePath() + File.separatorChar + getOutGetter() + "~");
- /*if (!oldParserFile.exists()) {
- oldParserFile.getParentFile().mkdirs();
- }
- oldParserFile.createNewFile();*/
-
- oldParser.load(new FileInputStream(oldParserFile));
-
+ oldParser.load(oldParserFile);
FileUtil.copy(oldParserFile, saveFile);
// Anciennes cles disponnibles
+ //fixme : pourquoi on utilise un bundle precis ? le premier ici, je ne comprends pas
File oldLanguageFile = PluginHelper.getI18nFile(src, artifactId, bundles[0], true);
- //File oldLanguageFile = new File(src.getAbsolutePath() + File.separatorChar + artifactId + "-" + bundles[0] + ".properties");
- /*if (!oldLanguageFile.exists()) {
- oldLanguageFile.getParentFile().mkdirs();
- }
- oldLanguageFile.createNewFile();*/
- oldLanguage.load(new FileInputStream(oldLanguageFile));
+ oldLanguage.load(oldLanguageFile);
+
// Parsing
parse();
@@ -168,6 +154,11 @@
}
+ /**
+ * launch the parse on every given entries.
+ *
+ * @throws IOException if any io pb
+ */
public void parse() throws IOException {
if (treateDefaultEntry) {
addDefaultEntry();
@@ -199,10 +190,21 @@
}
}
+ /**
+ * Obtain all the relative path of files to treate for a given entry.
+ *
+ * @param entry the given entry
+ * @return the list of relative path of files for the given entry
+ */
protected String[] getFilesForEntry(SourceEntry entry) {
return entry.getIncludedFiles(getDefaultBasedir(), getDefaultIncludes(), getDefaultExcludes());
}
+ /**
+ * Add the default entry to entries given in configuration.
+ * <p/>
+ * This is a convinient method to simplify the configuration of the plugin.
+ */
protected void addDefaultEntry() {
List<SourceEntry> list;
@@ -215,6 +217,13 @@
entries = list.toArray(new SourceEntry[list.size()]);
}
+ /**
+ * launch parsing on a given entry.
+ *
+ * @param basedir the basedir of the entry
+ * @param files the relative path of files to be treated for the entry.
+ * @throws IOException if any io pb.
+ */
protected void parseEntry(File basedir, String[] files) throws IOException {
long t00 = System.nanoTime();
for (int i = 0; i < files.length; i++) {
@@ -235,7 +244,7 @@
// Detection de nouvelles cles, sauvegarde du fichier pour pouvoir le restaurer en cas de plantage
if (size != result.size()) {
- saveProperties0();
+ saveGetterFile();
}
if (touchFile) {
if (verbose) {
@@ -252,16 +261,13 @@
}
}
- protected void saveProperties0() throws IOException {
- OutputStream outputStream = null;
- try {
- outputStream = new BufferedOutputStream(new FileOutputStream(PluginHelper.getGetterFile(out, getOutGetter(), false)));
- //outputStream = new BufferedOutputStream(new FileOutputStream(out.getAbsolutePath() + File.separatorChar + getOutGetter()));
- result.store(outputStream, null);
- } finally {
- if (outputStream != null) {
- outputStream.close();
- }
- }
+ /**
+ * Save the result in the getter file.
+ *
+ * @throws IOException if any io pb
+ */
+ protected void saveGetterFile() throws IOException {
+ File getterFile = PluginHelper.getGetterFile(out, getOutGetter(), false);
+ result.store(getterFile);
}
}
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nPlugin.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nPlugin.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/AbstractI18nPlugin.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
@@ -20,15 +20,10 @@
import org.apache.maven.plugin.AbstractMojo;
import org.codelutin.i18n.plugin.PluginHelper;
-import org.codelutin.i18n.plugin.PluginHelper.I18nProperties;
import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
-import java.util.Properties;
/**
* Classe permettant d'obenir les parametres pendant les différentes phases
@@ -55,21 +50,37 @@
protected File src;
/**
- * Met les fichiers generes dans le repertoire des sources i18n.
+ * Repertoire des fichiers generes i18n.
*
- * @parameter expression="${i18n.genSrc}" default-value="true"
+ * @parameter expression="${i18n.out}" default-value="${basedir}/target/gen/i18n"
+ * @required
*/
- protected boolean genSrc;
+ protected File out;
/**
- * Repertoire des fichiers generes i18n.
+ * Nom du projet.
*
- * @parameter expression="${i18n.out}" default-value="${basedir}/target/gen/i18n"
+ * @parameter expression="${i18n.artifactId}" default-value="${project.artifactId}"
+ * @readonly
+ */
+ protected String artifactId;
+
+ /**
+ * encoding a utiliser pour charger et sauver les bundles
+ *
+ * @parameter expression="${i18n.encoding}" default-value="${maven.compile.encoding}"
* @required
*/
- protected File out;
+ protected String encoding;
/**
+ * Met les fichiers generes dans le repertoire des sources i18n.
+ *
+ * @parameter expression="${i18n.genSrc}" default-value="true"
+ */
+ protected boolean genSrc;
+
+ /**
* Active la modification de cle
*
* @parameter expression="${i18n.keysModifier}" default-value="false"
@@ -84,14 +95,6 @@
protected boolean verbose;
/**
- * Nom du projet.
- *
- * @parameter expression="${i18n.artifactId}" default-value="${project.artifactId}"
- * @readonly
- */
- protected String artifactId;
-
- /**
* conserve les anciens fichiers de traduction avec un suffix ~
*
* @parameter expression="${i18n.keepBackup}" default-value="true"
@@ -106,14 +109,6 @@
protected boolean strictMode;
/**
- * encoding a utiliser pour charger et sauver les bundles
- *
- * @parameter expression="${i18n.encoding}" default-value="${maven.compile.encoding}"
- * @required
- */
- protected String encoding;
-
- /**
* Répertoire de stockage des fichiers i18n pour la recuperation des fichiers
* de traduction entre librairie
*/
@@ -141,24 +136,6 @@
}
/**
- * Concatène deux fichiers de proprietes
- *
- * @param in le fichier entrant
- * @param out le fichier sortant
- * @throws FileNotFoundException si fichier non trouvé
- * @throws IOException si problème pendant la sauvegarde
- */
- protected void concactProperties(File in, File out) throws IOException {
- Properties propertiesIn = new I18nProperties();
- propertiesIn.load(new FileInputStream(in));
-
- I18nProperties propertiesOut = new I18nProperties();
- propertiesOut.load(new FileInputStream(out));
- propertiesOut.putAll(propertiesIn);
- propertiesOut.store(out);
- }
-
- /**
* Construit une chaine de log formatée.
*
* @param msg le prefix du message
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Generate.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Generate.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Generate.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
@@ -25,9 +25,8 @@
import org.codelutin.util.FileUtil;
import java.io.File;
-import java.io.FileInputStream;
+import java.io.FileOutputStream;
import java.io.IOException;
-import java.util.Properties;
/**
* Merge des fichiers de propriétés avec les anciens.
@@ -47,23 +46,20 @@
for (String bundle : bundles) {
try {
// Merge
- //File bundleSrc = new File(src.getAbsolutePath() + File.separatorChar + artifactId + "-" + bundle + ".properties");
- //File bundleOut = new File(out.getAbsolutePath() + File.separatorChar + artifactId + "-" + bundle + ".properties");
File bundleSrc = PluginHelper.getI18nFile(src, artifactId, bundle, false);
File bundleOut = PluginHelper.getI18nFile(out, artifactId, bundle, false);
if (bundleSrc.exists()) {
- Properties propertiesSrc = new Properties();
- propertiesSrc.load(new FileInputStream(bundleSrc));
+ I18nProperties propertiesSrc = new I18nProperties(encoding).load(bundleSrc);
- I18nProperties propertiesOut = new I18nProperties();
+ I18nProperties propertiesOut = new I18nProperties(encoding);
if (!strictMode) {
// push back in bundle out, all the bundle src keys
propertiesOut.putAll(propertiesSrc);
}
- propertiesOut.load(new FileInputStream(bundleOut));
+ propertiesOut.load(bundleOut);
// Parcours des clés
for (Object key : propertiesOut.keySet()) {
@@ -82,14 +78,13 @@
}
}
- //saveBundle(bundleOut, propertiesOut);
+ //fixme : on devrait laisser le fichier en utf8 ?
+ //propertiesOut.store(bundleOut);
+ propertiesOut.store(new FileOutputStream(bundleOut));
- propertiesOut.store(bundleOut);
-
// Sauvegarde avant copie
if (genSrc && keepBackup) {
FileUtil.copy(bundleSrc, PluginHelper.getI18nFileBackup(src, artifactId, bundle));
- //FileUtil.copy(bundleSrc, new File(src.getAbsolutePath() + File.separatorChar + artifactId + "-" + bundle + ".properties" + "~"));
}
getLog().info("Merge bundle " + bundleSrc.getAbsolutePath());
@@ -108,9 +103,4 @@
}
}
- /*void saveBundle(File bundleOut, Properties propertiesBundle) throws IOException {
- FileOutputStream fileOutputStream = new FileOutputStream(bundleOut);
- PropertiesDateRemoveFilterStream filter = new PropertiesDateRemoveFilterStream(fileOutputStream);
- propertiesBundle.store(filter, null);
- }*/
}
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Getter.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Getter.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Getter.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
@@ -22,13 +22,15 @@
import org.apache.maven.plugin.MojoFailureException;
import org.codehaus.plexus.util.DirectoryScanner;
import org.codelutin.i18n.plugin.PluginHelper;
+import org.codelutin.i18n.plugin.PluginHelper.I18nProperties;
import org.codelutin.util.FileUtil;
import java.io.File;
+import java.io.FileNotFoundException;
import java.io.IOException;
/**
- * Récupère les différents fichiers des parsers en un fichier de propriétés.
+ * Recupere les différents fichiers des parsers en un fichier de proprietes.
*
* @author julien
* @goal get
@@ -54,7 +56,6 @@
// Fusion des fichiers propriétés des différents parsers
for (String file : files) {
File bundleGetter = PluginHelper.getGetterFile(out, file, false);
- //File bundleGetter = new File(out.getAbsolutePath() + File.separatorChar + file);
concactProperties(bundleGetter, bundleGetters);
if (genSrc) {
bundleGetter.delete();
@@ -64,7 +65,6 @@
// Création des bundles
for (String bundle : bundles) {
- //File bundleOut = new File(out.getAbsolutePath() + File.separatorChar + artifactId + "-" + bundle + ".properties");
File bundleOut = PluginHelper.getI18nFile(out, artifactId, bundle, false);
FileUtil.copy(bundleGetters, bundleOut);
getLog().info("Generate bundle " + bundleOut.getAbsolutePath());
@@ -76,4 +76,20 @@
throw new MojoFailureException("File Error I/O");
}
}
+
+ /**
+ * Concatene deux fichiers de proprietes
+ *
+ * @param in le fichier entrant
+ * @param out le fichier sortant
+ * @throws FileNotFoundException si fichier non trouvé
+ * @throws IOException si problème pendant la sauvegarde
+ */
+ protected void concactProperties(File in, File out) throws IOException {
+ I18nProperties propertiesIn = new I18nProperties(encoding).load(in);
+
+ I18nProperties propertiesOut = new I18nProperties(encoding).load(out);
+ propertiesOut.putAll(propertiesIn);
+ propertiesOut.store(out);
+ }
}
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Parser.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Parser.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/Parser.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
@@ -30,7 +30,11 @@
*/
public interface Parser {
- /** Lancement du parser */
+ /**
+ * Lancement du parser
+ *
+ * @throws java.io.IOException if any io pb
+ */
public void parse() throws IOException;
/**
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserEvent.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserEvent.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserEvent.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserException.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserException.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/ParserException.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/SourceEntry.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/SourceEntry.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/core/SourceEntry.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.plugin.core;
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJava.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJava.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJava.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaActionConfig.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaActionConfig.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaActionConfig.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
package org.codelutin.i18n.plugin.extension;
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaTabConfig.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaTabConfig.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJavaTabConfig.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/**
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
*/
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJaxx.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJaxx.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserJaxx.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserSwixat.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserSwixat.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserSwixat.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserXml.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserXml.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/extension/ParserXml.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
@@ -102,9 +102,7 @@
// Détection de nouvelles clés, sauvegarde du fichier pour pouvoir le restaurer en cas de plantage
if (size != result.size()) {
- saveProperties0();
- //OutputStream xmlparserOut = new FileOutputStream(out.getAbsolutePath() + File.separatorChar + getOutGetter());
- //result.store(xmlparserOut, null);
+ saveGetterFile();
}
} catch (Exception e) {
throw new ParserException(e);
Modified: trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/ui/KeysModifier.java
===================================================================
--- trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/ui/KeysModifier.java 2008-08-24 08:02:04 UTC (rev 1059)
+++ trunk/maven-i18n-plugin/src/main/java/org/codelutin/i18n/plugin/ui/KeysModifier.java 2008-08-24 09:16:36 UTC (rev 1060)
@@ -1,18 +1,18 @@
/*
* *##% Plugin maven pour lutini18n
* Copyright (C) 2007 - 2008 CodeLutin
- *
+ *
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
@@ -31,8 +31,8 @@
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
-import java.awt.event.WindowListener;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
@@ -151,7 +151,7 @@
*/
public void eventNextFile(File file) {
if (needModifiedFile) {
- String content = "";
+ String content;
int region = 0;
try {
@@ -214,31 +214,13 @@
}
/** Action sur la fermeture de la frame */
- class EventWindows implements WindowListener {
+ class EventWindows extends WindowAdapter {
- public void windowClosed(WindowEvent e) {
- }
-
- public void windowActivated(WindowEvent e) {
- }
-
+ @Override
public void windowClosing(WindowEvent e) {
setVisible(false);
eventNextKey();
}
-
- public void windowDeactivated(WindowEvent e) {
- }
-
- public void windowDeiconified(WindowEvent e) {
- }
-
- public void windowIconified(WindowEvent e) {
- }
-
- public void windowOpened(WindowEvent e) {
- }
-
}
/** Permet de passer à la clé suivante */
1
0
[Lutinutil-commits] r1059 - trunk/maven-license-switcher-plugin/src/main/java/org/codelutin/license
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 08:02:04 +0000 (Sun, 24 Aug 2008)
New Revision: 1059
Modified:
trunk/maven-license-switcher-plugin/src/main/java/org/codelutin/license/SwitchLicenseMojo.java
Log:
suppression de la propriete doSwitch pour declancher le goal switch : le goal est directement lancer dans le profile license de lutinproject
Modified: trunk/maven-license-switcher-plugin/src/main/java/org/codelutin/license/SwitchLicenseMojo.java
===================================================================
--- trunk/maven-license-switcher-plugin/src/main/java/org/codelutin/license/SwitchLicenseMojo.java 2008-08-22 22:49:37 UTC (rev 1058)
+++ trunk/maven-license-switcher-plugin/src/main/java/org/codelutin/license/SwitchLicenseMojo.java 2008-08-24 08:02:04 UTC (rev 1059)
@@ -1,4 +1,5 @@
-/*##% Plugin maven pour switcher les licenses
+/**
+ * *##% Plugin maven pour switcher les licenses
* Copyright (C) 2008 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
@@ -95,14 +96,6 @@
*/
protected List<String> testCompileSourceRoots;
- /**
- * Un flag pour indiquer de lancer le goal.
- *
- * @parameter expression="${license-switcher.doSwitch}" default-value="false"
- * @required
- */
- protected boolean doSwitch;
-
/** le header a ajouter dans chaque fichier source java */
protected String licenseHeaderContent;
@@ -138,11 +131,6 @@
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
- if (!doSwitch) {
- getLog().info("goal was not executed, you must specify the license-switcher.doSwitch to launch the goal");
- return;
- }
-
super.execute();
if (javaFilesToTreate.isEmpty()) {
1
0
[Lutinutil-commits] r1058 - trunk/lutinutil/src/main/java/org/codelutin/util
by bpoussin@users.labs.libre-entreprise.org 22 Aug '08
by bpoussin@users.labs.libre-entreprise.org 22 Aug '08
22 Aug '08
Author: bpoussin
Date: 2008-08-22 22:49:37 +0000 (Fri, 22 Aug 2008)
New Revision: 1058
Modified:
trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java
Log:
- ajout de methode permettant de creer de nouveau objet facilement
newInstance(String classWithParams)
newInstance(Class, String ... params)
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java 2008-08-22 22:48:21 UTC (rev 1057)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ObjectUtil.java 2008-08-22 22:49:37 UTC (rev 1058)
@@ -32,6 +32,7 @@
package org.codelutin.util;
import java.lang.reflect.Array;
+import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import static org.codelutin.i18n.I18nf._;
@@ -190,7 +191,111 @@
return result;
}
+ public static Object newInstance(String constructorWithParams) throws ClassNotFoundException {
+ int p = constructorWithParams.indexOf('(');
+ int l = constructorWithParams.lastIndexOf(')');
+ String [] params = null;
+ String classname = null;
+ if (p != -1) {
+ String tmp = constructorWithParams.substring(p + 1, l);
+ params = StringUtil.split(tmp, ",");
+ classname = constructorWithParams.substring(0, p);
+ } else {
+ classname = constructorWithParams;
+ }
+ Class clazz = Thread.currentThread().getContextClassLoader().loadClass(classname);
+ Object result = newInstance(clazz, params);
+ return result;
+ }
/**
+ * Create new instance of clazz, call constructor with params as String.
+ * Each param is converted to required type for
+ * constructor with beanutils converter, first constructor that permit
+ * instanciation is used
+ *
+ * @param clazz class to instanciated
+ * @param params parameters for constructor call
+ * @return new instance of clazz
+ */
+ public static <T> T newInstance(Class<T> clazz, String ... params)
+ throws IllegalArgumentException {
+ if (params == null) {
+ params = new String[0];
+ }
+ List<Constructor<T>> constructors = getConstructor(clazz, params.length);
+
+ for (Constructor<T> c : constructors) {
+ try {
+ Class[] types = c.getParameterTypes();
+
+ int last = types.length;
+ if (c.isVarArgs()) {
+ // on traite le dernier differement
+ last--;
+ }
+
+ Object[] parameters = new Object[types.length];
+ for (int i = 0; i < last; i++) {
+ String v = params[i];
+ Class argClazz = types[i];
+ Object t = convert(v, argClazz);
+ parameters[i] = t;
+ }
+
+ if (c.isVarArgs()) {
+ Class argClazz = types[last]; // get var args type
+ argClazz = argClazz.getComponentType(); // get array component type
+ List tmp = new ArrayList();
+ for (int i = last; i < params.length; i++) {
+ String v = params[i];
+ Object t = convert(v, argClazz);
+ tmp.add(t);
+ }
+ parameters[last] = tmp.toArray((Object[]) Array.newInstance(argClazz, tmp.size()));
+ }
+
+ if (log.isDebugEnabled()) {
+ log.debug(_("Try to create %s with %s", clazz, Arrays.toString(parameters)));
+ }
+ T result = c.newInstance(parameters);
+
+ return result;
+ } catch(Exception eee) {
+ // this constructors don't work, try next
+ if (log.isDebugEnabled()) {
+ log.debug("Creation failed try with next constructor");
+ }
+ }
+ }
+ throw new IllegalArgumentException(_("Can't instantiate %s with params %s",
+ clazz, Arrays.toString(params)));
+ }
+
+ /**
+ * Get all constructors that support paramNumber as parameters numbers.
+ * Varargs is supported
+ *
+ * @param clazz la classe sur lequel rechercher le constructeur
+ * @param paramNumber le nombre de parametre souhaite pour le constructeur,
+ * -1 indique que tous les constructeur sont souhaite.
+ * @return
+ */
+ public static <T> List<Constructor<T>> getConstructor(Class<T> clazz, int paramNumber) {
+ List<Constructor<T>> result = new ArrayList<Constructor<T>>();
+
+ Constructor[] constructors = clazz.getConstructors();
+ for (Constructor c : constructors) {
+ if (paramNumber < 0 ||
+ (c.isVarArgs() && c.getParameterTypes().length <= paramNumber - 1) ||
+ c.getParameterTypes().length == paramNumber) {
+ result.add(c);
+ }
+ }
+
+ return result;
+ }
+
+ /**
* Method toObject
*
* @param o Object to transform
1
0
[Lutinutil-commits] r1057 - trunk/lutinutil/src/main/java/org/codelutin/util
by bpoussin@users.labs.libre-entreprise.org 22 Aug '08
by bpoussin@users.labs.libre-entreprise.org 22 Aug '08
22 Aug '08
Author: bpoussin
Date: 2008-08-22 22:48:21 +0000 (Fri, 22 Aug 2008)
New Revision: 1057
Modified:
trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java
Log:
- ajout de getOptionStartsWith pour recupere toutes les options commencant par une chaine
Modified: trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java
===================================================================
--- trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java 2008-08-21 16:25:08 UTC (rev 1056)
+++ trunk/lutinutil/src/main/java/org/codelutin/util/ApplicationConfig.java 2008-08-22 22:48:21 UTC (rev 1057)
@@ -291,11 +291,11 @@
protected Properties jvm = new Properties(env);
protected Properties line = new Properties(jvm);
protected Properties options = new Properties(line);
-
+
protected Map<String, CacheItem> cacheOption = new HashMap<String, ApplicationConfig.CacheItem>();
protected Map<Class, Object> cacheAction = new HashMap<Class, Object>();
-
+ /** contient apres l'appel de parse, la liste des arguments non utilises */
protected List<String> unparsed = new ArrayList<String>();
protected Map<Integer, List<Action>> actions = new HashMap<Integer, List<Action>>();
@@ -524,6 +524,25 @@
}
/**
+ * Permet de recuperer l'ensemble des options commencant par une certaine
+ * chaine
+ *
+ * @param key debut de cle a recuperer
+ * @return
+ */
+ public Properties getOptionStartsWith(String prefix) {
+ Properties result = new Properties();
+
+ for (String key : options.stringPropertyNames()) {
+ if(key.startsWith(prefix)) {
+ result.setProperty(key, options.getProperty(key));
+ }
+ }
+
+ return result;
+ }
+
+ /**
* get option value as typed value
*
* @param clazz type of object wanted as return type
1
0