Warning | ||||||||
---|---|---|---|---|---|---|---|---|
Pushpull is deprecated... see
|
CAS PushPull Plugins
Chris Mattmann has created a project at Apache Extras Github 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.
...
Follow the steps below to install the oodt-pushpull-plugins Jar file.
No Format svngit exportclone httphttps://svngithub.codespot.com/a/apache-extras.org/chrismattmann/oodt-pushpull-plugins/trunk/ oodt-pushpull-plugins.git
No Format cd oodt-pushpull-plugins
No Format mvn install
...
- drop that Jar file into $PUSHPULL_HOME/lib, and then reference the new ftp plugins (Ftp4Che Ftp4CheFtpClientFactory and JvFtpJvFtpClientFactory) 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 CogJGlobusFtpProtocolFactory and CommonsNetCommonsNetFtpProtocolFactory) in the PushPull ProtocolFactoryInfo.xml file, so that the PushPull will use the new ftp plugins instead of the old ones.[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) Please also download the Ftp4Che and JvFtp LGPL licensed libraries, and drop all the jar files into $PUSHPULL_HOME/lib directory, so that the new ftp plugins (Ftp4CheFtpClientFactory and JvFtpClientFactory) could leverage these two libraries.
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>