I use PRAGMA_PATH and PRAGMA_LEVEL in my main.c, but in WED resources view and when publishing some single files were missing.
For example I have a sub-folder containing all pictures for my projects. All files in that folder are found under resources, but about 10 are missing. There's nothing special with those files.
After publishing there's also one .wmb-file missing. If I copy it manually everything works fine. The level is declared with PRAGMA_LEVEL in main.c.
Can you give me a hint why those files could miss?
Maybe you have a complicated path structure that causes ambiguity of relative paths. Are you giving the paths relative to the work folder, or to the script?
When you upload or send us the project, we can probably quickly identify the problem.
Re: files for publish
[Re: jcl]
#264642 05/07/0911:5905/07/0911:59
You could upload it to ftp.coniserver.net, user: anonymous, pass: anonymous. But first let's see if we can find the problem otherwise. Can you post:
a) the path and name of a file that is included, b) the name of a file in the same path that is not included, c) the reference in the script to both files.
Maybe I'll then see what's wrong.
Re: files for publish
[Re: jcl]
#264656 05/07/0912:4405/07/0912:44
I've found the mistake while gathering the information you requested.
The files that were missing have no reference in the script.
I thought that every file that is inside a folder defined with PRAGMA_PATH would automatically be included as a resource.
The picture-names were set dynamically; so there's no direct reference in the script. The picture that was copied has a reference as it is used as a kind of fallback.
Is it possible to bind all files in a folder as a resource without a reference in the script?