Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
fileconnector-1.0.0/org.wso2.carbon.connector
fileconnector-2.0.0
readme.txt

readme.txt

Product: Integration tests for WSO2 ESB File Connector

Pre-requisites:

 - Maven 3.x
 - Java 1.7 or above

Tested Platform: 

 - UBUNTU 13.10, Mac OSx 10.9
 - WSO2 ESB 4.9.0-ALPHA
 - Java 1.7

STEPS:

1. Download ESB 4.9.0-ALPHA by navigating the following the URL: https://svn.wso2.org/repos/wso2/scratch/ESB/.

2. Copy the wso2esb-4.9.0-ALPHA.zip in to location "{ESB_Connector_Home}/repository/".

3. Please do these changes on fileconnector.xml (fileconenctor.xml file can be found from <fileconnetor>/src/test/resources/artifacts/ESB/config/proxies/fileconnector/).
    1) Change the file locations with the accessible file locations.

    2) Copy an 'mp4' or a large file at the location specified in <fileconnector.copylarge></fileconnector.copylarge> for copylarge method.

    3) Create a file at the location specified in <fileconnector.copy></fileconnector.copy> for copy method.

    3) Create at least one folder and a file at the location specified in  <filelocation></filelocation> archive method.

4. Make sure that fileconnector is specified as a module in ESB_Connector_Parent pom.
       <module>fileconnector/fileconnector-1.0.0</module>

5. Navigate to "{ESB_Connector_Home}/" and run the following command.
      $ mvn clean install