ICEfaces
  1. ICEfaces
  2. ICE-1031

Common Applicaiton build scripts always cleans before a build

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.2
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      This is just a request for an enhancement to the build-common.xml. The build
      script are great but I wonder if it would be possible not to have ant call clean
      before the build. On really big projects it can take quite a lot of time to
      rebuild after a clean especially if only one or two source files have changes.

      With this enhancement would it be possible for ant to only compile source code
      that has been modified?

        Activity

        Hide
        yip.ng added a comment -

        Verified.

        Show
        yip.ng added a comment - Verified.
        Hide
        yip.ng added a comment -

        Modified: svn-repo\icefaces\samples\etc\build-common.xml
        Sending content: svn-repo\icefaces\samples\etc\build-common.xml
        Completed: At revision: 12400

        From the Ant manual:

        The source and destination directory will be recursively scanned for Java
        source files to compile. Only Java files that have no corresponding .class
        file or where the class file is older than the .java file will be compiled.

        Note: Ant uses only the names of the source and class files to find the
        classes that need a rebuild. It will not scan the source and therefore will
        have no knowledge about nested classes, classes that are named different from
        the source file, and so on. See the <depend> task for dependency checking
        based on other than just existence/modification times.

        Show
        yip.ng added a comment - Modified: svn-repo\icefaces\samples\etc\build-common.xml Sending content: svn-repo\icefaces\samples\etc\build-common.xml Completed: At revision: 12400 From the Ant manual: The source and destination directory will be recursively scanned for Java source files to compile. Only Java files that have no corresponding .class file or where the class file is older than the .java file will be compiled. Note: Ant uses only the names of the source and class files to find the classes that need a rebuild. It will not scan the source and therefore will have no knowledge about nested classes, classes that are named different from the source file, and so on. See the <depend> task for dependency checking based on other than just existence/modification times.

          People

          • Assignee:
            yip.ng
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: