Building from sources on Windows
1 1

9 posts in this topic

Hi,

The Adobe extension consists of two parts: ftrack-connect-spark-adobe (adobe specific logic) and ftrack-connect-spark (shared UI).

When building the extension, it copies the UI distribution (`node_modules/ftrack-connect-spark/dist/`) to build/staging/ftrack_connect_spark/. I don't actually think the distribution files are checked in into ftrack-connect-spark, which means that you either have to build those files locally or copy the files over from the extension if you are not making any changes to the UI.

To build the extension with changes to the UI, you will need to:

  1. Clone the ftrack-connect-spark repository
  2. Build it (yarn install && yarn dist)
  3. Configure ftrack-connect-spark-adobe to use the local package
    1. In ftrack-connect-spark: yarn link
    2. In ftrack-connect-spark-adobe: yarn link ftrack-connect-spark
  4. Rebuild ftrack-connect-spark-adobe using grunt

Regards,
Lucas

Share this post


Link to post
Share on other sites

Actually i managed to got working extension with npm in development mode (with two modifications).

But, yarn is a good point i will keep trying to build with it. Actual log attached. 

And my message was about to update documentation so modification of Adobe extension for others would not be so painful.

 

Share this post


Link to post
Share on other sites

The only node I got it working was 9.11.2 (tested 10.18.1, 11.13.0, 13.7.0). On recent versions I got same error (log above).

Although I installed dependencies, there is an issue with path separators on windows:

...
    File to import not found or unreadable: C:UserskalemÞsktopOneDriveWorkhomeÞvsstrack-connect-sparksourcestyle_theme.scss
...

I fixed it by editing config/default.js

Share this post


Link to post
Share on other sites

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
1 1