Re: [qooxdoo-devel] Combined image in build

2012-05-02 Thread Benjamin Dreux
Hi Tino
Thanks for your explanation.
Actually my issue wasn't due to qooxdoo.
It was my image combine job that was defined correctly, so the
combined image was nor copied nor used by the build version.

Then i tryed to copy the combined image with a copy resource job.
After that, the combined image wasn't used.

Then i read the combine-image job of the feedreader app.
There i understand what was my problem.

But all your points are right

Regards

2012/4/28 thron7 :
> Benjamin,
>
> 1. You don't have to change the #assets hints in your app code when you
> use combined images. Just name the proper images your app needs as you
> usually would, like #asset(myapp/myimg.png). Your app code doesn't change
> a bit when you are using combined images.
>
> 2. The combined image is copied to the build version automatically, if one
> of its *containted images* is required by the app.
>
> 3. The .meta file is only necessary at *generation time* of your app. It
> is never copied to the buid version, as it is not necessary at run time.
>
> 4. The archived message you linked to is about that the *resource id* of
> any combined image is recognizable by the generator, which is important
> that the images is registered correctly in the app.
>
> 5. You can check if your combined image is honored in the build version by
> searching for its name in any of the script files in build/script/*. And
> of course you can check the Net tab of your browser console to check if it
> is loaded in the client.
>
> T.
>
>
>> Here is the message that helped me
>> http://www.mail-archive.com/[email protected]/msg36411.html
>>
>> basically it say to handel with care the way res path is defined, and
>> no include the app name space in it
>>
>> Le 27 avril 2012 13:32, Benjamin Dreux  a écrit :
>>> Hi all
>>>
>>> I've tryed to copy the files from source directory to build directory.
>>> But it looks like the combined image is'nt used by the app.
>>>
>>> Any idea about this issue??
>>>
>>> regards
>>> Le 27 avril 2012 13:09, Benjamin Dreux  a écrit
>>> :
 I'm using mac os, and i have installed image magick using mac port

 Here is an error i just noticed now.
 This error ocure when i'm combinning the image
 sh: gs: command not found
 sh: gs: command not found
 montage: UnableToOpenConfigureFile `type.xml' @
 warning/configure.c/GetConfigureOptions/589.
 montage: UnableToReadFont `(null)' @
 error/annotate.c/RenderFreetype/1059.
 montage: UnableToOpenConfigureFile `delegates.xml' @
 warning/configure.c/GetConfigureOptions/589.
 montage: PostscriptDelegateFailed
 `/var/folders/Du/DuI2qp9aEFGulefGTV3J0E+++TI/-Tmp-/magick-uuEbu4Yz':
 No such file or directory @ error/ps.c/ReadPSImage/784.
 montage: UnableToOpenConfigureFile `colors.xml' @
 warning/configure.c/GetConfigureOptions/589.

 But i end up with a combined image and a meta file.

 Is that possible that this error is the cause of the fact that my
 combined image is not copyed in the build verison of my qooxdoo app???





 Le 27 avril 2012 11:06, Benjamin Dreux  a
 écrit :
> Hi Dietrich
>
> I've tried to add my combined resource.
> What happen is that the image (the one that combine others )is
> correctly copied, the .meta file is no copied along with the image.
>
> And according to what i've read on this page
> http://manual.qooxdoo.org/devel/pages/tool/generator_config_ref.html#combine-images
> This file is required for qooxdoo to use the combined image.
>
> Regards
> Regards
>
> Le 27 avril 2012 10:55, Dietrich Streifert
>  a écrit :
>> Hi,
>>
>> you have to declare your images paths (assets) via an #asset macro in
>> your themes Appearance.js (or similar) like this:
>>
>> /*
>> 
>>
>>  #asset(yourapp/decoration/*)
>>
>>  *
>> */
>>
>> Regards.
>>
>> Am 27.04.2012 16:18, schrieb Benjamin Dreux:
>>> Hi
>>> Using the documentation i've managed to create a combined image with
>>> all my app images.
>>> But i have a new issue, the combined image is not added to the build
>>> version of my app, is that normal??
>>> Maybe i need to do it, but i prefer ask before doing.
>>>
>>> Regards
>>>
>>>
>>>
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions
>> will include endpoint security, mobile security and the latest in
>> malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>

Re: [qooxdoo-devel] Combined image in build

2012-04-28 Thread thron7
Benjamin,

1. You don't have to change the #assets hints in your app code when you
use combined images. Just name the proper images your app needs as you
usually would, like #asset(myapp/myimg.png). Your app code doesn't change
a bit when you are using combined images.

2. The combined image is copied to the build version automatically, if one
of its *containted images* is required by the app.

3. The .meta file is only necessary at *generation time* of your app. It
is never copied to the buid version, as it is not necessary at run time.

4. The archived message you linked to is about that the *resource id* of
any combined image is recognizable by the generator, which is important
that the images is registered correctly in the app.

5. You can check if your combined image is honored in the build version by
searching for its name in any of the script files in build/script/*. And
of course you can check the Net tab of your browser console to check if it
is loaded in the client.

T.


> Here is the message that helped me
> http://www.mail-archive.com/[email protected]/msg36411.html
>
> basically it say to handel with care the way res path is defined, and
> no include the app name space in it
>
> Le 27 avril 2012 13:32, Benjamin Dreux  a écrit :
>> Hi all
>>
>> I've tryed to copy the files from source directory to build directory.
>> But it looks like the combined image is'nt used by the app.
>>
>> Any idea about this issue??
>>
>> regards
>> Le 27 avril 2012 13:09, Benjamin Dreux  a écrit
>> :
>>> I'm using mac os, and i have installed image magick using mac port
>>>
>>> Here is an error i just noticed now.
>>> This error ocure when i'm combinning the image
>>> sh: gs: command not found
>>> sh: gs: command not found
>>> montage: UnableToOpenConfigureFile `type.xml' @
>>> warning/configure.c/GetConfigureOptions/589.
>>> montage: UnableToReadFont `(null)' @
>>> error/annotate.c/RenderFreetype/1059.
>>> montage: UnableToOpenConfigureFile `delegates.xml' @
>>> warning/configure.c/GetConfigureOptions/589.
>>> montage: PostscriptDelegateFailed
>>> `/var/folders/Du/DuI2qp9aEFGulefGTV3J0E+++TI/-Tmp-/magick-uuEbu4Yz':
>>> No such file or directory @ error/ps.c/ReadPSImage/784.
>>> montage: UnableToOpenConfigureFile `colors.xml' @
>>> warning/configure.c/GetConfigureOptions/589.
>>>
>>> But i end up with a combined image and a meta file.
>>>
>>> Is that possible that this error is the cause of the fact that my
>>> combined image is not copyed in the build verison of my qooxdoo app???
>>>
>>>
>>>
>>>
>>>
>>> Le 27 avril 2012 11:06, Benjamin Dreux  a
>>> écrit :
 Hi Dietrich

 I've tried to add my combined resource.
 What happen is that the image (the one that combine others )is
 correctly copied, the .meta file is no copied along with the image.

 And according to what i've read on this page
 http://manual.qooxdoo.org/devel/pages/tool/generator_config_ref.html#combine-images
 This file is required for qooxdoo to use the combined image.

 Regards
 Regards

 Le 27 avril 2012 10:55, Dietrich Streifert
  a écrit :
> Hi,
>
> you have to declare your images paths (assets) via an #asset macro in
> your themes Appearance.js (or similar) like this:
>
> /*
> 
>
>  #asset(yourapp/decoration/*)
>
>  *
> */
>
> Regards.
>
> Am 27.04.2012 16:18, schrieb Benjamin Dreux:
>> Hi
>> Using the documentation i've managed to create a combined image with
>> all my app images.
>> But i have a new issue, the combined image is not added to the build
>> version of my app, is that normal??
>> Maybe i need to do it, but i prefer ask before doing.
>>
>> Regards
>>
>>
>>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions
> will include endpoint security, mobile security and the latest in
> malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



 --
 Benjamin Dreux
 Analyste-Programmeur
 Chaire de logiciel libre-Finance Social et solidaire
 UQAM
 Montréal
>>>
>>>
>>>
>>> --
>>> Benjamin Dreux
>>> Analyste-Programmeur
>>> Chaire de logiciel libre-Finance Social et solidaire
>>> UQAM
>>> Montréal
>>
>>
>>
>> --
>> Benjamin Dreux
>> Analyste-Programmeur
>> Chaire de logiciel libre-Finance Social et solidaire
>> UQAM
>> Mont

Re: [qooxdoo-devel] Combined image in build

2012-04-27 Thread Benjamin Dreux
Here is the message that helped me
http://www.mail-archive.com/[email protected]/msg36411.html

basically it say to handel with care the way res path is defined, and
no include the app name space in it

Le 27 avril 2012 13:32, Benjamin Dreux  a écrit :
> Hi all
>
> I've tryed to copy the files from source directory to build directory.
> But it looks like the combined image is'nt used by the app.
>
> Any idea about this issue??
>
> regards
> Le 27 avril 2012 13:09, Benjamin Dreux  a écrit :
>> I'm using mac os, and i have installed image magick using mac port
>>
>> Here is an error i just noticed now.
>> This error ocure when i'm combinning the image
>> sh: gs: command not found
>> sh: gs: command not found
>> montage: UnableToOpenConfigureFile `type.xml' @
>> warning/configure.c/GetConfigureOptions/589.
>> montage: UnableToReadFont `(null)' @ error/annotate.c/RenderFreetype/1059.
>> montage: UnableToOpenConfigureFile `delegates.xml' @
>> warning/configure.c/GetConfigureOptions/589.
>> montage: PostscriptDelegateFailed
>> `/var/folders/Du/DuI2qp9aEFGulefGTV3J0E+++TI/-Tmp-/magick-uuEbu4Yz':
>> No such file or directory @ error/ps.c/ReadPSImage/784.
>> montage: UnableToOpenConfigureFile `colors.xml' @
>> warning/configure.c/GetConfigureOptions/589.
>>
>> But i end up with a combined image and a meta file.
>>
>> Is that possible that this error is the cause of the fact that my
>> combined image is not copyed in the build verison of my qooxdoo app???
>>
>>
>>
>>
>>
>> Le 27 avril 2012 11:06, Benjamin Dreux  a écrit :
>>> Hi Dietrich
>>>
>>> I've tried to add my combined resource.
>>> What happen is that the image (the one that combine others )is
>>> correctly copied, the .meta file is no copied along with the image.
>>>
>>> And according to what i've read on this page
>>> http://manual.qooxdoo.org/devel/pages/tool/generator_config_ref.html#combine-images
>>> This file is required for qooxdoo to use the combined image.
>>>
>>> Regards
>>> Regards
>>>
>>> Le 27 avril 2012 10:55, Dietrich Streifert
>>>  a écrit :
 Hi,

 you have to declare your images paths (assets) via an #asset macro in
 your themes Appearance.js (or similar) like this:

 /* 

  #asset(yourapp/decoration/*)

  * 
 */

 Regards.

 Am 27.04.2012 16:18, schrieb Benjamin Dreux:
> Hi
> Using the documentation i've managed to create a combined image with
> all my app images.
> But i have a new issue, the combined image is not added to the build
> version of my app, is that normal??
> Maybe i need to do it, but i prefer ask before doing.
>
> Regards
>
>
>


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 qooxdoo-devel mailing list
 [email protected]
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>>
>>> --
>>> Benjamin Dreux
>>> Analyste-Programmeur
>>> Chaire de logiciel libre-Finance Social et solidaire
>>> UQAM
>>> Montréal
>>
>>
>>
>> --
>> Benjamin Dreux
>> Analyste-Programmeur
>> Chaire de logiciel libre-Finance Social et solidaire
>> UQAM
>> Montréal
>
>
>
> --
> Benjamin Dreux
> Analyste-Programmeur
> Chaire de logiciel libre-Finance Social et solidaire
> UQAM
> Montréal



-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Combined image in build

2012-04-27 Thread Benjamin Dreux
Hi all

I've tryed to copy the files from source directory to build directory.
But it looks like the combined image is'nt used by the app.

Any idea about this issue??

regards
Le 27 avril 2012 13:09, Benjamin Dreux  a écrit :
> I'm using mac os, and i have installed image magick using mac port
>
> Here is an error i just noticed now.
> This error ocure when i'm combinning the image
> sh: gs: command not found
> sh: gs: command not found
> montage: UnableToOpenConfigureFile `type.xml' @
> warning/configure.c/GetConfigureOptions/589.
> montage: UnableToReadFont `(null)' @ error/annotate.c/RenderFreetype/1059.
> montage: UnableToOpenConfigureFile `delegates.xml' @
> warning/configure.c/GetConfigureOptions/589.
> montage: PostscriptDelegateFailed
> `/var/folders/Du/DuI2qp9aEFGulefGTV3J0E+++TI/-Tmp-/magick-uuEbu4Yz':
> No such file or directory @ error/ps.c/ReadPSImage/784.
> montage: UnableToOpenConfigureFile `colors.xml' @
> warning/configure.c/GetConfigureOptions/589.
>
> But i end up with a combined image and a meta file.
>
> Is that possible that this error is the cause of the fact that my
> combined image is not copyed in the build verison of my qooxdoo app???
>
>
>
>
>
> Le 27 avril 2012 11:06, Benjamin Dreux  a écrit :
>> Hi Dietrich
>>
>> I've tried to add my combined resource.
>> What happen is that the image (the one that combine others )is
>> correctly copied, the .meta file is no copied along with the image.
>>
>> And according to what i've read on this page
>> http://manual.qooxdoo.org/devel/pages/tool/generator_config_ref.html#combine-images
>> This file is required for qooxdoo to use the combined image.
>>
>> Regards
>> Regards
>>
>> Le 27 avril 2012 10:55, Dietrich Streifert
>>  a écrit :
>>> Hi,
>>>
>>> you have to declare your images paths (assets) via an #asset macro in
>>> your themes Appearance.js (or similar) like this:
>>>
>>> /* 
>>>
>>>  #asset(yourapp/decoration/*)
>>>
>>>  * 
>>> */
>>>
>>> Regards.
>>>
>>> Am 27.04.2012 16:18, schrieb Benjamin Dreux:
 Hi
 Using the documentation i've managed to create a combined image with
 all my app images.
 But i have a new issue, the combined image is not added to the build
 version of my app, is that normal??
 Maybe i need to do it, but i prefer ask before doing.

 Regards



>>>
>>>
>>> --
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> ___
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>>
>> --
>> Benjamin Dreux
>> Analyste-Programmeur
>> Chaire de logiciel libre-Finance Social et solidaire
>> UQAM
>> Montréal
>
>
>
> --
> Benjamin Dreux
> Analyste-Programmeur
> Chaire de logiciel libre-Finance Social et solidaire
> UQAM
> Montréal



-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Combined image in build

2012-04-27 Thread Benjamin Dreux
I'm using mac os, and i have installed image magick using mac port

Here is an error i just noticed now.
This error ocure when i'm combinning the image
sh: gs: command not found
sh: gs: command not found
montage: UnableToOpenConfigureFile `type.xml' @
warning/configure.c/GetConfigureOptions/589.
montage: UnableToReadFont `(null)' @ error/annotate.c/RenderFreetype/1059.
montage: UnableToOpenConfigureFile `delegates.xml' @
warning/configure.c/GetConfigureOptions/589.
montage: PostscriptDelegateFailed
`/var/folders/Du/DuI2qp9aEFGulefGTV3J0E+++TI/-Tmp-/magick-uuEbu4Yz':
No such file or directory @ error/ps.c/ReadPSImage/784.
montage: UnableToOpenConfigureFile `colors.xml' @
warning/configure.c/GetConfigureOptions/589.

But i end up with a combined image and a meta file.

Is that possible that this error is the cause of the fact that my
combined image is not copyed in the build verison of my qooxdoo app???





Le 27 avril 2012 11:06, Benjamin Dreux  a écrit :
> Hi Dietrich
>
> I've tried to add my combined resource.
> What happen is that the image (the one that combine others )is
> correctly copied, the .meta file is no copied along with the image.
>
> And according to what i've read on this page
> http://manual.qooxdoo.org/devel/pages/tool/generator_config_ref.html#combine-images
> This file is required for qooxdoo to use the combined image.
>
> Regards
> Regards
>
> Le 27 avril 2012 10:55, Dietrich Streifert
>  a écrit :
>> Hi,
>>
>> you have to declare your images paths (assets) via an #asset macro in
>> your themes Appearance.js (or similar) like this:
>>
>> /* 
>>
>>  #asset(yourapp/decoration/*)
>>
>>  * */
>>
>> Regards.
>>
>> Am 27.04.2012 16:18, schrieb Benjamin Dreux:
>>> Hi
>>> Using the documentation i've managed to create a combined image with
>>> all my app images.
>>> But i have a new issue, the combined image is not added to the build
>>> version of my app, is that normal??
>>> Maybe i need to do it, but i prefer ask before doing.
>>>
>>> Regards
>>>
>>>
>>>
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> --
> Benjamin Dreux
> Analyste-Programmeur
> Chaire de logiciel libre-Finance Social et solidaire
> UQAM
> Montréal



-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Combined image in build

2012-04-27 Thread Benjamin Dreux
Hi Dietrich

I've tried to add my combined resource.
What happen is that the image (the one that combine others )is
correctly copied, the .meta file is no copied along with the image.

And according to what i've read on this page
http://manual.qooxdoo.org/devel/pages/tool/generator_config_ref.html#combine-images
This file is required for qooxdoo to use the combined image.

Regards
Regards

Le 27 avril 2012 10:55, Dietrich Streifert
 a écrit :
> Hi,
>
> you have to declare your images paths (assets) via an #asset macro in
> your themes Appearance.js (or similar) like this:
>
> /* 
>
>  #asset(yourapp/decoration/*)
>
>  * */
>
> Regards.
>
> Am 27.04.2012 16:18, schrieb Benjamin Dreux:
>> Hi
>> Using the documentation i've managed to create a combined image with
>> all my app images.
>> But i have a new issue, the combined image is not added to the build
>> version of my app, is that normal??
>> Maybe i need to do it, but i prefer ask before doing.
>>
>> Regards
>>
>>
>>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Combined image in build

2012-04-27 Thread Dietrich Streifert
Hi,

you have to declare your images paths (assets) via an #asset macro in 
your themes Appearance.js (or similar) like this:

/* 

  #asset(yourapp/decoration/*)

  * */

Regards.

Am 27.04.2012 16:18, schrieb Benjamin Dreux:
> Hi
> Using the documentation i've managed to create a combined image with
> all my app images.
> But i have a new issue, the combined image is not added to the build
> version of my app, is that normal??
> Maybe i need to do it, but i prefer ask before doing.
>
> Regards
>
>
>


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel