flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maimoy <antonis.kalodi...@gmail.com>
Subject Re: HOW TO About FlexJS and Cordova
Date Mon, 20 Jun 2016 15:16:04 GMT
I downloaded yesterday the latest flexJS nighty build with apache flex sdk
installer. I didn't run any other installer. I had this latest sdk as
default in compiler settings page for the project, not default for flash
builder. I turned it to default and restart the flash builder with the same
errors.

I run the "FlexJS (Cordova Build)" from
"C:\AdobeSdks\FlexJS0.7Nighty/cordova-build.xml" with parameters
-d -Dprojectdir=${project_loc} -Dplatform=browser
-Dappname=DataBindingExample -DTARGET_DIR="C:\Users\maimoy\Adobe Flash
Builder 4.7\DataBindingExample"


with the following output in flash builder console window.

Apache Ant(TM) version 1.9.6 compiled on June 29 2015
Unknown target: Flash
Unknown target: Builder
Unknown target: 4.7\DataBindingExample
Buildfile: C:\AdobeSdks\FlexJS0.7Nighty\cordova-build.xml
 +Datatype fb.exportReleaseBuild
com.adobe.flexbuilder.exportimport.ant.ExportReleaseBuildTask
 +Datatype eclipse.convertPath org.eclipse.core.resources.ant.ConvertPath
 +Datatype eclipse.incrementalBuild
org.eclipse.core.resources.ant.IncrementalBuild
 +Datatype eclipse.refreshLocal
org.eclipse.core.resources.ant.RefreshLocalTask
 +Datatype p2.director org.eclipse.equinox.p2.director.app.ant.DirectorTask
 +Datatype eclipse.jarProcessor
org.eclipse.equinox.internal.p2.jarprocessor.ant.JarProcessorTask
 +Datatype p2.composite.metadata.repository.add
org.eclipse.equinox.internal.p2.metadata.repository.ant.AddChildTask
 +Datatype p2.composite.metadata.repository.create
org.eclipse.equinox.internal.p2.metadata.repository.ant.CreateCompositeMetadataRepositoryTask
 +Datatype p2.composite.metadata.repository.remove
org.eclipse.equinox.internal.p2.metadata.repository.ant.RemoveChildTask
 +Datatype p2.publisher
org.eclipse.equinox.internal.p2.publisher.ant.PublisherTask
 +Datatype p2.publish.featuresAndBundles
org.eclipse.equinox.internal.p2.publisher.ant.FeaturesAndBundlesPublisherTask
 +Datatype p2.publish.product
org.eclipse.equinox.internal.p2.publisher.ant.ProductPublisherTask
 +Datatype p2.repo2runnable
org.eclipse.equinox.p2.internal.repository.tools.tasks.Repo2RunnableTask
 +Datatype p2.mirror
org.eclipse.equinox.p2.internal.repository.tools.tasks.MirrorTask
 +Datatype p2.artifact.mirror
org.eclipse.equinox.p2.internal.repository.tools.tasks.MirrorArtifactsTask
 +Datatype p2.metadata.mirror
org.eclipse.equinox.p2.internal.repository.tools.tasks.MirrorMetadataTask
 +Datatype p2.composite.repository
org.eclipse.equinox.p2.internal.repository.tools.tasks.CompositeRepositoryTask
 +Datatype p2.process.artifacts
org.eclipse.equinox.p2.internal.repository.tools.tasks.ProcessRepoTask
 +Datatype p2.remove.iu
org.eclipse.equinox.p2.internal.repository.tools.tasks.RemoveIUTask
 +Datatype p2.composite.artifact.repository.validate
org.eclipse.equinox.p2.internal.repository.tools.tasks.ValidateTask
 +Datatype p2.validate.artifacts
org.eclipse.equinox.p2.internal.repository.tools.tasks.ValidateTask
 +Datatype p2.composite.artifact.repository.add
org.eclipse.equinox.p2.internal.repository.tools.tasks.CompositeRepositoryTask
 +Datatype p2.composite.artifact.repository.create
org.eclipse.equinox.p2.internal.repository.tools.tasks.CreateCompositeArtifactRepositoryTask
 +Datatype p2.composite.artifact.repository.remove
org.eclipse.equinox.p2.internal.repository.tools.tasks.CompositeRepositoryTask
 +Datatype help.buildHelpIndex
org.eclipse.help.internal.base.ant.BuildHelpIndex
 +Datatype eclipse.checkDebugAttributes
org.eclipse.jdt.core.CheckDebugAttributes
 +Datatype artifact
org.eclipse.equinox.p2.internal.repository.tools.tasks.ArtifactDescription
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile C:\AdobeSdks\FlexJS0.7Nighty\cordova-build.xml with URI =
file:/C:/AdobeSdks/FlexJS0.7Nighty/cordova-build.xml
Setting ro project property: ant.project.name -> cordova-app
Adding reference: cordova-app
Setting ro project property: ant.project.default-target -> main
Setting ro project property: ant.file.cordova-app ->
C:\AdobeSdks\FlexJS0.7Nighty\cordova-build.xml
Setting ro project property: ant.file.type.cordova-app -> file
Project base dir set to: C:\AdobeSdks\FlexJS0.7Nighty
 +Target: 
 +Target: main
 +Target: makedir
 +Target: create
 +Target: compilejs
 +Target: purge
 +Target: copyfiles
 +Target: run
 +Target: clean
 +Target: super-clean
Adding reference: ant.LocalProperties
parsing buildfile
jar:file:C:/apache-ant-1.9.6/lib/ant.jar!/org/apache/tools/ant/antlib.xml
with URI =
jar:file:C:/apache-ant-1.9.6/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file
    [property] Loading Environment env.
Setting project property: env.HOMEDRIVE -> C:
Setting project property: env.OPENSSL_CONF ->
C:\OpenSSL-Win64\bin\openssl.cfg
Setting project property: env.VISUALSVN_SERVER -> C:\Program Files\VisualSVN
Server\
Setting project property: env.PLAYERGLOBAL_HOME ->
C:\AdobeSdks\FlexJS7\frameworks\libs\player
Setting project property: env.FLEX_HOME -> C:\AdobeSdks\FlexJS0.7Nighty
Setting project property: env.HOME -> C:\Users\maimoy
Setting project property: env.HAXEPATH -> C:\HaxeToolkit\haxe\
Setting project property: env.FP_NO_HOST_CHECK -> NO
Setting project property: env.GPU_MAX_ALLOC_PERCENT -> 100
Setting project property: env.VS120COMNTOOLS -> C:\Program Files
(x86)\Microsoft Visual Studio 12.0\Common7\Tools\
Setting project property: env.Path -> C:/Program Files/Adobe/Adobe Flash
Builder 4.7 (64 Bit)/jre/bin/server;C:/Program Files/Adobe/Adobe Flash
Builder 4.7 (64 Bit)/jre/bin;C:/Program Files/Adobe/Adobe Flash Builder 4.7
(64 Bit)/jre/lib/amd64;C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Java\jdk1.8.0_40;C:\Program
Files\Java\jdk1.8.0_40\bin;C:\Python27\;C:\Python27\Scripts;c:\Program Files
(x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\Program
Files (x86)\MySQL\MySQL Utilities 1.4\;C:\Program Files (x86)\MySQL\MySQL
Utilities 1.4\Doctrine extensions for PHP\;C:\Program Files\VisualSVN
Server\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program
Files (x86)\Microsoft
SDKs\TypeScript\1.0\;C:\apache-maven-3.2.3\bin;C:\Program Files
(x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\NVIDIA
Corporation\PhysX\Common;C:\Program Files\TortoiseSVN\bin;C:\Program
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files
(x86)\Common Files\Acronis\SnapAPI\;C:\Program Files
(x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Program Files
(x86)\Skype\Phone\;C:\Program Files (x86)\ActiveState Komodo IDE
9\;C:\apache-ant-1.9.6\bin;C:\AdobeSdks\FlexJS0.7Nighty\js\bin;C:\Program
Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\bin;C:\Program
Files\nodejs\;C:\HaxeToolkit\haxe\;C:\HaxeToolkit\neko;C:\Program
Files\TortoiseGit\bin;C:\Program
Files\Git\cmd;C:\Ruby22-x64\bin;C:\apache-ant-1.9.6\bin;C:\Users\maimoy\AppData\Roaming\npm;C:\Program
Files (x86)\Microsoft VS Code\bin;C:\Program Files (x86)\Common
Files\Acronis\TibMounter64;C:\Program Files\Adobe\Adobe Flash Builder 4.7
(64 Bit);
Setting project property: env.USERDOMAIN_ROAMINGPROFILE -> MAIMOYDELL-PC
Setting project property: env.AIR_HOME -> C:\AdobeAIRSDK
Setting project property: env.=:: -> ::\
Setting project property: env.ProgramFiles -> C:\Program Files
Setting project property: env.ProgramFiles(x86) -> C:\Program Files (x86)
Setting project property: env.HerokuPath -> C:\Program Files (x86)\Heroku
Setting project property: env.TEMP -> C:\Users\maimoy\AppData\Local\Temp
Setting project property: env.ComSpec -> C:\Windows\system32\cmd.exe
Setting project property: env.APPDATA -> C:\Users\maimoy\AppData\Roaming
Setting project property: env.GOOG_HOME ->
C:\Users\maimoy\AppData\Roaming\npm\node_modules\flexjs\js\lib\google\closure-library
Setting project property: env.PUBLIC -> C:\Users\Public
Setting project property: env.FLEXJS_INSTALLDIR ->
C:\AdobeSdks\FlexJS0.7Nighty
Setting project property: env.COMPUTERNAME -> MAIMOYDELL-PC
Setting project property: env.NEKO_INSTPATH -> C:\HaxeToolkit\neko
Setting project property: env.CommonProgramFiles -> C:\Program Files\Common
Files
Setting project property: env.JAVA_HOME -> C:\Program Files\Java\jdk1.8.0_40
Setting project property: env.PSModulePath ->
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
Setting project property: env.windir -> C:\Windows
Setting project property: env.FLEXJSINSTALL_DIR ->
C:\AdobeSdks\FlexJS0.7Nighty
Setting project property: env.ProgramW6432 -> C:\Program Files
Setting project property: env.LOGONSERVER -> \\MicrosoftAccount
Setting project property: env.LOCALAPPDATA -> C:\Users\maimoy\AppData\Local
Setting project property: env.PROCESSOR_REVISION -> 4501
Setting project property: env.AIR_ANDROID_SDK_HOME -> C:\Program
Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK
Setting project property: env.TLF_HOME -> C:\AdobeSdks\Apache Flex 4.15.0
AIR 21\frameworks\projects
Setting project property: env.ALLUSERSPROFILE -> C:\ProgramData
Setting project property: env.USERDOMAIN -> MAIMOYDELL-PC
Setting project property: env.FALCON_HOME -> C:\AdobeSdks\FlexJS0.7Nighty
Setting project property: env.HOMEPATH -> \Users\maimoy
Setting project property: env.VS110COMNTOOLS -> C:\Program Files
(x86)\Microsoft Visual Studio 11.0\Common7\Tools\
Setting project property: env.MAVEN_HOME -> C:\apache-maven-3.2.3\bin
Setting project property: env.USERPROFILE -> C:\Users\maimoy
Setting project property: env.NUMBER_OF_PROCESSORS -> 4
Setting project property: env.CommonProgramFiles(x86) -> C:\Program Files
(x86)\Common Files
Setting project property: env.OS -> Windows_NT
Setting project property: env.VBOX_MSI_INSTALL_PATH -> C:\Program
Files\Oracle\VirtualBox\
Setting project property: env.FLASHPLAYER_DEBUGGER -> C:\Program
Files\Adobe\Flash Player Content Debugger\flashplayer_21_sa_debug.exe
Setting project property: env.CommonProgramW6432 -> C:\Program Files\Common
Files
Setting project property: env.GTK_BASEPATH -> C:\Program Files
(x86)\GtkSharp\2.12\
Setting project property: env.SystemRoot -> C:\Windows
Setting project property: env.ANDROID_HOME ->
C:\Users\maimoy\AppData\Local\Android\sdk1
Setting project property: env.ANT_OPTS -> -Djsse.enableSNIExtension=false
Setting project property: env.TMP -> C:\Users\maimoy\AppData\Local\Temp
Setting project property: env.ANT_HOME -> C:\apache-ant-1.9.6
Setting project property: env.PROCESSOR_ARCHITECTURE -> AMD64
Setting project property: env.PROCESSOR_LEVEL -> 6
Setting project property: env.GPU_USE_SYNC_OBJECTS -> 1
Setting project property: env.ProgramData -> C:\ProgramData
Setting project property: env.SystemDrive -> C:
Setting project property: env.ANDROID_NDK_PATH ->
C:\Users\maimoy\Documents\Android\ndk\android-ndk-r8d
Setting project property: env.PROCESSOR_IDENTIFIER -> Intel64 Family 6 Model
69 Stepping 1, GenuineIntel
Setting project property: env.PATHEXT ->
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW
Setting project property: env.USERNAME -> maimoy
Setting project property: env.SESSIONNAME -> Console
Class org.apache.tools.ant.taskdefs.condition.Os loaded from parent loader
(parentFirst)
Condition true; setting isWindows to windows
Setting project property: isWindows -> windows
Class org.apache.tools.ant.types.resources.selectors.Not loaded from parent
loader (parentFirst)
Class org.apache.tools.ant.taskdefs.condition.IsSet loaded from parent
loader (parentFirst)
Condition false; not setting projectdir
Condition false; not setting platform
Setting project property: directory.name -> Adobe
Condition false; not setting appname
Condition false; not setting cordova.executable
Condition true; setting cordova.executable to cordova.cmd
Setting project property: cordova.executable -> cordova.cmd
Setting project property: cordova.target.dir ->
C:\Users\maimoy\Adobe/app/DataBindingExample
   [available] Unable to find dir
C:\Users\maimoy\Adobe\app\DataBindingExample to set property app.dir.exists
Arguments: -d -Dprojectdir=C:\Users\maimoy\Adobe Flash Builder
4.7\DataBindingExample -Dplatform=browser -Dappname=DataBindingExample
-DTARGET_DIR=C:\Users\maimoy\Adobe Flash Builder 4.7\DataBindingExample
-Dorg.eclipse.ant.core.ANT_PROCESS_ID=1466437833061
Setting ro project property: ant.project.invoked-targets -> main
Adding reference: eclipse.ant.targetVector
Build sequence for target(s) `main' is [makedir, create, compilejs, purge,
copyfiles, main]
Complete build sequence is [makedir, create, compilejs, purge, copyfiles,
main, run, clean, super-clean, ]

makedir:
Adding reference: eclipse.progress.monitor
       [mkdir] Created dir: C:\Users\maimoy\Adobe\app

create:
Adding reference: eclipse.progress.monitor
        [exec] Current OS is Windows NT (unknown)
        [exec] Executing 'cordova.cmd' with arguments:
        [exec] 'create'
        [exec] 'DataBindingExample'
        [exec] 
        [exec] The ' characters around the executable and arguments are
        [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'cordova.cmd' with arguments:
'create'
'DataBindingExample'

The ' characters around the executable and arguments are
not part of the command.
        [exec] Creating a new cordova project.
Adding reference: eclipse.progress.monitor
        [echo] Adding in platform(s). This may take awhile.
Adding reference: eclipse.progress.monitor
        [exec] Current OS is Windows NT (unknown)
        [exec] Executing 'cordova.cmd' with arguments:
        [exec] 'platform'
        [exec] 'add'
        [exec] 'browser'
        [exec] 
        [exec] The ' characters around the executable and arguments are
        [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'cordova.cmd' with arguments:
'platform'
'add'
'browser'

The ' characters around the executable and arguments are
not part of the command.
        [exec] Adding browser project...
        [exec] Running command: cmd "/s /c
"C:\Users\maimoy\.cordova\lib\npm_cache\cordova-browser\4.1.0\package\bin\create.bat
C:\Users\maimoy\Adobe\app\DataBindingExample\platforms\browser
io.cordova.hellocordova HelloCordova""
        [exec] Creating Browser project. Path: platforms\browser
        [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml.
Adding it to the project
        [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
        [exec] Installing "cordova-plugin-whitelist" for browser

compilejs:
Adding reference: eclipse.progress.monitor
        [echo] Compiling FlexJS app
Adding reference: eclipse.progress.monitor
        [exec] Current OS is Windows NT (unknown)

BUILD FAILED
C:\AdobeSdks\FlexJS0.7Nighty\cordova-build.xml:114: The directory
C:\Users\maimoy\Adobe\src does not exist
	at
org.apache.tools.ant.taskdefs.ExecTask.checkConfiguration(ExecTask.java:511)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:494)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
	at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at
org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
	at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:663)
	at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:496)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
	at
org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:298)
	at java.lang.Thread.run(Unknown Source)

Total time: 55 seconds




Thank you.






--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/HOW-TO-About-FlexJS-and-Cordova-tp12866p12884.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message