thron7-2 wrote:
> 
>>
>> Hi,
>>
>> I am trying to include the "Crypto" contrib (I added a 0.8 Manifest file)
>> in
>> the "RpcConsole" contrib. For  rpcconsole.demo.Application, I add the
>> contrib in the config.json's library key:
>>
>>     "libraries" :
>>     {
>>       "library" :
>>       [
>>         {
>>           "manifest" : "../../Manifest.json"
>>         },
>>         {
>>           "manifest" : "contrib://Crypto/trunk/Manifest.json"
>>         }
>>       ]
>>     }, ...
>>
>> Then I add #require(openpgp.sha1) to the Application's main file.
>> However,
>> when the include script is generated, the URL for the openpgp.sha1 class
>> is
>> http://localhost:8080/var/folders/gV/gVYy8H8NFISMbzjhQsmLW%2B%2B%2B%2BTM/-Tmp-/cache/downloads/Crypto/trunk/source/class/openpgp/sha1.js
> 
> 1. This is certainly not the URL as it is generated in your
> script/rpcconsole.js, right?! So where do you see it? In Firebug?
> 
> 

Yes, it is the load url generated by ./generate.py source and passed to the
script loader in scrpt/rpcconsole.js



thron7-2 wrote:
> 
> 
> 2. It looks like you're running your source version through a web server.
> This cannot work unless you take special precautions. See
> http://qooxdoo.org/documentation/0.8/snippets#running_a_source_version_from_a_web_server.
> In your case, you have to make your cache/downloads path accessible by the
> web server. Or you configure the "cache/downloads" config key to a more
> convenient path for your downloads.
> 
> 

Oh, I wasn't aware that developing the source version right from the file
system was the recommended way. In any way, that's not an option for me, I
need the server because I need the json-rpc backend - we discussed that
before. Then the solution is to configure the cache/downloads key as you
suggest.

Thanks,

Christian

-- 
View this message in context: 
http://n2.nabble.com/Including-other-contribs-in-a-contrib-incorrect-URL-tp3966150p3967585.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to