public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/java-ebuilder:master commit in: src/main/java/org/gentoo/java/ebuilder/
@ 2019-10-30 17:43 Miroslav Šulc
  0 siblings, 0 replies; 5+ messages in thread
From: Miroslav Šulc @ 2019-10-30 17:43 UTC (permalink / raw
  To: gentoo-commits

commit:     26b77b6db177bb7f47ff93de1739c49272d28b22
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 30 17:37:51 2019 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Oct 30 17:37:51 2019 +0000
URL:        https://gitweb.gentoo.org/proj/java-ebuilder.git/commit/?id=26b77b6d

removed unused import

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 src/main/java/org/gentoo/java/ebuilder/Main.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/gentoo/java/ebuilder/Main.java b/src/main/java/org/gentoo/java/ebuilder/Main.java
index 0a69442..5921ea1 100644
--- a/src/main/java/org/gentoo/java/ebuilder/Main.java
+++ b/src/main/java/org/gentoo/java/ebuilder/Main.java
@@ -7,7 +7,6 @@ import java.io.InputStreamReader;
 import java.io.PrintWriter;
 import java.net.URI;
 import java.net.URISyntaxException;
-import java.nio.file.Path;
 import java.nio.file.Paths;
 import java.util.List;
 import org.gentoo.java.ebuilder.maven.MavenCache;


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/java-ebuilder:master commit in: src/main/java/org/gentoo/java/ebuilder/
@ 2019-11-01 20:06 Miroslav Šulc
  0 siblings, 0 replies; 5+ messages in thread
From: Miroslav Šulc @ 2019-11-01 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     d380ae7497646faa26912e34f2b747ae553c87b4
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 20:06:19 2019 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 20:06:19 2019 +0000
URL:        https://gitweb.gentoo.org/proj/java-ebuilder.git/commit/?id=d380ae74

using message formatter for ebuild name parsing info

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 src/main/java/org/gentoo/java/ebuilder/Main.java | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/gentoo/java/ebuilder/Main.java b/src/main/java/org/gentoo/java/ebuilder/Main.java
index 6c5cd13..5328eb7 100644
--- a/src/main/java/org/gentoo/java/ebuilder/Main.java
+++ b/src/main/java/org/gentoo/java/ebuilder/Main.java
@@ -8,6 +8,7 @@ import java.io.PrintWriter;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.file.Paths;
+import java.text.MessageFormat;
 import java.util.List;
 import java.util.Map;
 import org.gentoo.java.ebuilder.maven.MavenCache;
@@ -272,10 +273,10 @@ public class Main {
             config.setEbuildVersion(result.get("version"));
             config.setEbuildVersionSuffix(result.get("suffix"));
 
-            config.getStdoutWriter().println("Parsed ebuild file name - name: "
-                    + config.getEbuildName() + " version: "
-                    + config.getEbuildVersion() + " suffix: "
-                    + config.getEbuildVersionSuffix());
+            config.getStdoutWriter().println(MessageFormat.format("Parsed "
+                    + "ebuild file name - name: {0} version: {1} suffix: {2}",
+                    config.getEbuildName(), config.getEbuildVersion(),
+                    config.getEbuildVersionSuffix()));
         } catch (final IllegalArgumentException ex) {
             config.getStdoutWriter().println("Cannot parse ebuild file name");
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/java-ebuilder:master commit in: src/main/java/org/gentoo/java/ebuilder/
@ 2019-11-01 20:21 Miroslav Šulc
  0 siblings, 0 replies; 5+ messages in thread
From: Miroslav Šulc @ 2019-11-01 20:21 UTC (permalink / raw
  To: gentoo-commits

commit:     b9eb365fa9ba4541ec10ec6ae7ccd724dca3411f
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 20:19:20 2019 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 20:19:20 2019 +0000
URL:        https://gitweb.gentoo.org/proj/java-ebuilder.git/commit/?id=b9eb365f

improved ebuild parsing output info format

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 src/main/java/org/gentoo/java/ebuilder/Main.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/gentoo/java/ebuilder/Main.java b/src/main/java/org/gentoo/java/ebuilder/Main.java
index 5328eb7..bb6fbd7 100644
--- a/src/main/java/org/gentoo/java/ebuilder/Main.java
+++ b/src/main/java/org/gentoo/java/ebuilder/Main.java
@@ -274,7 +274,8 @@ public class Main {
             config.setEbuildVersionSuffix(result.get("suffix"));
 
             config.getStdoutWriter().println(MessageFormat.format("Parsed "
-                    + "ebuild file name - name: {0} version: {1} suffix: {2}",
+                    + "ebuild file name: name = {0}, version = {1}, "
+                    + "suffix = {2}",
                     config.getEbuildName(), config.getEbuildVersion(),
                     config.getEbuildVersionSuffix()));
         } catch (final IllegalArgumentException ex) {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/java-ebuilder:master commit in: src/main/java/org/gentoo/java/ebuilder/
@ 2019-11-03 11:26 Miroslav Šulc
  0 siblings, 0 replies; 5+ messages in thread
From: Miroslav Šulc @ 2019-11-03 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7a0f4c5fcab9a0d3bb7d52d1308af2ed9f7652ad
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 11:24:11 2019 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 11:24:11 2019 +0000
URL:        https://gitweb.gentoo.org/proj/java-ebuilder.git/commit/?id=7a0f4c5f

fixed error message output printer

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 src/main/java/org/gentoo/java/ebuilder/Main.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/gentoo/java/ebuilder/Main.java b/src/main/java/org/gentoo/java/ebuilder/Main.java
index 84def14..cc9a3c5 100644
--- a/src/main/java/org/gentoo/java/ebuilder/Main.java
+++ b/src/main/java/org/gentoo/java/ebuilder/Main.java
@@ -306,7 +306,7 @@ public class Main {
                     config.getEbuildName(), config.getEbuildVersion(),
                     config.getEbuildVersionSuffix()));
         } catch (final IllegalArgumentException ex) {
-            config.getStdoutWriter().println("Cannot parse ebuild file name");
+            config.getErrorWriter().println("Cannot parse ebuild file name");
 
             Runtime.getRuntime().exit(1);
         }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/java-ebuilder:master commit in: src/main/java/org/gentoo/java/ebuilder/
@ 2019-11-03 11:26 Miroslav Šulc
  0 siblings, 0 replies; 5+ messages in thread
From: Miroslav Šulc @ 2019-11-03 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     c503fbc2aecbee2926341cdd8c9bed5a0df62309
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 11:23:41 2019 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 11:23:41 2019 +0000
URL:        https://gitweb.gentoo.org/proj/java-ebuilder.git/commit/?id=c503fbc2

reformatted

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 src/main/java/org/gentoo/java/ebuilder/Main.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/java/org/gentoo/java/ebuilder/Main.java b/src/main/java/org/gentoo/java/ebuilder/Main.java
index 871ac2a..84def14 100644
--- a/src/main/java/org/gentoo/java/ebuilder/Main.java
+++ b/src/main/java/org/gentoo/java/ebuilder/Main.java
@@ -131,8 +131,7 @@ public class Main {
                     + "be used only when generating ebuild.");
         } else if (config.getEbuild() != null) {
             config.getErrorWriter().println(
-                    "WARNING: Ebuild is used only when "
-                    + "generating ebuild.");
+                    "WARNING: Ebuild is used only when generating ebuild.");
         } else if (config.getKeywords() != null) {
             config.getErrorWriter().println("WARNING: Keywords are used only "
                     + "when generating ebuild.");


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-03 11:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-01 20:21 [gentoo-commits] proj/java-ebuilder:master commit in: src/main/java/org/gentoo/java/ebuilder/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2019-11-03 11:26 Miroslav Šulc
2019-11-03 11:26 Miroslav Šulc
2019-11-01 20:06 Miroslav Šulc
2019-10-30 17:43 Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox