leanferret
(lean ferret)
November 29, 2020, 3:41pm
1
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
1 Like
mficzel
(Martin Ficzel)
November 29, 2020, 5:57pm
2
The Root.fusion has to be written uppercase as far as I know. Maybe that is the problem.
leanferret
(lean ferret)
November 30, 2020, 9:16am
3
Hey Martin,
I have to include all document types manually
It looks like just globbing does not work.
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.
jonnitto
(Jon Uhlmann)
December 1, 2020, 7:56am
4
What if, if you just write
include: **/*.fusion
without the
./
?
leanferret
(lean ferret)
December 1, 2020, 10:57am
5
Oh no it was my fault.
I named my Base.fusion file as Base.F usion 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.
mficzel
(Martin Ficzel)
December 1, 2020, 7:45pm
6
Hehe … I also had those issues once and since then all macs get case sensitive filesystems immediately.
1 Like