One of the issues I see in the current Xap code base is related to the
structure in SVN.  Currently there is no separation along functional
lines, everything is just under trunk and when the build runs different
tasks, those tasks create even more top level directories.  

I would like to restructure the code in the following way:

buildsystem - all build related stuff
        buildscripts
        doc
        jsDoc
        seed
        tools
        build.bat
        build.xml
        build-manufacturing.xml - contains code to create zip and
tarball of a basic application
        build-profiling.xml - contains code to inject profiling in the
codebase for performance tuning.

codebase - all source, css, and images in this directory
        src
        css

samples - any samples
        WebContent - Probably needs a better name

unittests - all jsunit related test and jsunit distro
        jsunit
        testsrc
        jsunit-server-properties.xml - This might be better with the
other build.xml files

.dist - all build created resource will be placed in this directory.
Build tasks should not create top level or lower level directories.

Other enhancements:

* I have also added the ability to create a single zip file with a basic
application that people can deploy to get started.
* Cleaned up the build.xml to be more properties based making it easier
to change.
* Added ability to performance profile the complete code base.

Let me have it... with any feedback

Bob (Buffone)

Reply via email to