Index: lib/ant-contrib-1.0b3.jar =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: lib/ant-contrib-1.0b3.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Index: antHelp.txt =================================================================== --- antHelp.txt (revision 0) +++ antHelp.txt (revision 0) @@ -0,0 +1,38 @@ +Introduction: +-------------------------------------------------------------------------------- +This file, ./docs/antHelp.txt, provides some default help text for the Fluid +ant build. The build.xml is configured to print this file by default in the +case where no other specific target is specified. + + +Other help with our build file: +-------------------------------------------------------------------------------- +Type "ant -p" to see a list of ant targets and the descriptions of those targets +as recorded directly in the build.xml file. + + +Running the targets: +-------------------------------------------------------------------------------- +Your run the targets by specifying the specific target to the GUI in which you +are running Ant (Eclipse is highly recommended) or by invoking ant with the name +of the desired task as the first argument. + +Example: + ant build -Dcomponents=FluidAll -DJSAll=true //Build all Fluid components and all JS libs + ant build -Dcomponents=Reorderer -DJSAll=true //Build Reorderer component and jQuery libs + ant build -Dcomponents=InlineEdit -DJSAll=false //Build InlineEdit component but no jQuery libs + ant build -Dcomponents="Reorderer InlineEdit" -DJSAll=true + //Build myFluid with Reorderer and InlineEdit components and jQuery libs + + +Available targets: +-------------------------------------------------------------------------------- +"help" - The target that prints this file +"build" - The target for building Fluid project +"clean" - The target to clean the build environment + +Available parameters: +-------------------------------------------------------------------------------- +"components" - A list of components in the Fluid build, the default is FluidAll. + The available components: Fluid, Reorderer, InlineEdit, Pager, and Uploader +"JSAll" - Include all jQuery javascript library when set to true and true is the default Index: build.properties =================================================================== --- build.properties (revision 5994) +++ build.properties (working copy) @@ -12,4 +12,11 @@ fluid_renderer_order_of_dependencies=fastXmlPull.js,fluidParser.js,fluidRenderer.js -excludeFromJSLint=**/jquery*/,**/json*/ \ No newline at end of file +excludeFromJSLint=**/jquery*/,**/json*/ + + +fluid_basic=Fluid.js +fluid_InlineEdit=InlineEdit.js +fluid_Pager=Pager.js +fluid_Reorderer=FluidDOMUtilities.js,GeometricManager.js,Reorderer.js +fluid_Uploader=Uploader.js Index: build.xml =================================================================== --- build.xml (revision 5994) +++ build.xml (working copy) @@ -2,9 +2,14 @@ To build a distribution, type: ant To jsLint all source code in the source directory, type: ant validate To jsLint source code within a specific directory, type: ant validate -Dlint="../some/folder" +Current, this build.xml supports Reorderer, InlineEdit, Pager, and Uploader Fluid components. +If a new component is added, the following files need to be updated: +antHelp.txt: the new component added to the help content +build.properties: the dependent js files added to the component list +build.xml: the new component js files in the for list and in the switch-case --> - + Build a distributable package of Fluid components. @@ -55,9 +60,65 @@ classname="net.happygiraffe.jslint.ant.JSLintTask" classpath="${jslint}" /> - - + + + + + + + + + + + + component is set to "${components}". + + + + + + + build myFluid + + + + + build ${components} + + + + + + + + components is NOT set, and set it to default ${components}. + + + + + + JSAll is set to "${JSAll}". + + + + JSAll is NOT set, and set it to ${JSAll}. + + + + + + + + + + + + @@ -127,9 +188,103 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -146,7 +301,7 @@ - +