flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Re: Anyone is using MSBuild
Date Thu, 18 Dec 2014 17:32:49 GMT
Here is what I got so far:

My command:
C:\Flex_SDKs\4.13.0\bin\mxmlc.bat "c:\source code\project.mxml"
-output="c:\Builds\project.swf" -locale=en_US -library-path+=libs
-define=CONFIG::debug,false -keep-generated-actionscript=false
-target-player=10.0.0 -source-path=locale\{locale} -source-path=src

result:
C:\Flex_SDKs\4.13.0>java -Xmx384m -Dsun.io.useCanonCaches=false
-Djava.util.Arrays.useLegacyMergeSort=true
-jar "C:\Flex_SDKs\4.13.0\bin\\..\lib\mxmlc.jar"
+flexlib="C:\Flex_SDKs\4.13.0\bin\\..\frameworks" "c:\source
code\project.mxml" -output="c:\Builds\project.swf" -locale=en_US
-library-path+=libs -def
ine=CONFIG::debug,false -keep-generated-actionscript=false
-target-player=14.0.0 -source-path=locale\{locale} -source-pa
th=src
Loading configuration file C:\Flex_SDKs\4.13.0\frameworks\flex-config.xml
Apache Flex Compiler (mxmlc)
Version 4.13.0 build 20140701
Copyright 2014 The Apache Software Foundation.

command line: Error: unable to open 'libs'

Not sure what to do with the error.

Thanks

On Wed, Dec 17, 2014 at 1:33 PM, Alex Harui <aharui@adobe.com> wrote:

> I would create a test.bat that echoes something to the console and see if
> you can get that to work.
>
> Another trick is to edit the mxmlc.bat and remove any “echo off” so you
> can see what it is doing.
>
> -Alex
>
> On 12/17/14, 10:41 AM, "mark goldin" <markzolotoy@gmail.com> wrote:
>
> >Well, I do have a MSBuild proj file that works with mxmlc.exe. Now I am
> >trying to use 4.13 that does not have exe compiler, but bat. Simply
> >replacing exe to bat does not work. When it runs no compilation is
> >occurring.
> >
> >On Wed, Dec 17, 2014 at 11:37 AM, OmPrakash Muppirala
> ><bigosmallm@gmail.com>
> >wrote:
> >
> >> Mark,
> >>
> >> Looks like you might be the only one doing this :-)
> >>
> >> For what its worth, I found an Ant task for MSBuild here:
> >> http://stefan.samaflost.de/repos/anttask/doc.xhtml
> >>
> >> You should be able to write your ant script (there are lots of examples
> >>if
> >> you google for this) and then invoke it from MSBuild.
> >>
> >> If that does not work, you will have to figure out how to invoke mxmlc
> >>(for
> >> main app) and compc (for swc library projects) from MSBuild directly.
> >>
> >> Thanks,
> >> Om
> >>
> >> On Wed, Dec 17, 2014 at 9:28 AM, mark goldin <markzolotoy@gmail.com>
> >> wrote:
> >> >
> >> > Great point, but I have no choice. Flex piece is a part of a large
> >>system
> >> > written in C#. Everything gets built by TFS Controller.
> >> >
> >> > On Wed, Dec 17, 2014 at 11:11 AM, Jason Guild <jason.guild@alaska.gov
> >
> >> > wrote:
> >> >
> >> > > Why would you want to? Ant works great for that.
> >> > >
> >> > >
> >> > > On 12/17/2014 8:10 AM, mark goldin wrote:
> >> > >
> >> > >> Is anyone using MSBuild to build Flex projects?
> >> > >>
> >> > >> Thanks
> >> > >>
> >> > >>
> >> > >
> >> >
> >>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message