I just did a test to see if it is something in my code that's not working
correctly by doing a make source on the feedreader application and I got the
same results. It created a feedreader.js file that just contains script
links to all the needed files, not a js file that already includes the
source code. Sebastian, anyone, what is the secret here to getting a single
file with the correct contents?
Thanks,
Jim
On 2/26/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
"Jim Hunter" <[EMAIL PROTECTED]> writes:
> I have been using .6.2 for some time now and with all the new
functionality
> being put into the new versions I thought that I would take a look at
them
> to see what things I will have to change. The first thing I noticed is
that
> I had to break my single JS file into individual class files. At first I
> didn't like this but I think in the long run it will be better for me so
I
> moved on. Then I tried to use the new skeleton method of creating my
builds.
> I was able to get everything to build with no errors so I thought I was
on
> my way to success. But then I noticed that no matter how I tried to
build I
> always got a custom.js file that was full of script includes and my
files
> were never brought together into a single file. I have read everything I
can
> find and I don't see any mention of how to build my application into a
> single (or two+ if you include the qooxdoo files that are created) file?
> Leaving my files as individual files is not an acceptable result. What
am I
> missing? What do I need to do to create a single file out of my
individual
> class files?
The distinction is between "make source" and "make build" (assuming you're
using the Makefile system). The former generates a custom.js (or whatever
name you choose to give it) that just brings in all of the individual
files by
adding a copious number of <script src="..."> tags. The latter creates a
custom.js file that itself includes all of the necessary classes, avoiding
the
need to add any <script> tags to bring in additional files.
If you're not using the Makefile system, then you'll want to look here:
http://qooxdoo.org/documentation/user_manual/custom_builds
Unless that page has been updated, I believe there are some differences
between what was documented and what exists in svn at the current
time. You
may need to ask some questions of Sebastian and Fabian, but at least that
should explain what you need to know.
Whether documented or now, there is an option (as used by the Makefile) to
include only those classes from the framework and your skeleton-derived
source
that are actually used.
Cheers,
Derrell
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel