Include: ./**/*.fusion does not work

Hi,

im trying to transform a new sitepackage to afx rendering. But the include command in my root.fusion is not working.

include: ./**/*.fusion

I just get an error if i put my fusion objects and prototypes in other files than the root.fusion.

“No Fusion object found in path “page” Please make sure to define one in your Fusion configuration.”

Did someone have an idea?

Greetings :slight_smile:

The Root.fusion has to be written uppercase as far as I know. Maybe that is the problem.

Hey Martin,

I have to include all document types manually
It looks like just globbing does not work. :confused:

include: ./Document/Base.fusion
include: ./Document/HomePage.fusion
include: ./Document/Page.fusion

The Root.fusion in my SitePackage was written uppercase. It’s just a typo in my first post. :slight_smile:

What if, if you just write

include: **/*.fusion

without the

./

?

Oh no it was my fault. :man_facepalming:
I named my Base.fusion file as Base.Fusion and my actual local dev environment on OSX is not case sensitive. So globbing failed, but direct including worked in my local environment.

Now it’s fixed and every thing ist working fine. :slight_smile:

Hehe … I also had those issues once and since then all macs get case sensitive filesystems immediately.

1 Like