Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Vince
Posts: 64
Joined: Wed Dec 03, 2014 11:25 am

Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Post by Vince »

Hello,

Our framework define a 'page.html' resource in the "web" subfolder.

Code: Select all

    <webResources inherit="all">
          <addEntry path="${frameworkDir}/web/additional-framework-custo.js"/>
          <addEntry path="${frameworkDir}/web/page.html"/>
    </webResources
>

With 25.0 version, fetching the resource from sync.ext.Registry.extensionURL + 'page.html` is succeed.
Starting from 25.1 version, http get returns a 404.

Is there any adjustments to be made in our framework ?
Is there any workaround ?

Thanks a lot

Regards,
Vincent
cristi_talau
Posts: 496
Joined: Thu Sep 04, 2014 4:22 pm

Re: Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Post by cristi_talau »

Hello,

In the past, all the files in the

Code: Select all

web
directory were loaded, regardless of what was configured in EXF. Now, Web Author takes the path that you append to

Code: Select all

sync.ext.Registry.extensionURL
and searches for it in all folders that are configured as webResources .

What you could do is to move the page.html file in a separate folder and add the entire folder as webResource.

Best,
Cristian
Vince
Posts: 64
Joined: Wed Dec 03, 2014 11:25 am

Re: Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Post by Vince »

Ok, thank you for your reply. It works now.

Regards
Vincent
Post Reply