cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Files not copied during website generation

sbacon
MEGA
MEGA

Hello,

 

At the end of website generation, the Standard folder of the website doesn't contain all the files needed.

All GIF, JPG files are copied, but not HTM, JS and BMP files.

The "init" descriptor is executed, I have made some tests to check this point.

All files are well referenced and spelled in the "init" descriptor.

 

Do you know how to fix that?

 

Thanks.

Sonia

3 Replies

Hello,

 

I've found the solution!

In fact the init descriptor wasn't execute.

A post-generation script makes some copy (but not all) and hides the real problem.

 

The init descriptor describes a Web Site Template, and the only Web Site Template selected for the web site generation doesn't exist anymore. So, the descriptor is never called.

 

I just have to change the Web Site Template in the "Pages" tab of properties of the Web Site.

 

Best regards.

 

Hello,

 

I've made a new Web Site Template, with just the init descriptor.

Then I've created a new web site using the template, and generate it.
All files are copied. So it's not a problem with the descriptor, but with the web site.

 

I'm going to investigate in that direction.

 

Thank you for your help!

 

 

jyherpet
Retired

Hello Sonia,

 

when you only execute Init descriptor, are all files copied ?

Are html, js and bpm files on subfolders of Mega_user ?

Did you try to hard define output path on Init descriptor ?

Best regards,
Jean-Yves