Subversion Repositories DevTools

Rev

Rev 7051 | Rev 7070 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7051 Rev 7052
Line 890... Line 890...
890
     *  
890
     *  
891
     * @throws Exception
891
     * @throws Exception
892
     * @throws SQLException
892
     * @throws SQLException
893
     */
893
     */
894
    private void planBuildOrder() throws Exception, SQLException {
894
    private void planBuildOrder() throws Exception, SQLException {
-
 
895
        
-
 
896
//TODO - Planing is not working well
-
 
897
/**
-
 
898
 * Current status
-
 
899
 * The selection of the package to build next is deeply flawed
-
 
900
 * Currently it will select a ripple over a directly planned package - thus the unit tests are not working
-
 
901
 * The current algorithm is based on time - but all packages have zero build time ( in UTF )
-
 
902
 * Even if this is fixed the algorithm is broken as we will select the complete build with the shortest time
-
 
903
 * which will be the ripple of a leaf package ( perhaps that is good )
-
 
904
 * 
-
 
905
 * Also:
-
 
906
 *      Need to include all packages that we can now build into the final build plan, not just the first one and its build tree
-
 
907
 * 
-
 
908
 *      Need to generate a single package set - so that WIPS and others replace those in the final build set
-
 
909
 *      Remove duplicates from the complete package set
-
 
910
 *      
-
 
911
 *      Need more test cases
-
 
912
 *      
-
 
913
 *      Need to report all build options, not just the selected one
-
 
914
 *      
-
 
915
 *      Cleanup the ANT build file - don't list all the release dependencies, just those needed to build the current package
-
 
916
 */
895
 
917
 
896
        // Process remaining packages which are need to be reproduced for this baseline.
918
        // Process remaining packages which are need to be reproduced for this baseline.
897
        //    Determine the build file for each package
919
        //    Determine the build file for each package
898
        //    For daemon builds:
920
        //    For daemon builds:
899
        //      Determine the next package that can be built now
921
        //      Determine the next package that can be built now