airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Jayasekara <thejaka.am...@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 17:20:39 GMT
Hi Suresh,

Is it ok to have my-sql connector in test scope ?
I am referring to a situation where my-sql connector jar is not part
of our distribution but used only in some specific tests.

Thanks
Amila

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) {
>>
>>
>

Mime
View raw message