Examples of repositoryId()


Examples of com.sun.tools.corba.se.idl.ExceptionEntry.repositoryID()

          firstExc = false;
        }
        else
          stream.print(FOUR_INDENT + "else if ");

        stream.println( "(_id.equals (\"" + exc.repositoryID ().ID () + "\"))");
        stream.println (FIVE_INDENT + "throw " +
            Util.helperName ((SymtabEntry)exc, false) + ".read ($in);");
      }
      stream.println(FOUR_INDENT + "else");
      stream.println(FIVE_INDENT + "throw new org.omg.CORBA.MARSHAL (_id);");
View Full Code Here

Examples of com.sun.tools.corba.se.idl.SymtabEntry.repositoryID()

        if (mType instanceof ValueEntry || mType instanceof ValueBoxEntry)
          // OBV spec is silent on defining VersionSpec for valuetype RepIds
          version = "\"\"";
        else
        {
          String id = mType.repositoryID ().ID ();
          version = '"' + id.substring (id.lastIndexOf (':')+1) + '"';
        }
      }
      else
      {
View Full Code Here

Examples of com.sun.tools.corba.se.idl.ValueEntry.repositoryID()

       ValueEntry child = v;
       while (child.isSafe ())
       {
        stream.println(",");
        ValueEntry parent = (ValueEntry)child.derivedFrom ().elementAt (0);
        stream.print("    \"" + Util.stripLeadingUnderscoresFromID (parent.repositoryID ().ID ()) + "\"");
        child = parent;
      }
      stream.println();
      stream.println("  };");
      stream.println();
View Full Code Here

Examples of com.sun.tools.corba.se.idl.ValueEntry.repositoryID()

      ValueEntry child = (ValueEntry) entry;
      while (child.isSafe ())
      {
        stream.println(",");
        ValueEntry parent = (ValueEntry)child.derivedFrom ().elementAt (0);
        stream.print("    \"" + Util.stripLeadingUnderscoresFromID (parent.repositoryID ().ID ()) + "\"");
        child = parent;
      }
      stream.println("   };");
    }
    stream.println ();
View Full Code Here

Examples of org.sonatype.nexus.plugins.p2.repository.P2MetadataGeneratorConfiguration.repositoryId()

  }

  @Test
  public void Test_NEXUS_5995() throws IOException, NoSuchRepositoryException {
    P2MetadataGeneratorConfiguration config = mock(P2MetadataGeneratorConfiguration.class);
    when(config.repositoryId()).thenReturn("mockId");
    Repository repo = mock(Repository.class);
    DefaultFSLocalRepositoryStorage local = mock(DefaultFSLocalRepositoryStorage.class);
    when(local.getFileFromBase(any(Repository.class), any(ResourceStoreRequest.class))).thenReturn(tempFile);
    when(repo.getLocalStorage()).thenReturn(local);
    when(repo.getId()).thenReturn("mockId");
View Full Code Here

Examples of org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregatorConfiguration.repositoryId()

    if (configuration == null) {
      return;
    }
    logger.debug("Updating P2 repository artifacts (update) for [{}:{}]", item.getRepositoryId(), item.getPath());
    try {
      final Repository repository = repositories.getRepository(configuration.repositoryId());
      final RepositoryItemUid p2RepoUid = repository.createUid(P2_REPOSITORY_ROOT_PATH);
      File destinationP2Repository = null;
      try {
        p2RepoUid.getLock().lock(Action.update);
View Full Code Here

Examples of org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregatorConfiguration.repositoryId()

      }
    }
    catch (final Exception e) {
      logger.warn(
          String.format("Could not update P2 repository [%s:%s] with [%s] due to [%s]",
              configuration.repositoryId(), P2_REPOSITORY_ROOT_PATH, item.getPath(), e.getMessage()),
          e);
    }
  }

  @Override
View Full Code Here

Examples of org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregatorConfiguration.repositoryId()

    if (configuration == null) {
      return;
    }
    logger.debug("Updating P2 repository artifacts (remove) for [{}:{}]", item.getRepositoryId(), item.getPath());
    try {
      final Repository repository = repositories.getRepository(configuration.repositoryId());
      final RepositoryItemUid p2RepoUid = repository.createUid(P2_REPOSITORY_ROOT_PATH);
      File sourceP2Repository = null;
      File destinationP2Repository = null;
      try {
        p2RepoUid.getLock().lock(Action.update);
View Full Code Here

Examples of org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregatorConfiguration.repositoryId()

      }
    }
    catch (final Exception e) {
      logger.warn(
          String.format("Could not update P2 repository [%s:%s] with [%s] due to [%s]",
              configuration.repositoryId(), P2_REPOSITORY_ROOT_PATH, item.getPath(), e.getMessage()),
          e);
    }
  }

  @Override
View Full Code Here

Examples of org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregatorConfiguration.repositoryId()

    if (configuration == null) {
      return;
    }
    logger.debug("Updating P2 repository metadata (update) for [{}:{}]", item.getRepositoryId(), item.getPath());
    try {
      final Repository repository = repositories.getRepository(configuration.repositoryId());
      final RepositoryItemUid p2RepoUid = repository.createUid(P2_REPOSITORY_ROOT_PATH);
      File destinationP2Repository = null;
      try {
        p2RepoUid.getLock().lock(Action.update);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.