japi-cvs Mailing List for JAPI (Page 17)
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...> - 2009-02-21 23:04:07
|
Revision: 1012
http://japi.svn.sourceforge.net/japi/?rev=1012&view=rev
Author: christianhujer
Date: 2009-02-21 23:04:05 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Created branch 0.1.
Added Paths:
-----------
libs/swing-extlib/branches/0.1/
Property changes on: libs/swing-extlib/branches/0.1
___________________________________________________________________
Added: svn:ignore
+ bin
classes
dest
developer.properties
dist
docs
Added: svn:externals
+ ^/common/trunk@1011 common
Added: svn:mergeinfo
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-21 22:44:29
|
Revision: 1011
http://japi.svn.sourceforge.net/japi/?rev=1011&view=rev
Author: christianhujer
Date: 2009-02-21 22:44:23 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Created release tag 0.1.0 for branch 0.1.
Added Paths:
-----------
libs/swing-about/tags/0.1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-21 22:42:12
|
Revision: 1010
http://japi.svn.sourceforge.net/japi/?rev=1010&view=rev
Author: christianhujer
Date: 2009-02-21 22:42:06 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Created branch 0.1.
Added Paths:
-----------
libs/swing-about/branches/0.1/
Property changes on: libs/swing-about/branches/0.1
___________________________________________________________________
Added: svn:ignore
+ bin
classes
dest
developer.properties
dist
docs
Added: svn:externals
+ ^/common/trunk@1009 common
Added: svn:mergeinfo
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-21 22:32:18
|
Revision: 1009
http://japi.svn.sourceforge.net/japi/?rev=1009&view=rev
Author: christianhujer
Date: 2009-02-21 22:32:13 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Fetch required libraries.
Modified Paths:
--------------
libs/swing-bookmarks/trunk/build.xml
Modified: libs/swing-bookmarks/trunk/build.xml
===================================================================
--- libs/swing-bookmarks/trunk/build.xml 2009-02-21 22:31:52 UTC (rev 1008)
+++ libs/swing-bookmarks/trunk/build.xml 2009-02-21 22:32:13 UTC (rev 1009)
@@ -23,4 +23,8 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-swing-action-0.1.0.jar" dest="lib/japi-lib-swing-action.jar" />
+ </target>
+
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-21 22:32:01
|
Revision: 1008
http://japi.svn.sourceforge.net/japi/?rev=1008&view=rev
Author: christianhujer
Date: 2009-02-21 22:31:52 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues.
Modified Paths:
--------------
libs/io/trunk/src/prj/net/sf/japi/io/IOUtils.java
libs/io/trunk/src/tst/test/net/sf/japi/io/IOUtilsTest.java
Modified: libs/io/trunk/src/prj/net/sf/japi/io/IOUtils.java
===================================================================
--- libs/io/trunk/src/prj/net/sf/japi/io/IOUtils.java 2009-02-21 22:03:37 UTC (rev 1007)
+++ libs/io/trunk/src/prj/net/sf/japi/io/IOUtils.java 2009-02-21 22:31:52 UTC (rev 1008)
@@ -49,6 +49,7 @@
*/
public static void copy(@NotNull final InputStream in, @NotNull final OutputStream out) throws IOException {
final byte[] buf = new byte[DEFAULT_BUF_SIZE];
+ //noinspection NestedAssignment
for (int bytesRead; (bytesRead = in.read(buf)) != -1;) {
out.write(buf, 0, bytesRead);
}
Modified: libs/io/trunk/src/tst/test/net/sf/japi/io/IOUtilsTest.java
===================================================================
--- libs/io/trunk/src/tst/test/net/sf/japi/io/IOUtilsTest.java 2009-02-21 22:03:37 UTC (rev 1007)
+++ libs/io/trunk/src/tst/test/net/sf/japi/io/IOUtilsTest.java 2009-02-21 22:31:52 UTC (rev 1008)
@@ -69,6 +69,7 @@
lineIterator.remove();
Assert.fail();
} catch (final UnsupportedOperationException ignore) {
+ /* Ignore, this exception is expected. */
}
Assert.assertTrue(lineIterator.hasNext());
Assert.assertEquals("line2", lineIterator.next());
@@ -79,6 +80,7 @@
lineIterator.next();
Assert.fail();
} catch (final NoSuchElementException ignore) {
+ /* Ignore, this exception is expected. */
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-21 20:44:07
|
Revision: 1005
http://japi.svn.sourceforge.net/japi/?rev=1005&view=rev
Author: christianhujer
Date: 2009-02-21 20:44:00 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Added unit tests to bring unit test coverage for ArgParser to 100% class, method and line coverage.
Modified Paths:
--------------
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java
Added Paths:
-----------
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CharsetDispalynameComparatorTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CommandWithHelpTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.properties
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/LogCommandTest.java
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java 2009-02-21 18:25:15 UTC (rev 1004)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java 2009-02-21 20:44:00 UTC (rev 1005)
@@ -533,6 +533,23 @@
}
/**
+ * Tests that double-@ is unescaped to one single @.
+ * @throws RequiredOptionsMissingException (unexpected).
+ * @throws TerminalException (unexpected).
+ * @throws UnknownOptionException (unexpected).
+ * @throws MissingArgumentException (expected).
+ * @throws ArgumentFileNotFoundException (unexpected).
+ */
+ @Test
+ public void testDoubleAt() throws ArgumentFileNotFoundException, UnknownOptionException, MissingArgumentException, RequiredOptionsMissingException, TerminalException {
+ final MockCommand command = new MockCommand();
+ ArgParser.parseAndRun(command, "-i", "foo", "@@");
+ final List<String> args = command.getArgs();
+ Assert.assertEquals("Expecting '@' to be passed as argument.", 1, args.size());
+ Assert.assertEquals("Expecting '@' to be passed as argument.", "@", args.get(0));
+ }
+
+ /**
* This MockCommand serves as a command for performing simple tests.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CharsetDispalynameComparatorTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CharsetDispalynameComparatorTest.java (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CharsetDispalynameComparatorTest.java 2009-02-21 20:44:00 UTC (rev 1005)
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2009 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 test.net.sf.japi.io.args;
+
+import java.nio.charset.Charset;
+import net.sf.japi.io.args.CharsetDisplaynameComparator;
+import org.junit.Assert;
+import org.junit.Test;
+
+/**
+ * Unit test for {@link CharsetDisplaynameComparator}.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class CharsetDispalynameComparatorTest {
+
+ /** Tests that {@link CharsetDisplaynameComparator#compare(Charset, Charset)} works. */
+ @Test
+ public void testCompare() {
+ @SuppressWarnings({"TypeMayBeWeakened"})
+ final CharsetDisplaynameComparator testling = new CharsetDisplaynameComparator();
+ final Charset charset1 = Charset.forName("utf-8");
+ final Charset charset2 = Charset.forName("iso-8859-1");
+ Assert.assertTrue("Expecting iso-8859-1 to be sorted before utf-8.", testling.compare(charset1, charset2) > 0);
+ }
+}
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CharsetDispalynameComparatorTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CommandWithHelpTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CommandWithHelpTest.java (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CommandWithHelpTest.java 2009-02-21 20:44:00 UTC (rev 1005)
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2009 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 test.net.sf.japi.io.args;
+
+import java.util.List;
+import net.sf.japi.io.args.CommandWithHelp;
+import net.sf.japi.io.args.Command;
+import org.jetbrains.annotations.NotNull;
+import org.junit.Assert;
+import org.junit.Test;
+
+/**
+ * TODO:2009-02-21:christianhujer:Documentation.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class CommandWithHelpTest {
+
+ /** Tests that {@link CommandWithHelp#isExiting()} returns <code>false</code>. */
+ @Test
+ public void testExiting() {
+ final Command testling = new CommandWithHelp() {
+ public int run(@NotNull final List<String> args) {
+ return 0;
+ }
+ };
+ Assert.assertFalse("Expecting a command to not be exiting by default.", testling.isExiting());
+ }
+
+ /** Tests that {@link CommandWithHelp#isCheckRequiredOptions()} returns <code>true</code>. */
+ @Test
+ public void testCheckRequiredOptions() {
+ final Command testling = new CommandWithHelp() {
+ public int run(@NotNull final List<String> args) {
+ return 0;
+ }
+ };
+ Assert.assertTrue("Expecting a command to be checking for required optinos by default.", testling.isCheckRequiredOptions());
+ }
+}
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/CommandWithHelpTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.java (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.java 2009-02-21 20:44:00 UTC (rev 1005)
@@ -0,0 +1,17 @@
+package test.net.sf.japi.io.args;
+
+import net.sf.japi.io.args.LogCommand;
+import org.jetbrains.annotations.NotNull;
+import java.util.List;
+
+/**
+ * TODO:2009-02-21:christianhujer:Documentation.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+class DummyLogCommand extends LogCommand {
+
+ /** {@inheritDoc} */
+ public int run(@NotNull final List<String> args) {
+ return 0;
+ }
+}
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.properties
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.properties (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.properties 2009-02-21 20:44:00 UTC (rev 1005)
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2009 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
+#
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/DummyLogCommand.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/LogCommandTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/LogCommandTest.java (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/LogCommandTest.java 2009-02-21 20:44:00 UTC (rev 1005)
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2009 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 test.net.sf.japi.io.args;
+
+import net.sf.japi.io.args.LogCommand;
+import net.sf.japi.io.args.converter.LogLevelConverter;
+import org.junit.Assert;
+import org.junit.Test;
+
+/**
+ * Unit test for {@link LogCommand}.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class LogCommandTest {
+
+ /** Tests that a {@link LogCommand} has Logging.
+ * @throws Exception (unexpected)
+ */
+ @Test
+ public void testLogLevel() throws Exception {
+ final LogCommand testling = new DummyLogCommand();
+ Assert.assertNotNull("Expecting testling to have a log.", testling.getLog());
+ testling.setLevel(new LogLevelConverter().convert("FINEST"));
+ }
+}
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/LogCommandTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: 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...> - 2009-02-21 18:25:25
|
Revision: 1004
http://japi.svn.sourceforge.net/japi/?rev=1004&view=rev
Author: christianhujer
Date: 2009-02-21 18:25:15 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Added unit tests to bring unit test coverage for ArgParser to 100% class, method and line coverage.
Added Paths:
-----------
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/InputStreamConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LogLevelConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/OutputStreamConverterTest.java
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/InputStreamConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/InputStreamConverterTest.java (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/InputStreamConverterTest.java 2009-02-21 18:25:15 UTC (rev 1004)
@@ -0,0 +1,65 @@
+/*
+ * Copyright (C) 2009 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 test.net.sf.japi.io.args.converter;
+
+import java.io.InputStream;
+import junit.framework.Assert;
+import net.sf.japi.io.args.converter.InputStreamConverter;
+import org.junit.Test;
+
+/**
+ * Unit test for {@link InputStreamConverter}.
+ *
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>.
+ */
+public class InputStreamConverterTest {
+
+ /** Tests that {@link InputStreamConverter#convert(String)} works with "-".
+ * @throws Exception (unexpected).
+ */
+ @Test
+ public void testStdin() throws Exception {
+ final InputStreamConverter testling = new InputStreamConverter();
+ Assert.assertEquals("Conversion of \"-\" must return System.in.", System.in, testling.convert("-"));
+ }
+
+ /** Tests that {@link InputStreamConverter#convert(String)} works with a URL.
+ * @throws Exception (unexpected).
+ */
+ @Test
+ public void testUrl() throws Exception {
+ final InputStreamConverter testling = new InputStreamConverter();
+ // TODO:2009-02-21:christianhujer:Choose a better resource.
+ final InputStream in = testling.convert("http://www.w3.org/");
+ Assert.assertNotNull("Expecting InputStream.", in);
+ // TODO:2009-02-21:christianhujer:Verify resource contents.
+ }
+
+ /** Tests that {@link InputStreamConverter#convert(String)} works with a filename.
+ * @throws Exception (unexpected).
+ */
+ @Test
+ public void testFile() throws Exception {
+ final InputStreamConverter testling = new InputStreamConverter();
+ // TODO:2009-02-21:christianhujer:Choose a better file.
+ final InputStream in = testling.convert(".svn/entries");
+ Assert.assertNotNull("Expecting InputStream.", in);
+ // TODO:2009-02-21:christianhujer:Verify file contents.
+ }
+}
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/InputStreamConverterTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LogLevelConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LogLevelConverterTest.java (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LogLevelConverterTest.java 2009-02-21 18:25:15 UTC (rev 1004)
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2009 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 test.net.sf.japi.io.args.converter;
+
+import java.util.logging.Level;
+import junit.framework.Assert;
+import net.sf.japi.io.args.converter.LogLevelConverter;
+import org.junit.Test;
+
+/**
+ * Unit test for {@link LogLevelConverter}.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class LogLevelConverterTest {
+
+ /** Tests that {@link LogLevelConverter#convert(String)} works.
+ * @throws Exception (unexpected).
+ */
+ @Test
+ public void testConvert() throws Exception {
+ final LogLevelConverter testling = new LogLevelConverter();
+ final Level logLevel = testling.convert("FINEST");
+ Assert.assertEquals("Expecting \"FINEST\"", Level.FINEST, logLevel);
+ }
+}
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LogLevelConverterTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/OutputStreamConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/OutputStreamConverterTest.java (rev 0)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/OutputStreamConverterTest.java 2009-02-21 18:25:15 UTC (rev 1004)
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2009 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 test.net.sf.japi.io.args.converter;
+
+import java.io.OutputStream;
+import junit.framework.Assert;
+import net.sf.japi.io.args.converter.OutputStreamConverter;
+import org.junit.Test;
+
+/**
+ * Unit test for {@link OutputStreamConverter}.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class OutputStreamConverterTest {
+
+ /** Tests that {@link OutputStreamConverter#convert(String)} works with "-".
+ * @throws Exception (unexpected).
+ */
+ @Test
+ public void testStdin() throws Exception {
+ final OutputStreamConverter testling = new OutputStreamConverter();
+ Assert.assertEquals("Conversion of \"-\" must return System.out.", System.out, testling.convert("-"));
+ }
+
+ /** Tests that {@link OutputStreamConverter#convert(String)} works with a filename.
+ * @throws Exception (unexpected).
+ */
+ @Test
+ public void testFile() throws Exception {
+ final OutputStreamConverter testling = new OutputStreamConverter();
+ // TODO:2009-02-21:christianhujer:Choose a better file.
+ final OutputStream in = testling.convert("foo.txt");
+ Assert.assertNotNull("Expecting OutputStream.", in);
+ // TODO:2009-02-21:christianhujer:Write to file then verify file contents.
+ }
+
+}
Property changes on: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/OutputStreamConverterTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: 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...> - 2009-02-21 17:41:01
|
Revision: 1003
http://japi.svn.sourceforge.net/japi/?rev=1003&view=rev
Author: christianhujer
Date: 2009-02-21 17:40:47 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Removed try/catch for EnumConverter.
Modified Paths:
--------------
libs/argparser/trunk/src/prj/net/sf/japi/io/args/converter/ConverterRegistry.java
Modified: libs/argparser/trunk/src/prj/net/sf/japi/io/args/converter/ConverterRegistry.java
===================================================================
--- libs/argparser/trunk/src/prj/net/sf/japi/io/args/converter/ConverterRegistry.java 2009-02-21 16:21:18 UTC (rev 1002)
+++ libs/argparser/trunk/src/prj/net/sf/japi/io/args/converter/ConverterRegistry.java 2009-02-21 17:40:47 UTC (rev 1003)
@@ -181,11 +181,7 @@
* @return EnumConverter for the target type.
*/
@Nullable public static <T extends Enum> EnumConverter<T> getEnumConverter(@NotNull final Class<T> targetType) {
- try {
- return new EnumConverter<T>(targetType);
- } catch (final Exception ignore) {
- return null;
- }
+ return new EnumConverter<T>(targetType);
}
} // class ConverterRegistry
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-21 16:21:23
|
Revision: 1002
http://japi.svn.sourceforge.net/japi/?rev=1002&view=rev
Author: christianhujer
Date: 2009-02-21 16:21:18 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Moved learning classes from midi library to midilearn program.
Added Paths:
-----------
progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java
progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java
Removed Paths:
-------------
libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java
libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java
Deleted: libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java
===================================================================
--- libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java 2009-02-20 21:22:29 UTC (rev 1001)
+++ libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) 2009 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.midi;
-
-import java.util.Locale;
-import java.util.ResourceBundle;
-import org.jetbrains.annotations.NotNull;
-
-/** An Interval, used for the {@link IntervalTrainer}.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public class Interval {
-
- /** The distance of this interval, e.g. 0 for prime, 12 for octave. */
- private int distance;
-
- /** Returns the names of this interval in the current locale.
- * @return The names of this interval in the current locale.
- */
- public String[] getNames() {
- return ResourceBundle.getBundle("Interval").getString("I_" + distance + ".names").split(",");
- }
-
- /** Returns the names of this interval in the specified locale.
- * @param locale Locale in which to return the names.
- * @return The names of this interval in the specified locale.
- */
- public String[] getNames(@NotNull final Locale locale) {
- return ResourceBundle.getBundle("Interval", locale).getString("I_" + distance + ".names").split(",");
- }
-}
Deleted: libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java
===================================================================
--- libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java 2009-02-20 21:22:29 UTC (rev 1001)
+++ libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) 2009 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.midi;
-
-/** Training program for intervals.
- * Plays intervals and asks the user to tell the correct kind of interval.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public class IntervalTrainer {
-
-}
-
Copied: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java (from rev 999, libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java)
===================================================================
--- progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java (rev 0)
+++ progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2009 Christian Hujer
+ *
+ * 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+package net.sf.japi.midilearn;
+
+import java.util.Locale;
+import java.util.ResourceBundle;
+import org.jetbrains.annotations.NotNull;
+
+/** An Interval, used for the {@link IntervalTrainer}.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class Interval {
+
+ /** The distance of this interval, e.g. 0 for prime, 12 for octave. */
+ private int distance;
+
+ /** Returns the names of this interval in the current locale.
+ * @return The names of this interval in the current locale.
+ */
+ public String[] getNames() {
+ return ResourceBundle.getBundle("Interval").getString("I_" + distance + ".names").split(",");
+ }
+
+ /** Returns the names of this interval in the specified locale.
+ * @param locale Locale in which to return the names.
+ * @return The names of this interval in the specified locale.
+ */
+ public String[] getNames(@NotNull final Locale locale) {
+ return ResourceBundle.getBundle("Interval", locale).getString("I_" + distance + ".names").split(",");
+ }
+}
Property changes on: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Copied: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java (from rev 999, libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java)
===================================================================
--- progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java (rev 0)
+++ progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2009 Christian Hujer
+ *
+ * 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+package net.sf.japi.midilearn;
+
+/** Training program for intervals.
+ * Plays intervals and asks the user to tell the correct kind of interval.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class IntervalTrainer {
+
+}
+
Property changes on: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: 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...> - 2009-02-20 21:22:38
|
Revision: 1001
http://japi.svn.sourceforge.net/japi/?rev=1001&view=rev
Author: christianhujer
Date: 2009-02-20 21:22:29 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Created release tag 0.1.0 for branch 0.1.
Added Paths:
-----------
libs/taglets/tags/0.1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-20 21:08:04
|
Revision: 1000
http://japi.svn.sourceforge.net/japi/?rev=1000&view=rev
Author: christianhujer
Date: 2009-02-20 21:08:00 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Created branch 0.1.
Added Paths:
-----------
libs/taglets/branches/0.1/
Property changes on: libs/taglets/branches/0.1
___________________________________________________________________
Added: svn:ignore
+ bin
classes
dest
developer.properties
dist
docs
Added: svn:externals
+ ^/common/trunk@999 common
Added: svn:mergeinfo
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-20 00:07:25
|
Revision: 999
http://japi.svn.sourceforge.net/japi/?rev=999&view=rev
Author: christianhujer
Date: 2009-02-20 00:07:21 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues.
Modified Paths:
--------------
progs/batcher/trunk/src/prj/net/sf/japi/progs/batcher/Main.java
Modified: progs/batcher/trunk/src/prj/net/sf/japi/progs/batcher/Main.java
===================================================================
--- progs/batcher/trunk/src/prj/net/sf/japi/progs/batcher/Main.java 2009-02-20 00:07:12 UTC (rev 998)
+++ progs/batcher/trunk/src/prj/net/sf/japi/progs/batcher/Main.java 2009-02-20 00:07:21 UTC (rev 999)
@@ -35,13 +35,13 @@
/** Action Builder. */
@NotNull
- private static final ActionBuilder actionBuilder = ActionBuilderFactory.getInstance().getActionBuilder(Main.class);
+ private static final ActionBuilder ACTION_BUILDER = ActionBuilderFactory.getInstance().getActionBuilder(Main.class);
/**
* Main program.
* @param args Command line arguments (ignored).
*/
- public static void main(final String... args){
+ public static void main(final String... args) {
new Main();
}
@@ -50,9 +50,9 @@
/** Creates Main. */
public Main() {
- frame = new JFrame(actionBuilder.getString("window.title"));
+ frame = new JFrame(ACTION_BUILDER.getString("window.title"));
frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
- frame.setJMenuBar(actionBuilder.createMenuBar(true, "Main", this));
+ frame.setJMenuBar(ACTION_BUILDER.createMenuBar(true, "Main", this));
frame.setSize(Toolkit.getDefaultToolkit().getScreenSize());
frame.setExtendedState(Frame.MAXIMIZED_BOTH);
frame.addWindowListener(new WindowAdapter() {
@@ -77,7 +77,7 @@
* @return <code>true</code> if quitting is requested, otherwise <code>false</code>.
*/
public boolean isQuitRequested() {
- return actionBuilder.showQuestionDialog(frame, "reallyQuit");
+ return ACTION_BUILDER.showQuestionDialog(frame, "reallyQuit");
}
} // class Main
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-20 00:07:16
|
Revision: 998
http://japi.svn.sourceforge.net/japi/?rev=998&view=rev
Author: christianhujer
Date: 2009-02-20 00:07:12 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues.
Modified Paths:
--------------
progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/Card.java
progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfig.java
progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfigEditor.java
Modified: progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/Card.java
===================================================================
--- progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/Card.java 2009-02-20 00:06:55 UTC (rev 997)
+++ progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/Card.java 2009-02-20 00:07:12 UTC (rev 998)
@@ -28,12 +28,21 @@
/** Serial version. */
private static final long serialVersionUID = 1L;
+ /** Contents of this card. */
private final String[] fieldContents = new String[6];
+ /** Sets a field of this card.
+ * @param fieldIndex Index of the field to set.
+ * @param fieldContent New value for the field.
+ */
public void setField(final int fieldIndex, final String fieldContent) {
fieldContents[fieldIndex] = fieldContent;
}
+ /** Returns a field of this card.
+ * @param fieldIndex Index of the field to return.
+ * @return The value of that field.
+ */
public String getField(final int fieldIndex) {
return fieldContents[fieldIndex];
}
Modified: progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfig.java
===================================================================
--- progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfig.java 2009-02-20 00:06:55 UTC (rev 997)
+++ progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfig.java 2009-02-20 00:07:12 UTC (rev 998)
@@ -27,6 +27,7 @@
/** Serial version. */
private static final long serialVersionUID = 1L;
+ /** Names of the fields of cards in this database. */
private final String[] fieldNames = new String[6];
/** Creates a CardDatabaseConfig.
Modified: progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfigEditor.java
===================================================================
--- progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfigEditor.java 2009-02-20 00:06:55 UTC (rev 997)
+++ progs/cardlearn/trunk/src/prj/net/sf/japi/cardlearn/CardDatabaseConfigEditor.java 2009-02-20 00:07:12 UTC (rev 998)
@@ -29,7 +29,7 @@
/** The CardDatabaseConfigEditor allows editing a CardDatabaseConfig.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
-public class CardDatabaseConfigEditor extends JComponent {
+public final class CardDatabaseConfigEditor extends JComponent {
/** The CardDatabaseConfig to edit. */
private final CardDatabaseConfig config;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-20 00:07:04
|
Revision: 997
http://japi.svn.sourceforge.net/japi/?rev=997&view=rev
Author: christianhujer
Date: 2009-02-20 00:06:55 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Fetch required libs.
Modified Paths:
--------------
progs/jeduca/trunk/build.xml
Modified: progs/jeduca/trunk/build.xml
===================================================================
--- progs/jeduca/trunk/build.xml 2009-02-20 00:06:44 UTC (rev 996)
+++ progs/jeduca/trunk/build.xml 2009-02-20 00:06:55 UTC (rev 997)
@@ -22,4 +22,8 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-swing-action-0.1.0.jar" dest="lib/japi-lib-swing-action.jar" />
+ </target>
+
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-20 00:06:51
|
Revision: 996
http://japi.svn.sourceforge.net/japi/?rev=996&view=rev
Author: christianhujer
Date: 2009-02-20 00:06:44 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Fetch required libs.
Modified Paths:
--------------
progs/batcher/trunk/build.xml
Modified: progs/batcher/trunk/build.xml
===================================================================
--- progs/batcher/trunk/build.xml 2009-02-20 00:01:34 UTC (rev 995)
+++ progs/batcher/trunk/build.xml 2009-02-20 00:06:44 UTC (rev 996)
@@ -22,4 +22,8 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-swing-action-0.1.0.jar" dest="lib/japi-lib-swing-action.jar" />
+ </target>
+
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-20 00:01:38
|
Revision: 995
http://japi.svn.sourceforge.net/japi/?rev=995&view=rev
Author: christianhujer
Date: 2009-02-20 00:01:34 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Add missing lib directory (required for getlibs target).
Added Paths:
-----------
progs/jeduca/trunk/lib/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:55:38
|
Revision: 979
http://japi.svn.sourceforge.net/japi/?rev=979&view=rev
Author: christianhujer
Date: 2009-02-19 23:11:16 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Added library fetch.
Modified Paths:
--------------
tools/midiMonitor/trunk/build.xml
Modified: tools/midiMonitor/trunk/build.xml
===================================================================
--- tools/midiMonitor/trunk/build.xml 2009-02-19 22:58:54 UTC (rev 978)
+++ tools/midiMonitor/trunk/build.xml 2009-02-19 23:11:16 UTC (rev 979)
@@ -22,4 +22,9 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-argparser-0.3.0.jar" dest="lib/japi-lib-argparser.jar" />
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-midi-0.1.0.jar" dest="lib/japi-lib-midi.jar" />
+ </target>
+
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:55:34
|
Revision: 978
http://japi.svn.sourceforge.net/japi/?rev=978&view=rev
Author: christianhujer
Date: 2009-02-19 22:58:54 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Created release tag 0.1.0 for branch 0.1.
Added Paths:
-----------
libs/midi/tags/0.1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:55:30
|
Revision: 982
http://japi.svn.sourceforge.net/japi/?rev=982&view=rev
Author: christianhujer
Date: 2009-02-19 23:14:17 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Created branch 0.1.
Added Paths:
-----------
libs/swing-treetable/branches/0.1/
Property changes on: libs/swing-treetable/branches/0.1
___________________________________________________________________
Added: svn:ignore
+ bin
classes
dest
developer.properties
dist
docs
Added: svn:externals
+ ^/common/trunk@981 common
Added: svn:mergeinfo
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:55:27
|
Revision: 981
http://japi.svn.sourceforge.net/japi/?rev=981&view=rev
Author: christianhujer
Date: 2009-02-19 23:11:42 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Fixed checkstyle issue.
Modified Paths:
--------------
tools/midiMonitor/trunk/src/prj/net/sf/japi/tools/midiMonitor/MidiMonitor.java
Modified: tools/midiMonitor/trunk/src/prj/net/sf/japi/tools/midiMonitor/MidiMonitor.java
===================================================================
--- tools/midiMonitor/trunk/src/prj/net/sf/japi/tools/midiMonitor/MidiMonitor.java 2009-02-19 23:11:30 UTC (rev 980)
+++ tools/midiMonitor/trunk/src/prj/net/sf/japi/tools/midiMonitor/MidiMonitor.java 2009-02-19 23:11:42 UTC (rev 981)
@@ -37,7 +37,7 @@
public class MidiMonitor extends CommandWithHelp {
/** The transmitters that shall be monitored. */
- private final Map<String, Transmitter> transmitters = new HashMap<String,Transmitter>();
+ private final Map<String, Transmitter> transmitters = new HashMap<String, Transmitter>();
/** Main program.
* @param args Command line arguments (try --help).
@@ -67,7 +67,7 @@
/** {@inheritDoc} */
@SuppressWarnings({"InstanceMethodNamingConvention"})
public int run(@NotNull final List<String> args) throws Exception {
- for (final Map.Entry<String,Transmitter> entry : transmitters.entrySet()) {
+ for (final Map.Entry<String, Transmitter> entry : transmitters.entrySet()) {
entry.getValue().setReceiver(new MonitorReceiver(entry.getKey()));
}
try {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:55:22
|
Revision: 980
http://japi.svn.sourceforge.net/japi/?rev=980&view=rev
Author: christianhujer
Date: 2009-02-19 23:11:30 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Fixed bogus main class name.
Modified Paths:
--------------
tools/midiMonitor/trunk/module.properties
Modified: tools/midiMonitor/trunk/module.properties
===================================================================
--- tools/midiMonitor/trunk/module.properties 2009-02-19 23:11:16 UTC (rev 979)
+++ tools/midiMonitor/trunk/module.properties 2009-02-19 23:11:30 UTC (rev 980)
@@ -21,4 +21,4 @@
title=MidiMonitor
package=net.sf.japi.midiMonitor
package.path=net/sf/japi/midiMonitor
-main.class=net.sf.japi.midiMonitor.MidiMonitor
+main.class=net.sf.japi.tools.midiMonitor.MidiMonitor
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:49:31
|
Revision: 994
http://japi.svn.sourceforge.net/japi/?rev=994&view=rev
Author: christianhujer
Date: 2009-02-19 23:49:27 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Removed obsolete comment.
Modified Paths:
--------------
tools/scriptEngineLister/trunk/src/prj/net/sf/japi/tools/sel/ScriptEngineLister.java
Modified: tools/scriptEngineLister/trunk/src/prj/net/sf/japi/tools/sel/ScriptEngineLister.java
===================================================================
--- tools/scriptEngineLister/trunk/src/prj/net/sf/japi/tools/sel/ScriptEngineLister.java 2009-02-19 23:49:13 UTC (rev 993)
+++ tools/scriptEngineLister/trunk/src/prj/net/sf/japi/tools/sel/ScriptEngineLister.java 2009-02-19 23:49:27 UTC (rev 994)
@@ -54,7 +54,7 @@
printBindings(factory);
System.out.println();
}
- return 0;//To change body of implemented methods use File | Settings | File Templates.
+ return 0;
}
private void printBindings(final ScriptEngineFactory factory) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:49:17
|
Revision: 993
http://japi.svn.sourceforge.net/japi/?rev=993&view=rev
Author: christianhujer
Date: 2009-02-19 23:49:13 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Fetch required libraries.
Modified Paths:
--------------
tools/scriptEngineLister/trunk/build.xml
Modified: tools/scriptEngineLister/trunk/build.xml
===================================================================
--- tools/scriptEngineLister/trunk/build.xml 2009-02-19 23:48:44 UTC (rev 992)
+++ tools/scriptEngineLister/trunk/build.xml 2009-02-19 23:49:13 UTC (rev 993)
@@ -22,4 +22,8 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-argparser-0.3.0.jar" dest="lib/japi-lib-argparser.jar" />
+ </target>
+
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:48:48
|
Revision: 992
http://japi.svn.sourceforge.net/japi/?rev=992&view=rev
Author: christianhujer
Date: 2009-02-19 23:48:44 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Added missing option description.
Modified Paths:
--------------
tools/jgrep/trunk/src/prj/net/sf/japi/tools/jgrep/JGrep.properties
Modified: tools/jgrep/trunk/src/prj/net/sf/japi/tools/jgrep/JGrep.properties
===================================================================
--- tools/jgrep/trunk/src/prj/net/sf/japi/tools/jgrep/JGrep.properties 2009-02-19 23:47:42 UTC (rev 991)
+++ tools/jgrep/trunk/src/prj/net/sf/japi/tools/jgrep/JGrep.properties 2009-02-19 23:48:44 UTC (rev 992)
@@ -17,3 +17,4 @@
recursive=Scan subdirectories recursively. (same as --directories=recurse)
setDirectories=Sets how to handle subdirectories. Possible values are: recurse (recursive handling), read, skip.
+setIgnoreCase=Set to true to behave case-insensitive.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-19 23:47:47
|
Revision: 991
http://japi.svn.sourceforge.net/japi/?rev=991&view=rev
Author: christianhujer
Date: 2009-02-19 23:47:42 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues.
Modified Paths:
--------------
tools/todoScanner/trunk/src/prj/net/sf/japi/tools/todoScanner/TodoScanner.java
Modified: tools/todoScanner/trunk/src/prj/net/sf/japi/tools/todoScanner/TodoScanner.java
===================================================================
--- tools/todoScanner/trunk/src/prj/net/sf/japi/tools/todoScanner/TodoScanner.java 2009-02-19 23:47:31 UTC (rev 990)
+++ tools/todoScanner/trunk/src/prj/net/sf/japi/tools/todoScanner/TodoScanner.java 2009-02-19 23:47:42 UTC (rev 991)
@@ -45,10 +45,10 @@
private final Charset encoding = Charset.defaultCharset();
/** The default list of keywords. */
- private static final List<String> defaultKeywords = Collections.unmodifiableList(Arrays.asList("TODO", "FIXME", "XXX"));
+ private static final List<String> DEFAULT_KEYWORDS = Collections.unmodifiableList(Arrays.asList("TODO", "FIXME", "XXX"));
/** The list of keywords to scan for. */
- private final List<String> keywords = new ArrayList<String>(defaultKeywords);
+ private final List<String> keywords = new ArrayList<String>(DEFAULT_KEYWORDS);
/** Lazy-initialized pattern. */
private Pattern pattern;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|