Jump to content
weabow

Deploying on OsX : bug with local files and PaServer

Recommended Posts

Hi there,

 

With Delphi latest version, I no longer can deploy on OSX, due to an error with PaServer.

 

Investigating, I saw the problem :

I want to deploy font files, saved with the project in a special folder : \fonts

 

In the deployment screen, I have the font files properly set (It runs on previous version of Delphi).

 

In app.dproj, I can find the paragraph for deploying my files :

 

                <DeployFile LocalName="fonts\Roboto-Regular.ttf" Configuration="Release" Class="File">
                    <Platform Name="OSX64">
                        <RemoteDir>Contents\Resources\Fonts\</RemoteDir>
                        <RemoteName>Roboto-Regular.ttf</RemoteName>
                        <Overwrite>true</Overwrite>
                    </Platform>
                </DeployFile>

 

If I want it to run fine with latest version, I need to add a \ before local font files path, like this :

 

                <DeployFile LocalName="\fonts\Roboto-Regular.ttf" Configuration="Release" Class="File">
                    <Platform Name="OSX64">
                        <RemoteDir>Contents\Resources\Fonts\</RemoteDir>
                        <RemoteName>Roboto-Regular.ttf</RemoteName>
                        <Overwrite>true</Overwrite>
                    </Platform>
                </DeployFile>

 

LocalName="fonts\Roboto-Regular.ttf" becomes LocalName="\fonts\Roboto-Regular.ttf", and then it deploys fine.

 

Of course, it's the same problem with all the files to deploy.

 

What am I doing wrong ?

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×