Compc task
hi
i use compc task to compile mxml files.
the ant build file is
<target name="appcompile">
<compc
output="${catalina.home}/webapps/${app.name}/CampusPage.swf">
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="${web.home}/WEB-INF/lib/" />
<include name="${flexsrc.home}/example/" />
</compiler.library-path>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<source-path path-element="${FLEX_HOME}/frameworks" />
</compc>
</target>
<target name="createHtmlWrapper" depends="appcompile">
<html-wrapper application="${APP_ROOT}/CampusPage.mxml" height="1000" width="1000" output="${catalina.home}/webapps/${app.name}" swf="CampusPage" />
</target>
but the error is
[compc] Error: nothing was specified to be included in the library
[compc] Use 'compc -help' for information about using the command line.
any body help me
regards
athi
You need to use options like -include-namespaces or -include-classes to tell compc what to put into the SWC. Are you expecting it to put everything on the source path into the SWC? It doesn't work that way.
Gordon Smith
Adobe Flex SDK Team
Similar Messages
-
MXMLC ANT task not including AIR libraries
Hi Guys,
This is the MXMLC ant task which I am using the compile my test app. If i set the static-link-runtime-shared-libraries="true" , the AIR libraries gets merged into my output swf. But when this attribute is set to false, I dont see the AIR libraries added to my SWF file. As a result when I run the AIR version fo my project, I dont see the application launch right. I have so many RSL in my project and I wanted to have static-link-runtime-shared-libraries="false". Is there a way to have AIR libraries include in my output file and still have this static-link-runtime-shared-libraries="false".
<mxmlc
file="${project.name}/src/Test.mxml"
output="${build.mxmlc.dir}/Test.swf"
static-link-runtime-shared-libraries="true"
>
<load-config filename="${air.config}"/>
<source-path path-element="${project.name}/src" />
<source-path path-element="${flex.frameworks.dir}/libs/air"/>
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
</runtime-shared-library-path>
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
<url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
</runtime-shared-library-path>
</mxmlc>
My RSL are compiled using COMPC task and the AIR libraries are included into them using the below attributes of compc task.
<source-path path-element="${basedir}/src" />
<source-path path-element="${flex.frameworks.dir}/projects/airframework/src" />
<source-path path-element="${flex.frameworks.dir}/projects/air/ServiceMonitor/src" />
I am really stuck with this problem and not able to get my release build launch right. Again, any light on this problem will be of great help.!<mxmlc
file="${project.name}/src/Test.mxml"
output="${build.mxmlc.dir}/Test.swf"
static-link-runtime-shared-libraries="true"
>
<load-config filename="${air.config}"/>
<source-path path-element="${project.name}/src" />
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
</runtime-shared-library-path>
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
<url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
</runtime-shared-library-path>
</mxmlc>
This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false" ?? -
Compiler.define in flex-config and compc
I'm having an issue with compile time constants. I'd like to define these constants in two places, but when I do the flex compiler forgets constants defined in my flex-config.xml (DEBUG::DEBUGGING and DEBUG::VERBOSE). I am using flextasks.tasks in ant to build the project.
In my build.xml:
<target name="build-project" depends="init">
<echo message="Building ${proj.swc.file}" />
<compc output="${proj.target.dir.bin}/${proj.swc.file}"
target-player="${proj.flashver}">
<compiler.define name="INFO::VERSION_MAJOR" value="${proj.version.major}" />
<compiler.define name="INFO::VERSION_MINOR" value="${proj.version.minor}" />
<compiler.define name="INFO::VERSION_RELEASE" value="${proj.version.release}" />
<compiler.define name="INFO::BUILD_TIMESTAMP" value="${proj.build.timestamp}" />
<compiler.define name="INFO::BUILD_TIMEZONE" value="${proj.build.timezone}" />
<load-config filename="${mx.sdk.dir}/frameworks/flex-config.xml"/>
<load-config filename="${basedir}/flex-release-config.xml"/>
<source-path path-element="${proj.build.dir.src}" />
<include-sources dir="${proj.build.dir.src}" includes="**/*.as **/*.mxml"/>
<!-- <compiler.external-library-path dir="${proj.build.dir.lib}" includes="*.swc" append="true" /> -->
<compiler.external-library-path dir="${proj.target.dir.lib}" includes="*.swc" append="true" />
</compc>
</target>
In flex-release-config.xml:
<flex-config>
<compiler>
<debug>false</debug>
<keep-generated-actionscript>false</keep-generated-actionscript>
<verbose-stacktraces>false</verbose-stacktraces>
<optimize>true</optimize>
<define>
<!-- Enables debugging mode -->
<name>DEBUG::DEBUGGING</name>
<value>false</value>
</define>
<define>
<!-- Provides more information to the developer -->
<name>DEBUG::VERBOSE</name>
<value>false</value>
</define>
</compiler>
</flex-config>
If I compile using compc on the command line I can use -define+=NAME,value and it works. Why is it not working using the compc task in ant?Try adding the append="true" attribute to the define elements. I'm not sure if this will work, but that's how it works (append="true" is the equivalent of +=) for other elements like external libraries.
-
Hi,
I have some issues using ant compc/mxmlc from air3.4 sdk. I used to compile my project with:
<target name="build" depends="directory">
<echo message="building ${OUTPUT_DIRECTORY}/${ARTIFACT}.swc"/>
<compc output="${basedir}/${OUTPUT_DIRECTORY}/${ARTIFACT}.swc"
optimize="true" warnings="false" target-player="${TARGET_PLAYER}">
<compiler.define name="CONFIG::FLASH_10_1" value="true" />
<compiler.define name="CONFIG::LOGGING" value="false" />
<compiler.define name="CONFIG::PLATFORM" value="true" />
<compiler.define name="CONFIG::MOCK" value="false" />
<keep-as3-metadata name="Bindable"/>
<keep-as3-metadata name="Managed"/>
<keep-as3-metadata name="ChangeEvent"/>
<keep-as3-metadata name="NonCommittingChangeEvent"/>
<keep-as3-metadata name="Transient"/>
<source-path path-element="${basedir}/src/main/flex"/>
<include-sources dir="${basedir}/src/main/flex">
<include name="**/*.as" />
<include name="**/*.mxml" />
</include-sources>
</compc>
</target>
now when I run the ant script with air3.4, resulting .swc is almost empty (2KB, previously 400KB) containing only
<dep id="Boolean" type="s"/>
<dep id="Object" type="i"/>
<dep id="String" type="s"/>
in catalog.xmlthank you for the explanation
I was able to track down the ant issue. Say you have 2 .as classes in /src. Now you run ant compc task
<?xml version="1.0" encoding="UTF-8"?>
<project default="default">
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
<target name="default">
<compc output="lib.swc">
<include-sources dir="${basedir}/src">
<include name="**/*.as" />
</include-sources>
</compc>
</target>
</project>
1. use FB4.7 (4.6.0 SDK) ... .swc is ok (contains both classes)
2. use AIR 3.4 SDK from lab ... error:
build.xml:6: Problem: failed to create task or type compc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
3. use sdk (merged previous two) ... swc is incomplete - contains only one class -
[compc] Error: Inconsistant linkage
Has anyone ran into this issue? I can't find any info on it on the web.
<compc debug="${DEBUG_FLAG}" output="${CORE_DIR}/bin/launchpad-core.swc"
maxmemory="512m" fork="true" >
<source-path path-element="${CORE_DIR}/src/" />
<include-sources dir="${CORE_DIR}/src" includes="*"/>
<library-path dir="${CORE_DIR}/libs" includes="*.swc" append="true"/>
<library-path dir="${FLEX_HOME}/frameworks/libs/mobile" includes="*.swc" append="true"/>
<library-path dir="${FLEX_HOME}/frameworks/libs/air" includes="*.swc" append="true"/>
<library-path dir="${FLEX_HOME}/frameworks/themes/Mobile" includes="*.swc" append="true"/>
<compiler.define value="${DEBUG_FLAG}}" name="CONFIG::debug"/>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
</compc>
[compc]
[compc] Error: Inconsistant linkage in /Applications/Adobe Flash Builder 4.5/sdks/4.5.1-air-3.0/frameworks/libs/air/airglobal.swc(flash.net.drm:AddToDeviceGroupSetting, flash.net.drm:AuthenticationMethod, flash.net.drm:LoadVoucherSetting) - 'flash.net.drm:LoadVoucherSetting' is marked as extern, but 'flash.net.drm:AddToDeviceGroupSetting' is not.
[compc]
BUILD FAILED
/Volumes/Users/rcanulla/Desktop/aflac-build-server/build.xml:17: compc task failed.
at flex.ant.FlexTask.executeOutOfProcess(FlexTask.java:256)
at flex.ant.FlexTask.execute(FlexTask.java:230)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 40 secondsDid you ever resolve this? I am getting the same thing.
-
FU4CIListener build.xml not setting properties?
I am following the Ant Task Setup. I have flex sdk 3.6.0.X, apache-ant 1.8.2 and the flexunit source 4.1.0.
When I run > ant -v clean package
function(){return A.apply(null,[this].concat($A(arguments)))}
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Trying the default build file: build.xml
Buildfile: C:\projects\FlexUnit4CIListener\build.xml
Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
Detected OS: Windows XP
parsing buildfile C:\projects\FlexUnit4CIListener\build.xml with URI = file:/C:/projects/FlexUnit4CIListener/build.xml
Project base dir set to: C:\projects\FlexUnit4CIListener
parsing buildfile jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
Importing file C:\projects\utils.xml from C:\projects\FlexUnit4CIListener\build.xml
Overriding previous definition of reference to ant.projectHelper
parsing buildfile C:\projects\utils.xml with URI = file:/C:/projects/utils.xml
[macrodef] creating macro gpg
[macrodef] creating macro sonatype-bundle
Overriding previous definition of reference to ant.projectHelper
[property] Loading Environment env.
Property "build.version" has not been set
Property "build.number" has not been set
Property "build.sdk" has not been set
Build sequence for target(s) `clean' is [clean]
Complete build sequence is [clean, init, compile, report, package, deploy, ]
clean:
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\bin
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\docs
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\sonatype
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
Build sequence for target(s) `package' is [init, compile, report, package]
Complete build sequence is [init, compile, report, package, clean, deploy, ]
init:
[mkdir] Skipping C:\projects\FlexUnit4CIListener\libs because it already exists.
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\sonatype
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\bin
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\docs
[copy] Copying 1 file to C:\projects\FlexUnit4CIListener\libs
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
compile:
[compc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
[compc] Adobe Compc (Flex Component Compiler)
[compc] Version 3.6.0 build 16995
[compc] Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
[compc]
[compc] command line: Error: configuration variable 'output' value contains unknown token 'build.version'
[compc]
[compc] Use 'compc -help' for information about using the command line.
BUILD FAILED
C:\projects\FlexUnit4CIListener\build.xml:50: compc task failed
at flex.ant.FlexTask.executeInProcess(FlexTask.java:299)
at flex.ant.FlexTask.execute(FlexTask.java:225)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 second
build.version, build.number & build.sdk are properties that are not being set. I would assume that they should be set internally somehow. However, if I manually set them via -D switches (with arbitrary values) I get the following:
>ant -v clean package -Dbuild.version=1.2.3.4 -Dbuild.number=666 -Dbuild.sdk=4.1
function(){return A.apply(null,[this].concat($A(arguments)))}
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Trying the default build file: build.xml
Buildfile: C:\projects\FlexUnit4CIListener\build.xml
Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
Detected OS: Windows XP
parsing buildfile C:\projects\FlexUnit4CIListener\build.xml with URI = file:/C:/projects/FlexUnit4CIListener/build.xml
Project base dir set to: C:\projects\FlexUnit4CIListener
parsing buildfile jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
Importing file C:\projects\utils.xml from C:\projects\FlexUnit4CIListener\build.xml
Overriding previous definition of reference to ant.projectHelper
parsing buildfile C:\projects\utils.xml with URI = file:/C:/projects/utils.xml
[macrodef] creating macro gpg
[macrodef] creating macro sonatype-bundle
Overriding previous definition of reference to ant.projectHelper
[property] Loading Environment env.
Build sequence for target(s) `clean' is [clean]
Complete build sequence is [clean, init, compile, report, package, deploy, ]
clean:
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\bin
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\docs
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\sonatype
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
Build sequence for target(s) `package' is [init, compile, report, package]
Complete build sequence is [init, compile, report, package, clean, deploy, ]
init:
[mkdir] Skipping C:\projects\FlexUnit4CIListener\libs because it already exists.
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\sonatype
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\bin
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\docs
[copy] Copying 1 file to C:\projects\FlexUnit4CIListener\libs
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
compile:
[compc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
[compc] C:\projects\FlexUnit4CIListener\target\bin\flexunit-cilistener-1.2.3.4-666-4.1.swc (11773 bytes)
report:
Skipped because property 'build.report' not set.
package:
[copy] Copying 1 file to C:\projects\FlexUnit4CIListener\target
[copy] Copying C:\projects\FlexUnit4CIListener\target\bin\flexunit-cilistener-1.2.3.4-666-4.1.swc to C:\projects\FlexUnit4CIListener\target\flexunit-cilistener-1.2.3.4-666-4.1.swc
BUILD SUCCESSFUL
Total time: 4 seconds
I can see where the previous 3 properties are being used in the swc output file name, but now there is a build.report property that is not being set. How do I know which properties need to be set, and what to set them to?I was using the 4.5.1 flex SDK but there seemed to be other issues so I just used the link directly from the Ant Task Setup page (instead of using the newest SDK). Upon following your instructions to ant build from the root directory, everything seemed to work correctly with a few exceptions. Below is the last part of the output from the build.
function(){return A.apply(null,[this].concat($A(arguments)))}
test:
Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
Detected OS: Windows XP
Project base dir set to: C:\projects\FlexUnit4Test
[ant] calling target(s) [test] in build file C:\projects\FlexUnit4Test\build.xml
parsing buildfile C:\projects\FlexUnit4Test\build.xml with URI = file:/C:/projects/FlexUnit4Test/build.xml
Project base dir set to: C:\projects\FlexUnit4Test
[property] Loading Environment env.
Override ignored for property "FLEX_HOME"
Property "env.FLEX_COVER_VIEWER" has not been set
[macrodef] creating macro compile-runner
[macrodef] creating macro execute-tests
[macrodef] creating macro execute-tests-using-flexcover
[macrodef] creating macro generate-html-report
[ant] Entering C:\projects\FlexUnit4Test\build.xml...
Build sequence for target(s) `test' is [init, test-only, test-and-instrument, test]
Complete build sequence is [init, test-only, test-and-instrument, test, clean, ]
init:
[mkdir] Created dir: C:\projects\FlexUnit4Test\target
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\bin
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\xunit\flex
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\xunit\as3
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\flexcover
[copy] Copying 5 files to C:\projects\FlexUnit4Test\libs
[copy] Copying C:\projects\FlexUnit4CIListener\target\flexunit-cilistener-4.1.0-x-y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-cilistener-4.1.0-x-y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4FluintExtensions\target\fluint-extensions-4.1.0-x-y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\fluint-extensions-4.1.0-x-y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-flex_y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-4.1.0-x-flex_y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4FlexCoverListener\target\flexunit-flexcoverlistener-4.1.0-x-y.y.y.y. swc to C:\projects\FlexUnit4Test\libs\flexunit-flexcoverlistener-4.1.0-x-y.y.y.y.swc
[copy] Copying 1 file to C:\projects\FlexUnit4Test\libs\build
[copy] Copying C:\projects\FlexUnit4AntTasks\target\flexUnitTasks-4.1.0-x.jar to C:\projects\FlexUnit4Test\libs\build\flexUnitTasks-4.1.0-x.jar
test-only:
[echo] Testing FlexUnit Flex build...
[mxmlc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
[mxmlc] C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf (924564 bytes)
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using default working dir [C:\projects\FlexUnit4Test]
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [C:\flexunit]
[flexunit] haltonfailure: [false]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] port: [1024]
[flexunit] swf: [C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [C:\projects\FlexUnit4Test\target\report\xunit\flex]
[flexunit] Setting up server process ...
[flexunit] Starting server ...
[flexunit] Entry [C:\projects\FlexUnit4Test\target\bin] already available in local trust file at [C:\Documents and Settings\Administrator\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust\flexUnit.cfg].
[flexunit] Executing 'rundll32' with arguments:
[flexunit] 'url.dll,FileProtocolHandler'
[flexunit] 'C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
[ant] Exiting C:\projects\FlexUnit4Test\build.xml.
After this part of the log I get the following:
function(){return A.apply(null,[this].concat($A(arguments)))}
BUILD FAILED
C:\projects\build.xml:103: The following error occurred while executing this line:
C:\projects\FlexUnit4Test\build.xml:180: The following error occurred while executing this line:
C:\projects\FlexUnit4Test\build.xml:62: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: Socket timeout waiting for flexunit report
at org.flexunit.ant.FlexUnitSocketServer.start(Unknown Source)
at org.flexunit.ant.FlexUnitSocketThread.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketTimeoutException: Accept timed out
at java.net.TwoStacksPlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:396)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
at java.net.ServerSocket.implAccept(ServerSocket.java:522)
at java.net.ServerSocket.accept(ServerSocket.java:490)
at org.flexunit.ant.FlexUnitSocketServer.openClientSocket(Unknown Source)
... 7 more
Total time: 1 minute 38 seconds
So everything seems to be building correctly now, but not executing correctly. Also, there are still a number of properties that are not being set:
function(){return A.apply(null,[this].concat($A(arguments)))}
report:
Skipped because property 'build.report' not set.
instrument-compile:
Skipped because property 'build.instrument' not set.
package-instrument:
Skipped because property 'build.instrument' not set.
pmdReport:
Skipped because property 'build.pmd' not set.
Where should these values be set and what are appropriate values? What could be causing the socket timeout and what exactly is it waiting for or attempting to accomplish with the sockets?
The end goal is to be able to use the flex SDK, flexunit and ANT on a linux server to automate my build/test process. I am currently just trying to get ANT to work with the flex SDK and flexunit on a windows XP box so I can see what the output should be and how the whole system works before trying to inject it into my CI system. -
Hi,
I am new to flex. I am trying to use the xmp sdk to create custom file info panels in photoshop.
I am going through the example show in the adobe documentation 'Building a panel with Flex SDK'
I got any running and I got all the files setup in the proper folders but I cannot for the life of me figure out why I keep getting this error.
Buildfile: /Volumes/three/2011/XMP/test project/build.xml
clean:
buildPanel:
[echo] --> Panel 'Test2'
[compc] Adobe Compc (Flex Component Compiler)
[compc] Version 4.5.1 build 21328
[compc] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
[compc] command line: Error: unable to open '/Applications/flex_sdk_4.5\frameworks\flex-config.xml'
[compc] Use 'compc -help' for information about using the command line.
BUILD FAILED
/Volumes/three/2011/XMP/test project/build.xml:20: compc task failed
Total time: 616 milliseconds
thanks,
digitalkylecan you tell us where your services-config.xml file is
located. can you make sure it is right under the "src" folder of
the Flex Builder project.
Hope this helps. -
Library Projects compiled using Flash Builder and ANT have different outputs
Hi Guys.,
I am really having hard time to get something work right with RSL projects in Flex 3.2 SDK. Here is my weird problem.
I have a library projects which has the following settings in Flash Builder
Link Type : External
airglobal.swc
framework.swc
datavisualization.swc
rpc.swc
utilites.swc
applicationupdater.swc
applicationupdater_ui.swc
Link Type: Merged into code
airframework.swc
servicemonitor.swc
Compiler settings
-directory=true -output=../../lib/core -debug=true -optimize=false -define+=CONFIG::bindingdebug,false -define+=CONFIG::frameworkdebug,false -define+=CONFIG::flexspy,true -define+=CONFIG::debug,true -define+=CONFIG::release,false -define+=CONFIG::logtoconsole,false -allow-source-path-overlap=true -keep-as3-metadata+=Metadata,DefaultProperty,Required,Event,AssignableTo,Inject,InjectCon structor,Publish,Subscribe,PublishSubscribe,Factory,Init,Destroy,Observe,AsyncInit,Managed Events,MessageDispatcher,MessageHandler,MessageBinding,MessageInterceptor,MessageError,Com mand,CommandComplete,CommandResult,CommandError,CommandStatus,ResourceBinding,Selector,Tar get,Autoremove,Internal,ObjectDefinition,DynamicObject
When I compile my library projects I get a MyLibraryproject.swc. The SWC has the following files in it
mx/controls/HTML.png
mx/core/Windows.png
library.swf
Note: airframework.swc and servicemonitor.swc has a many png files and properties files in it. But these properties and png files are not included when compiled in Flash builder.
But when the same project is compiled using ANT compc task, i get all the png and properties files from airframework.swc and servicemonitor.swc files into my library project SWC file.
Here is the ANT version which is used to compile the library project
<compc output="${project.output.dir}/${project.name}.swc"
include-classes="${as} ${mxml}"
use-network="false"
directory="false"
allow-source-path-overlap="true"
incremental="${build.incremental}"
debug="${build.debug}"
locale="${build.locale}"
optimize="false"
>
<define name="CONFIG::bindingdebug" value="${build.bindingdebug}" />
<define name="CONFIG::logtoconsole" value="${build.logtoconsole}" />
<define name="CONFIG::frameworkdebug" value="${build.frameworkdebug}" />
<define name="CONFIG::flexspy" value="${build.flexspy}" />
<define name="CONFIG::debug" value="${build.debug}" />
<define name="CONFIG::release" value="${build.release}" />
<keep-as3-metadata name="Metadata" />
<keep-as3-metadata name="DefaultProperty" />
<keep-as3-metadata name="Required" />
<keep-as3-metadata name="Event" />
<keep-as3-metadata name="AssignableTo" />
<keep-as3-metadata name="Inject" />
<keep-as3-metadata name="InjectConstructor" />
<keep-as3-metadata name="Publish" />
<keep-as3-metadata name="Subscribe" />
<keep-as3-metadata name="PublishSubscribe" />
<keep-as3-metadata name="Factory" />
<keep-as3-metadata name="Init" />
<keep-as3-metadata name="Destroy" />
<keep-as3-metadata name="Observe" />
<keep-as3-metadata name="AsyncInit" />
<keep-as3-metadata name="ManagedEvents" />
<keep-as3-metadata name="MessageDispatcher" />
<keep-as3-metadata name="MessageHandler" />
<keep-as3-metadata name="MessageBinding" />
<keep-as3-metadata name="MessageInterceptor" />
<keep-as3-metadata name="MessageError" />
<keep-as3-metadata name="Command" />
<keep-as3-metadata name="CommandComplete" />
<keep-as3-metadata name="CommandResult" />
<keep-as3-metadata name="CommandError" />
<keep-as3-metadata name="CommandStatus" />
<keep-as3-metadata name="ResourceBinding" />
<keep-as3-metadata name="Selector" />
<keep-as3-metadata name="Target" />
<keep-as3-metadata name="Autoremove" />
<keep-as3-metadata name="Internal" />
<keep-as3-metadata name="ObjectDefinition" />
<keep-as3-metadata name="DynamicObject" />
<load-config filename="${air.config}"/>
<compiler.include-libraries dir="${flex.frameworks.dir}/libs/air" append="true">
<include name="servicemonitor.swc" />
<include name="airframework.swc" />
</compiler.include-libraries>
<external-library-path dir="${build.compc.dir}" append="true">
<include name="TriGeoFlexFramework/TriGeoFlexFramework.swc" />
<include name="TriGeoLibrary/TriGeoLibrary.swc" />
<include name="TriGeoRPCFramework/TriGeoRPCFramework.swc" />
<include name="Degrafa_Beta3.1_Flex3" />
<include name="parsley-flex3-2.4.0.swc" />
<include name="spicelib-flex-2.4.0.swc" />
</external-library-path>
<external-library-path dir="${flex.frameworks.dir}/libs" append="true">
<include name="framework.swc" />
<include name="datavisualization.swc" />
<include name="utilities.swc" />
<include name="rpc.swc" />
<include name="air/airglobal.swc" />
<include name="air/applicationupdater.swc" />
<include name="air/applicationupdater_ui.swc" />
</external-library-path>
<source-path path-element="${basedir}/src" />
</compc>
</target>
</project>
Any insights is greatly appreciated.!#1, If it compiles then you have no issue. There's no reason at this point not to use 4.6. You should bundle a captive runtime to assure the users computer won't need to have AIR installed at all.
#2, Papervision is old. Use the Stage3D and/or a wrapper framework. As far as the generic "If I download lots of data will it take the user more time to load it", well, of course. Just don't make the loading experience painful. Entertain them while they way or find ways of displaying data sooner than later. If it's desirable on the web has more to do with the context of the app and the device displaying it. In other words, a phone user would find it easy but obviously not a desktop user.
#3, Definitely referring you to Google on that one.
#4, Size always matters, it's common sense. The more you process the harder it is. While I haven't done AR I've used the Microsoft Kinect SDK and ANE and tracking was extremely fast but limited. From what I've seen and your basic built in location and direction hardware on any mobile device you shouldn't have much trouble. Depends on what you're doing.
#5, This discussion would be way too large for a forum. You'd need to consult a firm experienced in AR development.
#6, "Applications using the commercial license do not have to provide source code, but must pay a licensing fee. Contact ARToolworks at [email protected] for more information." They will base your price on your product, there is no single price.
#7, The models could be huge and elaborate or tiny and simple which changes the answer. Consult the answer in #4. Ultimately most people are getting on fast networks with mobile and excessively fast on desktop/wifi. Size matters a lot less than 3 years ago.
#8, Depends on what you're doing. You have to explain it. -
Version control and deployment strategies
Hi,
I was looking for input from the community on general
strategies for using version control and managing deployments to
test/stg/production.
Currently, I am using subversion to track my source code, and
using the standard flex builder build routine to produce my binary
output and test. My output is stored locally on a shared vmware
drive, so that it can be served up with a linux vm running apache
(this is not dissimilar to just local testing)
Now I'm getting ready to deploy to some remote testing server
though, so I'm trying to think of the best way to go about it. I
would like to tag my code in svn with a release tag, as is my
practice in other platforms. Should I also store the bin folder in
svn? Should I check in the resulting binary code independently in a
separate repository/directory and then tag it there? Should I
create a new build target to deploy directly to my testing server?
The issue with the tagging approach seems to be that if I
want to rebuild the code or redeploy it for any reason, I would
have to checkout the tagged code in a separate directory, import it
as a new project, rebuild and then redeploy.
If I checked in the tested binaries into a separate
repository/folder, I could always just do an svn export for
deployment, but I'm not sure if that would cause any weird issues,
and it seems a bit wasteful. I suppose I could build from the tag
and zip up the resulting release and just make it available via
normal download, but it seems that I would likely then have lots of
working directory checkouts as flex builder projects for each tag
or release, just so that I could rebuild from them....doesn't seem
very elegant.
I'm very interested in hearing any feedback on this. How do
you do it?
thanks,
Cliffflex with ant is still not very very popular
combination,since FB does all for you anyways, but I have to say
ant is lot more flexible, especialy if you combine it with FB, ant
can do pretty much anything, ...
here is link about flex's ant tasks
http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html
most of the projects I have done in Flex were with ant,
here is general approach:
for internal testing I let flex builder build and deploy
within integrated tomcat,this is also where I do debugging, FB is
pretty good about that.
then I have following targets :
build target - builds optimized version of flex app, only
using library classes that are needed by project, also using that
to feed my Modules building tasks so that they exclude all class
references (like Button, Tabnavigation etc... ) from their compiled
units,
something like this (this is my old fb2 example) i don't have
fb3 example handy right now :
quote:
<mxmlc file="${basedir}/main.mxml"
debug="false"
optimize="true"
output="${dir.web}/main.swf"
show-binding-warnings="false"
show-actionscript-warnings="false"
link-report="${basedir}/docs/my-links.xml"
use-network="true">
<load-config
filename="/configdir/modified/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path dir="." append="true">
<include name="lib" />
</compiler.library-path>
<compiler.source-path path-element=""/>
<compiler.source-path path-element="src"/>
<metadata description="some app">
<contributor name="John Doe" />
<contributor name="Apple Orangino" />
</metadata>
</mxmlc>
<!-- compile module mymodule-->
<mxmlc file="${basedir}/mymodule.mxml"
debug="false"
optimize="true"
output="${dir.web}/mymodule.swf"
show-binding-warnings="false"
show-actionscript-warnings="false"
load-externs="${basedir}/docs/my-links.xml"
use-network="true" >
<load-config
filename="/configdir/modified/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.source-path path-element=""/>
<compiler.source-path path-element="src"/>
<metadata description="some app">
<contributor name="John Doe" />
<contributor name="Apple Orangino" />
</metadata>
</mxmlc>
tag -target tags release based on parameter of latest tag
plus number increment I configure in properties file.
Utility targets :
classpath target - builds classpath string for compc task.
commit target : commits source code, before building.
resources target - copies all resources files to build
directory,
deploy-local target- deploy to local Integration server
deploy-remote target deploy to remote uat server.
test -target - run test cases over classes and generate
report.
and of course all famous asDoc target :)
good thing is that you can create "ant builder" under project
properties and chain your targets with flexbuilder's build
commands,
you can also easily integrate with build servers ( I use
hudson)
here is example :
http://hudson.amostudio.com/
MR hudson checks out code for you, builds it using ant
targets you tell it to use, and reports to you, its pretty cool and
very handy to always have active build proccess over codebase, of
course in some cases its overkill, but most of the times, MR hudson
is good to have.
unfortunately all my ant files are for external clients I
cant disclose them, but I can write blog about some general (apples
and oranges) example, hhm that's actually good idea :) I can shake
off some stress as well :)
thanks for the idea :)
hth
regards
levan -
Managed Review And Approval SA build Failure
Folks,
I have installed ILOG Elixir 3.0, and Flex SDk 4.0 from flash builder.
When i try to build the components i get the following error. I have copied the reqired swcs from ilog folder to the rca lib folders.
I have tried with flash sdk 3.5 and 3.2 also but no luck.
I installed workbench and did not see the flash sdk in the workbench folder, i could only see an empty folder and hence i resorted to point it to the flash builder Flex SDK 4.0
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\install>..\..\to ols\thirdparty\ant_tp\apache-ant-1.7.1\bin\ant.bat clean dist -v -logfile log.out
build:
[pathconvert] Set property classes = com.adobe.solutions.rca.components.common.AlertWindow com.adobe.solutions.rca.components.common.BrandingBar com.adobe.solutions.rca.components.common.HDivider com.adobe.solutions.rca.components.common.IconLabel com.adobe.solutions.rca.components.common.NavigationHeader com.adobe.solutions.rca.components.common.PleaseWait com.adobe.solutions.rca.components.common.SearchPanel com.adobe.solutions.rca.components.common.SignOnScreen com.adobe.solutions.rca.components.common.SupportingContent com.adobe.solutions.rca.components.common.TemplateGridListing com.adobe.solutions.rca.components.common.TemplateThumbnailListing com.adobe.solutions.rca.components.common.Timeline com.adobe.solutions.rca.components.common.UploadStatusWindow com.adobe.solutions.rca.components.common.VDivider com.adobe.solutions.rca.components.creation.AuditLevels com.adobe.solutions.rca.components.creation.CommentVisibility com.adobe.solutions.rca.components.creation.StageDefinition com.adobe.solutions.rca.components.creation.StageManager com.adobe.solutions.rca.components.creation.StageParticipants com.adobe.solutions.rca.components.creation.SupportingDocuments com.adobe.solutions.rca.components.creation.TemplateConfiguration com.adobe.solutions.rca.components.creation.TemplateDefinition com.adobe.solutions.rca.components.dashboard.AuditLogResults com.adobe.solutions.rca.components.dashboard.DocumentRestartOptions com.adobe.solutions.rca.components.dashboard.DocumentViewer com.adobe.solutions.rca.components.dashboard.ReviewControlBar com.adobe.solutions.rca.components.dashboard.ReviewNavigator com.adobe.solutions.rca.components.dashboard.ReviewOverview com.adobe.solutions.rca.components.dashboard.ReviewParticipants com.adobe.solutions.rca.components.dashboard.ReviewSearchPanel com.adobe.solutions.rca.components.dashboard.ReviewSearchResults com.adobe.solutions.rca.components.dashboard.ReviewSummary com.adobe.solutions.rca.components.dashboard.StageOverview com.adobe.solutions.rca.components.dashboard.StageSummary com.adobe.solutions.rca.components.dashboard.navigation.NavBar com.adobe.solutions.rca.components.dashboard.navigation.NavRenderer com.adobe.solutions.rca.components.initiation.ReviewDefinition com.adobe.solutions.rca.components.initiation.ReviewDocuments com.adobe.solutions.rca.components.initiation.StageParticipants com.adobe.solutions.rca.components.initiation.StageTimelines com.adobe.solutions.rca.components.initiation.SupportingDocuments com.adobe.solutions.rca.components.renderers.DocumentThumbnail com.adobe.solutions.rca.components.renderers.ReviewerRole com.adobe.solutions.rca.components.renderers.StageDocumentList com.adobe.solutions.rca.components.renderers.TaskRenderer com.adobe.solutions.rca.components.renderers.TemplateInitiationThumbnail com.adobe.solutions.rca.components.renderers.TemplateThumbnail com.adobe.solutions.rca.components.renderers.TimelineRenderer com.adobe.solutions.rca.components.step.Buttons com.adobe.solutions.rca.components.step.TitleBar com.adobe.solutions.rca.components.step.Wrapper com.adobe.solutions.rca.components.widgets.ApproverGrid com.adobe.solutions.rca.components.widgets.DurationSettings com.adobe.solutions.rca.components.widgets.ModeratorGrid com.adobe.solutions.rca.components.widgets.PDFHost com.adobe.solutions.rca.components.widgets.ParticipantGrid com.adobe.solutions.rca.components.widgets.ProcessSelector com.adobe.solutions.rca.components.widgets.ReviewerGrid com.adobe.solutions.rca.components.widgets.SheetProcessSelector com.adobe.solutions.rca.components.widgets.TimelineLegend com.adobe.solutions.rca.components.widgets.UserSearch com.adobe.solutions.rca.event.StaticEventDispatcher com.adobe.solutions.rca.event.common.AddSupportingDocumentsInitiateEvent com.adobe.solutions.rca.event.common.ChangeWorkflowStepEvent com.adobe.solutions.rca.event.common.CleanUpEvent com.adobe.solutions.rca.event.common.LogoutEvent com.adobe.solutions.rca.event.common.RCADocumentUploadEvent com.adobe.solutions.rca.event.common.ReviewTemplateReceivedEvent com.adobe.solutions.rca.event.common.TemplateSearchEvent com.adobe.solutions.rca.event.common.TemplateSelectedEvent com.adobe.solutions.rca.event.creation.AuditLevelsEvent com.adobe.solutions.rca.event.creation.CommentVisibilityEvent com.adobe.solutions.rca.event.creation.CreationNavigationEvent com.adobe.solutions.rca.event.creation.ProcessHooksReceivedEvent com.adobe.solutions.rca.event.creation.StageManagerEvent com.adobe.solutions.rca.event.creation.StageMoveEvent com.adobe.solutions.rca.event.creation.StoreTemplateResultEvent com.adobe.solutions.rca.event.creation.SupportingDocumentsEvent com.adobe.solutions.rca.event.creation.TemplateConfigurationEvent com.adobe.solutions.rca.event.creation.TemplateDefinitionEvent com.adobe.solutions.rca.event.creation.ViewStageEvent com.adobe.solutions.rca.event.dashboard.DashboardEvent com.adobe.solutions.rca.event.dashboard.DocumentFilterEvent com.adobe.solutions.rca.event.dashboard.EditStageParticipantsEvent com.adobe.solutions.rca.event.dashboard.FilterSearchResultsEvent com.adobe.solutions.rca.event.dashboard.NavigationEvent com.adobe.solutions.rca.event.dashboard.ParticipantEvent com.adobe.solutions.rca.event.dashboard.ReviewSearchEvent com.adobe.solutions.rca.event.dashboard.ReviewSelectedEvent com.adobe.solutions.rca.event.dashboard.ReviseReviewEvent com.adobe.solutions.rca.event.dashboard.ReviseReviewInvocationEvent com.adobe.solutions.rca.event.dashboard.RevokeReviewEvent com.adobe.solutions.rca.event.dashboard.StageSelectedEvent com.adobe.solutions.rca.event.dashboard.UpdateStageDurationEvent com.adobe.solutions.rca.event.dashboard.ViewAuditLogEvent com.adobe.solutions.rca.event.dashboard.ViewDocumentEvent com.adobe.solutions.rca.event.dashboard.ViewDocumentsEvent com.adobe.solutions.rca.event.initiation.InitiationReviewDocumentsEvent com.adobe.solutions.rca.event.initiation.InitiationSupportingDocumentsEvent com.adobe.solutions.rca.event.initiation.LiveCycleConnectorEvent com.adobe.solutions.rca.event.initiation.ReviewDefinitionEvent com.adobe.solutions.rca.event.initiation.ReviewInitiatedCompleteEvent com.adobe.solutions.rca.event.initiation.ReviewInitiationInvocationEvent com.adobe.solutions.rca.event.initiation.StageInitiationEvent com.adobe.solutions.rca.event.initiation.StageParticipantsEvent com.adobe.solutions.rca.event.initiation.UploadDocumentCompleteEvent com.adobe.solutions.rca.event.initiation.WorkFlowChangeEvent com.adobe.solutions.rca.model.AuditLevel com.adobe.solutions.rca.model.BaseObject com.adobe.solutions.rca.model.DefaultSize com.adobe.solutions.rca.model.RCAConstants com.adobe.solutions.rca.model.Review com.adobe.solutions.rca.model.ReviewCommentVisibility com.adobe.solutions.rca.model.ReviewContext com.adobe.solutions.rca.model.ReviewSearchClientFilter com.adobe.solutions.rca.model.ReviewSearchFilter com.adobe.solutions.rca.model.ReviewStatus com.adobe.solutions.rca.model.ReviewType com.adobe.solutions.rca.model.Session com.adobe.solutions.rca.model.SignatureOptions com.adobe.solutions.rca.model.Template com.adobe.solutions.rca.model.TemplateCollection com.adobe.solutions.rca.model.document.DocumentCollection com.adobe.solutions.rca.model.document.RCADocument com.adobe.solutions.rca.model.document.SupportingDocument com.adobe.solutions.rca.model.document.UploadDocument com.adobe.solutions.rca.model.participant.Participant com.adobe.solutions.rca.model.participant.RCAUser com.adobe.solutions.rca.model.stage.Escalation com.adobe.solutions.rca.model.stage.ReviewStage com.adobe.solutions.rca.model.stage.StageStatus com.adobe.solutions.rca.model.stage.StageTypes com.adobe.solutions.rca.model.tests.GenericTest com.adobe.solutions.rca.service.AuthenticationManagerService com.adobe.solutions.rca.service.DirectoryManagerService com.adobe.solutions.rca.service.InitiateReviewOrchestration com.adobe.solutions.rca.service.RCACoreService com.adobe.solutions.rca.service.RCAUtilService com.adobe.solutions.rca.service.ReviewZoneProviderService com.adobe.solutions.rca.service.ReviseReviewOrchestration com.adobe.solutions.rca.service.ServiceLocator com.adobe.solutions.rca.service.adapter.AbstractAdapter com.adobe.solutions.rca.service.adapter.CompoundAdapter com.adobe.solutions.rca.service.adapter.IAdapter com.adobe.solutions.rca.service.adapter.NullAdapter com.adobe.solutions.rca.service.adapter.RemoteObjectAdapter com.adobe.solutions.rca.service.adapter.XmlHttpAdapter com.adobe.solutions.rca.service.common.AdapterTypes com.adobe.solutions.rca.service.common.OperationToken com.adobe.solutions.rca.service.common.UserCredentials com.adobe.solutions.rca.service.event.ServiceEvent com.adobe.solutions.rca.service.factory.AdapterFactory com.adobe.solutions.rca.service.model.ServiceArguments com.adobe.solutions.rca.service.model.ServiceAsyncToken com.adobe.solutions.rca.service.model.ServiceConfig com.adobe.solutions.rca.service.model.ServiceFaultEvent com.adobe.solutions.rca.service.model.ServiceResultEvent com.adobe.solutions.rca.service.operation.OperationConfiguration com.adobe.solutions.rca.service.operation.ServiceOperation com.adobe.solutions.rca.service.proxy.BaseProxy com.adobe.solutions.rca.service.sso.ISSOManager com.adobe.solutions.rca.service.sso.SSOEvent com.adobe.solutions.rca.service.sso.SSOManager com.adobe.solutions.rca.service.tests.GetProcessHooksTest com.adobe.solutions.rca.util.DataGridUtil com.adobe.solutions.rca.util.DataUtil com.adobe.solutions.rca.util.DateParseUtil com.adobe.solutions.rca.util.LocalConnectionTarget com.adobe.solutions.rca.util.LogUtil com.adobe.solutions.rca.util.StageUtil
[compc] Loading configuration file C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\flex-config.xml
[compc] C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\solution_templa tes\common\rca\src\com\adobe\solutions\rca\components\renderers\TaskRenderer.mxml(17): Error: Could not resolve <ilog:TaskItemRenderer> to a component implementation.
[compc]
[compc] styleName="timelineRenderer">
[compc]
BUILD FAILED
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\install\build.xm l:42: The following error occurred while executing this line:
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\install\build_ut ility.xml:108: The following error occurred while executing this line:
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\solution_templat es\common\rca\build.xml:62: compc task failed.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\install\build_u tility.xml:108: The following error occurred while executing this line:
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\solution_templat es\common\rca\build.xml:62: compc task failed.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.MacroInstance.execute(MacroInstance.java:394)
... 16 more
Caused by: C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\solution_templa tes\common\rca\build.xml:62: compc task failed.
at flex.ant.FlexTask.executeOutOfProcess(FlexTask.java:250)
at flex.ant.FlexTask.execute(FlexTask.java:223)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at com.adobe.ant.tasks.AntFetch.execute(AntFetch.java:360)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.MacroInstance.execute(MacroInstance.java:394)
... 34 more
--- Nested Exception ---
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\install\build_ut ility.xml:108: The following error occurred while executing this line:
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\solution_templat es\common\rca\build.xml:62: compc task failed.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.MacroInstance.execute(MacroInstance.java:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\solution_templa tes\common\rca\build.xml:62: compc task failed.
at flex.ant.FlexTask.executeOutOfProcess(FlexTask.java:250)
at flex.ant.FlexTask.execute(FlexTask.java:223)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at com.adobe.ant.tasks.AntFetch.execute(AntFetch.java:360)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.MacroInstance.execute(MacroInstance.java:394)
... 34 more
--- Nested Exception ---
C:\Adobe\Solution_Accelerators\managed_review_and_approval_2_0\sa\esm_2_0\solution_templat es\common\rca\build.xml:62: compc task failed.
at flex.ant.FlexTask.executeOutOfProcess(FlexTask.java:250)
at flex.ant.FlexTask.execute(FlexTask.java:223)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at com.adobe.ant.tasks.AntFetch.execute(AntFetch.java:360)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.MacroInstance.execute(MacroInstance.java:394)
at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.taskdefs.MacroInstance.execute(MacroInstance.java:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 48 seconds
Any help would be greatly appreciated.I am facing the same issue. I have ILog Elixir 3.0 and flex sdk 3.4. Is there anything specific you did which is not documented in the esm-gettingstarted.pdf
Buildfile: build.xml
[echo] Basedir is C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution
accelerator\sa\esm_2_0\install. Import dir is C:\Users\admin\Desktop\ARAMCO DEMO
\e-Submission\solution accelerator\sa\install
[echo] hostname is: ADMIN-PC
[echo] C:/Adobe/Adobe LiveCycle ES2/LiveCycle_ES_SDK and its dependencies v
alidated
[echo] CMN is at: C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution
accelerator\sa\esm_2_0\install/../../building_blocks/cmn_2_0/dist
[echo] SA Tools Found: C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solu
tion accelerator\sa\tools
[echo] Junit is at : C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\soluti
on accelerator\sa\tools/thirdparty/junit_tp/junit-4.5/junit-4.5.jar
clean:
[echo] Cleaning all components
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/common/logging_console module...
clean:
[delete] Deleting directory C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\s
olution accelerator\sa\esm_2_0\solution_templates\common\logging_console\dist
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/common/rca module...
clean:
[delete] Deleting directory C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\s
olution accelerator\sa\esm_2_0\solution_templates\common\rca\dist
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/common/rca_styles module...
clean:
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/review_template_creation module...
clean:
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/review_initiation module...
clean:
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/review_dashboard module...
clean:
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/review_portal module...
clean:
[echo] Executing "clean" target for the C:\Users\admin\Desktop\ARAMCO DEMO\
e-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_temp
lates/esm_enterprise_app module...
clean:
dist:
[echo] Building the Solution Template
[echo] Executing "dist" target for the C:\Users\admin\Desktop\ARAMCO DEMO\e
-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_templ
ates/common/logging_console module...
clean:
init:
[mkdir] Created dir: C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solutio
n accelerator\sa\esm_2_0\solution_templates\common\logging_console\dist
build:
[mxmlc] Loading configuration file C:\Program Files (x86)\Adobe\Adobe LiveCy
cle Workbench ES2\Flex_SDK\frameworks\flex-config.xml
[mxmlc] C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution accelerator
\sa\esm_2_0\solution_templates\common\logging_console\build\LoggingConsole.swf (
315584 bytes)
[copy] Copying 5 files to C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\s
olution accelerator\sa\esm_2_0\solution_templates\common\logging_console\build
[copy] Copying 1 file to C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\so
lution accelerator\sa\esm_2_0\solution_templates\common\logging_console\build
[war] Building war: C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\soluti
on accelerator\sa\esm_2_0\solution_templates\common\logging_console\dist\adobe-s
a-esm-loggingconsole.war
[delete] Deleting: C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution a
ccelerator\sa\esm_2_0\install\null772538418.dni
[delete] Deleting directory C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\s
olution accelerator\sa\esm_2_0\solution_templates\common\logging_console\build
dist:
[echo] Executing "dist" target for the C:\Users\admin\Desktop\ARAMCO DEMO\e
-Submission\solution accelerator\sa\esm_2_0\install/../../esm_2_0/solution_templ
ates/common/rca module...
clean:
init:
[mkdir] Created dir: C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solutio
n accelerator\sa\esm_2_0\solution_templates\common\rca\dist
build:
[compc] Loading configuration file C:\Program Files (x86)\Adobe\Adobe LiveCy
cle Workbench ES2\Flex_SDK\frameworks\flex-config.xml
[compc] C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution accelerator
\sa\esm_2_0\solution_templates\common\rca\src\com\adobe\solutions\rca\components
\renderers\TaskRenderer.mxml(17): Error: Could not resolve <ilog:TaskItemRendere
r> to a component implementation.
[compc]
[compc] styleName="timelineRenderer">
[compc]
BUILD FAILED
C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution accelerator\sa\esm_2_0\
install\build.xml:42: The following error occurred while executing this line:
C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution accelerator\sa\esm_2_0\
install\build_utility.xml:108: The following error occurred while executing this
line:
C:\Users\admin\Desktop\ARAMCO DEMO\e-Submission\solution accelerator\sa\esm_2_0\
solution_templates\common\rca\build.xml:62: compc task failed. -
Compc ant task and external framework
I'm writing an ant task to compile a couple of libraries into
SWCs and then a shell app (that uses the libraries) into a SWF for
deployment. If I compile the libraries by hand then run just the
'mxmlc' part of my ant script it compiles fine. However when I try
and first compile a library into a SWC with 'compc' it compiles but
then the shell app complains that the classes from the library are
missing. One thing that may be causing the problem is my library
path (through flex builder) has it's framework.swc set to 'Link
Type: External' and I'm not sure how to define that with 'compc'.
The weird thing is the flex builder compiled and 'compc' compiled
SWCs are the same size. Here's my target for 'compc':<mxmlc
file="${project.name}/src/Test.mxml"
output="${build.mxmlc.dir}/Test.swf"
static-link-runtime-shared-libraries="true"
>
<load-config filename="${air.config}"/>
<source-path path-element="${project.name}/src" />
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
</runtime-shared-library-path>
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
<url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
</runtime-shared-library-path>
</mxmlc>
This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false" ?? -
Swf, swc and the mxmlc, compc ant tasks
I'm a bit confused on the end result of the mxmlc / compc ant
tasks, or maybe the difference between swf and swc files. I have a
library of 60 or so AS3 files used for
serialization/deserialization of my Java backend (using GDS for
serialization of data between java serverside and my flex front
end). I first use the compc ant task on these AS3 files to create a
swc file. This swc is 453316 bytes. With this flash library, I use
the mxmlc ant task on my mxml file, which produces a 201,492-byte
swf file.
I have a couple questions related to the procedure above.
Shouldn't the swf file include the swc file, and hence be bigger
than the swc? I'm just wondering if I deploy the swf file, will it
have all it needs in the swc file to perform the functions
correctly?
My second question relates to setting the
keep-generated-actionscript="true" in the mxmlc task. When
doing this, I see all the AS3 code generated. However, it does not
include 55 of the 60 AS3 classes compiled in the swc. It only
generated AS3 code for those AS3 classes explicitly declared in the
mxml code (via import and actual declaration). Am I doing something
wrong here or is this the way flex does its thing?
The reason why I'm concerned about this is that I'm getting a
"ArgumentError: Error #2004: One of the parameters is
invalid" issue am I'm think its happening in the AS3 code (not
the Java server side) and I don't know how to debug this.
Any help would be appreciated. Thanks in advanced!
-losI am also facing with the same problem.....
Is there any resolution for this problem.?
Not sure where i am going wrong.
Any help will be appreciated.
Thanks in advance. -
Ant tasks for mxmlc/compc?
Are there "official" Ant tasks for mxmlc/compc?
<taskdef name="mxmlc" classname="flex.ant.MxmlcTask" classpath="${flexTasks.jar.loc}" />
<taskdef name="compc" classname="flex.ant.CompcTask" classpath="${flexTasks.jar.loc}" /> -
Ant task cyclic library refrence
Hello everyone,
I am using flex ant task from my Flash builder to compile application. Its working fine and I am able to get the output. But the problem is whenever I use a library in my main project which is refrencing other library than I am unable to find refrence of components in lib 2. Below is the structure
NewLib >> contains a NewLibGrid(which is a normal spark grid)
MainLib >> ExtPanel which includes NewLibGrid from NewLib .
MainApp >> This uses ExtPanel
No I am getting error during ant compilation
[compc] D:\Data\Flex\Projects\CompLib\src\ExtPanel.mxml: Error: Could not resolve <local:NewLibGrid> to a component implementation.
Here is part of antscript I am using
<target name="lib1" depends="lib2">
<compc output="${STAGE_DIR}/stagingDir/CompLib.swc"
keep-generated-actionscript="${DEBUG}"
debug="${DEBUG}"
optimize="${OPTIMIZE}"
target-player="${TARGET_FLASH_PLAYER}"
include-classes="ExtPanel">
<runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
<url rsl-url="framework_${FLEX_VERSION}.swf"/>
<url rsl-url="framework_${FLEX_VERSION}.swz"/>
</runtime-shared-library-path>
<runtime-shared-library-path path-element="${PROJ_HOME}/NewLib/bin/NewLib.swc">
<url rsl-url="${PROJ_HOME}/NewLib/bin/NewLib.swf"/>
<url rsl-url="${PROJ_HOME}/NewLib/bin/NewLib.swz"/>
</runtime-shared-library-path>
<compiler.library-path dir=".." append="true">
<include name="Common/libraries"/>
<exclude name="global_library.swc" />
</compiler.library-path>
<source-path path-element="../CompLib/src" />
</compc>
</target>
<target name="lib2">
<compc output="${STAGE_DIR}/stagingDir/NewLib.swc"
keep-generated-actionscript="${DEBUG}"
debug="${DEBUG}"
optimize="${OPTIMIZE}"
target-player="${TARGET_FLASH_PLAYER}"
include-classes="NewLibGrid">
<runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
<url rsl-url="framework_${FLEX_VERSION}.swf"/>
<url rsl-url="framework_${FLEX_VERSION}.swz"/>
</runtime-shared-library-path>
<compiler.library-path dir=".." append="true">
<include name="Common/libraries"/>
<exclude name="global_library.swc" />
</compiler.library-path>
<source-path path-element="../NewLib/src" />
</compc>
</target><mxmlc
file="${project.name}/src/Test.mxml"
output="${build.mxmlc.dir}/Test.swf"
static-link-runtime-shared-libraries="true"
>
<load-config filename="${air.config}"/>
<source-path path-element="${project.name}/src" />
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
<url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
</runtime-shared-library-path>
<runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
<url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
</runtime-shared-library-path>
</mxmlc>
This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false" ?? -
Hi
I'm trying to setup a Ant script to compile my code, but I keep getting an error regarding an [Embed]
Kol: 3: Fejl: '/../assets/images/info.png' kan ikke fortolkes til kodeoverførslen
[compc]
[compc] [Embed(source="/../assets/images/info.png")]
[compc] ^
[compc]
[compc] C:\Documents and Settings\Administrator\.hudson\jobs\ProcessGuide\workspace\src\dafolo\processguide\core\components\AbstractModelCommitingUIComponent.as(46):
Kol: 3: Fejl: Koden /../assets/images/info.png kan ikke overføres.
I can't seem to get an english version of the error, but translated directly it says:
Col: 3: Error:'/../ assets / images / info.png 'can not be interpreted to code transfer
Col: 3: Error: Code / .. / assets / images / info.png cannot be transferred.
I've also tried calling it directly from command, but I get the same error.
I've tried changing the [Embed] a bunch of times, but it just keeps on failing.
Thanks
MartinSry, I'll just post my Ant script:
<project name="ProcessGuide" default="compile">
<!-- load previously defined configuration properties file -->
<property file="build.properties" />
<!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project -->
<taskdef resource="flexTasks.tasks" classpath="C:/Documents and Settings/Administrator/Desktop/flexTasks.jar"/>
<!-- Build and output the Main.swf-->
<target name="compile">
<compc output="Main.swc">
<include-sources dir="./src" includes="**/*.as **/*.mxml" />
<source-path path-element="C:/Documents and Settings/Administrator/Desktop/4.5.0.17689/frameworks"/>
<compiler.debug>false</compiler.debug>
<compiler.library-path dir="C:/Documents and Settings/Administrator/Desktop/4.5.0.17689/frameworks" append="true">
<include name="libs" />
</compiler.library-path>
</compc>
</target>
</project>
Maybe you are looking for
-
I used to have Pages and it disappeared. I don't want to buy it again. What do I do? I have a Macbook, updated to Lion.
-
Invoking perl cartridge from another perl cartridge
Hi, I have a perl cgi tht I am porting to the cartridge framework and am having the following issue: the perl script "opens" another perl script (and "system"s another). THis does not seem to work in my setup presumable because the standalone version
-
Ipod nano 5 gen and windows7 64bit
i recently brought a new pc running windows7 64bit,ive managed to transfer my itunes library but i cant add any more music to my ipod ive tryed reseting ipod and reinstalling itunes version for windows7.when i plug my ipod into pc it does register bu
-
Running (or attempting to) iWeb 2.0.4 on Lion 10.7.1 on a 2008 Macbook. I've not had any problems with it since upgrading to Lion until today. I cannot get it to open without crashing. It opens and loads all the way to the inspector and then freezes.
-
On going Query about MSN/Live Messenger and T-Mobi...
I have this question running on two other boards with no cast iron answer. Are there any T-mob UK N900 users who can use the MSN plugin for conversation be it Butterfly, Haze or Pecan? If the answer is yes please let me know so I can rule out that it