CAS PushPull Plugins
Chris Mattmann has created a project at Apache Extras called oodt-pushpull-plugins to house some non Apache released Push Pull protocol plugins that contain runtime and compile-time dependencies on LGPL licensed plugins. This is not officially Apache sanctioned code and users should leverage it at their own risk.
Protocol Plugins
Currently the project hosts 2 plugins that implement the org.apache.oodt.cas.pushpull.protocol.Protocol interface for FTP. The plugins leverage the Ftp4Che and JvFtp LGPL licensed libraries to connect to remote sites.
Building and Installing the plugin Jars
Follow the steps below to install the oodt-pushpull-plugins Jar file.
svn export http://svn.codespot.com/a/apache-extras.org/oodt-pushpull-plugins/trunk/ oodt-pushpull-plugins
cd oodt-pushpull-plugins
mvn install
Then you'll have a Jar file called oodt-pushpull-plugins-core-0.6-SNAPSHOT.jar.
You can use it 2 ways:
- 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
<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>
use it in your Maven2 project by adding a dependency on:
<dependency> <groupId>org.apacheextras.oodt</groupId> <artifactId>oodt-pushpull-plugins-core</artifactId> <version>0.6-SNAPSHOT</version> </dependency>