File Conveyor is a daemon written in Python to detect, process and sync files. In particular, it's designed to sync files to CDNs. Amazon S3 and Rackspace Cloud Files, as well as any Origin Pull or (S)FTP Push CDN, are supported. Originally written for my bachelor thesis at Hasselt University in Belgium.
All of my files were synced successfully.
In my drupal site, 100% of the files are rendered from the CDN.
I had a "jQuery not defined" error in the page. On investigating, I found that, all the JS files are synced and all of them are empty !!!!!!
Not one JS file, but all are empty. No wonder there was the JS error.
I added this in the google_closure_compiler.py :
self.logger.warning("self.input_file: "+self.input_file + " AND self.output_file: " + self.output_file)
after this:
(stdout, stderr) = self.run_command("java -jar %s --js %s --js_output_file %s" % (compiler_path, self.input_file, self.output_file))
This is one of those logs:
self.input_file: /tmp/fileconveyor/var/www/drupal/misc/drupal.js AND self.output_file: /tmp/fileconveyor/var/www/drupal/misc/drupal.js
Here is my config.xml - https://gist.github.com/2909617 (I use FTP)
All of my files were synced successfully. In my drupal site, 100% of the files are rendered from the CDN. I had a "jQuery not defined" error in the page. On investigating, I found that, all the JS files are synced and all of them are empty !!!!!! Not one JS file, but all are empty. No wonder there was the JS error.
I added this in the google_closure_compiler.py : self.logger.warning("self.input_file: "+self.input_file + " AND self.output_file: " + self.output_file) after this: (stdout, stderr) = self.run_command("java -jar %s --js %s --js_output_file %s" % (compiler_path, self.input_file, self.output_file))
This is one of those logs: self.input_file: /tmp/fileconveyor/var/www/drupal/misc/drupal.js AND self.output_file: /tmp/fileconveyor/var/www/drupal/misc/drupal.js
Help me !