Thankyou Carlos,
Trying to build with Maven as your suggestion,but still not work.
My mvn version:
C:\Windows\System32>mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3;
2018-10-25T01:41:4
7+07:00)
Maven home: D:\apache-maven-3.6.0\bin\..
Java version: 1.7.0_45, vendor: Oracle Corporation, runtime: C:\Program
Files (x
86)\Java\jdk1.7.0_45\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
My tasks.json file
#set($dollar = '$')
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
// MAVEN
{
"label": "Build with Maven",
"type": "shell",
"command": "mvn",
"args": [
"clean",
"install",
// "-P option-with-swf",
"-DskipTests"
],
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated"
},
"problemMatcher": []
},
// AS3&MXML (Debug)
{
"label": "Build with AS3&MXML (Debug)",
"type": "actionscript",
"debug": true,
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated"
},
"problemMatcher": []
},
// AS3&MXML (Release)
{
"label": "Build with AS3&MXML (Release)",
"type": "actionscript",
"debug": false,
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated"
},
"problemMatcher": []
},
// ASCONFIGC
{
"label": "build with asconfigc",
"type": "shell",
"command": "asconfigc",
"args": [
"--sdk=${dollar}{config:as3mxml.sdk.framework}"
],
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated"
},
"problemMatcher": []
}
]
}
And this is terminal window after executing "Build With Maven" in my Vscode
:
Executing task: mvn clean install -DskipTests <
Downloading from central:
https://repo.maven.apache.org/maven2/org/apache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0/flex-sdk-converter-maven-extension-1.0.0.pom
[WARNING] Failed to read extensions descriptor
D:\xampp\htdocs\apache-royale-0.9.8-bin-js-swf\royale-asjs\.mvn\extensions.xml:
Plugin
org.apache.flex.utilities.converter:flex-sdk-converter-maven-extension:1.0.0
or one of its dependencies could not be resolved: Failed to read artifact
descriptor for
org.apache.flex.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0
[INFO] Scanning for projects...
Downloading from central:
https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for
org.apache.royale.framework:royale-framework-parent:0.9.8-SNAPSHOT: Could
not transfer artifact org.apache:apache:pom:23 from/to central
(https://repo.maven.apache.org/maven2): Received fatal alert:
protocol_version and 'parent.relativePath' points at no local POM @
org.apache.royale.framework:royale-framework-parent:0.9.8-SNAPSHOT,
D:\xampp\htdocs\apache-royale-0.9.8-bin-js-swf\royale-asjs\pom.xml, line 23,
column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project
org.apache.royale.examples:BE0013_Dividing_an_Apache_Royale_application_with_modules:0.9.8-SNAPSHOT
(D:\xampp\htdocs\apache-royale-0.9.8-bin-js-swf\royale-asjs\examples\blog\BE0013_Dividing_an_Apache_Royale_application_with_modules\pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM for
org.apache.royale.framework:royale-framework-parent:0.9.8-SNAPSHOT: Could
not transfer artifact org.apache:apache:pom:23 from/to central
(https://repo.maven.apache.org/maven2): Received fatal alert:
protocol_version and
'parent.relativePath' points at no local POM @
org.apache.royale.framework:royale-framework-parent:0.9.8-SNAPSHOT,
D:\xampp\htdocs\apache-royale-0.9.8-bin-js-swf\royale-asjs\pom.xml, line 23,
column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
The terminal process "C:\Windows\system32\cmd.exe /d /c mvn clean install
-DskipTests" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
Is there any configuration miss in my project ?
Thanks in advance
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/