public static void main()

in src/main/java/org/apache/openejb/tools/release/cmd/Tck.java [48:75]


    public static void main(final String... args) throws Exception {

        // https://svn.apache.org/repos/tck/openejb-tck/branches/tomee-1.0.0-beta-2

        final File dir = new File("/tmp/release/tck");
        Files.mkdir(dir);

        cd(dir);

        final String branch = Release.tckBranches + Release.tomeeVersionName;

        // Make the branch
        if (exec("svn", "info", branch) != 0) {

            exec("svn", "-m", format("[release-tools] tck branch for %s", Release.tomeeVersionName), "cp", Release.tckTrunk.toString(), branch);
        }

        // Checkout the branch
        exec("svn", "co", branch);

        final File tck = cd(new File(dir + "/" + Release.tomeeVersionName));

        updatePom(Release.staging, new File(tck, "pom.xml"));

        updateWebProfile(branch, tck, Release.tomeeVersion);

        exec("svn", "-m", "[release-tools] update staging repo for " + Release.tomeeVersionName, "ci");
    }