airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heshan Suriyaarachchi <heshan.suriyaarach...@gmail.com>
Subject Re: svn commit: r1394598 - in /airavata/sandbox/client-api-demo: pom.xml src/main/java/org/sample/airavata/api/SampleUtil.java
Date Fri, 05 Oct 2012 15:47:02 GMT
My bad. I removed it.

Thanks,
Heshan.

On Fri, Oct 5, 2012 at 11:42 AM, Suresh Marru <smarru@apache.org> 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 @@
> >             <version>2.5</version>
> >         </dependency>
> >         <dependency>
> > +            <groupId>mysql</groupId>
> > +            <artifactId>mysql-connector-java</artifactId>
> > +            <version>5.0.8</version>
> > +        </dependency>
> > +        <dependency>
> >             <groupId>org.apache.airavata</groupId>
> >             <artifactId>airavata-jpa-registry</artifactId>
> >             <version>${airavata.version}</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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message