Can't set AAX SDK to a absolute path


Can’t set AAX SDK to a absolute path, generated post build step looks like this:

if not exist "$(OutDir)$(TargetName).aaxplugin" mkdir "$(OutDir)$(TargetName).aaxplugin"
if not exist "$(OutDir)$(TargetName).aaxplugin\Contents" mkdir "$(OutDir)$(TargetName).aaxplugin\Contents"
if not exist "$(OutDir)$(TargetName).aaxplugin\Contents\Win32" mkdir "$(OutDir)$(TargetName).aaxplugin\Contents\Win32"
copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).aaxplugin\Contents\Win32\$(TargetName).aaxplugin"
"..\..\c:\SDKs\AAX\Utilities\CreatePackage.bat" "$(OutDir)$(TargetName).aaxplugin\Contents\Win32" "..\..\c:\SDKs\AAX\Utilities\PlugIn.ico"

Doesn’t like the … in front of the drive letter


I work on my jucer projects on mac and then check them in and build on PC. But isAbsolutePath() can’t tell a windows path is absolute when running on the mac. :frowning:

bool File::isAbsolutePath (StringRef path)
    const juce_wchar firstChar = *(path.text);

    return firstChar == separator
           #if JUCE_WINDOWS
            || (firstChar != 0 && path.text[1] == ':');
            || firstChar == '~';


Ah yes this makes sense. I’ll push a fix to develop on Monday.


I have the same issue here.
The call to File::isAbsolutePath() must be replaced by FileHelpers::isAbsolutePath() :

 const String aaxSDKPath = FileHelpers::isAbsolutePath(aaxPath.toString())
                                                          ? aaxPath.toString()
                                                          : String ("..\\..\\") + aaxPath.toString();


Thank you. Fix is on develop.