/** * Analyze the classpath for a split package * * @param pack * @param classpath * @param source */ private String diagnostic(String pack, List<Jar> culprits) { // Default is like merge-first, but with a warning return "Split package, multiple jars provide the same package:" + pack + "\nUse Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning\n" + "Package found in " + culprits + "\n" // + "Class path " + getClasspath(); }
/** * Analyze the classpath for a split package * * @param pack * @param classpath * @param source * @return */ private String diagnostic(String pack, List<Jar> culprits) { // Default is like merge-first, but with a warning return "Split package, multiple jars provide the same package:" + pack + "\nUse Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning\n" + "Package found in " + culprits + "\n" // + "Class path " + getClasspath(); }
/** * Analyze the classpath for a split package * * @param pack * @param classpath * @param source */ private String diagnostic(String pack, List<Jar> culprits) { // Default is like merge-first, but with a warning return "Split package, multiple jars provide the same package:" + pack + "\nUse Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning\n" + "Package found in " + culprits + "\n" // + "Class path " + getClasspath(); }
/** * Analyze the classpath for a split package * * @param pack * @param classpath * @param source * @return */ private String diagnostic(String pack, List<Jar> culprits) { // Default is like merge-first, but with a warning return "Split package, multiple jars provide the same package:" + pack + "\nUse Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning\n" + "Package found in " + culprits + "\n" // + "Class path " + getClasspath(); }
/** * Analyze the classpath for a split package * * @param pack * @param classpath * @param source * @return */ private String diagnostic(String pack, List<Jar> culprits) { // Default is like merge-first, but with a warning return "Split package, multiple jars provide the same package:" + pack + "\nUse Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning\n" + "Package found in " + culprits + "\n" // + "Class path " + getClasspath(); }
@Override public List<Jar> getClasspath() { init(); return super.getClasspath(); }
@Override public List<Jar> getClasspath() { init(); return super.getClasspath(); }
@Override public List<Jar> getClasspath() { init(); return super.getClasspath(); }
@Override public List<Jar> getClasspath() { init(); return super.getClasspath(); }
@Override public List<Jar> getClasspath() { init(); return super.getClasspath(); }
public Builder getSubBuilder() throws Exception { Builder builder = new Builder(this); builder.setBase(getBase()); for (Jar file : getClasspath()) { builder.addClasspath(file); } return builder; }
public Builder getSubBuilder() throws Exception { Builder builder = new Builder(this); builder.setBase(getBase()); for (Jar file : getClasspath()) { builder.addClasspath(file); } return builder; }
public Builder getSubBuilder() throws Exception { Builder builder = new Builder(this); builder.setBase(getBase()); for (Jar file : getClasspath()) { builder.addClasspath(file); } return builder; }
/** * Allow any local initialization by subclasses before we build. */ public void init() throws Exception { begin(); doRequireBnd(); // Check if we have sensible setup if (getClasspath().size() == 0 && (getProperty(EXPORT_PACKAGE) != null || getProperty(EXPORT_PACKAGE) != null || getProperty(PRIVATE_PACKAGE) != null)) warning("Classpath is empty. Private-Package and Export-Package can only expand from the classpath when there is one"); }
/** * Allow any local initialization by subclasses before we build. */ public void init() throws Exception { begin(); doRequireBnd(); // Check if we have sensible setup if (getClasspath().size() == 0 && (getProperty(EXPORT_PACKAGE) != null || getProperty(EXPORT_PACKAGE) != null || getProperty(PRIVATE_PACKAGE) != null || getProperty(PRIVATEPACKAGE) != null)) warning("Classpath is empty. " + Constants.PRIVATE_PACKAGE + " (-privatepackage) and " + EXPORT_PACKAGE + " can only expand from the classpath when there is one"); }
public Builder getSubBuilder() throws Exception { Builder builder = new Builder(this); builder.setBase(getBase()); builder.use(this); for (Jar file : getClasspath()) { builder.addClasspath(file); } return builder; }
public Builder getSubBuilder() throws Exception { Builder builder = new Builder(this); builder.setBase(getBase()); builder.use(this); for (Jar file : getClasspath()) { builder.addClasspath(file); } return builder; }
/** * Allow any local initialization by subclasses before we build. */ public void init() throws Exception { begin(); doRequireBnd(); // Check if we have sensible setup if (getClasspath().size() == 0 && (getProperty(EXPORT_PACKAGE) != null || getProperty(EXPORT_PACKAGE) != null || getProperty(PRIVATE_PACKAGE) != null || getProperty(PRIVATEPACKAGE) != null)) warning("Classpath is empty. " + Constants.PRIVATE_PACKAGE + " (-privatepackage) and " + EXPORT_PACKAGE + " can only expand from the classpath when there is one"); }
/** * Allow any local initialization by subclasses before we build. */ public void init() throws Exception { begin(); doRequireBnd(); // Check if we have sensible setup if (getClasspath().size() == 0 && (getProperty(EXPORT_PACKAGE) != null || getProperty(EXPORT_PACKAGE) != null || getProperty(PRIVATE_PACKAGE) != null || getProperty(PRIVATEPACKAGE) != null)) warning("Classpath is empty. " + Constants.PRIVATE_PACKAGE + " (-privatepackage) and " + EXPORT_PACKAGE + " can only expand from the classpath when there is one"); }
/** * Allow any local initialization by subclasses before we build. */ public void init() throws Exception { begin(); doRequireBnd(); // Check if we have sensible setup if (getClasspath().size() == 0 && (getProperty(EXPORT_PACKAGE) != null || getProperty(EXPORT_PACKAGE) != null || getProperty(PRIVATE_PACKAGE) != null || getProperty(PRIVATEPACKAGE) != null)) warning("Classpath is empty. " + Constants.PRIVATE_PACKAGE + " (-privatepackage) and " + EXPORT_PACKAGE + " can only expand from the classpath when there is one"); }