Package org.apache.ivyde.common.model

Examples of org.apache.ivyde.common.model.IvyTag.addAttribute()


        dependency.addAttribute(new IvyBooleanTagAttribute("transitive",
                "a boolean indicating if this dependency should be resolved transitively or not",
                false));
        IvyTagAttribute confAtt = new IvyTagAttribute("conf",
                "an inline mapping configuration spec", false);
        dependency.addAttribute(confAtt);
        confAtt.setValueProvider(new IValueProvider() {
            public String[] getValuesfor(IvyTagAttribute att, IvyFile ivyFile) {
                String qualifier = ivyFile.getAttributeValueQualifier();
                int index = qualifier.lastIndexOf(';') + 1;
                StringBuffer base = new StringBuffer(qualifier.substring(0, index));
View Full Code Here


                }
            }

        });
        IvyTag conf3 = new IvyTag("conf", "defines configuration mapping has sub element");
        conf3.addAttribute(new IvyTagAttribute(
            "name",
            "the name of the master configuration to map. \n"
            + "'*' wildcard can be used to designate all configurations of this module",
            true, masterConfValueProvider));
        conf3.addAttribute(new IvyTagAttribute("mapped",
View Full Code Here

        conf3.addAttribute(new IvyTagAttribute(
            "name",
            "the name of the master configuration to map. \n"
            + "'*' wildcard can be used to designate all configurations of this module",
            true, masterConfValueProvider));
        conf3.addAttribute(new IvyTagAttribute("mapped",
                "a comma separated list of dependency configurations \n"
                        + "to which this master configuration should be mapped", false,
                new IValueProvider() {
                    public String[] getValuesfor(IvyTagAttribute att, IvyFile ivyFile) {
                        Ivy ivy = getIvy();
View Full Code Here

                }));
        allConf.add(conf3);
        IvyTag mapped = new IvyTag("mapped",
                "map dependency configurations for this master configuration");
        mapped.addAttribute(new IvyTagAttribute("name",
            "the name of the dependency configuration mapped. \n"
                + "'*' wildcard can be used to designate all configurations of this module",
            true, new IValueProvider() {
                public String[] getValuesfor(IvyTagAttribute att, IvyFile ivyFile) {
                    Ivy ivy = getIvy();
View Full Code Here

        }
        ListValueProvider matcherNamesProvider = new ListValueProvider(matcherNames);

        IvyTag artifact2 = new IvyTag("artifact", "defines artifacts restriction \n"
                + "use only if you do not control dependency ivy file");
        artifact2.addAttribute(new IvyTagAttribute("name", "the name of an artifact of the \n"
                + "dependency module to add to the include list, \n"
                + "or a regexp matching this name", false));
        artifact2.addAttribute(new IvyTagAttribute("type", "the type of the artifact of the \n"
                + "dependency module to add to the include list, \n"
                + "or a regexp matching this name", false,
View Full Code Here

        IvyTag artifact2 = new IvyTag("artifact", "defines artifacts restriction \n"
                + "use only if you do not control dependency ivy file");
        artifact2.addAttribute(new IvyTagAttribute("name", "the name of an artifact of the \n"
                + "dependency module to add to the include list, \n"
                + "or a regexp matching this name", false));
        artifact2.addAttribute(new IvyTagAttribute("type", "the type of the artifact of the \n"
                + "dependency module to add to the include list, \n"
                + "or a regexp matching this name", false,
                new ListValueProvider(getDefault("type"))));
        artifact2
                .addAttribute(new IvyTagAttribute("ext", "the extension of the artifact of the \n"
View Full Code Here

                + "or a regexp matching this name", false));
        artifact2.addAttribute(new IvyTagAttribute("type", "the type of the artifact of the \n"
                + "dependency module to add to the include list, \n"
                + "or a regexp matching this name", false,
                new ListValueProvider(getDefault("type"))));
        artifact2
                .addAttribute(new IvyTagAttribute("ext", "the extension of the artifact of the \n"
                        + "dependency module to add to the include list, \n"
                        + "or a regexp matching this name", false, new ListValueProvider(
                        getDefault("ext"))));
        artifact2.addAttribute(new IvyTagAttribute("url",
View Full Code Here

        artifact2
                .addAttribute(new IvyTagAttribute("ext", "the extension of the artifact of the \n"
                        + "dependency module to add to the include list, \n"
                        + "or a regexp matching this name", false, new ListValueProvider(
                        getDefault("ext"))));
        artifact2.addAttribute(new IvyTagAttribute("url",
                "an url where this artifact can be found \n"
                        + "if it isn't present at the standard \n" + "location in the repository",
                false));
        artifact2.addAttribute(new IvyTagAttribute("conf",
            "comma separated list of the master configurations \n"
View Full Code Here

                        getDefault("ext"))));
        artifact2.addAttribute(new IvyTagAttribute("url",
                "an url where this artifact can be found \n"
                        + "if it isn't present at the standard \n" + "location in the repository",
                false));
        artifact2.addAttribute(new IvyTagAttribute("conf",
            "comma separated list of the master configurations \n"
                + "in which this artifact should be included. \n"
                + "'*' wildcard can be used to designate all configurations of this module",
            false, masterConfsValueProvider));
        IvyTag conf4 = new IvyTag("conf", "configuration in which the artifact should be included");
View Full Code Here

            "comma separated list of the master configurations \n"
                + "in which this artifact should be included. \n"
                + "'*' wildcard can be used to designate all configurations of this module",
            false, masterConfsValueProvider));
        IvyTag conf4 = new IvyTag("conf", "configuration in which the artifact should be included");
        conf4.addAttribute(new IvyTagAttribute("name",
                "the name of the master configuration in which \n"
                        + "the enclosing artifact should be included", true,
                masterConfValueProvider));
        allConf.add(conf4);
        artifact2.addChildIvyTag(conf4);
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.