You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devicemap.apache.org by Werner Keil <we...@gmail.com> on 2015/12/19 19:27:18 UTC

Java Client and Console

About the Java client, I split that into a client library and console app
similar to both .NET versions.

Improving the console a bit, e.g. by making arguments more flexible and
behavior of the console app somewhat similar to the .NET equivalents.

The client itself should get a bit "smarter" similar to how the W3C DDR
implementation takes the UA string into consideration to recognize the
actual OS or browser details, not just what´s been on file or how the
device was initially sold.

I hope to offer a release proposal for 1.1.1 around the end of the
month/year or soon after. At the moment this adds almost more value than
adding new XML details to the data repository. This should also happen, but
a neat side-effect of the client being smarter and adaptive is, that a new,
improved version of the web-app can then allow people to collect their
actual device information and update existing device-data based on it.

Werner

Re: Java Client and Console

Posted by Werner Keil <we...@gmail.com>.
Hi,

Looks rather good now. Taking some code almost unchanged from C# into the
Java Console it also uses Commons Lang StopWatch now for the same purpose
C# does.
The general feel of .NET and Java Console are getting closer to each other.
In future versions they should probably be almost identical to provide a
consistent UX.

While the Jenkins jobs succeed and even say something about deploying
binaries /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/devicemap/devicemap-java-console/1.1.1-SNAPSHOT/devicemap-java-console-1.1.1-SNAPSHOT.jar
at least commonly known Apache Maven Snapshot repos have not got anything
on DeviceMap since 1.0.1-SNAPSHOT or Data 1.0.2. Guess the refactoring of
our repos or new build jobs point to a different or non-matching place now.
Probably file a JIRA ticket for the Jenkins job, as it does not look like
we can fix that ourselves...

Werner

Re: Java Client and Console

Posted by Werner Keil <we...@gmail.com>.
I'lll also try Apache Commons CLI offering a somewhat less elegant
(annotation driven) but otherwise similar feature.

Werner

Re: Java Client and Console

Posted by Werner Keil <we...@gmail.com>.
To improve attribute handling of the console I intend to use Airlift
Airline: https://github.com/airlift/airline An Open Source project under
the same Apache 2 license as DeviceMap.
Thus mentioning the source repository and its OS license in a NOTICE file
sounds sufficient in this case.
E.g. some module of Tamaya also includes external (I believe it's Apache
there, too) libraries like JodaTime as well.

Should you see a problem with that, please reply directly at least via CC,
too as usual.

Cheers,

>
> Werner
>