Rahul,

Thanks for the suggestion I will look into supporting maven in the new
build system.

Bob

-----Original Message-----
From: Rahul Thakur [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 11, 2007 12:02 AM
To: [email protected]
Subject: Re: New Source Structure

Could I suggest considering Maven at this point when you are thinking 
about re-organizing sources?
http://maven.apache.org/maven-features.html

My motivation behind this suggestion is from a user's perspective. Maven

uses a 'convention over configuration' approach and makes it much easier

and fun to run builds and maintain a project, IMHO. I think it would be 
nice to see XAP build artifacts published to a central repository that 
can be used by projects by using Maven's dependency management.

Cheers,

Rahul


----- Original Message ----- 
From: "Bob Buffone" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 02, 2007 1:56 PM
Subject: New Source Structure



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