Package org.apache.maven.scm.provider.vss.repository

Examples of org.apache.maven.scm.provider.vss.repository.VssScmProviderRepository


        assertNotNull( "The provider repository was null.", repository.getProviderRepository() );

        assertTrue( "The SCM Repository isn't a " + VssScmProviderRepository.class.getName() + ".",
                    repository.getProviderRepository() instanceof VssScmProviderRepository );

        VssScmProviderRepository providerRepository = (VssScmProviderRepository) repository.getProviderRepository();

        assertEquals( "vssdir is incorrect", expectedVssDir, providerRepository.getVssdir() );

        assertEquals( "projectPath is incorrect", expectedProjectPath, providerRepository.getProject() );

        assertEquals( "User is incorrect", expectedUser, providerRepository.getUser() );

        assertEquals( "Password is incorrect", expectedPassword, providerRepository.getPassword() );
    }
View Full Code Here


        if ( getLogger().isDebugEnabled() )
        {
            getLogger().debug( "executing status command..." );
        }

        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        Commandline cl = buildCmdLine( repo, fileSet );

        VssStatusConsumer consumer = new VssStatusConsumer( repo, getLogger(), fileSet );
View Full Code Here

        if ( getLogger().isDebugEnabled() )
        {
            getLogger().debug( "executing checkout command..." );
        }

        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        Commandline cl = buildCmdLine( repo, fileSet, version );

        VssCheckOutConsumer consumer = new VssCheckOutConsumer( repo, getLogger() );
View Full Code Here

            vssDir = tokens[0];

            project = tokens[1];
        }

        return new VssScmProviderRepository( user, password, vssDir, project );
    }
View Full Code Here

    protected ChangeLogScmResult executeChangeLogCommand( ScmProviderRepository repository, ScmFileSet fileSet,
                                                          Date startDate, Date endDate, ScmBranch branch,
                                                          String datePattern )
        throws ScmException
    {
        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        Commandline cl = buildCmdLine( repo, fileSet, startDate, endDate );

        if ( getLogger().isInfoEnabled() )
        {
View Full Code Here

        if ( getLogger().isDebugEnabled() )
        {
            getLogger().debug( "executing tag command..." );
        }

        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        Commandline cl = buildCmdLine( repo, fileSet, tagName, message );

        VssTagConsumer consumer = new VssTagConsumer( repo, getLogger() );
View Full Code Here

        if ( getLogger().isDebugEnabled() )
        {
            getLogger().debug( "executing update command..." );
        }

        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        Commandline cl = buildCmdLine( repo, fileSet, version );

        VssUpdateConsumer consumer = new VssUpdateConsumer( repo, getLogger() );
View Full Code Here

        if ( getLogger().isDebugEnabled() )
        {
            getLogger().debug( "executing checkin command..." );
        }

        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        List<Commandline> commandLines = buildCmdLine( repo, fileSet, scmVersion );

        VssCheckInConsumer consumer = new VssCheckInConsumer( repo, getLogger() );
View Full Code Here

    /** {@inheritDoc} */
    protected ScmResult executeAddCommand( ScmProviderRepository repository, ScmFileSet fileSet, String message,
                                           boolean binary )
        throws ScmException
    {
        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        if ( fileSet.getFileList().isEmpty() )
        {
            throw new ScmException( "You must provide at least one file/directory to add" );
        }
View Full Code Here

        if ( getLogger().isDebugEnabled() )
        {
            getLogger().debug( "executing checkout command..." );
        }

        VssScmProviderRepository repo = (VssScmProviderRepository) repository;

        List<Commandline> commandLines = buildCmdLine( repo, fileSet );

        VssEditConsumer consumer = new VssEditConsumer( repo, getLogger() );
View Full Code Here

TOP

Related Classes of org.apache.maven.scm.provider.vss.repository.VssScmProviderRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.