japi-cvs Mailing List for JAPI (Page 39)
Status: Beta
Brought to you by:
christianhujer
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
(115) |
May
(11) |
Jun
(5) |
Jul
(2) |
Aug
(10) |
Sep
(35) |
Oct
(14) |
Nov
(49) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(57) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(25) |
Jun
(134) |
Jul
(76) |
Aug
(34) |
Sep
(27) |
Oct
(5) |
Nov
|
Dec
(1) |
2008 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(63) |
Nov
(30) |
Dec
(43) |
2009 |
Jan
(10) |
Feb
(420) |
Mar
(67) |
Apr
(3) |
May
(61) |
Jun
(21) |
Jul
(19) |
Aug
|
Sep
(6) |
Oct
(16) |
Nov
(1) |
Dec
|
2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
(7) |
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: <chr...@us...> - 2007-06-30 07:41:24
|
Revision: 460 http://svn.sourceforge.net/japi/?rev=460&view=rev Author: christianhujer Date: 2007-06-30 00:41:21 -0700 (Sat, 30 Jun 2007) Log Message: ----------- Introduced constants for magic numbers. Added missing @NotNull / @Nullable annotations. Modified Paths: -------------- libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java Modified: libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java =================================================================== --- libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java 2007-06-29 20:08:21 UTC (rev 459) +++ libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java 2007-06-30 07:41:21 UTC (rev 460) @@ -43,6 +43,7 @@ import javax.swing.SwingConstants; import net.sf.japi.swing.ActionFactory; import org.jetbrains.annotations.Nullable; +import org.jetbrains.annotations.NotNull; /** * Class for constructing and showing About dialogs. @@ -100,26 +101,35 @@ public class AboutDialog extends JPanel { /** Action Factory to create Actions. */ - protected static final ActionFactory ACTION_FACTORY = ActionFactory.getFactory("net.sf.japi.swing.about"); + @NotNull protected static final ActionFactory ACTION_FACTORY = ActionFactory.getFactory("net.sf.japi.swing.about"); + /** Default buffer size for I/O, e.g. when reading a license. */ + private static final int BUF_SIZE = 4096; + + /** Default number of rows in a textarea in an AboutDialog. */ + private static final int TEXT_ROWS = 16; + + /** Default number of columns in a textarea in an AboutDialog. */ + private static final int TEXT_COLUMNS = 80; + /** Action Factory to create Actions. */ - private final ActionFactory actionFactory; + @NotNull private final ActionFactory actionFactory; /** * The main tabs. */ - private final JTabbedPane tabs; + @NotNull private final JTabbedPane tabs; /** * The tabs in the license tab. */ - private final JTabbedPane licensePane; + @NotNull private final JTabbedPane licensePane; /** * Create an AboutDialog. * @param actionFactory ActionFactory to use. */ - public AboutDialog(final ActionFactory actionFactory) { + public AboutDialog(@NotNull final ActionFactory actionFactory) { super(new BorderLayout()); this.actionFactory = actionFactory; tabs = new JTabbedPane(); @@ -146,7 +156,7 @@ * Create an AboutDialog. * @param actionFactoryName Name of the ActionFactory to use. */ - public AboutDialog(final String actionFactoryName) { + public AboutDialog(@NotNull final String actionFactoryName) { this(ActionFactory.getFactory(actionFactoryName)); } @@ -154,7 +164,7 @@ * Show about dialog. * @param parent Parent component to show dialog on */ - public void showAboutDialog(final Component parent) { + public void showAboutDialog(@Nullable final Component parent) { tabs.setSelectedIndex(0); if (licensePane.getComponentCount() > 0) { licensePane.setSelectedIndex(0); @@ -166,7 +176,7 @@ * Adds a tab. * @param component Component to add as tab */ - public void addTab(final Component component) { + public void addTab(@NotNull final Component component) { tabs.add(component); } @@ -174,7 +184,7 @@ * Build the license tab. * @return component for license tab */ - private JTabbedPane buildLicenseTab() { + @NotNull private JTabbedPane buildLicenseTab() { final JTabbedPane licensePane = new JTabbedPane(); for (int i = 1; actionFactory.getString("license." + i + ".title") != null; i++) { licensePane.add(buildLicenseSubTab(String.valueOf(i))); @@ -188,13 +198,13 @@ * @param number number of license * @return component for XY license tab */ - private JComponent buildLicenseSubTab(final String number) { + @NotNull private JComponent buildLicenseSubTab(@NotNull final String number) { String licenseText; try { final Reader in = new InputStreamReader(new BufferedInputStream(getClass().getClassLoader().getResource(actionFactory.getString("license." + number + ".file")).openStream())); try { final StringBuilder sb = new StringBuilder(); - final char[] buf = new char[4096]; + final char[] buf = new char[BUF_SIZE]; for (int bytesRead; (bytesRead = in.read(buf)) != -1;) { sb.append(buf, 0, bytesRead); } @@ -207,7 +217,7 @@ } catch (final IOException e) { licenseText = ACTION_FACTORY.getString("license.missing"); } - final JTextArea license = new JTextArea(licenseText, 16, 80); + final JTextArea license = new JTextArea(licenseText, TEXT_ROWS, TEXT_COLUMNS); license.setLineWrap(true); license.setWrapStyleWord(true); license.setEditable(false); @@ -222,7 +232,7 @@ * Build the about tab. * @return component for about tab */ - private JComponent buildAboutTab() { + @NotNull private JComponent buildAboutTab() { String buildNumber = "unknown"; String buildDeveloper = "unknown"; String buildTstamp = "unknown"; @@ -255,7 +265,7 @@ * Build the runtime properties tab. * @return component for runtime properties tab */ - private JComponent buildRuntimePropertiesTab() { + @NotNull private JComponent buildRuntimePropertiesTab() { final StringBuilder propertiesText = new StringBuilder(); final SortedSet<String> keys = new TreeSet<String>(); final Properties props = System.getProperties(); @@ -271,7 +281,7 @@ .append(props.getProperty(key)) .append('\n'); } - final JTextArea properties = new JTextArea(propertiesText.toString(), 16, 77); + final JTextArea properties = new JTextArea(propertiesText.toString(), TEXT_ROWS, TEXT_COLUMNS); properties.setEditable(false); properties.setFont(new Font("Monospaced", Font.PLAIN, properties.getFont().getSize())); final JScrollPane scroller = new JScrollPane(properties); @@ -284,7 +294,7 @@ * Build the build properties tab. * @return component for build properties tab */ - private JComponent buildBuildPropertiesTab() { + @NotNull private JComponent buildBuildPropertiesTab() { final StringBuilder propertiesText = new StringBuilder(); final SortedSet<String> keys = new TreeSet<String>(); try { @@ -302,7 +312,7 @@ } catch (final Exception e) { propertiesText.append(e.toString()); } - final JTextArea properties = new JTextArea(propertiesText.toString(), 16, 77); + final JTextArea properties = new JTextArea(propertiesText.toString(), TEXT_ROWS, TEXT_COLUMNS); properties.setEditable(false); properties.setFont(new Font("Monospaced", Font.PLAIN, properties.getFont().getSize())); final JScrollPane scroller = new JScrollPane(properties); @@ -314,7 +324,7 @@ /** Returns the ActionFactory to create actions. * @return The ActionFactory to create actions. */ - protected ActionFactory getActionFactory() { + @NotNull protected ActionFactory getActionFactory() { return actionFactory; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-29 20:08:22
|
Revision: 459 http://svn.sourceforge.net/japi/?rev=459&view=rev Author: christianhujer Date: 2007-06-29 13:08:21 -0700 (Fri, 29 Jun 2007) Log Message: ----------- Improved fix for #1745284 --help options list is not sorted Now the short and long options are mixed when sorting. Modified Paths: -------------- libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java Added Paths: ----------- libs/argparser/trunk/src/net/sf/japi/io/args/MethodOptionComparator.java Modified: libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java 2007-06-29 19:56:52 UTC (rev 458) +++ libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java 2007-06-29 20:08:21 UTC (rev 459) @@ -26,8 +26,7 @@ import java.util.MissingResourceException; import java.util.ResourceBundle; import java.util.Set; -import java.util.Map; -import java.util.HashMap; +import java.util.SortedSet; import java.util.TreeSet; import org.jetbrains.annotations.NotNull; @@ -96,12 +95,14 @@ maxLong = Math.max(maxLong, currentLong - ", ".length()); maxShort = Math.max(maxShort, currentShort - ", ".length()); } - final String formatString = "%s: %s%s%n"; + final String formatString = "%-" + maxShort + "s%s%-" + maxLong + "s: %s%s%n"; final Formatter format = new Formatter(System.err); format.format(getHelpHeader()); - final Map<String, Method> methodMap = new HashMap<String, Method>(); - for (final Method optionMethod : optionMethods) { + final SortedSet<Method> sortedMethods = new TreeSet<Method>(MethodOptionComparator.INSTANCE); + sortedMethods.addAll(optionMethods); + for (final Method optionMethod : sortedMethods) { final Option option = optionMethod.getAnnotation(Option.class); + final OptionType optionType = option.type(); final String[] names = option.value(); final List<String> shortNames = new ArrayList<String>(); final List<String> longNames = new ArrayList<String>(); @@ -113,13 +114,6 @@ } } final String delim = shortNames.size() > 0 && longNames.size() > 0 ? ", " : " "; - final String options = String.format("%-" + maxShort + "s%s%-" + maxLong + "s", StringJoiner.join(", ", shortNames), delim, StringJoiner.join(", ", longNames)); - methodMap.put(options, optionMethod); - } - for (final String options : new TreeSet<String>(methodMap.keySet())) { - final Method optionMethod = methodMap.get(options); - final Option option = optionMethod.getAnnotation(Option.class); - final OptionType optionType = option.type(); String description; try { final String optionKey = option.key().equals("") ? optionMethod.getName() : option.key(); @@ -127,8 +121,7 @@ } catch (final MissingResourceException ignore) { description = ""; } - format.format(formatString, options, description, optionType.getDescription()); - + format.format(formatString, StringJoiner.join(", ", shortNames), delim, StringJoiner.join(", ", longNames), description, optionType.getDescription()); } format.format(getHelpFooter()); format.flush(); Added: libs/argparser/trunk/src/net/sf/japi/io/args/MethodOptionComparator.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/MethodOptionComparator.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/MethodOptionComparator.java 2007-06-29 20:08:21 UTC (rev 459) @@ -0,0 +1,46 @@ +/* + * JAPI libs-argparser is a library for parsing command line arguments. + * Copyright (C) 2007 Christian Hujer. + * + * This library 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 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package net.sf.japi.io.args; + +import java.lang.reflect.Method; +import java.util.Comparator; +import java.util.Arrays; +import org.jetbrains.annotations.NotNull; + +/** Compares methods by their options. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public class MethodOptionComparator implements Comparator<Method> { + + /** Global instance. */ + @NotNull public static final Comparator<Method> INSTANCE = new MethodOptionComparator(); + + /** {@inheritDoc} */ + public int compare(@NotNull final Method o1, @NotNull final Method o2) { + final Option option1 = o1.getAnnotation(Option.class); + final Option option2 = o2.getAnnotation(Option.class); + final String[] names1 = option1.value(); + final String[] names2 = option2.value(); + Arrays.sort(names1); + Arrays.sort(names2); + return names1[0].compareTo(names2[0]); + } + +} // class MethodOptionComparator Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/MethodOptionComparator.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-29 19:56:54
|
Revision: 458 http://svn.sourceforge.net/japi/?rev=458&view=rev Author: christianhujer Date: 2007-06-29 12:56:52 -0700 (Fri, 29 Jun 2007) Log Message: ----------- Fix for #1745284 --help options list is not sorted Modified Paths: -------------- libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java Modified: libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java 2007-06-29 18:27:44 UTC (rev 457) +++ libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java 2007-06-29 19:56:52 UTC (rev 458) @@ -26,6 +26,9 @@ import java.util.MissingResourceException; import java.util.ResourceBundle; import java.util.Set; +import java.util.Map; +import java.util.HashMap; +import java.util.TreeSet; import org.jetbrains.annotations.NotNull; /** @@ -93,12 +96,12 @@ maxLong = Math.max(maxLong, currentLong - ", ".length()); maxShort = Math.max(maxShort, currentShort - ", ".length()); } - final String formatString = "%-" + maxShort + "s%s%-" + maxLong + "s: %s%s%n"; + final String formatString = "%s: %s%s%n"; final Formatter format = new Formatter(System.err); format.format(getHelpHeader()); + final Map<String, Method> methodMap = new HashMap<String, Method>(); for (final Method optionMethod : optionMethods) { final Option option = optionMethod.getAnnotation(Option.class); - final OptionType optionType = option.type(); final String[] names = option.value(); final List<String> shortNames = new ArrayList<String>(); final List<String> longNames = new ArrayList<String>(); @@ -110,6 +113,13 @@ } } final String delim = shortNames.size() > 0 && longNames.size() > 0 ? ", " : " "; + final String options = String.format("%-" + maxShort + "s%s%-" + maxLong + "s", StringJoiner.join(", ", shortNames), delim, StringJoiner.join(", ", longNames)); + methodMap.put(options, optionMethod); + } + for (final String options : new TreeSet<String>(methodMap.keySet())) { + final Method optionMethod = methodMap.get(options); + final Option option = optionMethod.getAnnotation(Option.class); + final OptionType optionType = option.type(); String description; try { final String optionKey = option.key().equals("") ? optionMethod.getName() : option.key(); @@ -117,7 +127,8 @@ } catch (final MissingResourceException ignore) { description = ""; } - format.format(formatString, StringJoiner.join(", ", shortNames), delim, StringJoiner.join(", ", longNames), description, optionType.getDescription()); + format.format(formatString, options, description, optionType.getDescription()); + } format.format(getHelpFooter()); format.flush(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:35:38
|
Revision: 455 http://svn.sourceforge.net/japi/?rev=455&view=rev Author: christianhujer Date: 2007-06-25 13:34:08 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed some checkstyle issues. Modified Paths: -------------- libs/util/trunk/src/net/sf/japi/util/Collections2.java Modified: libs/util/trunk/src/net/sf/japi/util/Collections2.java =================================================================== --- libs/util/trunk/src/net/sf/japi/util/Collections2.java 2007-06-25 20:32:16 UTC (rev 454) +++ libs/util/trunk/src/net/sf/japi/util/Collections2.java 2007-06-25 20:34:08 UTC (rev 455) @@ -33,7 +33,7 @@ * @author <a href="mailto:ch...@ri...">Christian Hujer</a> * @see Collections */ -public class Collections2 { +public final class Collections2 { /** Class of java.util.Arrays.ArrayList */ private static final Class<? extends List<?>> AL; @@ -45,6 +45,10 @@ AL = c; } + /** Utility class - do not instanciate. */ + private Collections2() { + } + /** Returns a collection only containing those elements accepted by the given filter. * The original collection remains unmodified. * This method tries its best to create a new, empty variant of the Collection passed in <var>c</var>: @@ -174,7 +178,4 @@ } } - /** Private constructor - no instances needed. */ - private Collections2() {} - } // class Collections2 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:32:45
|
Revision: 454 http://svn.sourceforge.net/japi/?rev=454&view=rev Author: christianhujer Date: 2007-06-25 13:32:16 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/AbstractTreeTableModel.java libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/JTreeTable.java libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModel.java libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java Modified: libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/AbstractTreeTableModel.java =================================================================== --- libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/AbstractTreeTableModel.java 2007-06-25 20:29:13 UTC (rev 453) +++ libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/AbstractTreeTableModel.java 2007-06-25 20:32:16 UTC (rev 454) @@ -24,6 +24,8 @@ import javax.swing.event.TreeModelListener; /** Abstract base implementation of TreeTableModel. + * @param <R> root type + * @param <T> node type * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public abstract class AbstractTreeTableModel<R, T> implements TreeTableModel<R, T> { @@ -99,7 +101,7 @@ for (int i = listeners.length - 2; i >= 0; i -= 2) { //noinspection ObjectEquality if (listeners[i] == TreeModelListener.class) { - ((TreeModelListener)listeners[i+1]).treeNodesChanged(e); + ((TreeModelListener) listeners[i + 1]).treeNodesChanged(e); } } } @@ -116,7 +118,7 @@ for (int i = listeners.length - 2; i >= 0; i -= 2) { //noinspection ObjectEquality if (listeners[i] == TreeModelListener.class) { - ((TreeModelListener)listeners[i + 1]).treeNodesInserted(e); + ((TreeModelListener) listeners[i + 1]).treeNodesInserted(e); } } } @@ -133,7 +135,7 @@ for (int i = listeners.length - 2; i >= 0; i -= 2) { //noinspection ObjectEquality if (listeners[i] == TreeModelListener.class) { - ((TreeModelListener)listeners[i + 1]).treeNodesRemoved(e); + ((TreeModelListener) listeners[i + 1]).treeNodesRemoved(e); } } } @@ -150,7 +152,7 @@ for (int i = listeners.length - 2; i >= 0; i -= 2) { //noinspection ObjectEquality if (listeners[i] == TreeModelListener.class) { - ((TreeModelListener)listeners[i + 1]).treeStructureChanged(e); + ((TreeModelListener) listeners[i + 1]).treeStructureChanged(e); } } } Modified: libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/JTreeTable.java =================================================================== --- libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/JTreeTable.java 2007-06-25 20:29:13 UTC (rev 453) +++ libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/JTreeTable.java 2007-06-25 20:32:16 UTC (rev 454) @@ -33,6 +33,8 @@ /** This example shows how to create a simple JTreeTable component, * by using a JTree as a renderer (and editor) for the cells in a * particular column in the JTable. + * @param <R> root type + * @param <T> node type * @warning DO NOT RELY ON THE INHERITANCE! */ public class JTreeTable<R, T> extends JTable { @@ -94,8 +96,12 @@ /** Renderer for TreeTableCells. */ public class TreeTableCellRenderer extends JTree implements TableCellRenderer { + /** Row that's currently visible. */ private int visibleRow; + /** Create a TreeTableCellRenderer. + * @param model TreeModel to display. + */ public TreeTableCellRenderer(final TreeModel model) { super(model); } Modified: libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModel.java =================================================================== --- libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModel.java 2007-06-25 20:29:13 UTC (rev 453) +++ libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModel.java 2007-06-25 20:32:16 UTC (rev 454) @@ -29,6 +29,8 @@ * TreeTableModel myData = new MyTreeTableModel(); * JTreeTable treeTable = new JTreeTable(myData); * </pre> + * @param <R> root type + * @param <T> node type * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public interface TreeTableModel<R, T> { Modified: libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java =================================================================== --- libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java 2007-06-25 20:29:13 UTC (rev 453) +++ libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java 2007-06-25 20:32:16 UTC (rev 454) @@ -26,6 +26,8 @@ /** * TODO + * @param <R> root type + * @param <T> node type * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public class TreeTableModelTreeModelAdapter<R, T> implements TreeModel { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:29:14
|
Revision: 453 http://svn.sourceforge.net/japi/?rev=453&view=rev Author: christianhujer Date: 2007-06-25 13:29:13 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-tod/trunk/src/net/sf/japi/swing/tod/TipOfTheDayManager.java libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action.properties libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action_de.properties Modified: libs/swing-tod/trunk/src/net/sf/japi/swing/tod/TipOfTheDayManager.java =================================================================== --- libs/swing-tod/trunk/src/net/sf/japi/swing/tod/TipOfTheDayManager.java 2007-06-25 20:25:36 UTC (rev 452) +++ libs/swing-tod/trunk/src/net/sf/japi/swing/tod/TipOfTheDayManager.java 2007-06-25 20:29:13 UTC (rev 453) @@ -188,9 +188,9 @@ /** {@inheritDoc} */ public InputStream run() { - return classLoader == null ? - ClassLoader.getSystemResourceAsStream(serviceId) : - classLoader.getResourceAsStream(serviceId); + return classLoader == null + ? ClassLoader.getSystemResourceAsStream(serviceId) + : classLoader.getResourceAsStream(serviceId); } }); Modified: libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action.properties =================================================================== --- libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action.properties 2007-06-25 20:25:36 UTC (rev 452) +++ libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action.properties 2007-06-25 20:29:13 UTC (rev 453) @@ -52,4 +52,4 @@ saxError.title=XML Errors dialogDontShowAgain=Show this dialog again next time. laf=Look and Feel -ReflectionAction.nonPublicMethod=Action Methods must be accessible public. That means the declaring class as well as the method must be public.\n{0} \ No newline at end of file +ReflectionAction.nonPublicMethod=Action Methods must be accessible public. That means the declaring class as well as the method must be public.\n{0} Modified: libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action_de.properties =================================================================== --- libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action_de.properties 2007-06-25 20:25:36 UTC (rev 452) +++ libs/swing-tod/trunk/src/net/sf/japi/swing/tod/action_de.properties 2007-06-25 20:29:13 UTC (rev 453) @@ -21,10 +21,14 @@ todPrev.text=Vorheriger todPrev.mnemonic=V todPrev.accel=V +todPrev.accel2=LEFT +todPrev.icon=navigation/Back16 todPrev.shortdescription=Zeigt den vorherigen Tipp des Tages. todNext.text=N\xE4chster todNext.mnemonic=N todNext.accel=N +todNext.accel2=RIGHT +todNext.icon=navigation/Forward16 todNext.shortdescription=Zeigt den n\xE4chsten Tipp des Tages. todRand.text=Zuf\xE4llig todRand.mnemonic=R @@ -34,6 +38,7 @@ todClose.accel=S todClose.text=Schlie\xDFen todClose.shortdescription=Schlie\xDFt das Tipp des Tages Fenster. +tipOfTheDay.icon=general/TipOfTheDay24 todShowAtStartup.text=Tipp des Tages beim Start anzeigen todShowAtStartup.mnemonic=S todShowAtStartup.shortdescription=<html>Wenn aktiviert, wird ein Tipp des Tages automatisch bei Programmstart angezeigt.<br>Wenn nicht aktiviert, werden Tipps des Tages nur auf ausdr\xFCcklichen Wunsch angezeigt. @@ -41,7 +46,10 @@ todsUnavailable=Keine Tipps des Tages verf\xFCgbar todHeading=Wussten Sie schon? todIndex=Zeige Tipp des Tages {0} aus {1}. +optionsChooseFile.icon=general/Open16 dialogDontShowAgain=Show this dialog again next time. saxError.title=XML Fehler saxErrorClear.text=L\xF6schen saxErrorClose.text=Schlie\xDFen +laf=Look and Feel +ReflectionAction.nonPublicMethod=Action Methods must be accessible public. That means the declaring class as well as the method must be public.\n{0} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:25:39
|
Revision: 452 http://svn.sourceforge.net/japi/?rev=452&view=rev Author: christianhujer Date: 2007-06-25 13:25:36 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-prefs/trunk/src/net/sf/japi/swing/prefs/PreferencesPane.java Modified: libs/swing-prefs/trunk/src/net/sf/japi/swing/prefs/PreferencesPane.java =================================================================== --- libs/swing-prefs/trunk/src/net/sf/japi/swing/prefs/PreferencesPane.java 2007-06-25 20:24:53 UTC (rev 451) +++ libs/swing-prefs/trunk/src/net/sf/japi/swing/prefs/PreferencesPane.java 2007-06-25 20:25:36 UTC (rev 452) @@ -54,7 +54,7 @@ /** A map for DIALOGS that are already displaying. * This map is used to prevent the dialog for the same PreferencesGroup be shown twice within the same application. */ - private static final Map<PreferencesGroup,JDialog> DIALOGS = new HashMap<PreferencesGroup,JDialog>(); + private static final Map<PreferencesGroup, JDialog> DIALOGS = new HashMap<PreferencesGroup, JDialog>(); /** The group of preferences to display. */ private final PreferencesGroup prefs; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:24:54
|
Revision: 451 http://svn.sourceforge.net/japi/?rev=451&view=rev Author: christianhujer Date: 2007-06-25 13:24:53 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-misc/trunk/src/net/sf/japi/swing/misc/CollectionsListModel.java libs/swing-misc/trunk/src/net/sf/japi/swing/misc/JSAXErrorHandler.java Modified: libs/swing-misc/trunk/src/net/sf/japi/swing/misc/CollectionsListModel.java =================================================================== --- libs/swing-misc/trunk/src/net/sf/japi/swing/misc/CollectionsListModel.java 2007-06-25 20:22:56 UTC (rev 450) +++ libs/swing-misc/trunk/src/net/sf/japi/swing/misc/CollectionsListModel.java 2007-06-25 20:24:53 UTC (rev 451) @@ -27,6 +27,7 @@ /** * A ListModel for {@link java.util.List}. + * @param <E> element type for the collection to be a list model for. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public class CollectionsListModel<E> extends AbstractListModel implements List<E> { Modified: libs/swing-misc/trunk/src/net/sf/japi/swing/misc/JSAXErrorHandler.java =================================================================== --- libs/swing-misc/trunk/src/net/sf/japi/swing/misc/JSAXErrorHandler.java 2007-06-25 20:22:56 UTC (rev 450) +++ libs/swing-misc/trunk/src/net/sf/japi/swing/misc/JSAXErrorHandler.java 2007-06-25 20:24:53 UTC (rev 451) @@ -37,7 +37,7 @@ public final class JSAXErrorHandler extends JOptionPane implements ErrorHandler { /** Action Factory. */ - private static final ActionFactory actionFactory = ActionFactory.getFactory("net.sf.japi.swing"); + private static final ActionFactory ACTION_FACTORY = ActionFactory.getFactory("net.sf.japi.swing"); /** The JTextArea which displays the errors. * @serial include @@ -60,13 +60,13 @@ private JButton closeButton; /** Create a JSAXErrorHandler. - * @param parent + * @param parent Parent component to display on. */ public JSAXErrorHandler(final Component parent) { errorPane.setEditable(false); setMessage(new JScrollPane(errorPane)); - final JButton clearButton = new JButton(JSAXErrorHandler.actionFactory.createAction(false, "saxErrorClear", this)); - closeButton = new JButton(JSAXErrorHandler.actionFactory.createAction(false, "saxErrorClose", this)); + final JButton clearButton = new JButton(JSAXErrorHandler.ACTION_FACTORY.createAction(false, "saxErrorClear", this)); + closeButton = new JButton(JSAXErrorHandler.ACTION_FACTORY.createAction(false, "saxErrorClose", this)); this.parent = parent; setOptions(new Object[] { closeButton, clearButton }); } @@ -121,7 +121,7 @@ /** Show the dialog. */ private void showDialog() { if (dialog == null) { - dialog = createDialog(parent, JSAXErrorHandler.actionFactory.getString("saxError_title")); + dialog = createDialog(parent, JSAXErrorHandler.ACTION_FACTORY.getString("saxError_title")); closeButton.requestFocusInWindow(); dialog.getRootPane().setDefaultButton(closeButton); dialog.setModal(false); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:22:57
|
Revision: 450 http://svn.sourceforge.net/japi/?rev=450&view=rev Author: christianhujer Date: 2007-06-25 13:22:56 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/AbstractSimpleNode.java libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionMapNode.java libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/SimpleNode.java libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/action.properties Modified: libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/AbstractSimpleNode.java =================================================================== --- libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/AbstractSimpleNode.java 2007-06-25 20:19:11 UTC (rev 449) +++ libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/AbstractSimpleNode.java 2007-06-25 20:22:56 UTC (rev 450) @@ -22,6 +22,7 @@ import org.jetbrains.annotations.Nullable; /** Base class for simple nodes. + * @param <C> type for children of this node. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public abstract class AbstractSimpleNode<C> implements SimpleNode<C> { Modified: libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java =================================================================== --- libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java 2007-06-25 20:19:11 UTC (rev 449) +++ libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java 2007-06-25 20:22:56 UTC (rev 450) @@ -115,11 +115,15 @@ } // class KeyChooser +/** Action for action keys. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ class ActionKeyAction extends AbstractAction { /** The Action to be displayed. */ private Action action; + /** The parent component. */ private final Component parent; ActionKeyAction(final Component parent) { Modified: libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionMapNode.java =================================================================== --- libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionMapNode.java 2007-06-25 20:19:11 UTC (rev 449) +++ libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/ActionMapNode.java 2007-06-25 20:22:56 UTC (rev 450) @@ -57,9 +57,9 @@ /** {@inheritDoc} */ @Override public String toString() { //noinspection ObjectToString - return actionMap instanceof NamedActionMap ? - ((NamedActionMap) actionMap).getName() : - actionMap.toString(); + return actionMap instanceof NamedActionMap + ? ((NamedActionMap) actionMap).getName() + : actionMap.toString(); } /** {@inheritDoc} */ Modified: libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/SimpleNode.java =================================================================== --- libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/SimpleNode.java 2007-06-25 20:19:11 UTC (rev 449) +++ libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/SimpleNode.java 2007-06-25 20:22:56 UTC (rev 450) @@ -22,6 +22,7 @@ import org.jetbrains.annotations.Nullable; /** Interface for simple nodes. + * @param <C> type for children of this node. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ interface SimpleNode<C> { Modified: libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/action.properties =================================================================== --- libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/action.properties 2007-06-25 20:19:11 UTC (rev 449) +++ libs/swing-keyprefs/trunk/src/net/sf/japi/swing/prefs/keys/action.properties 2007-06-25 20:22:56 UTC (rev 450) @@ -27,4 +27,4 @@ keystroke.border.title=Keystroke for the chosen action keystrokeNone.text=None keystrokeStandard.text=Standard -keystrokeUserdefined.text=Userdefined \ No newline at end of file +keystrokeUserdefined.text=Userdefined This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:19:12
|
Revision: 449 http://svn.sourceforge.net/japi/?rev=449&view=rev Author: christianhujer Date: 2007-06-25 13:19:11 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-font/trunk/src/net/sf/japi/swing/font/FontChooser.java libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyComboBox.java libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyListCellRenderer.java libs/swing-font/trunk/src/net/sf/japi/swing/font/FontStyleListCellRenderer.java Modified: libs/swing-font/trunk/src/net/sf/japi/swing/font/FontChooser.java =================================================================== --- libs/swing-font/trunk/src/net/sf/japi/swing/font/FontChooser.java 2007-06-25 20:16:17 UTC (rev 448) +++ libs/swing-font/trunk/src/net/sf/japi/swing/font/FontChooser.java 2007-06-25 20:19:11 UTC (rev 449) @@ -103,7 +103,7 @@ final JLabel styleLabel = ACTION_FACTORY.createLabel("style.label"); final JLabel sizeLabel = ACTION_FACTORY.createLabel("size.label"); familyList = new JList(GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames()); - styleList = new JList(new Integer[] { PLAIN, ITALIC, BOLD, BOLD|ITALIC }); + styleList = new JList(new Integer[] { PLAIN, ITALIC, BOLD, BOLD | ITALIC }); styleList.setCellRenderer(new FontStyleListCellRenderer()); sizeList = new JList(new Integer[] { 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 32, 48, 64 }); preview = new FontPreview(); Modified: libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyComboBox.java =================================================================== --- libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyComboBox.java 2007-06-25 20:16:17 UTC (rev 448) +++ libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyComboBox.java 2007-06-25 20:19:11 UTC (rev 449) @@ -36,7 +36,7 @@ /** The fonts to render. * @serial include */ - private Map<String,Font> fonts; + private Map<String, Font> fonts; /** Create a FontFamilyComboBox. */ public FontFamilyComboBox() { @@ -55,7 +55,7 @@ if (fonts == null) { final FontFamilyListCellRenderer cellRenderer = new FontFamilyListCellRenderer(); setRenderer(cellRenderer); - fonts = new HashMap<String,Font>(); + fonts = new HashMap<String, Font>(); cellRenderer.setFonts(fonts); } Font base = getFont(); Modified: libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyListCellRenderer.java =================================================================== --- libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyListCellRenderer.java 2007-06-25 20:16:17 UTC (rev 448) +++ libs/swing-font/trunk/src/net/sf/japi/swing/font/FontFamilyListCellRenderer.java 2007-06-25 20:19:11 UTC (rev 449) @@ -37,13 +37,13 @@ /** The fonts to render. * @serial include */ - private Map<String,Font> fonts; + private Map<String, Font> fonts; /** Set the fonts to render. * The key of the map is the family name, the value of the map is the font to render. * @param fonts fonts to render */ - public void setFonts(final Map<String,Font> fonts) { + public void setFonts(final Map<String, Font> fonts) { this.fonts = fonts; } @@ -52,7 +52,7 @@ final Component c = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); //Font f = FontFamilyComboBox.this.getFont(); //c.setFont(new Font((String)value, f.getStyle(), f.getSize())); - c.setFont(fonts.get((String)value)); + c.setFont(fonts.get((String) value)); return c; } Modified: libs/swing-font/trunk/src/net/sf/japi/swing/font/FontStyleListCellRenderer.java =================================================================== --- libs/swing-font/trunk/src/net/sf/japi/swing/font/FontStyleListCellRenderer.java 2007-06-25 20:16:17 UTC (rev 448) +++ libs/swing-font/trunk/src/net/sf/japi/swing/font/FontStyleListCellRenderer.java 2007-06-25 20:19:11 UTC (rev 449) @@ -56,11 +56,11 @@ */ private static String getTextFor(final int style) { switch (style) { - case PLAIN: return ACTION_FACTORY.getString("font.style.plain"); - case BOLD: return ACTION_FACTORY.getString("font.style.bold"); - case ITALIC: return ACTION_FACTORY.getString("font.style.italic"); - case BOLD|ITALIC: return ACTION_FACTORY.getString("font.style.bolditalic"); - default: return ACTION_FACTORY.getString("font.style.unknown"); + case PLAIN: return ACTION_FACTORY.getString("font.style.plain"); + case BOLD: return ACTION_FACTORY.getString("font.style.bold"); + case ITALIC: return ACTION_FACTORY.getString("font.style.italic"); + case BOLD | ITALIC: return ACTION_FACTORY.getString("font.style.bolditalic"); + default: return ACTION_FACTORY.getString("font.style.unknown"); } } @@ -70,11 +70,11 @@ */ private Font getFontFor(final int style) { switch (style) { - case PLAIN: return getFont().deriveFont(PLAIN); - case BOLD: return getFont().deriveFont(BOLD); - case ITALIC: return getFont().deriveFont(ITALIC); - case BOLD|ITALIC: return getFont().deriveFont(BOLD|ITALIC); - default: return getFont().deriveFont(PLAIN); + case PLAIN: return getFont().deriveFont(PLAIN); + case BOLD: return getFont().deriveFont(BOLD); + case ITALIC: return getFont().deriveFont(ITALIC); + case BOLD | ITALIC: return getFont().deriveFont(BOLD | ITALIC); + default: return getFont().deriveFont(PLAIN); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:16:18
|
Revision: 448 http://svn.sourceforge.net/japi/?rev=448&view=rev Author: christianhujer Date: 2007-06-25 13:16:17 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-extlib/trunk/src/net/sf/japi/swing/RowLayout.java libs/swing-extlib/trunk/src/net/sf/japi/swing/ToolBarLayout.java Modified: libs/swing-extlib/trunk/src/net/sf/japi/swing/RowLayout.java =================================================================== --- libs/swing-extlib/trunk/src/net/sf/japi/swing/RowLayout.java 2007-06-25 20:11:49 UTC (rev 447) +++ libs/swing-extlib/trunk/src/net/sf/japi/swing/RowLayout.java 2007-06-25 20:16:17 UTC (rev 448) @@ -47,17 +47,17 @@ } /** {@inheritDoc} */ - public void addLayoutComponent(String name, Component comp) { + public void addLayoutComponent(final String name, final Component comp) { // nothing to do } /** {@inheritDoc} */ - public void removeLayoutComponent(Component comp) { + public void removeLayoutComponent(final Component comp) { // nothing to do } /** {@inheritDoc} */ - public Dimension preferredLayoutSize(Container parent) { + public Dimension preferredLayoutSize(final Container parent) { synchronized (parent.getTreeLock()) { final Dimension preferredLayoutSize = new Dimension(); final int nmembers = parent.getComponentCount(); @@ -79,7 +79,7 @@ } /** {@inheritDoc} */ - public Dimension minimumLayoutSize(Container parent) { + public Dimension minimumLayoutSize(final Container parent) { synchronized (parent.getTreeLock()) { final Dimension minimumLayoutSize = new Dimension(); final int nmembers = parent.getComponentCount(); @@ -102,7 +102,7 @@ } /** {@inheritDoc} */ - public void layoutContainer(Container parent) { + public void layoutContainer(final Container parent) { synchronized (parent.getTreeLock()) { final Insets insets = parent.getInsets(); final int nmembers = parent.getComponentCount(); Modified: libs/swing-extlib/trunk/src/net/sf/japi/swing/ToolBarLayout.java =================================================================== --- libs/swing-extlib/trunk/src/net/sf/japi/swing/ToolBarLayout.java 2007-06-25 20:11:49 UTC (rev 447) +++ libs/swing-extlib/trunk/src/net/sf/japi/swing/ToolBarLayout.java 2007-06-25 20:16:17 UTC (rev 448) @@ -134,6 +134,7 @@ case EAST: list = east; break; case WEST: list = west; break; case CENTER: center = comp; return; + default: assert false; } assert list != null; list.add(comp); @@ -149,6 +150,7 @@ case EAST: list = east; break; case WEST: list = west; break; case CENTER: center = comp; return; + default: assert false; } int pos = constraints.position; assert list != null; @@ -183,11 +185,11 @@ @Override public void addLayoutComponent(final Component comp, final Object constraints) { synchronized (comp.getTreeLock()) { if (constraints == null || constraints instanceof String) { - addLayoutComponent((String)constraints, comp); + addLayoutComponent((String) constraints, comp); } else if (constraints instanceof ToolBarConstraints) { - addLayoutComponent((ToolBarConstraints)constraints, comp); + addLayoutComponent((ToolBarConstraints) constraints, comp); } else if (constraints instanceof ToolBarConstraints.Region) { - addLayoutComponent((ToolBarConstraints.Region)constraints, comp); + addLayoutComponent((ToolBarConstraints.Region) constraints, comp); } else { throw new IllegalArgumentException("cannot add to layout: constraint must be a string (or null)"); } @@ -279,7 +281,7 @@ if (center != null) { dim = center.getMinimumSize(); minimumLayoutSize.width += dim.width; - minimumLayoutSize.height =max(dim.height, minimumLayoutSize.height); + minimumLayoutSize.height = max(dim.height, minimumLayoutSize.height); } for (final Component comp : north) { dim = comp.getMinimumSize(); @@ -316,7 +318,7 @@ if (center != null) { dim = center.getPreferredSize(); preferredLayoutSize.width += dim.width; - preferredLayoutSize.height =max(dim.height, preferredLayoutSize.height); + preferredLayoutSize.height = max(dim.height, preferredLayoutSize.height); } for (final Component comp : north) { dim = comp.getPreferredSize(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:11:55
|
Revision: 447 http://svn.sourceforge.net/japi/?rev=447&view=rev Author: christianhujer Date: 2007-06-25 13:11:49 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkDropTargetAdapter.java libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkManager.java libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferHandler.java libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferable.java libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action.properties libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action_de.properties Modified: libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkDropTargetAdapter.java =================================================================== --- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkDropTargetAdapter.java 2007-06-25 20:06:53 UTC (rev 446) +++ libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkDropTargetAdapter.java 2007-06-25 20:11:49 UTC (rev 447) @@ -47,7 +47,7 @@ dest = dest.getFolder(); } assert dest instanceof BookmarkManager.BookmarkFolder; - ((BookmarkManager.BookmarkFolder)dest).insert(src, pos); + ((BookmarkManager.BookmarkFolder) dest).insert(src, pos); tree.treeDidChange(); } Modified: libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkManager.java =================================================================== --- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkManager.java 2007-06-25 20:06:53 UTC (rev 446) +++ libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkManager.java 2007-06-25 20:11:49 UTC (rev 447) @@ -272,7 +272,7 @@ * </ul> * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ - public static abstract class Bookmark extends AbstractAction implements MutableTreeNode { + public abstract static class Bookmark extends AbstractAction implements MutableTreeNode { /** Title for Bookmark. * @serial include @@ -282,7 +282,7 @@ /** The folder (parent) of this bookmark. * @serial include */ - protected BookmarkFolder folder; + private BookmarkFolder folder; ///** Create a Bookmark without title. // * Should only be used by {@link BookmarkFolder#BookmarkFolder()}. @@ -406,7 +406,7 @@ /** {@inheritDoc} */ public void setParent(final MutableTreeNode newParent) { if (newParent instanceof BookmarkFolder) { - setFolder((BookmarkFolder)newParent); + setFolder((BookmarkFolder) newParent); } else { throw new IllegalArgumentException("Parent must be a BookmarkFolder, but was : " + newParent.getClass().getName()); } @@ -644,7 +644,7 @@ } else { for (final Bookmark folder : bookmarks) { if (folder instanceof BookmarkFolder) { - ((BookmarkFolder)folder).remove(bookmark); + ((BookmarkFolder) folder).remove(bookmark); } } } @@ -717,7 +717,7 @@ addBookmark.setEnabled(enabled); for (Bookmark folder : bookmarks) { if (folder instanceof BookmarkFolder) { - ((BookmarkFolder)folder).setAddBookmarkEnabled(enabled); + ((BookmarkFolder) folder).setAddBookmarkEnabled(enabled); } } } @@ -765,7 +765,7 @@ /** {@inheritDoc} */ @Override public void insert(final MutableTreeNode child, final int index) { if (child instanceof Bookmark) { - insert((Bookmark)child, index); + insert((Bookmark) child, index); } else { throw new IllegalArgumentException("Children of BookmarkFolders must be instance of Bookmark but was " + child.getClass().getName()); } @@ -779,7 +779,7 @@ /** {@inheritDoc} */ @Override public void remove(final MutableTreeNode child) { if (child instanceof Bookmark) { - remove((Bookmark)child); + remove((Bookmark) child); } else { throw new IllegalArgumentException("Node " + child + " not child of this BookmarkFolder."); } Modified: libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferHandler.java =================================================================== --- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferHandler.java 2007-06-25 20:06:53 UTC (rev 446) +++ libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferHandler.java 2007-06-25 20:11:49 UTC (rev 447) @@ -37,7 +37,7 @@ /** {@inheritDoc} */ @Override public Transferable createTransferable(final JComponent c) { - return new BookmarkTransferable((BookmarkManager.Bookmark)((JTree)c).getSelectionPath().getLastPathComponent()); + return new BookmarkTransferable((BookmarkManager.Bookmark) ((JTree) c).getSelectionPath().getLastPathComponent()); } /** {@inheritDoc} Modified: libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferable.java =================================================================== --- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferable.java 2007-06-25 20:06:53 UTC (rev 446) +++ libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/BookmarkTransferable.java 2007-06-25 20:11:49 UTC (rev 447) @@ -28,7 +28,7 @@ public class BookmarkTransferable implements Transferable { /** Data Flavor for Bookmarks. */ - private static final DataFlavor bookmarkDataFlavor = initBookmarkFlavor(); + private static final DataFlavor BOOKMARK_DATA_FLAVOR = initBookmarkFlavor(); /** Initialize DataFlavor for Bookmarks. * @return DataFlavor for Bookmarks @@ -42,7 +42,7 @@ } /** Supported DataFlavors. */ - private static DataFlavor[] flavors = { bookmarkDataFlavor }; + private static DataFlavor[] flavors = {BOOKMARK_DATA_FLAVOR}; /** Bookmark to be transferred. */ private final BookmarkManager.Bookmark bookmark; @@ -66,14 +66,14 @@ /** {@inheritDoc} */ public boolean isDataFlavorSupported(final DataFlavor flavor) { - return flavor.equals(bookmarkDataFlavor); + return flavor.equals(BOOKMARK_DATA_FLAVOR); } /** Get the DataFlavor for Bookmarks. * @return DataFlavor for Bookmarks */ public static DataFlavor getBookmarkDataFlavor() { - return bookmarkDataFlavor; + return BOOKMARK_DATA_FLAVOR; } } // class BookmarkTransferable Modified: libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action.properties =================================================================== --- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action.properties 2007-06-25 20:06:53 UTC (rev 446) +++ libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action.properties 2007-06-25 20:11:49 UTC (rev 447) @@ -17,9 +17,6 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # -# $Header: /cvsroot/japi/japi/src/app/net/sf/japi/swing/bookmarks/action.properties,v 1.1 2006/03/26 01:26:25 christianhujer Exp $ -# Properties for Bookmarks - ########### # Bookmarks Modified: libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action_de.properties =================================================================== --- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action_de.properties 2007-06-25 20:06:53 UTC (rev 446) +++ libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/action_de.properties 2007-06-25 20:11:49 UTC (rev 447) @@ -24,14 +24,14 @@ bookmark.text=Lesezeichen bookmark.mnemonic=L -#bookmark.icon +bookmark.icon=general/Bookmarks addBookmark.text=Hinzuf\xFCgen addBookmark.shortdescription=Lesezeichen f\xFCr diese Frage hinzuf\xFCgen addBookmark.longdescription=F\xFCgt ein Lesezeichen f\xFCr diese Frage in die Liste mit Lesezeichen ein addBookmark.mnemonic=H addBookmark.accel=ctrl pressed B -#addBookmark.icon +addBookmark.icon=general/Bookmarks newBookmarkFolder.text=Neuer Ordner... newBookmarkFolder.shortdescription=Neuen Lesezeichen-Ordner erstellen @@ -44,6 +44,6 @@ manageBookamrks.shortdescription=Lesezeichen verwalten manageBookmarks.longdescription=Zeigt einen Dialog zum Verwalten der Lesezeichen manageBookmarks.mnemonic=V -#manageBookmarks.icon=general/Bookmarks +manageBookmarks.icon=general/Bookmarks bookmarksCreated.message=Bookmarks erzeugt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:06:55
|
Revision: 446 http://svn.sourceforge.net/japi/?rev=446&view=rev Author: christianhujer Date: 2007-06-25 13:06:53 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java libs/swing-action/trunk/src/net/sf/japi/swing/action.properties libs/swing-action/trunk/src/net/sf/japi/swing/action_de.properties libs/swing-action/trunk/src/test/net/sf/japi/swing/ActionFactoryTest.java libs/swing-action/trunk/src/test/net/sf/japi/swing/ReflectionActionTest.java Modified: libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java =================================================================== --- libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java 2007-06-25 20:00:34 UTC (rev 445) +++ libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java 2007-06-25 20:06:53 UTC (rev 446) @@ -190,6 +190,7 @@ /** The ActionMap to which created Actions are automatically added. */ @NotNull private final ActionMap actionMap = new NamedActionMap(); + /** The action providers that were registered and will be queried when an action should be created / retrieved. */ private List<ActionProvider> actionProviders = new ArrayList<ActionProvider>(); /** Get an ActionFactory. @@ -430,10 +431,10 @@ final String text = getString(key + ".text"); if ((value = text) != null) { action.putValue(NAME, value); } if ((value = getString(key + ".shortdescription")) != null) { action.putValue(SHORT_DESCRIPTION, value); } - if ((value = getString(key + ".longdescription" )) != null) { action.putValue(LONG_DESCRIPTION, value); } - if ((value = getString(key + ".accel" )) != null) { action.putValue(ACCELERATOR_KEY, getKeyStroke(value)); } - if ((value = getString(key + ".accel2" )) != null) { action.putValue(ACCELERATOR_KEY_2, getKeyStroke(value)); } - if ((value = getString(key + ".mnemonic" )) != null) { + if ((value = getString(key + ".longdescription")) != null) { action.putValue(LONG_DESCRIPTION, value); } + if ((value = getString(key + ".accel")) != null) { action.putValue(ACCELERATOR_KEY, getKeyStroke(value)); } + if ((value = getString(key + ".accel2")) != null) { action.putValue(ACCELERATOR_KEY_2, getKeyStroke(value)); } + if ((value = getString(key + ".mnemonic")) != null) { final KeyStroke keyStroke = getKeyStroke(value); if (keyStroke != null) { action.putValue(MNEMONIC_KEY, keyStroke.getKeyCode()); @@ -444,7 +445,7 @@ System.err.println("Warning: Action key " + key + " has " + key + ".mnemonic value " + value + " but no text. Either define " + key + ".text or remove " + key + ".mnemonic."); } } - if ((value = getString(key + ".icon" )) != null) { + if ((value = getString(key + ".icon")) != null) { final Icon image = getDefaultIconManager().getIcon(value); if (image != null) { action.putValue(SMALL_ICON, image); Modified: libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java =================================================================== --- libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java 2007-06-25 20:00:34 UTC (rev 445) +++ libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java 2007-06-25 20:06:53 UTC (rev 446) @@ -65,7 +65,7 @@ * Key: short name for icon, which is likely to be used as a relative file name. * Value: Icon */ - private final Map<String,Icon> smallCache = new WeakHashMap<String,Icon>(); + private final Map<String, Icon> smallCache = new WeakHashMap<String, Icon>(); /** The paths to search icons in. */ private final List<String> iconPaths = new ArrayList<String>(); Modified: libs/swing-action/trunk/src/net/sf/japi/swing/action.properties =================================================================== --- libs/swing-action/trunk/src/net/sf/japi/swing/action.properties 2007-06-25 20:00:34 UTC (rev 445) +++ libs/swing-action/trunk/src/net/sf/japi/swing/action.properties 2007-06-25 20:06:53 UTC (rev 446) @@ -19,4 +19,4 @@ dialogDontShowAgain=Show this dialog again next time. -ReflectionAction.nonPublicMethod=Action Methods must be accessible public. That means the declaring class as well as the method must be public.\n{0} \ No newline at end of file +ReflectionAction.nonPublicMethod=Action Methods must be accessible public. That means the declaring class as well as the method must be public.\n{0} Modified: libs/swing-action/trunk/src/net/sf/japi/swing/action_de.properties =================================================================== --- libs/swing-action/trunk/src/net/sf/japi/swing/action_de.properties 2007-06-25 20:00:34 UTC (rev 445) +++ libs/swing-action/trunk/src/net/sf/japi/swing/action_de.properties 2007-06-25 20:06:53 UTC (rev 446) @@ -19,3 +19,4 @@ dialogDontShowAgain=Show this dialog again next time. +ReflectionAction.nonPublicMethod=Action Methoden m\xFCssen public zugreifbar sein. Das hei\xDFt, die deklarierende Klasse muss auch public sein.\n{0} Modified: libs/swing-action/trunk/src/test/net/sf/japi/swing/ActionFactoryTest.java =================================================================== --- libs/swing-action/trunk/src/test/net/sf/japi/swing/ActionFactoryTest.java 2007-06-25 20:00:34 UTC (rev 445) +++ libs/swing-action/trunk/src/test/net/sf/japi/swing/ActionFactoryTest.java 2007-06-25 20:06:53 UTC (rev 446) @@ -25,9 +25,8 @@ import javax.swing.JMenuItem; import net.sf.japi.swing.ActionFactory; import net.sf.japi.swing.DummyAction; -import org.junit.Before; -import org.junit.Test; import org.junit.Assert; +import org.junit.Test; /** * Test for {@link ActionFactory}. @@ -36,22 +35,11 @@ */ public class ActionFactoryTest { - private ActionFactory actionFactory; - /** - * Creates an ActionFactory. - * @throws Exception (unexpected) - */ - @Before - public void setUp() throws Exception { - actionFactory = new ActionFactory(); - } - - /** * Tests whether {@link ActionFactory#find(JMenuBar, Action)} works. * @throws Exception (unexpected) */ - @Test(expected=NullPointerException.class) + @Test(expected = NullPointerException.class) public void testFindNullBar() throws Exception { //noinspection ConstantConditions ActionFactory.find((JMenuBar) null, createSimple("item")); @@ -61,7 +49,7 @@ * Tests whether {@link ActionFactory#find(JMenuBar, Action)} works. * @throws Exception (unexpected) */ - @Test(expected=NullPointerException.class) + @Test(expected = NullPointerException.class) public void testFindNullActionInMenuBar() throws Exception { //noinspection ConstantConditions ActionFactory.find(new JMenuBar(), (Action) null); @@ -71,7 +59,7 @@ * Tests whether {@link ActionFactory#find(JMenuBar, Action)} works. * @throws Exception (unexpected) */ - @Test(expected=NullPointerException.class) + @Test(expected = NullPointerException.class) public void testFindNullMenu() throws Exception { //noinspection ConstantConditions ActionFactory.find((JMenu) null, createSimple("item")); @@ -81,7 +69,7 @@ * Tests whether {@link ActionFactory#find(JMenuBar, Action)} works. * @throws Exception (expected) */ - @Test(expected=NullPointerException.class) + @Test(expected = NullPointerException.class) public void testFindNullActionInMenu() throws Exception { //noinspection ConstantConditions ActionFactory.find(new JMenu(), null); @@ -115,4 +103,5 @@ action.putValue(Action.ACTION_COMMAND_KEY, key); return action; } -} // class ActionFactoryTest \ No newline at end of file + +} // class ActionFactoryTest Modified: libs/swing-action/trunk/src/test/net/sf/japi/swing/ReflectionActionTest.java =================================================================== --- libs/swing-action/trunk/src/test/net/sf/japi/swing/ReflectionActionTest.java 2007-06-25 20:00:34 UTC (rev 445) +++ libs/swing-action/trunk/src/test/net/sf/japi/swing/ReflectionActionTest.java 2007-06-25 20:06:53 UTC (rev 446) @@ -146,7 +146,7 @@ * Tests whether {@link ReflectionAction#actionPerformed(ActionEvent)} works. * @throws Exception (unexpected) */ - @Test(expected=Exception.class) + @Test(expected = Exception.class) public void testActionPerformedException() throws Exception { actionMock.setThrowException(true); testling.putValue(ReflectionAction.REFLECTION_TARGET, actionMock); @@ -217,7 +217,7 @@ * Sets whether an exception should be thrown when executing {@link #someAction()}. * @param throwException <code>true</code> for throwing an exception, otherwise <code>false</code>. */ - public void setThrowException(boolean throwException) { + public void setThrowException(final boolean throwException) { this.throwException = throwException; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 20:00:35
|
Revision: 445 http://svn.sourceforge.net/japi/?rev=445&view=rev Author: christianhujer Date: 2007-06-25 13:00:34 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java Modified: libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java =================================================================== --- libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java 2007-06-25 19:58:39 UTC (rev 444) +++ libs/swing-about/trunk/src/net/sf/japi/swing/about/AboutDialog.java 2007-06-25 20:00:34 UTC (rev 445) @@ -103,7 +103,7 @@ protected static final ActionFactory ACTION_FACTORY = ActionFactory.getFactory("net.sf.japi.swing.about"); /** Action Factory to create Actions. */ - protected final ActionFactory actionFactory; + private final ActionFactory actionFactory; /** * The main tabs. @@ -311,5 +311,12 @@ return scroller; } + /** Returns the ActionFactory to create actions. + * @return The ActionFactory to create actions. + */ + protected ActionFactory getActionFactory() { + return actionFactory; + } + } // class AboutDialog This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 19:58:40
|
Revision: 444 http://svn.sourceforge.net/japi/?rev=444&view=rev Author: christianhujer Date: 2007-06-25 12:58:39 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/registry/trunk/src/net/sf/japi/registry/NamedRegistry.java Modified: libs/registry/trunk/src/net/sf/japi/registry/NamedRegistry.java =================================================================== --- libs/registry/trunk/src/net/sf/japi/registry/NamedRegistry.java 2007-06-25 19:57:02 UTC (rev 443) +++ libs/registry/trunk/src/net/sf/japi/registry/NamedRegistry.java 2007-06-25 19:58:39 UTC (rev 444) @@ -33,8 +33,12 @@ * Future implementations (Java 1.6+) will be based on the corresponding replacement. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ -public class NamedRegistry { +public final class NamedRegistry { + /** Utility class - don't instanciate. */ + private NamedRegistry() { + } + /** * Returns the implementation of the supplied {@link NamedService} with the specified name. * @param service NamedService to get @@ -42,7 +46,7 @@ * @return Implementation or <code>null</code> if none found. */ @Nullable public static <T extends NamedService> T getInstance(@NotNull final Class<T> service, @NotNull final String name) { - for (final Iterator<T> it = Service.providers(service); it.hasNext(); ) { + for (final Iterator<T> it = Service.providers(service); it.hasNext();) { final T t = it.next(); if (t.getName().equals(name)) { return t; @@ -61,7 +65,7 @@ */ @NotNull public static <T> Collection<T> getAllInstances(@NotNull final Class<T> service) { final List<T> instances = new ArrayList<T>(); - for (final Iterator<T> it = Service.providers(service); it.hasNext(); ) { + for (final Iterator<T> it = Service.providers(service); it.hasNext();) { instances.add(it.next()); } return instances; @@ -75,7 +79,7 @@ * @return Implementation or <code>null</code> if none found. */ @Nullable public static <T extends NamedService> T getInstance(@NotNull final Class<T> service, @NotNull final String name, @NotNull final ClassLoader classLoader) { - for (final Iterator<T> it = Service.providers(service, classLoader); it.hasNext(); ) { + for (final Iterator<T> it = Service.providers(service, classLoader); it.hasNext();) { final T t = it.next(); if (t.getName().equals(name)) { return t; @@ -95,7 +99,7 @@ */ @NotNull public static <T> Collection<T> getAllInstances(@NotNull final Class<T> service, @NotNull final ClassLoader classLoader) { final List<T> instances = new ArrayList<T>(); - for (final Iterator<T> it = Service.providers(service, classLoader); it.hasNext(); ) { + for (final Iterator<T> it = Service.providers(service, classLoader); it.hasNext();) { instances.add(it.next()); } return instances; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 19:57:07
|
Revision: 443 http://svn.sourceforge.net/japi/?rev=443&view=rev Author: christianhujer Date: 2007-06-25 12:57:02 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- libs/logging/trunk/src/net/sf/japi/log/LogEntry.java libs/logging/trunk/src/net/sf/japi/log/Logger.java libs/logging/trunk/src/net/sf/japi/log/LoggerFactory.java libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java Modified: libs/logging/trunk/src/net/sf/japi/log/LogEntry.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/LogEntry.java 2007-06-25 19:50:11 UTC (rev 442) +++ libs/logging/trunk/src/net/sf/japi/log/LogEntry.java 2007-06-25 19:57:02 UTC (rev 443) @@ -23,6 +23,7 @@ /** * A LogEntry is a single log element. + * @param <Level> the enumeration type of log levels to use for this LogEntry. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public class LogEntry<Level extends Enum<Level>> { Modified: libs/logging/trunk/src/net/sf/japi/log/Logger.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/Logger.java 2007-06-25 19:50:11 UTC (rev 442) +++ libs/logging/trunk/src/net/sf/japi/log/Logger.java 2007-06-25 19:57:02 UTC (rev 443) @@ -20,6 +20,7 @@ /** * A Logger serves as interface for creating log entries. + * @param <Level> the enumeration type of log levels to use for this LogEntry. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public interface Logger<Level extends Enum<Level>> { Modified: libs/logging/trunk/src/net/sf/japi/log/LoggerFactory.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/LoggerFactory.java 2007-06-25 19:50:11 UTC (rev 442) +++ libs/logging/trunk/src/net/sf/japi/log/LoggerFactory.java 2007-06-25 19:57:02 UTC (rev 443) @@ -32,7 +32,7 @@ * The LoggerFactory is used to instanciate a Logger of a specific implementation. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ -public class LoggerFactory { +public final class LoggerFactory { /** Singleton Instance. */ @NotNull public static final LoggerFactory INSTANCE = new LoggerFactory(); Modified: libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java 2007-06-25 19:50:11 UTC (rev 442) +++ libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java 2007-06-25 19:57:02 UTC (rev 443) @@ -27,8 +27,13 @@ */ public final class SimpleLogger { + /** The default logger. */ private static final Logger<Level> DEFAULT_LOGGER = LoggerFactory.INSTANCE.getLogger(SimpleLogger.class); + /** Utility class - don't instanciate. */ + private SimpleLogger() { + } + /** @see Logger#log(Enum, String) */ public static void log(final Level level, final String message) { DEFAULT_LOGGER.log(level, message); Modified: libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java 2007-06-25 19:50:11 UTC (rev 442) +++ libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java 2007-06-25 19:57:02 UTC (rev 443) @@ -23,6 +23,7 @@ /** * Logger is a logger which logs to {@link System#err}. + * @param <Level> the enumeration type of log levels to use for this LogEntry. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public final class StandardLogger<Level extends Enum<Level>> implements Logger<Level> { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 19:50:20
|
Revision: 442 http://svn.sourceforge.net/japi/?rev=442&view=rev Author: christianhujer Date: 2007-06-25 12:50:11 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Unified build.xml files to use japi common. Modified Paths: -------------- libs/logging/trunk/build.xml libs/registry/trunk/build.xml libs/swing-about/trunk/build.xml libs/swing-action/trunk/build.xml libs/swing-app/trunk/build.xml libs/swing-bookmarks/trunk/build.xml libs/swing-extlib/trunk/build.xml libs/swing-font/trunk/build.xml libs/swing-keyprefs/trunk/build.xml libs/swing-misc/trunk/build.xml libs/swing-prefs/trunk/build.xml libs/swing-proxyprefs/trunk/build.xml libs/swing-recent/trunk/build.xml libs/swing-tod/trunk/build.xml libs/swing-treetable/trunk/build.xml libs/util/trunk/build.xml libs/xml/trunk/build.xml Modified: libs/logging/trunk/build.xml =================================================================== --- libs/logging/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ libs/logging/trunk/build.xml 2007-06-25 19:50:11 UTC (rev 442) @@ -17,181 +17,11 @@ ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> - +<!DOCTYPE project [ + <!ENTITY commonBuild SYSTEM "common/commonBuild.xml"> +]> <project name="japi lib logging" default="compile"> - <property name="module.version" value="0.1" /> - <property name="module.name" value="japi-lib-logging" /> - <property name="module.shortname" value="logging" /> - <property name="module.title" value="Logging" /> + &commonBuild; - <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> - - <target - name = "clean" - description = "Cleans Sandbox" - > - <delete dir="classes" /> - <delete dir="docs" /> - </target> - - <target - name = "compile" - description = "Compiles production classes" - > - <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> - <javac - srcdir="src" - destdir="classes/production/${module.shortname}" - encoding="utf-8" - source="1.5" - target="1.5" - > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> - <exclude name="test/**/*.java" /> - </javac> - <copy - todir="classes/production/${module.shortname}" - > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> - <fileset dir="src" includes="META-INF/services/**" /> - </copy> - </target> - - <target - name = "dist" - description = "Packs distribution archives." - depends = "clean, compile" - > - <!--depends = "clean, compile, doc" - --> - <delete dir="dist" /> - <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> - <parallel> - <tar tarfile="${distName}.src.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </jar> - <jar destfile="${distName}.jar"> - <zipfileset dir="classes/production/${module.shortname}" /> - <manifest> - <attribute name="Implementation-Title" value="${module.name}" /> - <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" /> - <attribute name="Implementation-Version" value="${module.version}" /> - <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> - </manifest> - </jar> - <tar tarfile="${distName}.doc.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" /> - <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" /> - <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" /> - <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" /> - <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> - </target> - - <target - name = "doc" - description = "Creates public javadoc documentation." - > - <mkdir dir="docs/api" /> - <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" /> - <copy todir="docs/api" file="src/doc/api/public/.htaccess" /--> - <javadoc - destdir = "docs/api" - access = "protected" - author = "yes" - version = "yes" - locale = "en_US" - use = "yes" - splitindex = "yes" - windowtitle = "JAPI Library ${module.title} ${module.version} API documentation" - doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - header = "JAPI Library ${module.title} ${module.version}<br />API Documentation" - footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" - serialwarn = "yes" - charset = "utf-8" - docencoding = "utf-8" - encoding = "utf-8" - source = "1.5" - linksource = "yes" - link = "${user.javadoc.link}" - > - <!-- - overview = "src/overview.html" - --> - <classpath> - <fileset dir="lib" includes="annotations.jar" /> - </classpath> - <sourcepath> - <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> - </sourcepath> - <packageset - dir="src" - defaultexcludes="yes" - > - <include name="net/**" /> - </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> - </javadoc> - </target> - </project> Modified: libs/registry/trunk/build.xml =================================================================== --- libs/registry/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ libs/registry/trunk/build.xml 2007-06-25 19:50:11 UTC (rev 442) @@ -17,181 +17,11 @@ ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> - +<!DOCTYPE project [ + <!ENTITY commonBuild SYSTEM "common/commonBuild.xml"> +]> <project name="japi lib registry" default="compile"> - <property name="module.version" value="0.1" /> - <property name="module.name" value="japi-lib-registry" /> - <property name="module.shortname" value="registry" /> - <property name="module.title" value="Registry" /> + &commonBuild; - <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> - - <target - name = "clean" - description = "Cleans Sandbox" - > - <delete dir="classes" /> - <delete dir="docs" /> - </target> - - <target - name = "compile" - description = "Compiles production classes" - > - <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> - <javac - srcdir="src" - destdir="classes/production/${module.shortname}" - encoding="utf-8" - source="1.5" - target="1.5" - > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> - <exclude name="test/**/*.java" /> - </javac> - <copy - todir="classes/production/${module.shortname}" - > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> - <fileset dir="src" includes="META-INF/services/**" /> - </copy> - </target> - - <target - name = "dist" - description = "Packs distribution archives." - depends = "clean, compile" - > - <!--depends = "clean, compile, doc" - --> - <delete dir="dist" /> - <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> - <parallel> - <tar tarfile="${distName}.src.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </jar> - <jar destfile="${distName}.jar"> - <zipfileset dir="classes/production/${module.shortname}" /> - <manifest> - <attribute name="Implementation-Title" value="${module.name}" /> - <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" /> - <attribute name="Implementation-Version" value="${module.version}" /> - <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> - </manifest> - </jar> - <tar tarfile="${distName}.doc.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" /> - <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" /> - <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" /> - <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" /> - <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> - </target> - - <target - name = "doc" - description = "Creates public javadoc documentation." - > - <mkdir dir="docs/api" /> - <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" /> - <copy todir="docs/api" file="src/doc/api/public/.htaccess" /--> - <javadoc - destdir = "docs/api" - access = "protected" - author = "yes" - version = "yes" - locale = "en_US" - use = "yes" - splitindex = "yes" - windowtitle = "JAPI Library ${module.title} ${module.version} API documentation" - doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - header = "JAPI Library ${module.title} ${module.version}<br />API Documentation" - footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" - serialwarn = "yes" - charset = "utf-8" - docencoding = "utf-8" - encoding = "utf-8" - source = "1.5" - linksource = "yes" - link = "${user.javadoc.link}" - > - <!-- - overview = "src/overview.html" - --> - <classpath> - <fileset dir="lib" includes="annotations.jar" /> - </classpath> - <sourcepath> - <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> - </sourcepath> - <packageset - dir="src" - defaultexcludes="yes" - > - <include name="net/**" /> - </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> - </javadoc> - </target> - </project> Modified: libs/swing-about/trunk/build.xml =================================================================== --- libs/swing-about/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ libs/swing-about/trunk/build.xml 2007-06-25 19:50:11 UTC (rev 442) @@ -17,182 +17,11 @@ ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> - +<!DOCTYPE project [ + <!ENTITY commonBuild SYSTEM "common/commonBuild.xml"> +]> <project name="japi lib swing-about" default="compile"> - <property name="module.version" value="0.1" /> - <property name="module.name" value="japi-lib-swing-about" /> - <property name="module.shortname" value="swing-about" /> - <property name="module.title" value="Swing About" /> + &commonBuild; - <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> - - <target - name = "clean" - description = "Cleans Sandbox" - > - <delete dir="classes" /> - <delete dir="docs" /> - </target> - - <target - name = "compile" - description = "Compiles production classes" - > - <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> - <javac - srcdir="src" - destdir="classes/production/${module.shortname}" - encoding="utf-8" - source="1.5" - target="1.5" - debug="yes" - > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> - <exclude name="test/**/*.java" /> - </javac> - <copy - todir="classes/production/${module.shortname}" - > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> - <fileset dir="src" includes="META-INF/services/**" /> - </copy> - </target> - - <target - name = "dist" - description = "Packs distribution archives." - depends = "clean, compile" - > - <!--depends = "clean, compile, doc" - --> - <delete dir="dist" /> - <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> - <parallel> - <tar tarfile="${distName}.src.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </jar> - <jar destfile="${distName}.jar"> - <zipfileset dir="classes/production/${module.shortname}"/> - <manifest> - <attribute name="Implementation-Title" value="${module.name}" /> - <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" /> - <attribute name="Implementation-Version" value="${module.version}" /> - <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> - </manifest> - </jar> - <tar tarfile="${distName}.doc.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" /> - <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" /> - <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" /> - <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" /> - <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> - </target> - - <target - name = "doc" - description = "Creates public javadoc documentation." - > - <mkdir dir="docs/api" /> - <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" /> - <copy todir="docs/api" file="src/doc/api/public/.htaccess" /--> - <javadoc - destdir = "docs/api" - access = "protected" - author = "yes" - version = "yes" - locale = "en_US" - use = "yes" - splitindex = "yes" - windowtitle = "JAPI Library ${module.title} ${module.version} API documentation" - doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - header = "JAPI Library ${module.title} ${module.version}<br />API Documentation" - footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" - serialwarn = "yes" - charset = "utf-8" - docencoding = "utf-8" - encoding = "utf-8" - source = "1.5" - linksource = "yes" - link = "${user.javadoc.link}" - > - <!-- - overview = "src/overview.html" - --> - <classpath> - <fileset dir="lib" includes="annotations.jar" /> - </classpath> - <sourcepath> - <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> - </sourcepath> - <packageset - dir="src" - defaultexcludes="yes" - > - <include name="net/**" /> - </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> - </javadoc> - </target> - </project> Modified: libs/swing-action/trunk/build.xml =================================================================== --- libs/swing-action/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ libs/swing-action/trunk/build.xml 2007-06-25 19:50:11 UTC (rev 442) @@ -17,182 +17,11 @@ ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> - +<!DOCTYPE project [ + <!ENTITY commonBuild SYSTEM "common/commonBuild.xml"> +]> <project name="japi lib swing-action" default="compile"> - <property name="module.version" value="0.1" /> - <property name="module.name" value="japi-lib-swing-action" /> - <property name="module.shortname" value="swing-action" /> - <property name="module.title" value="Swing Action" /> + &commonBuild; - <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> - - <target - name = "clean" - description = "Cleans Sandbox" - > - <delete dir="classes" /> - <delete dir="docs" /> - </target> - - <target - name = "compile" - description = "Compiles production classes" - > - <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> - <javac - srcdir="src" - destdir="classes/production/${module.shortname}" - encoding="utf-8" - source="1.5" - target="1.5" - debug="yes" - > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> - <exclude name="test/**/*.java" /> - </javac> - <copy - todir="classes/production/${module.shortname}" - > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> - <fileset dir="src" includes="META-INF/services/**" /> - </copy> - </target> - - <target - name = "dist" - description = "Packs distribution archives." - depends = "clean, compile" - > - <!--depends = "clean, compile, doc" - --> - <delete dir="dist" /> - <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> - <parallel> - <tar tarfile="${distName}.src.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </jar> - <jar destfile="${distName}.jar"> - <zipfileset dir="classes/production/${module.shortname}"/> - <manifest> - <attribute name="Implementation-Title" value="${module.name}" /> - <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" /> - <attribute name="Implementation-Version" value="${module.version}" /> - <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> - </manifest> - </jar> - <tar tarfile="${distName}.doc.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" /> - <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" /> - <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" /> - <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" /> - <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> - </target> - - <target - name = "doc" - description = "Creates public javadoc documentation." - > - <mkdir dir="docs/api" /> - <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" /> - <copy todir="docs/api" file="src/doc/api/public/.htaccess" /--> - <javadoc - destdir = "docs/api" - access = "protected" - author = "yes" - version = "yes" - locale = "en_US" - use = "yes" - splitindex = "yes" - windowtitle = "JAPI Library ${module.title} ${module.version} API documentation" - doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - header = "JAPI Library ${module.title} ${module.version}<br />API Documentation" - footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" - serialwarn = "yes" - charset = "utf-8" - docencoding = "utf-8" - encoding = "utf-8" - source = "1.5" - linksource = "yes" - link = "${user.javadoc.link}" - > - <!-- - overview = "src/overview.html" - --> - <classpath> - <fileset dir="lib" includes="annotations.jar" /> - </classpath> - <sourcepath> - <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> - </sourcepath> - <packageset - dir="src" - defaultexcludes="yes" - > - <include name="net/**" /> - </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> - </javadoc> - </target> - </project> Modified: libs/swing-app/trunk/build.xml =================================================================== --- libs/swing-app/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ libs/swing-app/trunk/build.xml 2007-06-25 19:50:11 UTC (rev 442) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - ~ JAPI libs-swing-action is a library for creating and managing javax.swing.Action objects. + ~ JAPI libs-swing-app is a library for solving application development tasks of general nature. ~ Copyright (C) 2007 Christian Hujer. ~ ~ This library is free software; you can redistribute it and/or @@ -17,182 +17,11 @@ ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> - +<!DOCTYPE project [ + <!ENTITY commonBuild SYSTEM "common/commonBuild.xml"> +]> <project name="japi lib swing-app" default="compile"> - <property name="module.version" value="0.1" /> - <property name="module.name" value="japi-lib-swing-app" /> - <property name="module.shortname" value="swing-app" /> - <property name="module.title" value="Swing Applications" /> + &commonBuild; - <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> - - <target - name = "clean" - description = "Cleans Sandbox" - > - <delete dir="classes" /> - <delete dir="docs" /> - </target> - - <target - name = "compile" - description = "Compiles production classes" - > - <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> - <javac - srcdir="src" - destdir="classes/production/${module.shortname}" - encoding="utf-8" - source="1.5" - target="1.5" - debug="yes" - > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> - <exclude name="test/**/*.java" /> - </javac> - <copy - todir="classes/production/${module.shortname}" - > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> - <fileset dir="src" includes="META-INF/services/**" /> - </copy> - </target> - - <target - name = "dist" - description = "Packs distribution archives." - depends = "clean, compile" - > - <!--depends = "clean, compile, doc" - --> - <delete dir="dist" /> - <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> - <parallel> - <tar tarfile="${distName}.src.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </jar> - <jar destfile="${distName}.jar"> - <zipfileset dir="classes/production/${module.shortname}"/> - <manifest> - <attribute name="Implementation-Title" value="${module.name}" /> - <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" /> - <attribute name="Implementation-Version" value="${module.version}" /> - <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> - </manifest> - </jar> - <tar tarfile="${distName}.doc.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" /> - <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" /> - <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" /> - <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" /> - <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> - </target> - - <target - name = "doc" - description = "Creates public javadoc documentation." - > - <mkdir dir="docs/api" /> - <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" /> - <copy todir="docs/api" file="src/doc/api/public/.htaccess" /--> - <javadoc - destdir = "docs/api" - access = "protected" - author = "yes" - version = "yes" - locale = "en_US" - use = "yes" - splitindex = "yes" - windowtitle = "JAPI Library ${module.title} ${module.version} API documentation" - doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - header = "JAPI Library ${module.title} ${module.version}<br />API Documentation" - footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" - serialwarn = "yes" - charset = "utf-8" - docencoding = "utf-8" - encoding = "utf-8" - source = "1.5" - linksource = "yes" - link = "${user.javadoc.link}" - > - <!-- - overview = "src/overview.html" - --> - <classpath> - <fileset dir="lib" includes="annotations.jar" /> - </classpath> - <sourcepath> - <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> - </sourcepath> - <packageset - dir="src" - defaultexcludes="yes" - > - <include name="net/**" /> - </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> - </javadoc> - </target> - </project> Modified: libs/swing-bookmarks/trunk/build.xml =================================================================== --- libs/swing-bookmarks/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ libs/swing-bookmarks/trunk/build.xml 2007-06-25 19:50:11 UTC (rev 442) @@ -17,182 +17,11 @@ ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> - +<!DOCTYPE project [ + <!ENTITY commonBuild SYSTEM "common/commonBuild.xml"> +]> <project name="japi lib swing-bookmarks" default="compile"> - <property name="module.version" value="0.1" /> - <property name="module.name" value="japi-lib-swing-bookmarks" /> - <property name="module.shortname" value="swing-bookmarks" /> - <property name="module.title" value="Swing Bookmarks" /> + &commonBuild; - <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> - - <target - name = "clean" - description = "Cleans Sandbox" - > - <delete dir="classes" /> - <delete dir="docs" /> - </target> - - <target - name = "compile" - description = "Compiles production classes" - > - <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> - <javac - srcdir="src" - destdir="classes/production/${module.shortname}" - encoding="utf-8" - source="1.5" - target="1.5" - debug="yes" - > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> - <exclude name="test/**/*.java" /> - </javac> - <copy - todir="classes/production/${module.shortname}" - > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> - <fileset dir="src" includes="META-INF/services/**" /> - </copy> - </target> - - <target - name = "dist" - description = "Packs distribution archives." - depends = "clean, compile" - > - <!--depends = "clean, compile, doc" - --> - <delete dir="dist" /> - <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> - <parallel> - <tar tarfile="${distName}.src.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </jar> - <jar destfile="${distName}.jar"> - <zipfileset dir="classes/production/${module.shortname}"/> - <manifest> - <attribute name="Implementation-Title" value="${module.name}" /> - <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" /> - <attribute name="Implementation-Version" value="${module.version}" /> - <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> - </manifest> - </jar> - <tar tarfile="${distName}.doc.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" /> - <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" /> - <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" /> - <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" /> - <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> - </target> - - <target - name = "doc" - description = "Creates public javadoc documentation." - > - <mkdir dir="docs/api" /> - <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" /> - <copy todir="docs/api" file="src/doc/api/public/.htaccess" /--> - <javadoc - destdir = "docs/api" - access = "protected" - author = "yes" - version = "yes" - locale = "en_US" - use = "yes" - splitindex = "yes" - windowtitle = "JAPI Library ${module.title} ${module.version} API documentation" - doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - header = "JAPI Library ${module.title} ${module.version}<br />API Documentation" - footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" - serialwarn = "yes" - charset = "utf-8" - docencoding = "utf-8" - encoding = "utf-8" - source = "1.5" - linksource = "yes" - link = "${user.javadoc.link}" - > - <!-- - overview = "src/overview.html" - --> - <classpath> - <fileset dir="lib" includes="annotations.jar" /> - </classpath> - <sourcepath> - <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> - </sourcepath> - <packageset - dir="src" - defaultexcludes="yes" - > - <include name="net/**" /> - </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> - </javadoc> - </target> - </project> Modified: libs/swing-extlib/trunk/build.xml =================================================================== --- libs/swing-extlib/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ libs/swing-extlib/trunk/build.xml 2007-06-25 19:50:11 UTC (rev 442) @@ -17,181 +17,11 @@ ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> - +<!DOCTYPE project [ + <!ENTITY commonBuild SYSTEM "common/commonBuild.xml"> +]> <project name="japi lib swing-extlib" default="compile"> - <property name="module.version" value="0.1" /> - <property name="module.name" value="japi-lib-swing-extlib" /> - <property name="module.shortname" value="swing-extlib" /> - <property name="module.title" value="Swing Extension Library" /> + &commonBuild; - <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> - - <target - name = "clean" - description = "Cleans Sandbox" - > - <delete dir="classes" /> - <delete dir="docs" /> - </target> - - <target - name = "compile" - description = "Compiles production classes" - > - <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> - <javac - srcdir="src" - destdir="classes/production/${module.shortname}" - encoding="utf-8" - source="1.5" - target="1.5" - > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> - <exclude name="test/**/*.java" /> - </javac> - <copy - todir="classes/production/${module.shortname}" - > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> - <fileset dir="src" includes="META-INF/services/**" /> - </copy> - </target> - - <target - name = "dist" - description = "Packs distribution archives." - depends = "clean, compile" - > - <!--depends = "clean, compile, doc" - --> - <delete dir="dist" /> - <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> - <parallel> - <tar tarfile="${distName}.src.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="build.xml" /> - </zipfileset> - </jar> - <jar destfile="${distName}.jar"> - <zipfileset dir="classes/production/${module.shortname}"/> - <manifest> - <attribute name="Implementation-Title" value="${module.name}" /> - <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" /> - <attribute name="Implementation-Version" value="${module.version}" /> - <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> - </manifest> - </jar> - <tar tarfile="${distName}.doc.tar"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </tarfileset> - </tar> - <zip destfile="${distName}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - <include name="build.xml" /> - </zipfileset> - </zip> - <jar destfile="${distName}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" /> - <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" /> - <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" /> - <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" /> - <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> - </target> - - <target - name = "doc" - description = "Creates public javadoc documentation." - > - <mkdir dir="docs/api" /> - <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" /> - <copy todir="docs/api" file="src/doc/api/public/.htaccess" /--> - <javadoc - destdir = "docs/api" - access = "protected" - author = "yes" - version = "yes" - locale = "en_US" - use = "yes" - splitindex = "yes" - windowtitle = "JAPI Library ${module.title} ${module.version} API documentation" - doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - header = "JAPI Library ${module.title} ${module.version}<br />API Documentation" - footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation" - bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" - serialwarn = "yes" - charset = "utf-8" - docencoding = "utf-8" - encoding = "utf-8" - source = "1.5" - linksource = "yes" - link = "${user.javadoc.link}" - > - <!-- - overview = "src/overview.html" - --> - <classpath> - <fileset dir="lib" includes="annotations.jar" /> - </classpath> - <sourcepath> - <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> - </sourcepath> - <packageset - dir="src" - defaultexcludes="yes" - > - <include name="net/**" /> - </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> - </javadoc> - </target> - </project> Modified: libs/swing-font/trunk/build.xml =================================================================== --- libs/swing-font/trunk/build.xml 2007-06-25 19:39:18 UTC (rev 441) +++ lib... [truncated message content] |
From: <chr...@us...> - 2007-06-25 19:39:21
|
Revision: 441 http://svn.sourceforge.net/japi/?rev=441&view=rev Author: christianhujer Date: 2007-06-25 12:39:18 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Updated module.properties, added missing module.properties. Modified Paths: -------------- libs/taglets/trunk/module.properties Added Paths: ----------- libs/logging/trunk/module.properties libs/registry/trunk/module.properties libs/swing-about/trunk/module.properties libs/swing-action/trunk/module.properties libs/swing-app/trunk/module.properties libs/swing-bookmarks/trunk/module.properties libs/swing-extlib/trunk/module.properties libs/swing-font/trunk/module.properties libs/swing-keyprefs/trunk/module.properties libs/swing-misc/trunk/module.properties libs/swing-prefs/trunk/module.properties libs/swing-proxyprefs/trunk/module.properties libs/swing-recent/trunk/module.properties libs/swing-tod/trunk/module.properties libs/swing-treetable/trunk/module.properties libs/util/trunk/module.properties libs/xml/trunk/module.properties Added: libs/logging/trunk/module.properties =================================================================== --- libs/logging/trunk/module.properties (rev 0) +++ libs/logging/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-logging is a library for providing logging with i18n/l10n support and mappable to other. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-logging +module.shortname=logging +module.title=Logging Property changes on: libs/logging/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/registry/trunk/module.properties =================================================================== --- libs/registry/trunk/module.properties (rev 0) +++ libs/registry/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-registry is a library for providing a framework implementation lookup mechanism. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-registry +module.shortname=registry +module.title=Registry Property changes on: libs/registry/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-about/trunk/module.properties =================================================================== --- libs/swing-about/trunk/module.properties (rev 0) +++ libs/swing-about/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-about is a library for adding an about dialog to an application with little effort. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-about +module.shortname=swing-about +module.title=SwingAbout Property changes on: libs/swing-about/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-action/trunk/module.properties =================================================================== --- libs/swing-action/trunk/module.properties (rev 0) +++ libs/swing-action/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-action is a library for creating and managing javax.swing.Action objects. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-action +module.shortname=swing-action +module.title=SwingAction Property changes on: libs/swing-action/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-app/trunk/module.properties =================================================================== --- libs/swing-app/trunk/module.properties (rev 0) +++ libs/swing-app/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-app is a library for solving application development tasks of general nature. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-app +module.shortname=swing-app +module.title=SwingApp Property changes on: libs/swing-app/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-bookmarks/trunk/module.properties =================================================================== --- libs/swing-bookmarks/trunk/module.properties (rev 0) +++ libs/swing-bookmarks/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-bookmarks is a library for managing bookmarks in applications. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-bookmarks +module.shortname=swing-bookmarks +module.title=SwingBookmarks Property changes on: libs/swing-bookmarks/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-extlib/trunk/module.properties =================================================================== --- libs/swing-extlib/trunk/module.properties (rev 0) +++ libs/swing-extlib/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-extlib is a library holding some useful classes for extending Swing. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-extlib +module.shortname=swing-extlib +module.title=SwingExtlib Property changes on: libs/swing-extlib/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-font/trunk/module.properties =================================================================== --- libs/swing-font/trunk/module.properties (rev 0) +++ libs/swing-font/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-font is a library for showing a full-featured font dialog. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-font +module.shortname=swing-font +module.title=SwingFont Property changes on: libs/swing-font/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-keyprefs/trunk/module.properties =================================================================== --- libs/swing-keyprefs/trunk/module.properties (rev 0) +++ libs/swing-keyprefs/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-keyprefs is a library for adding keyboard shortcut preferences to an application. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-keyprefs +module.shortname=swing-keyprefs +module.title=SwingKeyprefs Property changes on: libs/swing-keyprefs/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-misc/trunk/module.properties =================================================================== --- libs/swing-misc/trunk/module.properties (rev 0) +++ libs/swing-misc/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-misc is a library that holds miscellaneous additions to Swing. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-misc +module.shortname=swing-misc +module.title=SwingMisc Property changes on: libs/swing-misc/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-prefs/trunk/module.properties =================================================================== --- libs/swing-prefs/trunk/module.properties (rev 0) +++ libs/swing-prefs/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-prefs is a library for adding preferences dialogs to an application. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-prefs +module.shortname=swing-prefs +module.title=SwingPrefs Property changes on: libs/swing-prefs/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-proxyprefs/trunk/module.properties =================================================================== --- libs/swing-proxyprefs/trunk/module.properties (rev 0) +++ libs/swing-proxyprefs/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-proxyprefs is a library for adding a proxy preferences dialog to an application. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-proxyprefs +module.shortname=swing-proxyprefs +module.title=SwingProxyprefs Property changes on: libs/swing-proxyprefs/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-recent/trunk/module.properties =================================================================== --- libs/swing-recent/trunk/module.properties (rev 0) +++ libs/swing-recent/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-recent is a library for handling recently opened files in an application. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-recent +module.shortname=swing-recent +module.title=SwingRecent Property changes on: libs/swing-recent/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-tod/trunk/module.properties =================================================================== --- libs/swing-tod/trunk/module.properties (rev 0) +++ libs/swing-tod/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-tod is a library for displaying tip of the day dialogs. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-tod +module.shortname=swing-tod +module.title=SwingTod Property changes on: libs/swing-tod/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/swing-treetable/trunk/module.properties =================================================================== --- libs/swing-treetable/trunk/module.properties (rev 0) +++ libs/swing-treetable/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-swing-treetable is a library that provides a treetable Swing component. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-swing-treetable +module.shortname=swing-treetable +module.title=SwingTreetable Property changes on: libs/swing-treetable/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Modified: libs/taglets/trunk/module.properties =================================================================== --- libs/taglets/trunk/module.properties 2007-06-25 19:21:59 UTC (rev 440) +++ libs/taglets/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -1,5 +1,5 @@ # -# JAPI libs-argparser is a library for parsing command line arguments. +# JAPI libs-taglets is a library that has some useful additional taglets for javadoc. # Copyright (C) 2007 Christian Hujer. # # This library is free software; you can redistribute it and/or Added: libs/util/trunk/module.properties =================================================================== --- libs/util/trunk/module.properties (rev 0) +++ libs/util/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-util is a library with some additional classes related to java.util. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-util +module.shortname=util +module.title=Util Property changes on: libs/util/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/xml/trunk/module.properties =================================================================== --- libs/xml/trunk/module.properties (rev 0) +++ libs/xml/trunk/module.properties 2007-06-25 19:39:18 UTC (rev 441) @@ -0,0 +1,24 @@ +# +# JAPI libs-xml is a library that provides some classes for making XML programming in Java more comfortable. +# Copyright (C) 2007 Christian Hujer. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# + +update.focus=none +module.version=trunk +module.name=japi-lib-xml +module.shortname=xml +module.title=Xml Property changes on: libs/xml/trunk/module.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 19:22:00
|
Revision: 440 http://svn.sourceforge.net/japi/?rev=440&view=rev Author: christianhujer Date: 2007-06-25 12:21:59 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed checkstyle issue. Modified Paths: -------------- libs/lang/trunk/src/test/net/sf/japi/lang/SuperClassIteratorTest.java Modified: libs/lang/trunk/src/test/net/sf/japi/lang/SuperClassIteratorTest.java =================================================================== --- libs/lang/trunk/src/test/net/sf/japi/lang/SuperClassIteratorTest.java 2007-06-25 15:20:06 UTC (rev 439) +++ libs/lang/trunk/src/test/net/sf/japi/lang/SuperClassIteratorTest.java 2007-06-25 19:21:59 UTC (rev 440) @@ -42,7 +42,7 @@ } /** Tests whether iterating the superclasses works. */ - @Test(expected=NoSuchElementException.class) public void testException() { + @Test(expected = NoSuchElementException.class) public void testException() { final SuperClassIterator it = new SuperClassIterator(String.class); try { it.next(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 15:20:41
|
Revision: 439 http://svn.sourceforge.net/japi/?rev=439&view=rev Author: christianhujer Date: 2007-06-25 08:20:06 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Added JAPI taglets trunk. Modified Paths: -------------- common/trunk/commonBuild.xml Added Paths: ----------- common/trunk/antlib/LICENSE-japi-lib-taglets-trunk.jar common/trunk/antlib/japi-lib-taglets-trunk.jar Added: common/trunk/antlib/LICENSE-japi-lib-taglets-trunk.jar =================================================================== --- common/trunk/antlib/LICENSE-japi-lib-taglets-trunk.jar (rev 0) +++ common/trunk/antlib/LICENSE-japi-lib-taglets-trunk.jar 2007-06-25 15:20:06 UTC (rev 439) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + 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. + + 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. + + 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. + + 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. + + 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. + + 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. + + 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 precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 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". + +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. + + 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. + +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. + + 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: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + 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. + + 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.) + +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. + +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. + +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. + + 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) 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 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) 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.) + +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. + +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. + + 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. + + 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. + + 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. + + 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. + +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. + +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. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 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. + + 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. + +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 + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Property changes on: common/trunk/antlib/LICENSE-japi-lib-taglets-trunk.jar ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: common/trunk/antlib/japi-lib-taglets-trunk.jar =================================================================== (Binary files differ) Property changes on: common/trunk/antlib/japi-lib-taglets-trunk.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-25 15:10:25 UTC (rev 438) +++ common/trunk/commonBuild.xml 2007-06-25 15:20:06 UTC (rev 439) @@ -101,17 +101,15 @@ > <include name="net/**" /> </packageset> - <tag enabled="true" name="retval" description="Return Values:" scope="methods" /> - <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" /> - <tag enabled="true" name="post" description="Postconditions:" scope="methods" /> - <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" /> - <tag enabled="true" name="note" description="Notes:" /> - <tag enabled="true" name="warning" description="Warnings:" /> - <!--tag enabled="true" name="todo" - description="Todo:" /--> - <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" /> - <tag enabled="true" name="fixme" description="Fixme:" /> - <tag enabled="true" name="xxx" description="XXX:" /> + <taglet name="net.sf.japi.taglets.FixmeTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.InvariantTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.NoteTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.PostconditionTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.PreconditionTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.ReturnValueTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.TodoTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.WarningTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.XxxTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> </javadoc> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 15:10:27
|
Revision: 438 http://svn.sourceforge.net/japi/?rev=438&view=rev Author: christianhujer Date: 2007-06-25 08:10:25 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Made classes with private constructors final. Checkstyle now doesn't complain about taglets. Modified Paths: -------------- libs/taglets/trunk/src/net/sf/japi/taglets/FixmeTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/InvariantTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/NoteTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/PostconditionTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/PreconditionTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/ReturnValueTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/TodoTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/WarningTaglet.java libs/taglets/trunk/src/net/sf/japi/taglets/XxxTaglet.java Modified: libs/taglets/trunk/src/net/sf/japi/taglets/FixmeTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/FixmeTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/FixmeTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -30,7 +30,7 @@ * @see TodoTaglet for general work that needs to be done * @see XxxTaglet for code that looks bogus but seems to work */ -public class FixmeTaglet extends BlockListTaglet { +public final class FixmeTaglet extends BlockListTaglet { /** * Create an FixmeTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/InvariantTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/InvariantTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/InvariantTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -29,7 +29,7 @@ * @see PreconditionTaglet * @see PostconditionTaglet */ -public class InvariantTaglet extends BlockListTaglet { +public final class InvariantTaglet extends BlockListTaglet { /** * Create a InvariantTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/NoteTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/NoteTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/NoteTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -29,7 +29,7 @@ * @author <a href="mailto:ch...@ri...">Christian Hujer</a> * @see NoteTaglet for less severe notes */ -public class NoteTaglet extends BlockListTaglet { +public final class NoteTaglet extends BlockListTaglet { /** * Create a NoteTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/PostconditionTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/PostconditionTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/PostconditionTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -29,7 +29,7 @@ * @see InvariantTaglet * @see PreconditionTaglet */ -public class PostconditionTaglet extends BlockListTaglet { +public final class PostconditionTaglet extends BlockListTaglet { /** * Create a PostconditionTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/PreconditionTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/PreconditionTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/PreconditionTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -29,7 +29,7 @@ * @see PostconditionTaglet * @see InvariantTaglet */ -public class PreconditionTaglet extends BlockListTaglet { +public final class PreconditionTaglet extends BlockListTaglet { /** * Create a PreconditionTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/ReturnValueTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/ReturnValueTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/ReturnValueTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -26,7 +26,7 @@ * Taglet for documenting return values. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ -public class ReturnValueTaglet extends BlockListTaglet { +public final class ReturnValueTaglet extends BlockListTaglet { /** * Create a ReturnValueTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/TodoTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/TodoTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/TodoTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -32,7 +32,7 @@ * @see XxxTaglet for code that looks bogus but seems to work * @see FixmeTaglet for code that is known to be bogus */ -public class TodoTaglet extends BlockListTaglet { +public final class TodoTaglet extends BlockListTaglet { /** * Create an TodoTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/WarningTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/WarningTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/WarningTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -29,7 +29,7 @@ * @author <a href="mailto:ch...@ri...">Christian Hujer</a> * @see NoteTaglet for less severe notes */ -public class WarningTaglet extends BlockListTaglet { +public final class WarningTaglet extends BlockListTaglet { /** * Create a WarningTaglet. Modified: libs/taglets/trunk/src/net/sf/japi/taglets/XxxTaglet.java =================================================================== --- libs/taglets/trunk/src/net/sf/japi/taglets/XxxTaglet.java 2007-06-25 14:10:30 UTC (rev 437) +++ libs/taglets/trunk/src/net/sf/japi/taglets/XxxTaglet.java 2007-06-25 15:10:25 UTC (rev 438) @@ -30,7 +30,7 @@ * @see TodoTaglet for general work that needs to be done * @see FixmeTaglet for code that is known to be bogus */ -public class XxxTaglet extends BlockListTaglet { +public final class XxxTaglet extends BlockListTaglet { /** * Create an XxxTaglet. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 14:10:32
|
Revision: 437 http://svn.sourceforge.net/japi/?rev=437&view=rev Author: christianhujer Date: 2007-06-25 07:10:30 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed bug which would return the wrong boolean value for localized boolean strings. Modified Paths: -------------- libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java Modified: libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java 2007-06-25 14:01:47 UTC (rev 436) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java 2007-06-25 14:10:30 UTC (rev 437) @@ -61,7 +61,7 @@ } for (final String s : ResourceBundle.getBundle("net.sf.japi.io.args.converter.Converter", locale).getString("java.lang.Boolean.false").split("\\s+")) { if (s.equalsIgnoreCase(arg)) { - return Boolean.TRUE; + return Boolean.FALSE; } } throw new IllegalArgumentException(arg + " is not a valid String for a boolean."); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 14:01:50
|
Revision: 436 http://svn.sourceforge.net/japi/?rev=436&view=rev Author: christianhujer Date: 2007-06-25 07:01:47 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Updated README. Modified Paths: -------------- libs/taglets/trunk/README Modified: libs/taglets/trunk/README =================================================================== --- libs/taglets/trunk/README 2007-06-25 14:01:12 UTC (rev 435) +++ libs/taglets/trunk/README 2007-06-25 14:01:47 UTC (rev 436) @@ -35,9 +35,9 @@ SYSTEM REQUIREMENTS ------------------- Java 5.0 - Previous versions of Java will not work. Japi Taglets uses Generics, - autoboxing, static imports, foreach loops, assertions, covariant return - types and varargs quite a lot. + Previous versions of Java will not work. Japi uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. Ant 1.6.5 Previous versions of Ant might work but are not tested. @@ -48,9 +48,16 @@ build.xml The build file to build the project with Ant. +common/ + Directory with libraries and other files that are common to all or most + Japi projects / modules. + +CHANGES + Changelog with significant changes. + COPYING - Japi Taglets license conditions. Note: applies to Japi Taglets only, not - third party libraries. + Japi Taglets license conditions. Note: applies to Japi Taglets only, + not third party libraries. CREDITS List of project contributors. See also MAINTAINERS. @@ -58,12 +65,6 @@ INSTALL Description of how to build and install Japi Taglets. -lib/ - Directory containing third party libraries used to build Japi Taglets. - Please note that these thrid party libraries have their own license - conditions. The licenses of the third party libraries are included in the - lib/ directory. - LICENSE File with license information. @@ -73,8 +74,8 @@ NEWS Project News. -project.properties - File with automatically changed settings for Ant. +module.properties + File with module-specific settings for common/commonBuild.xml. README This file. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 14:01:13
|
Revision: 435 http://svn.sourceforge.net/japi/?rev=435&view=rev Author: christianhujer Date: 2007-06-25 07:01:12 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Removed redundant lib directory. Removed Paths: ------------- libs/taglets/trunk/lib/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 13:58:07
|
Revision: 434 http://svn.sourceforge.net/japi/?rev=434&view=rev Author: christianhujer Date: 2007-06-25 06:57:56 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Updated this module's project documentation. Modified Paths: -------------- libs/taglets/trunk/README Added Paths: ----------- libs/taglets/trunk/CHANGES libs/taglets/trunk/COPYING libs/taglets/trunk/CREDITS libs/taglets/trunk/INSTALL libs/taglets/trunk/LICENSE libs/taglets/trunk/MAINTAINERS libs/taglets/trunk/NEWS Added: libs/taglets/trunk/CHANGES =================================================================== --- libs/taglets/trunk/CHANGES (rev 0) +++ libs/taglets/trunk/CHANGES 2007-06-25 13:57:56 UTC (rev 434) @@ -0,0 +1,6 @@ +JAPI TAGLETS CHANGLOG +--------------------- + +2007 + Christian Hujer: + * Creation Property changes on: libs/taglets/trunk/CHANGES ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/taglets/trunk/COPYING =================================================================== --- libs/taglets/trunk/COPYING (rev 0) +++ libs/taglets/trunk/COPYING 2007-06-25 13:57:56 UTC (rev 434) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + 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. + + 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. + + 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. + + 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. + + 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. + + 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. + + 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 precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 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". + +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. + + 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. + +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. + + 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: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + 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. + + 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.) + +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. + +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. + +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. + + 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) 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 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) 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.) + +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. + +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. + + 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. + + 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. + + 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. + + 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. + +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. + +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. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 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. + + 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. + +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 + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Property changes on: libs/taglets/trunk/COPYING ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/taglets/trunk/CREDITS =================================================================== --- libs/taglets/trunk/CREDITS (rev 0) +++ libs/taglets/trunk/CREDITS 2007-06-25 13:57:56 UTC (rev 434) @@ -0,0 +1,10 @@ +The following people have contributed to JAPI Taglets: + +* Christian Hujer <ch...@ri...> + Inventor, creator, maintainer + +* Andreas Kirschbaum <aki...@us...> + Suggestions for enhancements, feedback + +* Daniel Viegas <der...@us...> + Suggestions for enhancements, feedback Property changes on: libs/taglets/trunk/CREDITS ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/taglets/trunk/INSTALL =================================================================== --- libs/taglets/trunk/INSTALL (rev 0) +++ libs/taglets/trunk/INSTALL 2007-06-25 13:57:56 UTC (rev 434) @@ -0,0 +1,23 @@ +BUILDING / INSTALLING JAPI TAGLETS +---------------------------------- + + +Japi Taglets is a javadoc taglet library for Java developers. Because of that, +installation is not applicable. The rest of the file is concerned with +building it only. + +To build Japi Taglets, you need Java 5.0 and Ant 1.6.5. The applications you +build using Japi Taglets will need Java 5.0 or newer and of course Japi +Taglets. + + +To build Japi Taglets, just run ant in the project's root directory or +specifying the build.xml in the project's root directory. To find out, what +other options you have for building Japi Taglets, try "ant -projecthelp". + + +Usually, you'd just want to use Japi Taglets in your favorite IDE and include +all those Japi Taglets classes that you used directly or indirectly in your +build. To do so, the easiest way usually is this: +1. Create a .jar file with the Japi Taglets classes by running "ant dist". +2. Include that .jar file in the classpath of your IDE. Property changes on: libs/taglets/trunk/INSTALL ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/taglets/trunk/LICENSE =================================================================== --- libs/taglets/trunk/LICENSE (rev 0) +++ libs/taglets/trunk/LICENSE 2007-06-25 13:57:56 UTC (rev 434) @@ -0,0 +1,9 @@ +JAPI TAGLETS LICENSE INFORMATION +-------------------------------- + +Japi Taglets is licensed under GPL. See file COPYING. + +Japi Taglets uses some third part libraries, especially for building. These +libraries are contained in the lib/ directory and have their own licenses. See +the corresponding LICENSE-*-files in the common/lib/ directory for the licenses +of third party libraries. Property changes on: libs/taglets/trunk/LICENSE ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/taglets/trunk/MAINTAINERS =================================================================== --- libs/taglets/trunk/MAINTAINERS (rev 0) +++ libs/taglets/trunk/MAINTAINERS 2007-06-25 13:57:56 UTC (rev 434) @@ -0,0 +1,7 @@ +JAPI TAGLETS MAINTAINERS +------------------------ + +2007 + Christian Hujer <ch...@ri...> + * Creation + * Maintenance Property changes on: libs/taglets/trunk/MAINTAINERS ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/taglets/trunk/NEWS =================================================================== --- libs/taglets/trunk/NEWS (rev 0) +++ libs/taglets/trunk/NEWS 2007-06-25 13:57:56 UTC (rev 434) @@ -0,0 +1,4 @@ +JAPI TAGLETS NEWS +----------------- + +No news yet. Property changes on: libs/taglets/trunk/NEWS ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Modified: libs/taglets/trunk/README =================================================================== --- libs/taglets/trunk/README 2007-06-25 13:51:23 UTC (rev 433) +++ libs/taglets/trunk/README 2007-06-25 13:57:56 UTC (rev 434) @@ -1,7 +1,7 @@ -JAPI COMMON README -================== +JAPI TAGLETS README +=================== -This file contains some important information about Japi Common. You should +This file contains some important information about Japi Taglets. You should read it first. @@ -20,7 +20,7 @@ PROJECT DESCRIPTION ------------------- -Japi Common is a set of libraries and build modules useful for Java projects. +Japi Taglets is a javadoc taglet library for Java developers. It is part of the Japi project. @@ -29,15 +29,15 @@ Project homepage: http://japi.sourceforge.net/ Project website: http://sourceforge.net/projects/japi/ Project statistics: http://cia.navi.cx/projects/japi -Subproject homepage: http://japi.sourceforge.net/common/ +Subproject homepage: http://japi.sourceforge.net/libs/taglets/ SYSTEM REQUIREMENTS ------------------- Java 5.0 - Previous versions of Java will not work. Gridarta uses Generics, autoboxing, - static imports, foreach loops, assertions, covariant return types and varargs - quite a lot. + Previous versions of Java will not work. Japi Taglets uses Generics, + autoboxing, static imports, foreach loops, assertions, covariant return + types and varargs quite a lot. Ant 1.6.5 Previous versions of Ant might work but are not tested. @@ -49,17 +49,17 @@ The build file to build the project with Ant. COPYING - Japi Common license conditions. Note: applies to Japi Common only, not + Japi Taglets license conditions. Note: applies to Japi Taglets only, not third party libraries. CREDITS List of project contributors. See also MAINTAINERS. INSTALL - Description of how to build and install Japi Common. + Description of how to build and install Japi Taglets. lib/ - Directory containing third party libraries used to build Japi Common. + Directory containing third party libraries used to build Japi Taglets. Please note that these thrid party libraries have their own license conditions. The licenses of the third party libraries are included in the lib/ directory. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |