On 08/05/2013 11:47 AM, Alper Ortac (aortac) wrote:
> Hello,
>
> As far as I can see, that settings is to configure the file path, not the uri 
> which will be accessed in the browser, which is what I need to configure.

That's not right, both uris/script and uris/resource take URIs, so you 
can even use a different web server for them. As Daniel wrote this 
applies to the build version, but from your initial post I gather that 
you want to run the source version over a web server.

I understand that your SUBFOLDER is a virtual path in your web server, 
and does not correspond to any real path on your hard disk, is that right?!

Is it the main "Application.js" file that is not found, or the one from 
the other qooxdoo application? Because if the main index.html file is 
still in source/ it should not matter if you have a SUBFOLDER virtual 
path on your web server, as the classes of the main application are 
found relative to the index.html.

Generally speaking, if you want to tweak the source version you can add 
a 'uri' parameter to the elements of the 'library' key of your config 
[1]. You need to do this for all libraries that should not be addressed 
through a calculated, relative URI, including your helper application or 
the qooxdoo framework, e.g. like:

"libraries" : {
   "library" : [
     { "manifest" : "../some/path/Manifest.json",
        "uri" : "/SUBFOLDER/path/to/library"
     }

Then, for the resources of the library specified by the Manifest.json 
file, all will be addressed using 'uri'.

If that all doesn't help you need to post the path of your main 
index.html on your local disk, the path of the helper application and 
the qooxdoo framework, and the first few lines of the generated loader, 
in source/script/<your_app>.js, including the line starting with "var 
libinfo = ...".

T.

[1] 
http://manual.qooxdoo.org/3.0.x/pages/tool/generator/generator_config_ref.html#library
[2] 
http://manual.qooxdoo.org/3.0.x/pages/tool/generator/generator_config_articles.html#library-key-and-manifest-files

>
> Alper
>
> -----Original Message-----
> From: Daniel Wagner [mailto:[email protected]]
> Sent: Donnerstag, 1. August 2013 13:02
> To: [email protected]
> Subject: Re: [qooxdoo-devel] Custom base URL configuration for whole 
> application
>
> Hi Alper,
>
> for the build version, the config keys compile-options/uris/script and 
> compile-options/uris/resource should be what you're looking for. For the 
> source version, try compile-options/paths/app-root.
>
> Here's the manual page:
> http://manual.qooxdoo.org/current/pages/tool/generator/generator_config_ref.html#compile-options
>
> Regards,
> Daniel
>
> On 01.08.2013 11:33, Alper Ortac (aortac) wrote:
>> Hi Mustafa,
>>
>> thanks for your quick reply. In my case that does not work. I
>> configured my webserver to serve the application in a subfolder. But
>> my new qooxdoo app requests all internal classes without the subfolder.
>>
>> Alper
>>
>> *From:*Mustafa Sak [mailto:[email protected]]
>> *Sent:* Mittwoch, 31. Juli 2013 16:18
>> *To:* qooxdoo Development
>> *Subject:* Re: [qooxdoo-devel] Custom base URL configuration for whole
>> application
>>
>> Hi Alper,
>>
>> This should be no problem on default config. All script urls are
>> relative not absolute. Just take care to make your libraries (qooxdoo,
>> another app, distributions) available after changing the path.
>>
>> Gruß
>>
>> Mustafa Sak
>>
>> Applications & Integration
>>
>> 1&1 Internet AG
>>
>> Ernst-Frey-Straße 10
>>
>> DE-76135 Karlsruhe
>>
>> *Von:*Alper Ortac (aortac) [mailto:[email protected]]
>> <mailto:[mailto:[email protected]]>
>> *Gesendet:* Mittwoch, 31. Juli 2013 14:52
>> *An:* [email protected]
>> <mailto:[email protected]>
>> *Betreff:* [qooxdoo-devel] Custom base URL configuration for whole
>> application
>>
>> I have a new qooxdoo application which refers to another qooxdoo
>> application by mentioning its Manifest file in the config file.
>>
>> I tried to change the base url of the application. So instead of
>>
>> "http://localhost/source/class/myapp/Application.js";
>>
>> It should request
>>
>> "http://localhost/SUBFOLDER/source/class/myapp/Application.js";
>>
>> This should apply to all resources (classes and static files) in this
>> application.
>>
>> Is that possible?
>>
>>
>>
>> ----------------------------------------------------------------------
>> -------- Get your SQL database under version control now!
>> Version control is standard for application code, but databases havent
>> caught up. So what steps can you take to put your SQL databases under
>> version control? Why should you start doing it? Read more to find out.
>> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.c
>> lktrk
>>
>>
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent caught 
> up. So what steps can you take to put your SQL databases under version 
> control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to