Creating a "CopyFiles" build step in Ubuntu isn't working

  1. 5 months ago

    Wes W

    Feb 28 Pre-Release Testers, Xojo Pro MD, Columbia USA

    I'm having trouble creating a "Copy Files" build step. I'm using Xojo 2018r4 and Ubuntu 18.04.2 LTS 64bit. I need to add several files and one folder to the copy files build step.

    However, when I click the Xojo "Add Files" button, I get a "Add Files to Step" dialog which lets me select the files I want and returns them to the build step as it should when I click the dialog's "Open" button.

    *But* when I try to select the folder I want, clicking the "Open" button opens the folder rather than returning it to the build step. There doesn't seem to be any way to select a folder.

    So then I tried to use drag-and-drop from the Ubuntu file manager (Nautilus?) to the Xojo build step pane. That doesn't seem to work either. The drag-and-drop mouse pointer never indicates that the Xojo build step pane is a valid drop target and so the operation fails.

    I'm coming from a Windows 7 environment where I have been able to create copy file build steps that contain both files and folders but now that I've moved to Ubuntu as my primary work computer, I'm not having any luck.

    Has anyone else seen this? Are there work-arounds?

    -Wes

  2. Tim J

    Feb 28 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    You'll need to create the proper folder hierarchy on Windows or macOS and create the copyfiles step there.

  3. Wes W

    Mar 3 Pre-Release Testers, Xojo Pro MD, Columbia USA

    Wow. Ok. I moved my code to a Windows machine and created a "Copy Files" step and then moved it back to My Linux machine but what a pain in the !@#$%. That's an awful lot of aggravation just to get the "Copy Files" build step to work.

    I've stopped using the "Copy Files" build step and instead use a "Script" build step. I was able to get the same net effect by issuing several "DoShellCommand" statements with calls to cp. I'm thinking that scripting is much more flexible than using the "Copy Files" build step even though it is more involved.

  4. Tim J

    Mar 4 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    Many of us old timers have IDE Scripts just like this that date back to the time before Build Automation, so we definitely understand. However, once the team get this sorted for Linux, the BA steps are still the best option for controlling things for most users.

  5. Greg O

    Mar 4 Xojo Inc

    @Wes W,

    We’re you unable to drag and drop the folders into the CopyFilesStep list?

  6. Wes W

    Mar 4 Pre-Release Testers, Xojo Pro MD, Columbia USA

    @Greg OLone @Wes W,

    We’re you unable to drag and drop the folders into the CopyFilesStep list?

    I was not able to drag-and-drop either the files or folders I wanted into the CopyFilesStep list.

    I'm new to Ubuntu so I tried drag-and-drop from one Nautilus window to another Nautilus window just to see how it worked and it worked fine. But I was never able to get Xojo to receive any drag-and-drop items.

  7. 3 months ago

    Tim J

    Apr 14 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    This is sorted in 19r1.

or Sign Up to reply!