Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. drop that Jar file into $PUSHPULL_HOME/lib, and then reference the new ftp plugins (Ftp4Che and JvFtp) in the PushPull ProtocolFactoryInfo.xml file (which is in the $PUSHPULL_HOME/policy directory). 
    Notes: (1) Please also comment out the old ftp plugins (CogJGlobus and CommonsNet) in the PushPull ProtocolFactoryInfo.xml file.
     
    [PUSHPULL_HOME]/policy/ProtocolFactoryInfo.xml
     
     
    Code Block
    <protocol type="ftp">
    	<!-- <protocolFactory class="org.apache.oodt.cas.protocol.ftp.CogJGlobusFtpProtocolFactory"/> -->
        <!-- <protocolFactory class="org.apache.oodt.cas.protocol.ftp.CommonsNetFtpProtocolFactory"/> -->
        <protocolFactory class="org.apacheextras.oodt.cas.pushpull.protocol.ftp.Ftp4CheFtpClientFactory"/>
        <protocolFactory class="org.apacheextras.oodt.cas.pushpull.protocol.ftp.JvFtpClientFactory"/>
    </protocol>
    


  2. use it in your Maven2 project by adding a dependency on:

    Code Block
    xml
    xml
    <dependency>
       <groupId>org.apacheextras.oodt</groupId>
       <artifactId>oodt-pushpull-plugins-core</artifactId>
       <version>0.6-SNAPSHOT</version>
     </dependency>