Author: bfoster
Date: Thu Jun 16 18:03:22 2011
New Revision: 1136575

URL: http://svn.apache.org/viewvc?rev=1136575&view=rev
Log:

- added Spring file for autodetect feature

---------------
OODT-194

Added:
    oodt/branches/protocol/protocol-ftp/src/main/resources/
    oodt/branches/protocol/protocol-ftp/src/main/resources/policy/
    
oodt/branches/protocol/protocol-ftp/src/main/resources/policy/ftp-protocol-config.xml
   (with props)
Modified:
    oodt/branches/protocol/protocol-ftp/pom.xml

Modified: oodt/branches/protocol/protocol-ftp/pom.xml
URL: 
http://svn.apache.org/viewvc/oodt/branches/protocol/protocol-ftp/pom.xml?rev=1136575&r1=1136574&r2=1136575&view=diff
==============================================================================
--- oodt/branches/protocol/protocol-ftp/pom.xml (original)
+++ oodt/branches/protocol/protocol-ftp/pom.xml Thu Jun 16 18:03:22 2011
@@ -50,28 +50,17 @@
                        </build>
                </profile>
        </profiles>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-assembly-plugin</artifactId>
-                               <version>2.2-beta-2</version>
-                               <configuration>
-                                       <descriptors>
-                                               
<descriptor>src/main/assembly/assembly.xml</descriptor>
-                                       </descriptors>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>single</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
+  <build>
+    <resources>
+      <resource>
+        <targetPath>org/apache/oodt/cas/protocol/ftp</targetPath>
+        <directory>${basedir}/src/main/resources/policy</directory>
+        <includes>
+          <include>ftp-protocol-config.xml</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
        <dependencies>
                <dependency>
                        <groupId>org.apache.oodt</groupId>

Added: 
oodt/branches/protocol/protocol-ftp/src/main/resources/policy/ftp-protocol-config.xml
URL: 
http://svn.apache.org/viewvc/oodt/branches/protocol/protocol-ftp/src/main/resources/policy/ftp-protocol-config.xml?rev=1136575&view=auto
==============================================================================
--- 
oodt/branches/protocol/protocol-ftp/src/main/resources/policy/ftp-protocol-config.xml
 (added)
+++ 
oodt/branches/protocol/protocol-ftp/src/main/resources/policy/ftp-protocol-config.xml
 Thu Jun 16 18:03:22 2011
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+       
+       Author: bfoster
+       Description: ProtocolManager Configuration
+       
+-->
+<beans xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns:p="http://www.springframework.org/schema/p";
+       xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd";>
+
+  <bean class="org.apache.oodt.cas.protocol.ftp.CogJGlobusFtpProtocolFactory"/>
+  <bean class="org.apache.oodt.cas.protocol.ftp.CommonsNetFtpProtocolFactory"/>
+       
+</beans>
\ No newline at end of file

Propchange: 
oodt/branches/protocol/protocol-ftp/src/main/resources/policy/ftp-protocol-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain


Reply via email to