Subversion Repositories DevTools

Rev

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

Rev 325 Rev 331
Line 1382... Line 1382...
1382
    #
1382
    #
1383
    #   Jats/make does not handle file systems with spaces in the path names
1383
    #   Jats/make does not handle file systems with spaces in the path names
1384
    #
1384
    #
1385
    Error('$CWD path cannot contain spaces') if ( $CWD =~ m/\s/ );
1385
    Error('$CWD path cannot contain spaces') if ( $CWD =~ m/\s/ );
1386
 
1386
 
1387
    $RESULT = System ($GBE_PERL, $build_file, $CWD, "$GBE_TOOLS/buildlib.pl", "--project", @_ );
1387
    $RESULT = System ($GBE_PERL, $build_file, $CWD, @_ );
1388
 
1388
 
1389
    Message ("=== Build $name NOT complete ===") if     ( $RESULT  );
1389
    Message ("=== Build $name NOT complete ===") if     ( $RESULT  );
1390
    Message ("=== Build $name complete ===")     unless ( $RESULT );
1390
    Message ("=== Build $name complete ===")     unless ( $RESULT );
1391
    return $RESULT
1391
    return $RESULT
1392
}
1392
}
Line 1415... Line 1415...
1415
    }
1415
    }
1416
    elsif ( $make_args[0] && $make_args[0] eq 'BUILD' )
1416
    elsif ( $make_args[0] && $make_args[0] eq 'BUILD' )
1417
    {
1417
    {
1418
        Verbose ("Makeit build") ;
1418
        Verbose ("Makeit build") ;
1419
        $msg = "Component not built";
1419
        $msg = "Component not built";
1420
        build();
1420
        build('-noforce');
1421
        shift @make_args;
1421
        shift @make_args;
1422
    }
1422
    }
1423
 
1423
 
1424
    unless ( $RESULT )
1424
    unless ( $RESULT )
1425
    {
1425
    {
Line 1939... Line 1939...
1939
    etool ( 'jmake.pl', 'clobber' )
1939
    etool ( 'jmake.pl', 'clobber' )
1940
        if ( -f "Makefile.gbe" );
1940
        if ( -f "Makefile.gbe" );
1941
 
1941
 
1942
    if ( -f $build_file )
1942
    if ( -f $build_file )
1943
    {
1943
    {
1944
        System ( $GBE_PERL, $build_file, $CWD, "$GBE_TOOLS/buildlib.pl", 'clobber' );
1944
        System ( $GBE_PERL, $build_file, $CWD, 'clobber' );
1945
    }
1945
    }
1946
    else
1946
    else
1947
    {
1947
    {
1948
        Error ("Cannot clobber. No buildfile found");
1948
        Error ("Cannot clobber. No buildfile found");
1949
    }
1949
    }
Line 2083... Line 2083...
2083
    -java=version       - Alters java version used (1.4, 1.5)
2083
    -java=version       - Alters java version used (1.4, 1.5)
2084
    -time               - Time build and compile times
2084
    -time               - Time build and compile times
2085
    -version=xxx        - Use specified version of JATS
2085
    -version=xxx        - Use specified version of JATS
2086
    -[no]exportvars     - Export sanitised JATS EnvVars (default)
2086
    -[no]exportvars     - Export sanitised JATS EnvVars (default)
2087
 
2087
 
2088
 Where command is one of:
2088
 Common commands include:
2089
    build               - Rebuild the sandbox and makefiles
2089
    build               - Rebuild the sandbox and makefiles
2090
    make                - Make one or more components
2090
    make                - Make one or more components
2091
    ant                 - Invoke an ant build
2091
    ant                 - Invoke an ant build
2092
    abt [-java=xxx]     - Invoke the auto build tool
2092
    abt [-java=xxx]     - Invoke the auto build tool
2093
    install             - Install package into local_dpkg_archive
2093
    install             - Install package into local_dpkg_archive
Line 2106... Line 2106...
2106
    etool name          - Run internal tool
2106
    etool name          - Run internal tool
2107
    eprog name          - Run external tool
2107
    eprog name          - Run external tool
2108
    ebin name           - Run JATS binary tool
2108
    ebin name           - Run JATS binary tool
2109
 
2109
 
2110
 Shortcut commands. Composites of basic commands
2110
 Shortcut commands. Composites of basic commands
2111
    all [opt]           - Same as a "build" and "make all"
2111
    all [opt]           - Same as a "build -noforce" and "make all"
2112
    go  [opt]           - Same as a "make all"
2112
    go  [opt]           - Same as a "make all"
2113
    debug [tgt]         - Same as "make debug package_debug"
2113
    debug [tgt]         - Same as "make debug package_debug"
2114
    prod  [tgt]         - Same as "make prod package_prod"
2114
    prod  [tgt]         - Same as "make prod package_prod"
2115
    clean               - Same as "make clean"
2115
    clean               - Same as "make clean"
2116
    clobber             - Same as "build clobber"
2116
    clobber             - Same as "build clobber"