Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-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 F1D22D37A for ; Fri, 5 Oct 2012 15:47:31 +0000 (UTC) Received: (qmail 58389 invoked by uid 500); 5 Oct 2012 15:47:31 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 58335 invoked by uid 500); 5 Oct 2012 15:47:31 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 58327 invoked by uid 99); 5 Oct 2012 15:47:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 15:47:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of heshan.suriyaarachchi@gmail.com designates 209.85.223.179 as permitted sender) Received: from [209.85.223.179] (HELO mail-ie0-f179.google.com) (209.85.223.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 15:47:24 +0000 Received: by mail-ie0-f179.google.com with SMTP id c10so3935033ieb.38 for ; Fri, 05 Oct 2012 08:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=72Xy+6iJ01kLTylNvbIaUmSKUqPBNY05kqETu6bgbWI=; b=RdEe684Bk8MOcgNlK8WsaNZBGBZgWwH45Q+2YkOCX5+Ewx12Gl8SAshWBy8QyRCKJf joo8kVwXvkVMC9KCIx0HKO3JRIdOVlxKtxKRmnu3zf0YXPKbZPdBwKa+XOKw+nMTReBe ls9vWknz88EQy1Rix0kb2bBt2F/d5gHCMtreIglP/w034vsTiUHvJU+zsUasOBdVou96 nl5oJ2/FPrTH8J2WVllULH/tLYrYDYcXDw6/diFPGXjN4Gao7j7wY6R4cbigKRfO4Yse QXYSvwulBgOUkMtNICtsDIQqqRsERatGz4iLrgyAEXNacz88JreNc989T88Gapib7ZMo mgVg== MIME-Version: 1.0 Received: by 10.50.0.171 with SMTP id 11mr1574634igf.23.1349452022685; Fri, 05 Oct 2012 08:47:02 -0700 (PDT) Received: by 10.42.90.79 with HTTP; Fri, 5 Oct 2012 08:47:02 -0700 (PDT) In-Reply-To: <3A1FC92F-BC74-4818-B209-9374DC69CCBC@apache.org> References: <20121005153942.CF1AB23889D7@eris.apache.org> <3A1FC92F-BC74-4818-B209-9374DC69CCBC@apache.org> Date: Fri, 5 Oct 2012 11:47:02 -0400 Message-ID: Subject: Re: svn commit: r1394598 - in /airavata/sandbox/client-api-demo: pom.xml src/main/java/org/sample/airavata/api/SampleUtil.java From: Heshan Suriyaarachchi To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=e89a8f3bb13f74207804cb51c891 --e89a8f3bb13f74207804cb51c891 Content-Type: text/plain; charset=ISO-8859-1 My bad. I removed it. Thanks, Heshan. On Fri, Oct 5, 2012 at 11:42 AM, Suresh Marru wrote: > Heshan, > > Mysql dependency cannot be in the pom. Its not license compatible. We have > to download manually and add it. > > Suresh > > On Oct 5, 2012, at 11:39 AM, heshan@apache.org wrote: > > > Author: heshan > > Date: Fri Oct 5 15:39:42 2012 > > New Revision: 1394598 > > > > URL: http://svn.apache.org/viewvc?rev=1394598&view=rev > > Log: > > Adding the mysql dependency. > > > > Modified: > > airavata/sandbox/client-api-demo/pom.xml > > > airavata/sandbox/client-api-demo/src/main/java/org/sample/airavata/api/SampleUtil.java > > > > Modified: airavata/sandbox/client-api-demo/pom.xml > > URL: > http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/pom.xml?rev=1394598&r1=1394597&r2=1394598&view=diff > > > ============================================================================== > > --- airavata/sandbox/client-api-demo/pom.xml (original) > > +++ airavata/sandbox/client-api-demo/pom.xml Fri Oct 5 15:39:42 2012 > > @@ -278,6 +278,11 @@ > > 2.5 > > > > > > + mysql > > + mysql-connector-java > > + 5.0.8 > > + > > + > > org.apache.airavata > > airavata-jpa-registry > > ${airavata.version} > > > > Modified: > airavata/sandbox/client-api-demo/src/main/java/org/sample/airavata/api/SampleUtil.java > > URL: > http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/java/org/sample/airavata/api/SampleUtil.java?rev=1394598&r1=1394597&r2=1394598&view=diff > > > ============================================================================== > > --- > airavata/sandbox/client-api-demo/src/main/java/org/sample/airavata/api/SampleUtil.java > (original) > > +++ > airavata/sandbox/client-api-demo/src/main/java/org/sample/airavata/api/SampleUtil.java > Fri Oct 5 15:39:42 2012 > > @@ -12,16 +12,16 @@ import java.net.URISyntaxException; > > public class SampleUtil { > > > > public static AiravataAPI getAiravataAPI(String username, String > password, String registryRMIURI) { > > - URI jcrRegistryURI = null; > > + URI registryURI = null; > > try { > > - jcrRegistryURI = new URI(registryRMIURI); > > + registryURI = new URI(registryRMIURI); > > } catch (URISyntaxException e) { > > e.printStackTrace(); > > } > > > > AiravataAPI airavataAPI = null; > > try { > > - airavataAPI = AiravataClientUtils.getAPI(jcrRegistryURI, > username, password); > > + airavataAPI = AiravataClientUtils.getAPI(registryURI, > username, password); > > } catch (MalformedURLException e) { > > e.printStackTrace(); > > } catch (RepositoryException e) { > > > > > > -- Regards, Heshan Suriyaarachchi http://heshans.blogspot.com/ --e89a8f3bb13f74207804cb51c891--