John Spackman wrote:
> Hi guys,
>
> I've just migrated our apps to 0.8.1 and everything works fine except that
> the uri's are ignored in the library setting for the "build" version

Yes, John, that's by design. Since a build version is intended to be 
self-contained, all resources and class code are copied to it, and uri's 
are "hard-wired" for a build/index.html file. But all is not lost :-).

You can still override uri settings for the build version. In order to 
do that you have to override the "build-script" job for your app, like this:

"build-script" :
{
  "compile-dist" :
  {
    "uris" :
    {
      "script"   : "<uri_to_your_build/script_directory>",
      "resource" : "<uri_to_your_build/resource_directory>"
    }
  }
}

The two uri's should reflect the path on your server from the page 
loading your com.zenesis.components.Content.js to the build script and 
resource directories.

HTH,
Thomas

>  - the
> "source-all" version is fine.  Here's the relevant part of my config.json:
>
> --- snip ---
>   "let" :
>   {
>     "APPLICATION"  : "com.zenesis.components.Content",
>     "QOOXDOO_PATH" :
> "D:/dev/Grasshopper/trunk/Local/WebContent/public/qooxdoo",
>     "QOOXDOO_URI"  : "/public/qooxdoo/framework",
>       "CONTRIB_PATH" :
> "D:/dev/Grasshopper/trunk/Local/WebContent/public/qooxdoo-contrib",
>       "CONTRIB_URI"  : "/public/qooxdoo-contrib",
>     "QXTHEME"      : "qx.theme.Modern",
>     "LOCALES"      : [ "en" ],
>     "API_EXCLUDE"  : ["qx.legacy.*","qx.test.*"],
>     "ROOT"         : ".",
>       "CACHE"        :
> "D:/dev/Grasshopper/trunk/Local/temp/__grasshopper.forms/cache"
>   },
>
>   "jobs" :
>   {
>     "libraries" : 
>     {
>       "library": 
>       [
>         {
>           "manifest" : "Manifest.json",
>           "uri" :
> "/__grasshopper.forms/com.zenesis.components.Content/edit-page"
>         },
>         {
>           "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json",
>           "uri" : "/public/qooxdoo/framework"
>         },
>         {
>                       "manifest"  :
> "D:/dev/workspace-3.4/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wt
> pwebapps/Grasshopper2/public/autoforms/Manifest.json",
>                       "uri"       : "/public/autoforms"
>               },
>               {
>                       "manifest"  :
> "${CONTRIB_PATH}/htmlEditor/Manifest.json",
>                       "uri"       : "${CONTRIB_URI}/htmlEditor"
>               },
>               {
>                       "manifest"  :
> "${CONTRIB_PATH}/flowlayout/trunk/Manifest.json",
>                       "uri"       : "${CONTRIB_URI}/flowlayout/trunk"
>               }
>       ]
>     }
>   }
> --- snip ---
>
> The application is hosted at
> "/__grasshopper.forms/com.zenesis.components.Content/edit-page" and qooxdoo
> is at /public/qooxdoo but their physical location on disk are in unrelated
> locations; the server joins everything together behind the scenes.  
>
> My problem is that the build/com.zenesis.components.Content.js contains
> this:
>       qx.$$loader = {
>         parts : {"boot":[0]},
>         uris : [["script/com.zenesis.components.Content-0.js"]],
>         boot : "boot"
>       };  
>
> As you can see, it's missing the URI prefix.
>
> Thanks,
> John
>
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to