• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Filename contains restricted character '\': C:\libraries\the\path\to\the\file\directory\FMODAirN

Community Beginner ,
May 17, 2012 May 17, 2012

Copy link to clipboard

Copied

Could this be a bug within adt.jar?

When running the adt.jar java app as an ant task within Flash Builder 4 I get the following error:

Filename contains restricted character '\': C:\libraries\the\path\to\the\file\directory\FMODAirN

Every single property expanded within the <java> ant task with the exception of ane.target.platform includes ${basedir} which evaluates to C:\libraries\the\path\to\the\file\, yet only the last parameter in the argument list for adt.jar complains regarding a restricted character:

ane.extension.descriptor=${basedir}/directory/extension.xml

ane.keystore=${basedir}/directory/test.p12

ane.src.library=${basedir}/directory/library.swf

ane.target.platform=Windows-x86

ane.project.name=${basedir}/directory/air.fmod.ane.ane

ane.swc.name=${basedir}/directory/air.fmod.ane.swc

native.library=${basedir}/directory/FMODAirNativeExtension.dll

<target name="default" depends="clean, init">

          <java jar="${FLEX_HOME}/lib/adt.jar" fork="true">

                    <arg value="-package"/>

                    <arg value="-tsa"/>

                    <arg value="none"/>

                    <arg value="-storetype"/>

                    <arg value="pkcs12"/>

                    <arg value="-keystore"/>

                    <arg value="${ane.keystore}"/>

                    <arg value="-storepass"/>

                    <arg value="test"/>

                    <arg value="-target"/>

                    <arg value="ane"/>

                    <arg value="${ane.project.name}"/>

                    <arg value="${ane.extension.descriptor}"/>

                    <arg value="-swc"/>

                    <arg value="${ane.swc.name}"/>

                    <arg value="-platform"/>

                    <arg value="${ane.target.platform} ${ane.src.library}"/><!--missing library error if ${ane.src.library} is on its own line-->

                    <arg value="${native.library}"/><!--Filename contains restricted character '\': C:\libraries\the\path\to\the\file\directory\FMODAirN-->

          </java>

</target>

<target name="default" depends="clean, init">

          <java jar="${FLEX_HOME}/lib/adt.jar" fork="true">

                    <arg value="-package"/>

                    <arg value="-tsa"/>

                    <arg value="none"/>

                    <arg value="-storetype"/>

                    <arg value="pkcs12"/>

                    <arg value="-keystore"/>

                    <arg value="${ane.keystore}"/>

                    <arg value="-storepass"/>

                    <arg value="test"/>

                    <arg value="-target"/>

                    <arg value="ane"/>

                    <arg value="${ane.project.name}"/>

                    <arg value="${ane.extension.descriptor}"/>

                    <arg value="-swc"/>

                    <arg value="${ane.swc.name}"/>

                    <arg value="-platform"/>

                    <arg value="${ane.target.platform} ${ane.src.library}"/>

                    <arg value="-C"/>

  <arg value="C:/libraries/the/path/to/the/file/directory/FMODAirNativeExtension.dll"/><!--Filename contains restricted character '\': C:\libraries\the\path\to\the\file\directory\FMODAirN-->

          </java>

</target>

Any help would be appreciated!

TOPICS
Performance issues

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 18, 2012 May 18, 2012

Copy link to clipboard

Copied

Asking one of our ADT experts to see if they've seen this before.  You might also want to cross post this over on the Flash Builder forums.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 19, 2012 May 19, 2012

Copy link to clipboard

Copied

Thanks, Chris.

I'll do that as well

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 23, 2012 May 23, 2012

Copy link to clipboard

Copied

LATEST

Heard back from our ADT guy and he doesn't believe it's an ADT specific problem.  We run ADT tests daily on Windows and he's never seen this error before.  He suggests you try to find the full path and run the command from the command line directly to see if the error still occurs.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines