Package org.apache.flex.compiler.internal.mxml

Examples of org.apache.flex.compiler.internal.mxml.MXMLNamespaceMapping


        for (int i = 0; i < args.size() - 1; i += 2)
        {
            final String uri = args.get(i);
            final String manifestFile = args.get(i + 1);
            final String path = resolvePathStrict(manifestFile, cfgval);
            manifestMappings.add(new MXMLNamespaceMapping(uri, path));
        }
    }
View Full Code Here


    libraries.add(new File(FilenameNormalization.normalize(env.SDK + "\\frameworks\\libs\\spark.swc")));
    project.setLibraries(libraries);
   
    // Use the MXML 2009 manifest.
    List<IMXMLNamespaceMapping> namespaceMappings = new ArrayList<IMXMLNamespaceMapping>();
    IMXMLNamespaceMapping mxml2009 = new MXMLNamespaceMapping(
        "http://ns.adobe.com/mxml/2009", env.SDK + "\\frameworks\\mxml-2009-manifest.xml");
    namespaceMappings.add(mxml2009);
    project.setNamespaceMappings(namespaceMappings);
       
    ICompilationUnit cu = null;
View Full Code Here

    @Override
    protected void addNamespaceMappings(List<IMXMLNamespaceMapping> namespaceMappings)
    {
        namespaceMappings
                .add(new MXMLNamespaceMapping(
                        "library://ns.apache.org/flexjs/basic", new File(
                                env.ASJS + "/frameworks/as/basic-manifest.xml")
                                .getAbsolutePath()));

        super.addNamespaceMappings(namespaceMappings);
View Full Code Here

    @Override
    protected void addNamespaceMappings(
            List<IMXMLNamespaceMapping> namespaceMappings)
    {
        namespaceMappings
                .add(new MXMLNamespaceMapping("http://ns.adobe.com/mxml/2009",
                        new File(env.SDK, "frameworks/mxml-2009-manifest.xml")
                                .getAbsolutePath()));
        namespaceMappings.add(new MXMLNamespaceMapping(
                "library://ns.adobe.com/flex/mx", new File(env.SDK,
                        "frameworks/mx-manifest.xml").getAbsolutePath()));
        namespaceMappings.add(new MXMLNamespaceMapping(
                "library://ns.adobe.com/flex/spark", new File(env.SDK,
                        "frameworks/spark-manifest.xml").getAbsolutePath()));

        super.addNamespaceMappings(namespaceMappings);
    }
View Full Code Here

        for (int i = 0; i < args.size() - 1; i += 2)
        {
            final String uri = args.get(i);
            final String manifestFile = args.get(i + 1);
            final String path = resolvePathStrict(manifestFile, cfgval);
            manifestMappings.add(new MXMLNamespaceMapping(uri, path));
        }
    }
View Full Code Here

    @Override
    protected void addNamespaceMappings(List<IMXMLNamespaceMapping> namespaceMappings)
    {
        namespaceMappings
                .add(new MXMLNamespaceMapping(
                        "library://ns.apache.org/flexjs/basic", new File(
                                env.ASJS + "/frameworks/as/basic-manifest.xml")
                                .getAbsolutePath()));

        super.addNamespaceMappings(namespaceMappings);
View Full Code Here

    @Override
    protected void addNamespaceMappings(
            List<IMXMLNamespaceMapping> namespaceMappings)
    {
        namespaceMappings
                .add(new MXMLNamespaceMapping("http://ns.adobe.com/mxml/2009",
                        new File(env.SDK, "frameworks/mxml-2009-manifest.xml")
                                .getAbsolutePath()));
        namespaceMappings.add(new MXMLNamespaceMapping(
                "library://ns.adobe.com/flex/mx", new File(env.SDK,
                        "frameworks/mx-manifest.xml").getAbsolutePath()));
        namespaceMappings.add(new MXMLNamespaceMapping(
                "library://ns.adobe.com/flex/spark", new File(env.SDK,
                        "frameworks/spark-manifest.xml").getAbsolutePath()));

        super.addNamespaceMappings(namespaceMappings);
    }
View Full Code Here

    libraries.add(new File(FilenameNormalization.normalize(env.SDK + "\\frameworks\\libs\\spark.swc")));
    project.setLibraries(libraries);
   
    // Use the MXML 2009 manifest.
    List<IMXMLNamespaceMapping> namespaceMappings = new ArrayList<IMXMLNamespaceMapping>();
    IMXMLNamespaceMapping mxml2009 = new MXMLNamespaceMapping(
        "http://ns.adobe.com/mxml/2009", env.SDK + "\\frameworks\\mxml-2009-manifest.xml");
    namespaceMappings.add(mxml2009);
    project.setNamespaceMappings(namespaceMappings);
       
    ICompilationUnit cu = null;
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.internal.mxml.MXMLNamespaceMapping

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.