QooxDoo MingW

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

QooxDoo MingW

Leone Parise
Is it possible to use MingW instead of CigWin?

--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: QooxDoo MingW

John Spackman

It’s possible to not use the make system and cygwin at all – I’m currently having success running Win32 python directly against the generator.  I ran the make process with the command line switch to get it to output the exact commands it output rather than figure it out from scratch. 

 

John

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Leone Parise
Sent: 08 July 2008 19:27
To: qooxdoo Development
Subject: [qooxdoo-devel] QooxDoo MingW

 

Is it possible to use MingW instead of CigWin?

--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: QooxDoo MingW

Leone Parise
I installed MingW, MSYS and Python 2.5 here but it' returns a build error like "simplejson not found".

How did you do that? I need this to integrate with Eclipse and Java Ant.

Leone

2008/7/8 John Spackman <[hidden email]>:

It's possible to not use the make system and cygwin at all – I'm currently having success running Win32 python directly against the generator.  I ran the make process with the command line switch to get it to output the exact commands it output rather than figure it out from scratch. 

 

John

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Leone Parise
Sent: 08 July 2008 19:27
To: qooxdoo Development
Subject: [qooxdoo-devel] QooxDoo MingW

 

Is it possible to use MingW instead of CigWin?

--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: QooxDoo MingW

John Spackman

I used cygwin and ran make in the skeleton to check everything was working, and then edited the Makefile in the skeleton and added VERBOSE=true just before the “INTERNALS” section.  Ran make again and simply saw what it was doing for source and build targets.  This is my source.bat:

 

set QX=c:/dev/Grasshopper/Grasshopper2/WebRoot/public/qooxdoo/sdk/frontend

set QX_URI=/public/qooxdoo/sdk/frontend

 

python -t -O %QX%/framework/tool/modules/download-contrib.py --contrib-cache ""

python -t -O %QX%/framework/tool/generator.py ^

                --cache-directory %QX%/framework/.cache ^

                --version "0.7.3 " ^

                --class-path %QX%/framework/source/class/,./source/class/ ^

                --class-path "" ^

                --class-uri %QX_URI%/framework/source/class/,./class/ ^

                --class-uri "" ^

                --use-setting qx.resourceUri:%QX_URI%/framework/source/resource ^

                --use-setting custom.resourceUri:./resource  ^

                --use-setting qx.theme:qx.theme.ClassicRoyale ^

                --include qx.theme.ClassicRoyale ^

                --use-setting qx.minLogLevel:200 ^

                --use-setting qx.logAppender:qx.log.appender.Native ^

                --use-setting qx.application:custom.Application ^

                --include "*" ^

                --add-new-lines ^

                --add-file-ids ^

                --add-require qx.log.Logger:qx.log.appender.Native ^

                --generate-source-script ^

                --source-script-file ./source/script/custom.js

 

And this is my build.bat:

 

set QX=c:/dev/Grasshopper/Grasshopper2/WebRoot/public/qooxdoo/sdk/frontend

set QX_URI=/public/qooxdoo/sdk/frontend

 

python -t -O %QX%/framework/tool/modules/download-contrib.py --contrib-cache ""

python -t -O %QX%/framework/tool/generator.py ^

                --cache-directory %QX%/framework/.cache --version "0.7.3 " ^

--class-path %QX%/framework/source/class,./source/class --class-path "" ^

                --copy-resources ^

                --resource-input %QX%/framework/source/resource ^

                --resource-output ./build/resource/qx ^

                --resource-input ./source/resource ^

                --resource-output ./build/resource/custom ^

                --use-setting qx.resourceUri:./resource/qx ^

                --use-setting custom.resourceUri:./resource/custom ^

                --use-setting qx.theme:qx.theme.ClassicRoyale ^

                --include qx.theme.ClassicRoyale ^

                --use-setting qx.minLogLevel:200 ^

                --use-setting qx.logAppender:qx.log.appender.Native ^

                --use-setting qx.application:custom.Application ^

                --use-variant qx.deprecationWarnings:off ^

                --use-variant qx.debug:off ^

                --use-variant qx.compatibility:on ^

                --use-variant qx.aspects:off ^

                --include custom.Application ^

                --include qx.locale.data.C ^

                --include qx.locale.translation.C ^

                --include custom.translation.C ^

                --optimize-strings ^

                --optimize-variables ^

                --optimize-base-call ^

                --add-new-lines ^

                --add-file-ids ^

                --add-require qx.log.Logger:qx.log.appender.Native ^

                --generate-compiled-script ^

                --compiled-script-file ./build/script/custom.js

 

Apart from adding in environment variables to keep the script readable, it’s a copy & paste from the output of make.

 

John

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Leone Parise
Sent: 08 July 2008 20:16
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] QooxDoo MingW

 

I installed MingW, MSYS and Python 2.5 here but it' returns a build error like "simplejson not found".

How did you do that? I need this to integrate with Eclipse and Java Ant.

Leone

2008/7/8 John Spackman <[hidden email]>:

It's possible to not use the make system and cygwin at all – I'm currently having success running Win32 python directly against the generator.  I ran the make process with the command line switch to get it to output the exact commands it output rather than figure it out from scratch. 

 

John

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Leone Parise
Sent: 08 July 2008 19:27
To: qooxdoo Development
Subject: [qooxdoo-devel] QooxDoo MingW

 

Is it possible to use MingW instead of CigWin?

--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: QooxDoo MingW

Leone Parise
Tank's a lot!!!

2008/7/8 John Spackman <[hidden email]>:

I used cygwin and ran make in the skeleton to check everything was working, and then edited the Makefile in the skeleton and added VERBOSE=true just before the "INTERNALS" section.  Ran make again and simply saw what it was doing for source and build targets.  This is my source.bat:

 

set QX=c:/dev/Grasshopper/Grasshopper2/WebRoot/public/qooxdoo/sdk/frontend

set QX_URI=/public/qooxdoo/sdk/frontend

 

python -t -O %QX%/framework/tool/modules/download-contrib.py --contrib-cache ""

python -t -O %QX%/framework/tool/generator.py ^

                --cache-directory %QX%/framework/.cache ^

                --version "0.7.3 " ^

                --class-path %QX%/framework/source/class/,./source/class/ ^

                --class-path "" ^

                --class-uri %QX_URI%/framework/source/class/,./class/ ^

                --class-uri "" ^

                --use-setting qx.resourceUri:%QX_URI%/framework/source/resource ^

                --use-setting custom.resourceUri:./resource  ^

                --use-setting qx.theme:qx.theme.ClassicRoyale ^

                --include qx.theme.ClassicRoyale ^

                --use-setting qx.minLogLevel:200 ^

                --use-setting qx.logAppender:qx.log.appender.Native ^

                --use-setting qx.application:custom.Application ^

                --include "*" ^

                --add-new-lines ^

                --add-file-ids ^

                --add-require qx.log.Logger:qx.log.appender.Native ^

                --generate-source-script ^

                --source-script-file ./source/script/custom.js

 

And this is my build.bat:

 

set QX=c:/dev/Grasshopper/Grasshopper2/WebRoot/public/qooxdoo/sdk/frontend

set QX_URI=/public/qooxdoo/sdk/frontend

 

python -t -O %QX%/framework/tool/modules/download-contrib.py --contrib-cache ""

python -t -O %QX%/framework/tool/generator.py ^

                --cache-directory %QX%/framework/.cache --version "0.7.3 " ^

--class-path %QX%/framework/source/class,./source/class --class-path "" ^

                --copy-resources ^

                --resource-input %QX%/framework/source/resource ^

                --resource-output ./build/resource/qx ^

                --resource-input ./source/resource ^

                --resource-output ./build/resource/custom ^

                --use-setting qx.resourceUri:./resource/qx ^

                --use-setting custom.resourceUri:./resource/custom ^

                --use-setting qx.theme:qx.theme.ClassicRoyale ^

                --include qx.theme.ClassicRoyale ^

                --use-setting qx.minLogLevel:200 ^

                --use-setting qx.logAppender:qx.log.appender.Native ^

                --use-setting qx.application:custom.Application ^

                --use-variant qx.deprecationWarnings:off ^

                --use-variant qx.debug:off ^

                --use-variant qx.compatibility:on ^

                --use-variant qx.aspects:off ^

                --include custom.Application ^

                --include qx.locale.data.C ^

                --include qx.locale.translation.C ^

                --include custom.translation.C ^

                --optimize-strings ^

                --optimize-variables ^

                --optimize-base-call ^

                --add-new-lines ^

                --add-file-ids ^

                --add-require qx.log.Logger:qx.log.appender.Native ^

                --generate-compiled-script ^

                --compiled-script-file ./build/script/custom.js

 

Apart from adding in environment variables to keep the script readable, it's a copy & paste from the output of make.

 

John

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Leone Parise
Sent: 08 July 2008 20:16
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] QooxDoo MingW

 

I installed MingW, MSYS and Python 2.5 here but it' returns a build error like "simplejson not found".

How did you do that? I need this to integrate with Eclipse and Java Ant.

Leone

2008/7/8 John Spackman <[hidden email]>:

It's possible to not use the make system and cygwin at all – I'm currently having success running Win32 python directly against the generator.  I ran the make process with the command line switch to get it to output the exact commands it output rather than figure it out from scratch. 

 

John

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Leone Parise
Sent: 08 July 2008 19:27
To: qooxdoo Development
Subject: [qooxdoo-devel] QooxDoo MingW

 

Is it possible to use MingW instead of CigWin?

--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




--
Leone Parise.
Sun Certified Java Programmer 1.5
J2EE, XHTML, CSS, AJAX
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: QooxDoo MingW

thron7
You can indeed fall back to a vanilla win32 Python for most of the build
tasks. The generator itself usually runs just fine with it. If you have
a GNU-like environment to find out what's happening, it usually suffice
to use the '-n' switch to make (like in 'make -n source' etc.). This
will not run the commands but rather echo them to the command line so
you get the same effect as with "VERBOSE=true".

MingW is essentially the GNU compiler tools, but since we are not
compiling C/C++/... code, you don't need that at all. MSYS (part of
MingW) might be more of a help, it's just a collection of shell tools.
If you e.g. what to achieve the full equivalent of 'make build' command,
these might be of help since there are also mundane tasks involved like
copying files around which uses some shell utility (for a list of
dependencies see
http://qooxdoo.org/documentation/0.7/installing_cygwin). But of course
you can achieve the same effect with 'copy', 'robocopy' and the likes.

You shouldn't have any problems with simplejson since it is part of the
qooxdoo SDK and our scripts should find it automatically. Please get
back if this issue persists.

I'd like to point out that in the upcoming 0.8 version of qooxdoo we
strive to get rid of most - if not all - of the shell tool dependencies,
and provide a build environment that depends on Python alone - be it the
win32 or cygwin version of it :).

Thomas

> Tank's a lot!!!
>
> 2008/7/8 John Spackman <[hidden email]
> <mailto:[hidden email]>>:
>
>     I used cygwin and ran make in the skeleton to check everything was
>     working, and then edited the Makefile in the skeleton and added
>     VERBOSE=true just before the "INTERNALS" section.  Ran make again
>     and simply saw what it was doing for source and build targets.
>     This is my source.bat:
>
>      
>
>     set
>     QX=c:/dev/Grasshopper/Grasshopper2/WebRoot/public/qooxdoo/sdk/frontend
>
>     set QX_URI=/public/qooxdoo/sdk/frontend
>
>      
>
>     python -t -O %QX%/framework/tool/modules/download-contrib.py
>     --contrib-cache ""
>
>     python -t -O %QX%/framework/tool/generator.py ^
>
>                     --cache-directory %QX%/framework/.cache ^
>
>                     --version "0.7.3 " ^
>
>                     --class-path
>     %QX%/framework/source/class/,./source/class/ ^
>
>                     --class-path "" ^
>
>                     --class-uri
>     %QX_URI%/framework/source/class/,./class/ ^
>
>                     --class-uri "" ^
>
>                     --use-setting
>     qx.resourceUri:%QX_URI%/framework/source/resource ^
>
>                     --use-setting custom.resourceUri:./resource  ^
>
>                     --use-setting qx.theme:qx.theme.ClassicRoyale ^
>
>                     --include qx.theme.ClassicRoyale ^
>
>                     --use-setting qx.minLogLevel:200 ^
>
>                     --use-setting qx.logAppender:qx.log.appender.Native ^
>
>                     --use-setting qx.application:custom.Application ^
>
>                     --include "*" ^
>
>                     --add-new-lines ^
>
>                     --add-file-ids ^
>
>                     --add-require qx.log.Logger:qx.log.appender.Native ^
>
>                     --generate-source-script ^
>
>                     --source-script-file ./source/script/custom.js
>
>      
>
>     And this is my build.bat:
>
>      
>
>     set
>     QX=c:/dev/Grasshopper/Grasshopper2/WebRoot/public/qooxdoo/sdk/frontend
>
>     set QX_URI=/public/qooxdoo/sdk/frontend
>
>      
>
>     python -t -O %QX%/framework/tool/modules/download-contrib.py
>     --contrib-cache ""
>
>     python -t -O %QX%/framework/tool/generator.py ^
>
>                     --cache-directory %QX%/framework/.cache --version
>     "0.7.3 " ^
>
>     --class-path %QX%/framework/source/class,./source/class
>     --class-path "" ^
>
>                     --copy-resources ^
>
>                     --resource-input %QX%/framework/source/resource ^
>
>                     --resource-output ./build/resource/qx ^
>
>                     --resource-input ./source/resource ^
>
>                     --resource-output ./build/resource/custom ^
>
>                     --use-setting qx.resourceUri:./resource/qx ^
>
>                     --use-setting custom.resourceUri:./resource/custom ^
>
>                     --use-setting qx.theme:qx.theme.ClassicRoyale ^
>
>                     --include qx.theme.ClassicRoyale ^
>
>                     --use-setting qx.minLogLevel:200 ^
>
>                     --use-setting qx.logAppender:qx.log.appender.Native ^
>
>                     --use-setting qx.application:custom.Application ^
>
>                     --use-variant qx.deprecationWarnings:off ^
>
>                     --use-variant qx.debug:off ^
>
>                     --use-variant qx.compatibility:on ^
>
>                     --use-variant qx.aspects:off ^
>
>                     --include custom.Application ^
>
>                     --include qx.locale.data.C ^
>
>                     --include qx.locale.translation.C ^
>
>                     --include custom.translation.C ^
>
>                     --optimize-strings ^
>
>                     --optimize-variables ^
>
>                     --optimize-base-call ^
>
>                     --add-new-lines ^
>
>                     --add-file-ids ^
>
>                     --add-require qx.log.Logger:qx.log.appender.Native ^
>
>                     --generate-compiled-script ^
>
>                     --compiled-script-file ./build/script/custom.js
>
>      
>
>     Apart from adding in environment variables to keep the script
>     readable, it's a copy & paste from the output of make.
>
>      
>
>     John
>
>      
>
>     *From:* [hidden email]
>     <mailto:[hidden email]>
>     [mailto:[hidden email]
>     <mailto:[hidden email]>] *On Behalf
>     Of *Leone Parise
>     *Sent:* 08 July 2008 20:16
>     *To:* qooxdoo Development
>     *Subject:* Re: [qooxdoo-devel] QooxDoo MingW
>
>      
>
>     I installed MingW, MSYS and Python 2.5 here but it' returns a
>     build error like "simplejson not found".
>
>     How did you do that? I need this to integrate with Eclipse and
>     Java Ant.
>
>     Leone
>
>     2008/7/8 John Spackman <[hidden email]
>     <mailto:[hidden email]>>:
>
>     It's possible to not use the make system and cygwin at all – I'm
>     currently having success running Win32 python directly against the
>     generator.  I ran the make process with the command line switch to
>     get it to output the exact commands it output rather than figure
>     it out from scratch.
>
>      
>
>     John
>
>      
>
>     *From:* [hidden email]
>     <mailto:[hidden email]>
>     [mailto:[hidden email]
>     <mailto:[hidden email]>] *On Behalf
>     Of *Leone Parise
>     *Sent:* 08 July 2008 19:27
>     *To:* qooxdoo Development
>     *Subject:* [qooxdoo-devel] QooxDoo MingW
>
>      
>
>     Is it possible to use MingW instead of CigWin?
>
>     --
>     Leone Parise.
>     Sun Certified Java Programmer 1.5
>     J2EE, XHTML, CSS, AJAX
>
>
>     -------------------------------------------------------------------------
>     Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
>     Studies have shown that voting for your favorite open source project,
>     along with a healthy diet, reduces your potential for chronic lameness
>     and boredom. Vote Now at http://www.sourceforge.net/community/cca08
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
>
>     --
>     Leone Parise.
>     Sun Certified Java Programmer 1.5
>     J2EE, XHTML, CSS, AJAX
>
>
>     -------------------------------------------------------------------------
>     Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
>     Studies have shown that voting for your favorite open source project,
>     along with a healthy diet, reduces your potential for chronic lameness
>     and boredom. Vote Now at http://www.sourceforge.net/community/cca08
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
>
> --
> Leone Parise.
> Sun Certified Java Programmer 1.5
> J2EE, XHTML, CSS, AJAX
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>  


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel