Hi,
after updating my app to trunk I couldn't generate its source anymore. After
changing some URIs it started to compile right. Everything works except for
the icons I include with #asset:

#asset(qx/icon/${qx.icontheme}/16/*)
#asset(qx/icon/${qx.icontheme}/22/*)

I'm using it like so:

    var button1 = new qx.ui.toolbar.Button(this.tr("New"),
"icon/22/actions/document-properties.png");

but it tries to access:

http://localhost:666/aham/WebSite/pub/source/qx/icon/22/actions/document-properties.png

What do I have to change to fix the resourceUri?

In the source version it should get these icons from the qooxdoo folder,
shouldn't it?

I'm using a quiet changed config.py, so here it goes:

{
   "name"    : "Aham Application",

"include" :
   [
     {
       "path" : "${QOOXDOO_PATH}/tool/data/config/application.json",
       "block" : [ "build" ]
     }
   ],

"let" :
   {
    "APPLICATION"  : "aham",
    "QOOXDOO_PATH" : "../../../qooxdoo",
    "CACHE"        : "../cache",
    "QXTHEME"      : "aham.theme.Aham",
    "LOCALES"      : ["pt_BR", "en"],
    "ROOT"         : "."
   },
   "jobs":
   {
"common":
{
"library" :
    [
{
  "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json",
  "uri"      : "../../${QOOXDOO_PATH}/framework"
},
{
  "manifest" : "${ROOT}/Manifest.json",
  "uri"      : ".."
},
{
          "manifest" : "contrib://FlowLayout/trunk/Manifest.json",
          "uri"      : "../cache-downloads/FlowLayout/trunk"
        },
        {
          "manifest" : "contrib://TileView/trunk/Manifest.json",
          "uri"      : "../cache-downloads/TileView/trunk"
        }
 ],
    "include" :
    [
        "${APPLICATION}.Application",
        "${QXTHEME}"
    ],
    "settings" :
    {
     "qx.version" : "alpha",
     "qx.application" : "${APPLICATION}.Application",
     "qx.theme" : "${QXTHEME}",
     "qx.icontheme" : "Tango",
     "qx.debug" : "off"
 },
"themes" :
{
      "qx.icontheme" : ["Tango", "Oxygen"],
      "qx.theme"     : ["Classic"]
}

},
    "source-script":
    {
      "extend": ["common"],
      "compile-source" :
      {
        "file" : "./source/script/${APPLICATION}.js",
        "locales" : "${LOCALES}"
      }
    },
    "build-script" :
    {
      "extend" : ["common"],
      "compile-dist" :
      {
       "locales" : "${LOCALES}",
        "target" : "build",
        "file" : "./build/script/${APPLICATION}.js",
        "uri"  : "script/${APPLICATION}.js",
        "root" : "build"
      }
    },

     "build-files" :
    {
      "extend" : ["common"],
      "copy-files" :
      {
        "files" :
        [
          "index.html"
        ],
        "target" : "build"
      }
    },
     "build-resources":
    {
      "extend" : ["common"],
      "include" :
      [
        "qx.theme.Classic",
        "qx.theme.Modern",
        "aham.*"
      ],
      "copy-resources" :
      {
        "target" : "build"
      }
    },

    "build":
    {
     "run":
     [
     "build-script",
     "build-files",
     "build-resources"
     ]
    }
}
}
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to