Subversion Repositories DevTools

Rev

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

Rev 7341 Rev 7345
Line 571... Line 571...
571
        // jats -buildfilter aaa,bbb,ccc -locatefile=.jats.packageroot build buildinfo -buildinfo=file
571
        // jats -buildfilter aaa,bbb,ccc -locatefile=.jats.packageroot build buildinfo -buildinfo=file
572
        command.init("jats" );
572
        command.init("jats" );
573
        command.add( "-buildfilter", buildFilter.toString());
573
        command.add( "-buildfilter", buildFilter.toString());
574
        addCommandLocate();
574
        addCommandLocate();
575
        
575
        
576
        if (buildStandard == BuildStandards.JATS )
576
        if (packageStandard == BuildStandards.ANT )
577
        {
-
 
578
            command.add( "build", "buildinfo" );
-
 
579
        }
-
 
580
        else if (buildStandard == BuildStandards.ANT )
-
 
581
        {
577
        {
582
            command.add( "etool", "antBuildInfo" );
578
            command.add( "etool", "antBuildInfo" );
583
            command.add( "-java=" + javaVersion.getJavaVersion() );
579
            command.add( "-java=" + javaVersion.getJavaVersion() );
-
 
580
        } else
584
 
581
        {
-
 
582
            command.add( "build", "buildinfo" );    
585
        }
583
        }
586
        command.add( "-buildinfo=" + buildInfo.getAbsolutePath() );
584
        command.add( "-buildinfo=" + buildInfo.getAbsolutePath() );
587
 
585
 
588
        runCommand( "Failure to generate BuildInfo" );
586
        runCommand( "Failure to generate BuildInfo" );
589
    }
587
    }