4 Replies Latest reply on Oct 5, 2010 3:31 AM by david_a_clark

    Manifest Problems

    Harbs. Level 6

      I'm having a lot of trouble with customizing the manifest file.

       

      The first problem is that any non-standard customizing (such as menu placement in InDesign) gets wiped out by the manifest editor. My workaround is to avoid using the manifest editor and I edit the manifest manually.

       

      My current problem, is that I need a different ScriptPath for Flash and Fireworks. I noticed that the Kuler extension does this, and I copied the (basic) XML structure from there. I'm getting a parsing error when I try to build my project.

       

      Am I doing something wrong or is this a bug?

       

      Here's my manifest:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <ExtensionManifest Version="2.0" ExtensionBundleId="ScriptBay" ExtensionBundleVersion="0.1.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <Author>
              <![CDATA[In-Tools]]>
          </Author>
          <Contact>
              <![CDATA[contact me...]]>
          </Contact>
          <Legal>
              <![CDATA[Legal stuff...]]>
          </Legal>
          <Abstract href="http://in-tools.com/scriptbay.html">
              <![CDATA[This is a Script Panel replacement for the entire Creative Suite plus a whole lot more!!!]]>
          </Abstract>
          <ExtensionList>
              <Extension Id="ScriptBay" Version="0.1.4" />
          </ExtensionList>
          <ExecutionEnvironment>
              <HostList>
                  <Host Name="AICY" Version="7" />
                  <Host Name="FLPR" Version="11" />
                  <Host Name="FWKS" Version="11" />
                  <Host Name="IDSN" Version="7" />
                  <Host Name="ILST" Version="15" />
                  <Host Name="PHSP" Version="12" />
                  <Host Name="PHXS" Version="12" />
                  <Host Name="BRDG" Version="4" />
              </HostList>
              <LocaleList>
                  <Locale Code="All" />
              </LocaleList>
              <RequiredRuntimeList>
                  <RequiredRuntime Name="CSXS" Version="2.0" />
              </RequiredRuntimeList>
          </ExecutionEnvironment>
          <DispatchInfoList>
              <Extension Id="ScriptBay">
                  <DispatchInfo >
                      <Resources>
                          <SwfPath>./ScriptBay.swf</SwfPath>
                      </Resources>
                      <Lifecycle>
                          <AutoVisible>true</AutoVisible>
                      </Lifecycle>
                      <UI>
                          <Type>Panel</Type>
                          <Menu>Script Bay</Menu>
                          <Geometry>
                              <Size>
                                  <Height>350</Height>
                                  <Width>208</Width>
                              </Size>
                          </Geometry>
                          <Icons>
                              <Icon Type="Normal">./icons/script_bay_bw.png</Icon>
                              <Icon Type="RollOver">./icons/script_bay_c.png</Icon>
                          </Icons>
                      </UI>
                  </DispatchInfo>
                  <DispatchInfo Host="AICY">
                      <UI>
                          <Menu Placement="'Main:&amp;Window:UtilitiesSubmenu',600.0,'KBSCE Window menu'">Script Bay</Menu>
                      </UI>
                  </DispatchInfo>
                  <DispatchInfo Host="IDSN">
                      <UI>
                          <Menu Placement="'Main:&amp;Window:UtilitiesSubmenu',600.0,'KBSCE Window menu'">Script Bay</Menu>
                      </UI>
                  </DispatchInfo>
                  <DispatchInfo Host="FLPR">
                      <Resources>
                          <ScriptPath>./FlashFunctions.jsfl</ScriptPath>
                      </Resources>
                  </DispatchInfo>
                  <DispatchInfo Host="FWKS">
                      <Resources>
                          <ScriptPath>./FireworksFunctions.jsf</ScriptPath>
                      </Resources>
                  </DispatchInfo>
              </Extension>
          </DispatchInfoList>
      </ExtensionManifest>
      

       

      Harbs

        • 1. Re: Manifest Problems
          david_a_clark Adobe Employee

          Thanks Harbs, I'll make sure this issue with the manifest editor is captured.

           

          I'm wondering if your build problem is caused by the ampersand characters in the ID menu paths; since it's XML I'd expect that & must be escaped using &amp.

           

          If that doesn't solve the problem, could you post the error message you see when you try to build the project?

          • 2. Re: Manifest Problems
            Harbs. Level 6

            It is "&amp;" in the manifest. The forum software strikes again!

             


            The error is:

            The reference to entity "Window:UtilitiesSubmenu" must end with the ":" delimiter.

             

            The thing is: it does not have any problem parsing it without the Flash and Fireworks DispatchInfo.

             

            Harbs

            • 3. Re: Manifest Problems
              david_a_clark Adobe Employee

              Your manifest XML worked fine for me if I added the ampersand escapes and created the necessary files in my project. If you're still having trouble, perhaps you could upload the manifest file or project to the forum, to help us reproduce the problem.

              • 4. Re: Manifest Problems
                Harbs. Level 6

                PEBKAC!


                The first time I tested, the script files were in the wrong location.

                 

                The second time, I had copied and pasted the xml back from the web (I had changed it back in the meanwhile)...

                 

                Yes. It works fine!

                 

                Thanks.