Gracias Carlos, el problema esta cuando agrego la librería de cairngorm. hice un ejemplo del modelo actual a migrar, aprovecho y lo voy a comentar en mail correpondiente.
Saludos. El jue., 13 feb. 2020 a las 11:51, Carlos Rovira (<[email protected]>) escribió: > Hi Carli, > > Basic dependency seems not add to dependencies > > > El jue., 13 feb. 2020 a las 14:44, De Carli Gustavo (< > [email protected]>) escribió: > >> >> >> >> >> I am having an error, when I want to compile with maven, does this work >> when compiling with "as3mxml.vscode" that I am forgetting? >> in maven clean install command. >> >> 1. The compile command result. >> >> [INFO] Executing MXMLC in tool group Royale with args: >> [-load-config=/Users/gustavo/Documents/Desarrollo/royale/examples/Cairngorm/target/compile-app-config.xml, >> -js-library-path=libs/cairngorm-js.swc, -js-default-initializers=true, >> -source-map=true, +configname=flex, >> -compiler.exclude-defaults-css-files=MXRoyale-0.9.7-SNAPSHOT-js.swc:defaults.css, >> -keep-as3-metadata+=DefaultProperty,Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient, >> -keep-code-with-metadata=Inject, -js-dynamic-access-unknown-members, >> -js-output=/Users/gustavo/Documents/Desarrollo/royale/examples/Cairngorm/target/javascript, >> -compiler.targets=JSRoyale, >> /Users/gustavo/Documents/Desarrollo/royale/examples/Cairngorm/src/main/royale/App.mxml] >> /Users/gustavo/Documents/Desarrollo/royale/examples/Cairngorm/src/main/royale/App.mxml(2): >> col: 1 Error: This tag could not be resolved to an ActionScript class. It >> will be ignored. >> >> 2. The line error. >> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" >> ^ >> >> 3. pom.mxl >> >> <?xml version="1.0" encoding="UTF-8"?> >> <!-- >> >> Licensed to the Apache Software Foundation (ASF) under one or more >> contributor license agreements. See the NOTICE file distributed with >> this work for additional information regarding copyright ownership. >> The ASF licenses this file to You under the Apache License, Version 2.0 >> (the "License"); you may not use this file except in compliance with >> the License. You may obtain a copy of the License at >> >> http://www.apache.org/licenses/LICENSE-2.0 >> >> Unless required by applicable law or agreed to in writing, software >> distributed under the License is distributed on an "AS IS" BASIS, >> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. >> See the License for the specific language governing permissions and >> limitations under the License. >> >> --> >> <project xmlns="http://maven.apache.org/POM/4.0.0" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >> http://maven.apache.org/xsd/maven-4.0.0.xsd"> >> <modelVersion>4.0.0</modelVersion> >> >> <groupId>com.deka.royale.examples</groupId> >> <artifactId>Cairngorm</artifactId> >> <version>1.0-SNAPSHOT</version> >> <packaging>swf</packaging> >> >> <properties> >> <compiler.debug>true</compiler.debug> >> <!-- >> >> <compiler.output-dir>${basedir}/target/javascript/bin/js-debug</compiler.output-dir> >> >> <compiler.output-dir-debug>${basedir}/target/javascript/bin/js-debug</compiler.output-dir-debug> >> --> >> <compiler.output-dir>${basedir}/target/tomcat/webapps/ROOT/</ >> compiler.output-dir> >> <compiler.output-dir-debug>${basedir}/target/tomcat/webapps/ROOT/</ >> compiler.output-dir-debug> >> <!-- In Release mode we only want to copy assets folder content to assets >> destination folder, the rest is managed by compiler --> >> <compiler.output-dir-release>${basedir}/target/javascript/bin/js-release >> </compiler.output-dir-release> >> >> <royale.framework.version>0.9.7-SNAPSHOT</royale.framework.version> >> <royale.build-tools.version>1.1.0</royale.build-tools.version> >> <royale.compiler.version>0.9.7-SNAPSHOT</royale.compiler.version> >> <royale.typedefs.version>0.9.7-SNAPSHOT</royale.typedefs.version> >> >> >> <royale.targets>JSRoyale</royale.targets> >> <royale.skipAS>true</royale.skipAS> >> <royale.debug>true</royale.debug> >> </properties> >> >> <build> >> <sourceDirectory>src/main/royale</sourceDirectory> >> <plugins> >> <plugin> >> <groupId>org.apache.royale.compiler</groupId> >> <artifactId>royale-maven-plugin</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <extensions>true</extensions> >> <configuration> >> <mainClass>App.mxml</mainClass> >> <targets>${royale.targets}</targets> >> <debug>true</debug> >> <additionalCompilerOptions> >> -js-library-path=libs/cairngorm-js.swc; >> -js-default-initializers=true; >> -source-map=true; >> +configname=flex; >> >> -compiler.exclude-defaults-css-files=MXRoyale-0.9.7-SNAPSHOT-js.swc:defaults.css; >> >> -keep-as3-metadata+=DefaultProperty,Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient; >> -keep-code-with-metadata=Inject; >> -js-dynamic-access-unknown-members; >> </additionalCompilerOptions> >> </configuration> >> <dependencies> >> <dependency> >> <groupId>org.apache.royale.compiler</groupId> >> <artifactId>compiler-jx</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> </dependency> >> </dependencies> >> </plugin> >> >> >> <!-- Copy the resources to the compiler output directory --> >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-resources-plugin</artifactId> >> <executions> >> <execution> >> <id>copy-resources-debug</id> >> <phase>validate</phase> >> <goals> >> <goal>copy-resources</goal> >> </goals> >> <configuration> >> <outputDirectory>${compiler.output-dir-debug}</outputDirectory> >> <resources> >> <resource> >> <directory>src/main/resources</directory> >> <filtering>true</filtering> >> </resource> >> </resources> >> </configuration> >> </execution> >> <execution> >> <id>copy-resources-release</id> >> <phase>validate</phase> >> <goals> >> <goal>copy-resources</goal> >> </goals> >> <configuration> >> <!-- Copy the assets to the assets output directory --> >> <outputDirectory>${compiler.output-dir-release}/assets</outputDirectory> >> <resources> >> <resource> >> <directory>src/main/resources/assets</directory> >> <filtering>true</filtering> >> </resource> >> </resources> >> </configuration> >> </execution> >> </executions> >> </plugin> >> </plugins> >> </build> >> >> <dependencies> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>Core</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>Language</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>HTML</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>Collections</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>Binding</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>Graphics</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>MXRoyale</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>SparkRoyale</artifactId> >> <version>0.9.7-SNAPSHOT</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> </dependencies> >> </project> >> >> > > -- > Carlos Rovira > http://about.me/carlosrovira > >
