Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replace Spice cli with getopt4j

  • Loading branch information...
commit cfea8e791a5ddd5ca52f29ce3ce6abaf9e39a81e 1 parent 80cac36
@realityforge authored
View
2  build.yaml
@@ -15,7 +15,7 @@ repositories:
artifacts:
slf4j_api: org.slf4j:slf4j-api:jar:1.6.1
- spice_cli: spice:spice-cli:jar:1.0
+ getopt4j: org.realityforge:getopt4j:jar:1.0
json_simple: com.googlecode.json-simple:json-simple:jar:1.1
log4j: log4j:log4j:jar:1.2.8
logback_classic: ch.qos.logback:logback-classic:jar:0.9.29
View
4 buildfile
@@ -6,8 +6,8 @@ define "gelf4j" do
compile.options.target = '1.6'
compile.options.lint = 'all'
- compile.with :slf4j_api, :spice_cli, :json_simple, :log4j, :logback_core, :logback_classic
+ compile.with :getopt4j, :json_simple, :slf4j_api, :log4j, :logback_core, :logback_classic
package(:jar)
- package(:jar, :classifier => 'all').merge(artifacts([:spice_cli,:json_simple]))
+ package(:jar, :classifier => 'all').merge(artifacts([:getopt4j,:json_simple]))
end
View
8 src/main/java/gelf4j/sender/Main.java
@@ -5,10 +5,10 @@
import gelf4j.GelfMessageUtil;
import gelf4j.GelfTargetConfig;
import java.util.List;
-import org.realityforge.cli.CLArgsParser;
-import org.realityforge.cli.CLOption;
-import org.realityforge.cli.CLOptionDescriptor;
-import org.realityforge.cli.CLUtil;
+import org.realityforge.getopt4j.CLArgsParser;
+import org.realityforge.getopt4j.CLOption;
+import org.realityforge.getopt4j.CLOptionDescriptor;
+import org.realityforge.getopt4j.CLUtil;
/**
* A simple commandline application for sending a log to a gelf server.

0 comments on commit cfea8e7

Please sign in to comment.
Something went wrong with that request. Please try again.