Package org.eclipse.jdt.internal.launching

Examples of org.eclipse.jdt.internal.launching.RuntimeClasspathEntry


            return null;
          }
          IRuntimeClasspathEntry[] entries = new IRuntimeClasspathEntry[cpes.length];
          for (int i = 0; i < cpes.length; ++i) {
            IClasspathEntry cpy = cpes[i];
            entries[i] = new RuntimeClasspathEntry(cpy);
          }
          return create(entries, true);
        }
      }
      IRuntimeClasspathEntry[] entries = JavaRuntime
View Full Code Here


           * instead of solving all the depenency for it.
           */
          IProject p = ResourcesPlugin.getWorkspace().getRoot().getProject(cpe.getPath().segment(0));
          IJavaProject jp = JavaCore.create(p);

          IRuntimeClasspathEntry[] entries = JavaRuntime.resolveRuntimeClasspathEntry(new RuntimeClasspathEntry(cpe), jp);
          for (int j = 0; j < entries.length; j++) {
            IRuntimeClasspathEntry e =  entries[j];

            //skip test-classes for included maven project.
            boolean testClasses =  e.getLocation()!=null && e.getLocation().endsWith("test-classes");

            if (!(resolved.contains(e) || testClasses))
              resolved.add(e);

          }
          /**
           * end
           */
        } else {
          IRuntimeClasspathEntry e = new RuntimeClasspathEntry(cpe);
          if (!resolved.contains(e)) {
            resolved.add(e);
          }
        }
      }
View Full Code Here

           * instead of solving all the dependency for it.
           */
          IProject p = ResourcesPlugin.getWorkspace().getRoot().getProject(cpe.getPath().segment(0));
          IJavaProject jp = JavaCore.create(p);

          IRuntimeClasspathEntry[] entries = JavaRuntime.resolveRuntimeClasspathEntry(new RuntimeClasspathEntry(cpe), jp);
          for (int j = 0; j < entries.length; j++) {
            IRuntimeClasspathEntry e =  entries[j];

            if (!(resolved.contains(e) ))
              resolved.add(e);

          }
          /**
           * end
           */
        } else {
          IRuntimeClasspathEntry e = new RuntimeClasspathEntry(cpe);
          if (!resolved.contains(e)) {
            resolved.add(e);
          }
        }
      }
View Full Code Here

            return null;
          }
          IRuntimeClasspathEntry[] entries = new IRuntimeClasspathEntry[cpes.length];
          for (int i = 0; i < cpes.length; ++i) {
            IClasspathEntry cpy = cpes[i];
            entries[i] = new RuntimeClasspathEntry(cpy);
          }
          return create(entries, true);
        }
      }
      IRuntimeClasspathEntry[] entries = JavaRuntime
View Full Code Here

            return null;
          }
          IRuntimeClasspathEntry[] entries = new IRuntimeClasspathEntry[cpes.length];
          for (int i = 0; i < cpes.length; ++i) {
            IClasspathEntry cpy = cpes[i];
            entries[i] = new RuntimeClasspathEntry(cpy);
          }
          return create(entries, true);
        }
      }
      IRuntimeClasspathEntry[] entries = JavaRuntime
View Full Code Here

           * instead of solving all the dependency for it.
           */
          IProject p = ResourcesPlugin.getWorkspace().getRoot().getProject(cpe.getPath().segment(0));
          IJavaProject jp = JavaCore.create(p);

          IRuntimeClasspathEntry[] entries = JavaRuntime.resolveRuntimeClasspathEntry(new RuntimeClasspathEntry(cpe), jp);
          for (int j = 0; j < entries.length; j++) {
            IRuntimeClasspathEntry e =  entries[j];

            //skip test-classes for included maven project.
            boolean testClasses =  e.getLocation()!=null && e.getLocation().endsWith("test-classes");

            if (!(resolved.contains(e) || testClasses))
              resolved.add(e);

          }
          /**
           * end
           */
        } else {
          IRuntimeClasspathEntry e = new RuntimeClasspathEntry(cpe);
          if (!resolved.contains(e)) {
            resolved.add(e);
          }
        }
      }
View Full Code Here

           * instead of solving all the dependency for it.
           */
          IProject p = ResourcesPlugin.getWorkspace().getRoot().getProject(cpe.getPath().segment(0));
          IJavaProject jp = JavaCore.create(p);

          IRuntimeClasspathEntry[] entries = JavaRuntime.resolveRuntimeClasspathEntry(new RuntimeClasspathEntry(cpe), jp);
          for (int j = 0; j < entries.length; j++) {
            IRuntimeClasspathEntry e =  entries[j];

            if (!(resolved.contains(e) ))
              resolved.add(e);

          }
          /**
           * end
           */
        } else {
          IRuntimeClasspathEntry e = new RuntimeClasspathEntry(cpe);
          if (!resolved.contains(e)) {
            resolved.add(e);
          }
        }
      }
View Full Code Here

            return null;
          }
          IRuntimeClasspathEntry[] entries = new IRuntimeClasspathEntry[cpes.length];
          for (int i = 0; i < cpes.length; ++i) {
            IClasspathEntry cpy = cpes[i];
            entries[i] = new RuntimeClasspathEntry(cpy);
          }
          return create(entries, true);
        }
      }
      IRuntimeClasspathEntry[] entries = JavaRuntime
View Full Code Here

            return null;
          }
          IRuntimeClasspathEntry[] entries = new IRuntimeClasspathEntry[cpes.length];
          for (int i = 0; i < cpes.length; ++i) {
            IClasspathEntry cpy = cpes[i];
            entries[i] = new RuntimeClasspathEntry(cpy);
          }
          return create(entries, true);
        }
      }
      IRuntimeClasspathEntry[] entries = JavaRuntime
View Full Code Here

        if ( getGeronimoServer().isSelectClasspathContainers()) {
            List<String> containers = getGeronimoServer().getClasspathContainers();
            for ( String containerPath : containers ) {
                List<IClasspathEntry> cpes = ClasspathContainersHelper.queryWorkspace( containerPath );
                for ( IClasspathEntry cpe : cpes ) {
                    RuntimeClasspathEntry rcpe = new RuntimeClasspathEntry( cpe );
                    Trace.trace(Trace.INFO, "Classpath Container Entry: " + rcpe );
                    if (cp.contains(rcpe) == false) {
                        cp.add( rcpe );
                    }
                }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.launching.RuntimeClasspathEntry

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.