You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by santanu4ver <sa...@gmail.com> on 2014/05/23 18:48:52 UTC

ANT build fails for web project

Hi,

Previously the following ANT scripts were working fine when we were on Adobe
Flex SDK 4.7. Recently we shifted to Apache Flex SDK 4.12.1. The following
stag just fails when build, can anyone suggest what we're missing in these
tags? Thanks!


<target name="CompileWeb" depends="compileLibrary">
                <mxmlc file="${web_main_source}"
output="${web_swf_filename}" locale="en_US" static-rsls="false"
optimize="true" actionscript-file-encoding="UTF-8" incremental="false"
keep-generated-actionscript="false">
                        <load-config
filename="${flex_sdk_dir}/frameworks/flex-config.xml"/>
                        <source-path path-element="${web_source_dir}"/>
                        <compiler.debug>false</compiler.debug>
                        <library-path dir="${debug_dir}" includes="*.swc"
append="true" />
                        <runtime-shared-library-path
path-element="${flex_sdk_dir}/frameworks/libs/framework.swc">
                                <url rsl-url="framework_4.12.1.20140427.swz"
/>
                                <url rsl-url="framework_4.12.1.20140427.swf"
/>
                        </runtime-shared-library-path>
                        <runtime-shared-library-path
path-element="${flex_sdk_dir}/frameworks/libs/mx/mx.swc">
                                <url rsl-url="mx_4.12.1.20140427.swz" />
                                <url rsl-url="mx_4.12.1.20140427.swf" />
                        </runtime-shared-library-path>
                        <runtime-shared-library-path
path-element="${flex_sdk_dir}/frameworks/libs/textLayout.swc">
                                <url
rsl-url="textLayout_4.12.1.20140427.swz" />
                                <url
rsl-url="textLayout_4.12.1.20140427.swf" />
                        </runtime-shared-library-path>
                        <runtime-shared-library-path
path-element="${flex_sdk_dir}/frameworks/libs/spark.swc">
                                <url rsl-url="spark_4.12.1.20140427.swz" />
                                <url rsl-url="spark_4.12.1.20140427.swf" />
                        </runtime-shared-library-path>
                        <runtime-shared-library-path
path-element="${flex_sdk_dir}/frameworks/libs/sparkskins.swc">
                                <url
rsl-url="sparkskins_4.12.1.20140427.swz" />
                                <url
rsl-url="sparkskins_4.12.1.20140427.swf" />
                        </runtime-shared-library-path>
                        <runtime-shared-library-path
path-element="${flex_sdk_dir}/frameworks/libs/rpc.swc">
                                <url rsl-url="rpc_4.12.1.20140427.swz" />
                                <url rsl-url="rpc_4.12.1.20140427.swf" />
                        </runtime-shared-library-path>
                </mxmlc>
        </target> 



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by santanu4ver <sa...@gmail.com>.
Oops. Even tiny thing can give lot of trouble. It works, thanks Alex.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6620.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by Alex Harui <ah...@adobe.com>.
static-rsl="true"

On 5/25/14 9:46 PM, "santanu4ver" <sa...@gmail.com> wrote:

>Alex, Justin, thank you for enlighten the FlexJS part, I should read more
>on
>the project soon.
>
>At this moment, I have changed RSL to merge-into-code. I have double
>checked
>the linking options and I changed into my ANT scripts as well, but
>strangely
>I'm having following error while build:
>
>CompileWeb:
>    [mxmlc] Loading configuration file /Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/flex-config.xml
>    [mxmlc] Required RSLs:
>    [mxmlc]     framework_4.12.1.20140427.swf
>    [mxmlc]     textLayout_4.12.1.20140427.swf
>    [mxmlc]     spark_4.12.1.20140427.swf
>    [mxmlc]     sparkskins_4.12.1.20140427.swf
>    [mxmlc]     rpc_4.12.1.20140427.swf
>    [mxmlc]     mx_4.12.1.20140427.swf
>    [mxmlc] /Users/webspidersindiapvtltd/Documents/Adobe Flash Builder
>4.7/ProminicNativeWeb/build/DEPLOY/ProminicNativeWeb.swf (1065199 bytes)
>
>
>Follows is the modified ANT scripts so far, can you suggest if I'm missing
>something?
>
><target name="CompileWeb" depends="compileLibrary">
>	<mxmlc file="${web_main_source}" output="${web_swf_filename}"
>locale="en_US" static-rsls="false" optimize="true"
>actionscript-file-encoding="UTF-8" incremental="false"
>keep-generated-actionscript="false">
>		<load-config filename="${flex_sdk_dir}/frameworks/flex-config.xml"/>
>		<source-path path-element="${flex_sdk_dir}/frameworks" />
>		<source-path path-element="${web_source_dir}"/>
>		<compiler.debug>false</compiler.debug>
>		<library-path dir="${debug_dir}" includes="*.swc" append="true" />
>	</mxmlc>
></target>
>
>Thanks.
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-pro
>ject-tp6589p6618.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: ANT build fails for web project

Posted by santanu4ver <sa...@gmail.com>.
Alex, Justin, thank you for enlighten the FlexJS part, I should read more on
the project soon.

At this moment, I have changed RSL to merge-into-code. I have double checked
the linking options and I changed into my ANT scripts as well, but strangely
I'm having following error while build:

CompileWeb:
    [mxmlc] Loading configuration file /Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/flex-config.xml
    [mxmlc] Required RSLs:
    [mxmlc]     framework_4.12.1.20140427.swf
    [mxmlc]     textLayout_4.12.1.20140427.swf
    [mxmlc]     spark_4.12.1.20140427.swf
    [mxmlc]     sparkskins_4.12.1.20140427.swf
    [mxmlc]     rpc_4.12.1.20140427.swf
    [mxmlc]     mx_4.12.1.20140427.swf
    [mxmlc] /Users/webspidersindiapvtltd/Documents/Adobe Flash Builder
4.7/ProminicNativeWeb/build/DEPLOY/ProminicNativeWeb.swf (1065199 bytes)


Follows is the modified ANT scripts so far, can you suggest if I'm missing
something?

<target name="CompileWeb" depends="compileLibrary">
	<mxmlc file="${web_main_source}" output="${web_swf_filename}"
locale="en_US" static-rsls="false" optimize="true"
actionscript-file-encoding="UTF-8" incremental="false"
keep-generated-actionscript="false">
		<load-config filename="${flex_sdk_dir}/frameworks/flex-config.xml"/>
		<source-path path-element="${flex_sdk_dir}/frameworks" />
		<source-path path-element="${web_source_dir}"/>
		<compiler.debug>false</compiler.debug>
		<library-path dir="${debug_dir}" includes="*.swc" append="true" />
	</mxmlc>
</target>

Thanks.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6618.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> One of the goals of FlexJS is to eliminate the need for RSLs.

And to be fair there really no such thing as RSLs in JS, but it does make a HTTP request for every JS file you include which is sort of the same thing.

The Signed RSLs are verified by the Flash Player. Adobe is unwilling to accept signed RSLs even if Apache did sign them and it would require modifications and a new release to the Flash Player I assume.

Justin

Re: ANT build fails for web project

Posted by Alex Harui <ah...@adobe.com>.
FlexJS will produce both SWFs and HTML/JS/CSS versions.

On 5/25/14 9:22 PM, "santanu4ver" <sa...@gmail.com> wrote:

>But that is a shifting to a different track completely, I believe (?) But
>thank you Alex for clearing on the facts.
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-pro
>ject-tp6589p6615.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: ANT build fails for web project

Posted by santanu4ver <sa...@gmail.com>.
But that is a shifting to a different track completely, I believe (?) But
thank you Alex for clearing on the facts.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6615.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by Alex Harui <ah...@adobe.com>.

On 5/25/14 9:03 PM, "santanu4ver" <sa...@gmail.com> wrote:

>If that is the only probable option (merge-into-code) for new SDK then
>we'll
>have to do it, but why Apache can not distribute their own signed version
>of
>these files?
Because Adobe will only sign things created by Adobe.

One of the goals of FlexJS is to eliminate the need for RSLs.

-Alex


RE: ANT build fails for web project

Posted by Kessler CTR Mark J <ma...@usmc.mil>.
Also remember that even rsls signed by apache won't be the same as the adobe signed rsls.  The adobe ones go into a special cache outside of your browser.  While anything else goes into your browser cache.

-Mark

-----Original Message-----
From: santanu4ver [mailto:santanu4ver@gmail.com]
Sent: Monday, May 26, 2014 12:03 AM
To: users@flex.apache.org
Subject: Re: ANT build fails for web project

If that is the only probable option (merge-into-code) for new SDK then we'll
have to do it, but why Apache can not distribute their own signed version of
these files?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6613.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by santanu4ver <sa...@gmail.com>.
If that is the only probable option (merge-into-code) for new SDK then we'll
have to do it, but why Apache can not distribute their own signed version of
these files?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6613.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by Alex Harui <ah...@adobe.com>.

On 5/23/14 10:13 AM, "santanu4ver" <sa...@gmail.com> wrote:

>So Alex, you suggest to use merge build which is default to Apache Flex
>(not
>RSL)?
For Apache Flex, RSLs are generally only going to help folks serving more
than one Flex SWF from a domain, and maybe folks with really complex
module loading requirements.

The rest of you should probably use the 'merge-into-code' option.  Yes,
this may result in slower startup times than with Adobe Flex, but should
still be faster than using unsigned RSLs.

-Alex


Re: ANT build fails for web project

Posted by santanu4ver <sa...@gmail.com>.
So Alex, you suggest to use merge build which is default to Apache Flex (not
RSL)?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6596.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by Alex Harui <ah...@adobe.com>.
Apache Flex does not provide signed RSLs.  In fact, the default linkage
for Apache Flex is static linking because Adobe will only sign Adobe Flex
RSLs and for most folks, static linking creates a faster startup than
loading unsigned RSLs.

So, you will need to modify your build scripts accordingly.

Thanks,
-Alex

On 5/23/14 9:58 AM, "santanu4ver" <sa...@gmail.com> wrote:

>Following are the output of my build, its not very clear to me, though.
>
>---------------------------------------------------------------------
>
>build	23-May-2014 07:14:26	CompileWeb:
>build	23-May-2014 07:14:27	    [mxmlc] Loading configuration file
>/Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/flex-config.xml
>build	23-May-2014 07:14:37	    [mxmlc] Required RSLs:
>build	23-May-2014 07:14:37	    [mxmlc]     framework_4.12.1.20140427.swz
>build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
>catalog.xml of the library, /Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/framework.swc. Compile the
>library
>with -create-digest=true and try again.
>build	23-May-2014 07:14:37	    [mxmlc]
>build	23-May-2014 07:14:37	    [mxmlc]     mx_4.12.1.20140427.swz
>build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
>catalog.xml of the library, /Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/mx/mx.swc. Compile the library
>with
>-create-digest=true and try again.
>build	23-May-2014 07:14:37	    [mxmlc]
>build	23-May-2014 07:14:37	    [mxmlc]     textLayout_4.12.1.20140427.swz
>build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
>catalog.xml of the library, /Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/textLayout.swc. Compile the
>library
>with -create-digest=true and try again.
>build	23-May-2014 07:14:37	    [mxmlc]
>build	23-May-2014 07:14:37	    [mxmlc]     spark_4.12.1.20140427.swz
>build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
>catalog.xml of the library, /Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/spark.swc. Compile the library
>with
>-create-digest=true and try again.
>build	23-May-2014 07:14:37	    [mxmlc]
>build	23-May-2014 07:14:37	    [mxmlc]     sparkskins_4.12.1.20140427.swz
>build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
>catalog.xml of the library, /Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/sparkskins.swc. Compile the
>library
>with -create-digest=true and try again.
>build	23-May-2014 07:14:37	    [mxmlc]
>build	23-May-2014 07:14:37	    [mxmlc]     rpc_4.12.1.20140427.swz
>build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
>catalog.xml of the library, /Applications/Adobe Flash Builder
>4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/rpc.swc. Compile the library with
>-create-digest=true and try again.
>build	23-May-2014 07:14:37	    [mxmlc]
>error	23-May-2014 07:14:37	
>error	23-May-2014 07:14:37	BUILD FAILED
>error	23-May-2014 07:14:37
>/Users/mmb/bamboo-agent-home/xml-data/build-dir/PFP-PN-JOB1/ProminicNative
>Web/build/build.xml:139:
>The following error occurred while executing this line:
>error	23-May-2014 07:14:37
>/Users/mmb/bamboo-agent-home/xml-data/build-dir/PFP-PN-JOB1/ProminicNative
>Web/build/build.xml:426:
>mxmlc task failed
>
>--------------------------------------------------------------
>
>build.xml:426 is the "CompileWeb" target that I given earlier.
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-pro
>ject-tp6589p6591.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: ANT build fails for web project

Posted by santanu4ver <sa...@gmail.com>.
I'm using RSL, don't we need those SWZ to be present while compiling a SWF? 

Also, these SWZs are only taken from SDK's folder just like we did them for
SDK 4.7. 

If I would have to remove those references, what alternative reference
should I add?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6594.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by mark goldin <ma...@gmail.com>.
build   23-May-2014 07:14:37        [mxmlc]
framework_4.12.1.20140427.swz
build   23-May-2014 07:14:37        [mxmlc] Error: No signed digest found in
catalog.xml of the library, /Applications/Adobe Flash Builder

Tyy removing signed .swz references.


On Fri, May 23, 2014 at 11:58 AM, santanu4ver <sa...@gmail.com> wrote:

> Following are the output of my build, its not very clear to me, though.
>
> ---------------------------------------------------------------------
>
> build   23-May-2014 07:14:26    CompileWeb:
> build   23-May-2014 07:14:27        [mxmlc] Loading configuration file
> /Applications/Adobe Flash Builder
> 4.7/sdks/4.12.1_AIR.13.0/frameworks/flex-config.xml
> build   23-May-2014 07:14:37        [mxmlc] Required RSLs:
> build   23-May-2014 07:14:37        [mxmlc]
> framework_4.12.1.20140427.swz
> build   23-May-2014 07:14:37        [mxmlc] Error: No signed digest found
> in
> catalog.xml of the library, /Applications/Adobe Flash Builder
> 4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/framework.swc. Compile the library
> with -create-digest=true and try again.
> build   23-May-2014 07:14:37        [mxmlc]
> build   23-May-2014 07:14:37        [mxmlc]     mx_4.12.1.20140427.swz
> build   23-May-2014 07:14:37        [mxmlc] Error: No signed digest found
> in
> catalog.xml of the library, /Applications/Adobe Flash Builder
> 4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/mx/mx.swc. Compile the library
> with
> -create-digest=true and try again.
> build   23-May-2014 07:14:37        [mxmlc]
> build   23-May-2014 07:14:37        [mxmlc]
> textLayout_4.12.1.20140427.swz
> build   23-May-2014 07:14:37        [mxmlc] Error: No signed digest found
> in
> catalog.xml of the library, /Applications/Adobe Flash Builder
> 4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/textLayout.swc. Compile the
> library
> with -create-digest=true and try again.
> build   23-May-2014 07:14:37        [mxmlc]
> build   23-May-2014 07:14:37        [mxmlc]     spark_4.12.1.20140427.swz
> build   23-May-2014 07:14:37        [mxmlc] Error: No signed digest found
> in
> catalog.xml of the library, /Applications/Adobe Flash Builder
> 4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/spark.swc. Compile the library
> with
> -create-digest=true and try again.
> build   23-May-2014 07:14:37        [mxmlc]
> build   23-May-2014 07:14:37        [mxmlc]
> sparkskins_4.12.1.20140427.swz
> build   23-May-2014 07:14:37        [mxmlc] Error: No signed digest found
> in
> catalog.xml of the library, /Applications/Adobe Flash Builder
> 4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/sparkskins.swc. Compile the
> library
> with -create-digest=true and try again.
> build   23-May-2014 07:14:37        [mxmlc]
> build   23-May-2014 07:14:37        [mxmlc]     rpc_4.12.1.20140427.swz
> build   23-May-2014 07:14:37        [mxmlc] Error: No signed digest found
> in
> catalog.xml of the library, /Applications/Adobe Flash Builder
> 4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/rpc.swc. Compile the library with
> -create-digest=true and try again.
> build   23-May-2014 07:14:37        [mxmlc]
> error   23-May-2014 07:14:37
> error   23-May-2014 07:14:37    BUILD FAILED
> error   23-May-2014 07:14:37
>
> /Users/mmb/bamboo-agent-home/xml-data/build-dir/PFP-PN-JOB1/ProminicNativeWeb/build/build.xml:139:
> The following error occurred while executing this line:
> error   23-May-2014 07:14:37
>
> /Users/mmb/bamboo-agent-home/xml-data/build-dir/PFP-PN-JOB1/ProminicNativeWeb/build/build.xml:426:
> mxmlc task failed
>
> --------------------------------------------------------------
>
> build.xml:426 is the "CompileWeb" target that I given earlier.
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6591.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Re: ANT build fails for web project

Posted by santanu4ver <sa...@gmail.com>.
Following are the output of my build, its not very clear to me, though.

---------------------------------------------------------------------

build	23-May-2014 07:14:26	CompileWeb:
build	23-May-2014 07:14:27	    [mxmlc] Loading configuration file
/Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/flex-config.xml
build	23-May-2014 07:14:37	    [mxmlc] Required RSLs:
build	23-May-2014 07:14:37	    [mxmlc]     framework_4.12.1.20140427.swz
build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
catalog.xml of the library, /Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/framework.swc. Compile the library
with -create-digest=true and try again.
build	23-May-2014 07:14:37	    [mxmlc] 
build	23-May-2014 07:14:37	    [mxmlc]     mx_4.12.1.20140427.swz
build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
catalog.xml of the library, /Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/mx/mx.swc. Compile the library with
-create-digest=true and try again.
build	23-May-2014 07:14:37	    [mxmlc] 
build	23-May-2014 07:14:37	    [mxmlc]     textLayout_4.12.1.20140427.swz
build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
catalog.xml of the library, /Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/textLayout.swc. Compile the library
with -create-digest=true and try again.
build	23-May-2014 07:14:37	    [mxmlc] 
build	23-May-2014 07:14:37	    [mxmlc]     spark_4.12.1.20140427.swz
build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
catalog.xml of the library, /Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/spark.swc. Compile the library with
-create-digest=true and try again.
build	23-May-2014 07:14:37	    [mxmlc] 
build	23-May-2014 07:14:37	    [mxmlc]     sparkskins_4.12.1.20140427.swz
build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
catalog.xml of the library, /Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/sparkskins.swc. Compile the library
with -create-digest=true and try again.
build	23-May-2014 07:14:37	    [mxmlc] 
build	23-May-2014 07:14:37	    [mxmlc]     rpc_4.12.1.20140427.swz
build	23-May-2014 07:14:37	    [mxmlc] Error: No signed digest found in
catalog.xml of the library, /Applications/Adobe Flash Builder
4.7/sdks/4.12.1_AIR.13.0/frameworks/libs/rpc.swc. Compile the library with
-create-digest=true and try again.
build	23-May-2014 07:14:37	    [mxmlc] 
error	23-May-2014 07:14:37	
error	23-May-2014 07:14:37	BUILD FAILED
error	23-May-2014 07:14:37
/Users/mmb/bamboo-agent-home/xml-data/build-dir/PFP-PN-JOB1/ProminicNativeWeb/build/build.xml:139:
The following error occurred while executing this line:
error	23-May-2014 07:14:37
/Users/mmb/bamboo-agent-home/xml-data/build-dir/PFP-PN-JOB1/ProminicNativeWeb/build/build.xml:426:
mxmlc task failed

--------------------------------------------------------------

build.xml:426 is the "CompileWeb" target that I given earlier.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589p6591.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: ANT build fails for web project

Posted by mark goldin <ma...@gmail.com>.
What's the error?


On Fri, May 23, 2014 at 11:48 AM, santanu4ver <sa...@gmail.com> wrote:

> Hi,
>
> Previously the following ANT scripts were working fine when we were on
> Adobe
> Flex SDK 4.7. Recently we shifted to Apache Flex SDK 4.12.1. The following
> stag just fails when build, can anyone suggest what we're missing in these
> tags? Thanks!
>
>
> <target name="CompileWeb" depends="compileLibrary">
>                 <mxmlc file="${web_main_source}"
> output="${web_swf_filename}" locale="en_US" static-rsls="false"
> optimize="true" actionscript-file-encoding="UTF-8" incremental="false"
> keep-generated-actionscript="false">
>                         <load-config
> filename="${flex_sdk_dir}/frameworks/flex-config.xml"/>
>                         <source-path path-element="${web_source_dir}"/>
>                         <compiler.debug>false</compiler.debug>
>                         <library-path dir="${debug_dir}" includes="*.swc"
> append="true" />
>                         <runtime-shared-library-path
> path-element="${flex_sdk_dir}/frameworks/libs/framework.swc">
>                                 <url
> rsl-url="framework_4.12.1.20140427.swz"
> />
>                                 <url
> rsl-url="framework_4.12.1.20140427.swf"
> />
>                         </runtime-shared-library-path>
>                         <runtime-shared-library-path
> path-element="${flex_sdk_dir}/frameworks/libs/mx/mx.swc">
>                                 <url rsl-url="mx_4.12.1.20140427.swz" />
>                                 <url rsl-url="mx_4.12.1.20140427.swf" />
>                         </runtime-shared-library-path>
>                         <runtime-shared-library-path
> path-element="${flex_sdk_dir}/frameworks/libs/textLayout.swc">
>                                 <url
> rsl-url="textLayout_4.12.1.20140427.swz" />
>                                 <url
> rsl-url="textLayout_4.12.1.20140427.swf" />
>                         </runtime-shared-library-path>
>                         <runtime-shared-library-path
> path-element="${flex_sdk_dir}/frameworks/libs/spark.swc">
>                                 <url rsl-url="spark_4.12.1.20140427.swz" />
>                                 <url rsl-url="spark_4.12.1.20140427.swf" />
>                         </runtime-shared-library-path>
>                         <runtime-shared-library-path
> path-element="${flex_sdk_dir}/frameworks/libs/sparkskins.swc">
>                                 <url
> rsl-url="sparkskins_4.12.1.20140427.swz" />
>                                 <url
> rsl-url="sparkskins_4.12.1.20140427.swf" />
>                         </runtime-shared-library-path>
>                         <runtime-shared-library-path
> path-element="${flex_sdk_dir}/frameworks/libs/rpc.swc">
>                                 <url rsl-url="rpc_4.12.1.20140427.swz" />
>                                 <url rsl-url="rpc_4.12.1.20140427.swf" />
>                         </runtime-shared-library-path>
>                 </mxmlc>
>         </target>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/ANT-build-fails-for-web-project-tp6589.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>