FLUID-3407: Refactor the Infusion Ant build scripts to avoid the need for minifying during each build.

Metadata

Source
FLUID-3407
Type
Sub-task
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Michelle D'Souza
Reporter
Laurel Williams
Created
2009-12-04T09:57:28.000-0500
Updated
2013-09-06T14:03:59.533-0400
Versions
N/A
Fixed Versions
  1. 1.2
Component
  1. Infusion Builder

Description

At the moment, the Infusion ant build scripts require the minification step mid-way through the build process, meaning that we need to minify the source code every time someone asks for a custom build. To support a more performant Builder, we need to move the minification step out so that it can be done once upon deployment of the Builder, rather than each time a build is requested.

This will require substantial refactoring to the Infusion ant build scripts, which will we release as a micro 1.1.2.1 version.

Comments

  • Laurel Williams commented 2009-12-04T09:59:26.000-0500

    The builder currently uses the ant scripts to do minification as part of the building process. It may be possible to move the minification step into the deploy process, which would mean a single minification step rather than minification during every build.

  • Colin Clark commented 2009-12-04T18:00:10.000-0500

    Bug Parade Builder 1.1.2

  • Laurel Williams commented 2009-12-07T16:19:08.000-0500

    Attached is patch FLUID-3407-1.patch.txt which addresses this issue. It required quite a bit of re-factoring of the build scripts and should be tested by the reviewer. I have tested in a windows environment, but will need to test again in a unix environment. Am posting the patch so this can happen at the same time.

    In addition, several tasks will result if this patch is accepted. I will create issues for these and linked them to this issue.

  • Laurel Williams commented 2009-12-08T11:03:06.000-0500

    I corrected a typo that was making the dailyBuild target fail.

  • Michelle D'Souza commented 2009-12-10T14:16:00.000-0500

    We decided that we should use this opportunity to improve our build scripts. I'm reworking the structure of the build files - the top level targets won't change.

  • Michelle D'Souza commented 2009-12-10T14:20:44.000-0500

    FLUID-3407-3.patch is the start of the refactoring of the build scripts. The customBuild target is working except for minify.

  • Michelle D'Souza commented 2009-12-10T17:23:23.000-0500

    FLUID-3407-4.patch continues the refactoring of the build scripts. the main parts of customBuild, builderBuild and dailyBuild work but the results need to be tested.

  • Michelle D'Souza commented 2009-12-13T15:26:24.000-0500

    FLUID-3407-5.patch has the releaseBuilds target working. I also started some clean up of the build file.

  • Michelle D'Souza commented 2009-12-14T11:02:01.000-0500

    FLUID-3407-6.patch has the infusion all target working. Still need to clean up the patch and test properly.

  • Michelle D'Souza commented 2009-12-14T13:52:29.000-0500

    FLUID-3407-7.patch is cleaned up and ready for testing

  • Colin Clark commented 2009-12-15T11:09:01.000-0500

    We also need to create a 1.1.2.x maintenance branch for the upcoming 1.1.2.1 "un-release."

  • Michelle D'Souza commented 2009-12-16T12:24:20.000-0500

    This issue is ready for review. There are bugs relating to the refactoring but they don't affect the needs of the builder.