Examples of PatternSet


Examples of com.alibaba.antx.util.PatternSet

                    populateWarContext(context, name);
                }
            };
        }

        entry.setDescriptorPatterns(new PatternSet("META-INF/**/auto-config.xml"));

        entry.setPackagePatterns(new PatternSet("WEB-INF/lib/*.jar"));

        return entry;
    }
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

                    populateCommonContext(context);
                }
            };
        }

        entry.setDescriptorPatterns(new PatternSet("META-INF/**/auto-config.xml"));

        entry.setPackagePatterns(new PatternSet("**/*.jar, **/*.war, **/*.rar, **/*.ear"));

        return entry;
    }
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

            protected void populateDescriptorContext(Map context, String name) {
                populateCommonContext(context);
            }
        };

        entry.setDescriptorPatterns(new PatternSet(settings.getDescriptorPatterns(), new PatternSet(
                "conf/**/auto-config.xml, META-INF/**/auto-config.xml")).addDefaultExcludes());

        // ����Ƕ�Ŀ¼��������δָ��package patterns����Ĭ�ϲ�����Ŀ¼�µ�packages�ļ�
        entry.setPackagePatterns(new PatternSet(settings.getPackagePatterns(), new PatternSet(null, "**"))
                .addDefaultExcludes());

        return entry;
    }
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

        StringBuffer buf = new StringBuffer();

        buf.append("antxconfig ");

        // descriptor patterns
        PatternSet descriptorPatterns = descriptorPatternsControl.getPatterns();

        buf.append(patternsToString("-d ", descriptorPatterns.getIncludes(), " "));
        buf.append(patternsToString("-D ", descriptorPatterns.getExcludes(), " "));

        // package patterns
        PatternSet packagePatterns = packagePatternsControl.getPatterns();

        buf.append(patternsToString("-p ", packagePatterns.getIncludes(), " "));
        buf.append(patternsToString("-P ", packagePatterns.getExcludes(), " "));

        // files
        for (Iterator i = getFiles().iterator(); i.hasNext();) {
            File file = (File) i.next();
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

        public PatternSet getPatterns() {
            String[] includes = StringUtil.split(includeInput.getText(), "\r\n, ");
            String[] excludes = StringUtil.split(excludeInput.getText(), "\r\n, ");

            return new PatternSet(includes, excludes);
        }
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

    public ConfigEntryFactory getConfigEntryFactory() {
        return configEntryFactory;
    }

    public void setDescriptorPatterns(String includes, String excludes) {
        this.descriptorPatterns = new PatternSet(includes, excludes);
    }
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

    public void setDescriptorPatterns(String includes, String excludes) {
        this.descriptorPatterns = new PatternSet(includes, excludes);
    }

    public void setDescriptorPatterns(String[] includes, String[] excludes) {
        this.descriptorPatterns = new PatternSet(includes, excludes);
    }
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

    public void setDescriptorPatterns(String[] includes, String[] excludes) {
        this.descriptorPatterns = new PatternSet(includes, excludes);
    }

    public void setPackagePatterns(String includes, String excludes) {
        this.packagePatterns = new PatternSet(includes, excludes);
    }
View Full Code Here

Examples of com.alibaba.antx.util.PatternSet

    public void setPackagePatterns(String includes, String excludes) {
        this.packagePatterns = new PatternSet(includes, excludes);
    }

    public void setPackagePatterns(String[] includes, String[] excludes) {
        this.packagePatterns = new PatternSet(includes, excludes);
    }
View Full Code Here

Examples of net.sourceforge.chaperon.model.extended.PatternSet

    return false;
  }

  public PatternSet getNextPattern()
  {
    PatternSet pattern = new PatternSet();

    for (Item item = first; item!=null; item = item.next)
      if (item.position==Item.SHIFT)
        pattern.addPattern(item.pattern);

    return pattern;
  }
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.