Flatpak and Apache Ant

Hello,

I’m new on Flatpak, I need to call Apache Ant in my C++ app, using rpm it’s possible but using flatpak I have this message “Apache Ant is not installed” (I think the sandbox blocking access to the system), is-it possible to call Apache Ant and how ?

Thanks

You can try to include Apache Ant in your Flatpak.

You can also call command outside the Flatpak by running flatpak-spawn --host <command> inside the Flatpak. Your Flatpak need the talk-name=org.freedesktop.Flatpak Permission to do that.

I used :

flatpak-spawn --host <command>

it work, thanks.

This topic was automatically closed after 43 hours. New replies are no longer allowed.