From what I can tell, It appears that files references within ".inc" files are not recognized and as a result are not PUT to the testing or remote server. If I copy and paste the contents of the ".inc" file into the main page (removing the include file reference), the page renders correctly and the referenced files are uploaded.
Dreamweaver will recognize dependent files as those referenced in the HTML code e.g. images, external stylsheets.
It will not recognize files referenced by includes since they're usually processed by a server-side script then called by the server.
How is this impacting on your workflow?
In DW's Files panel, can you use the Edit > Select Newer Local or Edit > Select Recently Modified commands instead?
Thank you for your reply.
The purpose of the .inc files I am using is to call redundant code that is used on a variety of pages. That code is an assortment of HTML, php and js.
If the code inside the .inc file is included within the main document, all referenced files and images are put to the Testing server when dependent files are requested.
The interruption to my workflow happens when the files referenced withing the .inc files are not in the testing server environment.
Most simplistically images and buttons dont display that clearly should. They are referenced in teh .inc file but DW doesnt see it to put to testing server or production server.
Another example of workflow interruption happens when I am working to cleanup a site wherein old files are no longer used. Theoretically, IF all dependent files are put to a testing server...I should be able to start with a clean slate and walk through the website an PUT only the files used. I would think that DW could handle such a task.
What can be done to correct this?
I thank you for your response. I agree that for an individual who is well organized and deletes ALL unused files off of the testing server.......your method undoubtedly keeps production systems clean.
However, If that is what Adobe intented for developers to do, then what is the purpose of having seperate descriptions in Site manager for Local and Testing?
Similarly, I may have a client who needs some assitance with a single page. If the getting of the dependent files from their website doesnt GET dependent files within an .inc file, then I have to comb through the code looking for the files that did not pull across. This is not only costly to the client but also time consuming.
I cant be the only person who struggles with this issue.
what is the purpose of having separate descriptions in Site manager for Local and Testing?
Because a local testing server is optional. Static site developers don't need one. Some dynamic site developers don't need one either, particularly if they test on the remote server (which I sometimes do).
Have you considered using a utility to clean your site of unused files?