« Return to Thread: Small problem when running generate.py build (absent index.html)

Re: Small problem when running generate.py build (absent index.html)

by Bugzilla from elvanor@gmail.com :: Rate this Message:

Reply to Author | View in Thread

Thanks Christian, it worked very well. Now for my next problem, I have this in my config.json:

        "libraries":
        {
            "library":
            [
                {
                    "manifest": "Manifest.json",
                    "uri": "http://static.example.com/js/editor/"
                },

                {
                    "manifest": "${QOOXDOO_PATH}framework/Manifest.json",
                    "uri": "http://static.example.com/qooxdoo/framework/"
                },

                {
                    "manifest": "/opt/UploadWidget/Manifest.json",
                    "uri": "http://static.example.com/UploadWidget/"
                }
            ]
        },

The generator correctly picks this up when doing a source, but when doing a build, the loader script does not have the correct URIs. Am I doing something wrong or is this a bug?

Jean-Noel

On Fri, Jun 26, 2009 at 8:33 AM, Christian Schmidt <schmidt.christian@...> wrote:
Hi Jean-Noel,

If you never want to copy a HTML file, you can remove the "build-files"
job from the run statement of the "build" job.

Use this line off code in your config.json to remove the "build-files"
job from the run statement:
"build" :
{
  "=run" :
  [
    "build-resources",
    "build-script"
 ]
}

I think that's it. (I'm not a generator expert and I would try this first)

Cheers,
Chris

Jean-Noël Rivasseau schrieb:
> Hi all,
>
> When I tried to build my app today (first time), I had an initial
> error because "index.html" was not present in the source folder. I
> dont have this index.html, and dont need it. I created a dummy empty
> file just so that the build finished, but is there a way to avoid this
> problem by configuring something somewhere?
>
> I also had a much more seriours problem, than I analyzed, and which
> resulted in
>
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2514
>
> Jean-Noel
> ------------------------------------------------------------------------



------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: Small problem when running generate.py build (absent index.html)