View Full Version : Resources overwritten on deploy

16 Aug 2012, 7:12 PM
I am using Architect 2.1

When I deploy, my resource files (JS and CSS) are been overwritten with zero length files.

For example - I have a resource:
ID: date.format.js
URL: js/date.format.js

I have a folder called js, in my deploy path which contains the date.format.js file.
But, when I click deploy, this file gets overwritten with an empty file of the same name.

Very annoying!

Am I setting the URL for relative paths incorrectly?

16 Aug 2012, 7:48 PM
Ok, I figured out if I moved my CSS and JS folders inside my Architect project directory, this fixes the issue.

17 Aug 2012, 7:34 AM
Either way this sounds confusing. Can you give me an example of your setup.

Are you linking the file in from the deploy directory?

Did you ever unlock and save the resource?

I'm glad you worked around the issue.