FileConveyor - 积云 - 文件未显示在CloudFiles上

时间:2012-07-08 22:48:33

标签: cloudfiles django-storage

我安装了FileConveyor和django积云(这是mosso的替代品)。我在/home/drupal/conveyortest创建了一个测试目录,我将其用作scanPath。

当我启动FileConveyor守护程序时,我被告知js和css文件正在同步(并被删除)。当我查看我的CloudFiles容器时,我看到已创建static/views_slideshow_galleria文件夹,但其中没有文件。应该有一个css文件和一个js文件,但没有。

我做错了什么?

- WARNING  - Created 'cumulus' transporter for the 'cloudfiles' server.
- WARNING  - Deleted '/home/drupal/conveyortest/views_slideshow_galleria/views_slideshow_galleria.css' as per the 'CSS, JS, images and Flash' rule.
- WARNING  - Synced: '/home/drupal/conveyortest/views_slideshow_galleria/views_slideshow_galleria.css' (CREATED).
- WARNING  - Deleted '/home/drupal/conveyortest/views_slideshow_galleria/views_slideshow_galleria.js' as per the 'CSS, JS, images and Flash' rule.
- WARNING  - Synced: '/home/drupal/conveyortest/views_slideshow_galleria/views_slideshow_galleria.js' (CREATED).
- WARNING  - Synced: '/home/drupal/conveyortest/views_slideshow_galleria/views_slideshow_galleria.css' (DELETED).
- WARNING  - Synced: '/home/drupal/conveyortest/views_slideshow_galleria/views_slideshow_galleria.js' (DELETED).

这是我的config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<config>
  <!-- Sources -->
  <sources ignoredDirs="CVS:.svn">
    <source name="drupal" scanPath="/home/drupal/conveyortest" documentRoot="/home/drupal/conveyortest" basePath="/" />
  </sources>

  <!-- Servers -->
  <servers>
    <server name="cloudfiles" transporter="cumulus">
      <username>myusername</username>
      <api_key>myapikey</api_key>
      <container>FileConveyorTest</container>
    </server>
  </servers>

  <!-- Rules -->
  <rules>
    <rule for="drupal" label="CSS, JS, images and Flash">
      <filter>
        <extensions>ico:js:css:gif:png:jpg:jpeg:svg:swf</extensions>
      </filter>
      <processorChain>
        <processor name="filename.SpacesToDashes" />
      </processorChain>
      <destinations>
        <destination server="cloudfiles" path="static" />
      </destinations>
    </rule>
  </rules>
</config>

0 个答案:

没有答案