Building from source¶
Note
Unless you are doing any modifications, there should be no need to build the extension yourself.
You can also build manually from the source for more control. First obtain a copy of the source by either downloading the zipball or cloning the repository:
git clone git@bitbucket.org:ftrack/ftrack-connect-spark-adobe.git
Full documentation, including installation and setup guides, can be found at https://ftrack-connect-spark-adobe.readthedocs.io/en/latest/
Setting up node environment¶
You will need a recent version of node with npm installed. It is highly recommended that you also install a version manager for node, such as n (Mac OS) or nodist (windows). It enables you can use different node versions in different projects.
Mac OS¶
Install homebrew, unless already installed.
Ensure homebrew is installed correctly:
brew doctor
Install latest node and npm versions:
brew install node
Install n globally:
npm install -g n
Install latest stable version:
n stable
Windows¶
Install Node.js 9.11.2
Download ZXPSignCMD.exe
Note
As ZXPSignCMD comes without installer, make sure it is set in your system $PATH environment variable.
Building (All platforms)¶
Preparations¶
Prepare ftrack-connect-spark by checking it out.
Install yarn (MacOS: brew install yarn && npm install webpack) and run:
npm install yarn dist yarn link
Go back to ftrack-connect-spark-adobe repository checkout folder and run:
yarn link ftrack-connect-spark
Get access to the Adobe Vault, store the certificate password in an environment variable:
export FTRACK_ADOBE_CERTIFICATE_PASSWORD=xxxxxxx
Update extension version string in package.json.
Download and install ZXPSignCMD (https://github.com/Adobe-CEP/CEP-Resources/tree/master/ZXPSignCMD).
Note
(MacOS only) 7. Link executable to make it available to build:
ln -s /path/to/ZXPSignCmd-64bit /usr/local/bin/ZXPSignCmd
Building¶
Run:
python setup.py build_extension
The built extension will be available in build folder.
Testing¶
Download and unzip ExManCmd (https://partners.adobe.com/exchangeprogram/creativecloud/support/exman-com-line-tool.html).
Install an Adobe DCC app, for example Photoshop.
Uninstall any previous ftrack extension:
ExManCmd /list all ExManCmd /remove com.ftrack.connect.adobe
Install extension:
ExManCmd /install ftrack_connect_adobe_1.0.3.zxp
Launch a task from ftrack connect, choose Adobe DCC app (Photoshop).
In Windows menu, open ftrack from “Extensions” submenu.
Test publish an image to ftrack, it should succeed and turn up as a version.