Return-Path: X-Original-To: apmail-devicemap-dev-archive@www.apache.org Delivered-To: apmail-devicemap-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E652518BA5 for ; Tue, 4 Aug 2015 15:37:50 +0000 (UTC) Received: (qmail 13814 invoked by uid 500); 4 Aug 2015 15:37:50 -0000 Delivered-To: apmail-devicemap-dev-archive@devicemap.apache.org Received: (qmail 13771 invoked by uid 500); 4 Aug 2015 15:37:50 -0000 Mailing-List: contact dev-help@devicemap.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@devicemap.apache.org Delivered-To: mailing list dev@devicemap.apache.org Received: (qmail 13758 invoked by uid 99); 4 Aug 2015 15:37:50 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2015 15:37:50 +0000 Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 5C83A1A01E4 for ; Tue, 4 Aug 2015 15:37:50 +0000 (UTC) Received: by obnw1 with SMTP id w1so9890343obn.3 for ; Tue, 04 Aug 2015 08:37:49 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.47.79 with SMTP id b15mr3589444oen.71.1438702669584; Tue, 04 Aug 2015 08:37:49 -0700 (PDT) Received: by 10.202.81.15 with HTTP; Tue, 4 Aug 2015 08:37:49 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Aug 2015 11:37:49 -0400 Message-ID: Subject: Re: 2.0 is now alpha From: Reza Naghibi To: DeviceMap Dev Content-Type: multipart/alternative; boundary=001a11c20d368f07c0051c7e112b --001a11c20d368f07c0051c7e112b Content-Type: text/plain; charset=UTF-8 I did some updates. Here is the README: https://svn.apache.org/repos/asf/devicemap/trunk/clients/2.0/reference/README Also, I remove the jars from the source (compile.sh now downloads the required jars): https://svn.apache.org/repos/asf/devicemap/trunk/clients/2.0/reference/ Let me know what you think... On Tue, Aug 4, 2015 at 9:09 AM, Reza Naghibi wrote: > > Do you think slightly enhancing that reference client so it can be used > as a barebones client is a bad idea? > > I think thats a good idea. But the client would have to be copied into the > clients/2.0/java folder first before being worked on. Like I said, with > minimal work, this client can be turned into the official Java client. I > personally would prefer someone else to take the lead on the Java client, > so maybe Volkan or someone else can spearhead this task (obviously I will > and can assist). Whoever does this is free to write, restructure, and > evolve the client as they wish, as long as they adhere to the client > guidelines, which are a no brainer.... > > http://wiki.apache.org/devicemap/DataSpec2#Client > > > It might be good to explain that in the module's README for others who might > be as lost as I was > > Yes, I will definitely spend time soon beefing up the README. > > > On Tue, Aug 4, 2015 at 8:43 AM, Bertrand Delacretaz < > bdelacretaz@apache.org> wrote: > >> Hi Reza, >> >> On Tue, Aug 4, 2015 at 2:23 PM, Reza Naghibi wrote: >> > ...The reference client basically exists to validate, debug, and build >> domains >> > and provide a guide to how a real client should be written. This client >> > isnt really meant to be used directly by users. Its also meant to be >> > written very cleanly (hopefully) and make minimal use of Java idioms and >> > patterns. This is why I avoided maven and most 3rd party libs... >> >> Ok, got it now, thanks! >> >> It might be good to explain that in the module's README for others who >> might be as lost as I was ;-) >> >> Do you think slightly enhancing that reference client so it can be >> used as a barebones client is a bad idea? >> >> A basic Maven build that produces a runnable jar that's also an OSGi >> bundle is simple to setup, and the tests can run as JUnit tests - but >> maybe you prefer having that in a separate "basic 2.0 java client"? >> >> As for a basic Java API, would a Map work? >> >> deviceMap.get(String userAgent) returns a Map of >> device properties or null if not found. >> >> -Bertrand >> > > --001a11c20d368f07c0051c7e112b--