It's beginning to be funny, and I know it should be simpler, but I'm
still mired in errors. Now that ApproveSDK finally worked, I wanted to
build an application with the framework, but IntelliJ, after I added
the new SDK and associated it with the projects I have, complained
that there is no adl.exe in the bin folder. This, I think, is
expected. So I went to the README at the section called "Prepare the
SDK for use with an IDE", which told me to run `ant frameworks-rsls`,
which I did, and got this error:
___________________________________________
frameworks-rsls:
     [echo] build.number is 20150324
    [unzip] Expanding: C:\Users\someUser\Adobe Flash Builder 4.7\FlexSDK4.14.1
\apache-flex-sdk-4.14.1-src\frameworks\libs\textLayout.swc into
C:\Users\someUser
\Adobe Flash Builder 4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1-src\frameworks\
rsls
     [java] Error: Could not find or load main class Flash

BUILD FAILED
C:\Users\someUser\Adobe Flash Builder 4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
-src\build.xml:482: The following error occurred while executing this line:
C:\Users\someUser\Adobe Flash Builder 4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
-src\build.xml:467: Java returned: 1
___________________________________________

It looks like /lib/optimizer.jar is failing when trying to optimize
the metadata of the textLayout RSL. Any ideas why?

On 24 March 2015 at 00:28, Mihai Chira <mihai.ch...@gmail.com> wrote:
> Yep, that was it (the debugger projector). Because it worked well for
> my regular source SDK, I assumed it was set correctly - but I had set
> it correctly in env.properties, and, for some reason incorrectly in
> the environment variables section.
>
> After that I also got the 'cannot access local resource' error, and
> then, after adding both basicLoader.swf and BasicTests.swf, the
> basictests target passed.
>
> Thank you for your help, Alex!
>
> PS: isn't there a way to automate adding the test swfs to the / a
> security trust file? I have a feeling it could save a lot of time for
> the whole community.
>
> On 23 March 2015 at 23:10, Alex Harui <aha...@adobe.com> wrote:
>> Basictests takes several seconds to run.  You should be able to watch it
>> run.  If it isn’t coming up, then we have to wonder if the player isn’t
>> configured correctly.
>>
>> If BasicTests does run, please verify that you’ve installed a debugger
>> projector and not the regular projector player.
>>
>> -Alex
>>
>> On 3/23/15, 3:00 PM, "Mihai Chira" <mihai.ch...@gmail.com> wrote:
>>
>>>There is a flashlog.txt in
>>>"c:\Users\someUser\AppData\Roaming\Macromedia\Flash Player\Logs\", but
>>>it's empty. I also ran the basictests target again, and the date and
>>>time don't change on flashlog.txt and it stays empty.
>>>
>>>On 23 March 2015 at 22:29, Alex Harui <aha...@adobe.com> wrote:
>>>> Did a flashlog.txt file get created?  What kind of output was in it?
>>>> Where did it end up on your computer?
>>>>
>>>> -Alex
>>>>
>>>> On 3/23/15, 2:22 PM, "Mihai Chira" <mihai.ch...@gmail.com> wrote:
>>>>
>>>>>Like this? TraceOutputFileEnable=1
>>>>>yes.
>>>>>
>>>>>On 23 March 2015 at 21:38, Alex Harui <aha...@adobe.com> wrote:
>>>>>> Is trace output enabled in the mm.cfg file?
>>>>>>
>>>>>> On 3/23/15, 1:28 PM, "Mihai Chira" <mihai.ch...@gmail.com> wrote:
>>>>>>
>>>>>>>Thanks, Om! Now works just fine from the command prompt after
>>>>>>>installing gpg4win.
>>>>>>>
>>>>>>>Later down the line I get this error:
>>>>>>>
>>>>>>>_______________________________________
>>>>>>>
>>>>>>>compilemustellaswc:
>>>>>>>Loading configuration file
>>>>>>>C:\Users\someUser\workspace\sdk\frameworks\flex-con
>>>>>>>fig.xml
>>>>>>>C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
>>>>>>>-src\mustella\mustella.swc (95112 bytes)
>>>>>>>C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
>>>>>>>-src\build.xml:1498: warning: 'includeantruntime' was not set,
>>>>>>>defaulting
>>>>>>>to bui
>>>>>>>ld.sysclasspath=last; set to false for repeatable builds
>>>>>>>Compiling 1 source file
>>>>>>>
>>>>>>>load-task:
>>>>>>>
>>>>>>>basictests:
>>>>>>>Loading configuration file C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.
>>>>>>>14.1\apache-flex-sdk-4.14.1-src\frameworks\flex-config.xml
>>>>>>>Loading configuration file C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.
>>>>>>>14.1\apache-flex-sdk-4.14.1-src\frameworks\tests\basicTests\BasicTests
>>>>>>>-c
>>>>>>>on
>>>>>>>fig.xm
>>>>>>>l
>>>>>>>C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
>>>>>>>-src\frameworks\tests\basicTests\BasicTests.swf (3798035 bytes)
>>>>>>>Loading configuration file C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.
>>>>>>>14.1\apache-flex-sdk-4.14.1-src\frameworks\flex-config.xml
>>>>>>>C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
>>>>>>>-src\frameworks\tests\basicTests\basicLoader.swf (959 bytes)
>>>>>>>Loading configuration file C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.
>>>>>>>14.1\apache-flex-sdk-4.14.1-src\frameworks\flex-config.xml
>>>>>>>C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
>>>>>>>-src\frameworks\tests\basicTests\spark\views\StyleManagerModuleTest.sw
>>>>>>>f
>>>>>>>(541283
>>>>>>>bytes)
>>>>>>>Loading configuration file C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.
>>>>>>>14.1\apache-flex-sdk-4.14.1-src\frameworks\flex-config.xml
>>>>>>>Required RSLs:
>>>>>>>    framework_20150323.swf
>>>>>>>    textLayout_20150323.swf
>>>>>>>    spark_20150323.swf
>>>>>>>    osmf_20150323.swf
>>>>>>>C:\Users\someUser\Adobe Flash Builder
>>>>>>>4.7\FlexSDK4.14.1\apache-flex-sdk-4.14.1
>>>>>>>-src\frameworks\tests\basicTests\spark\views\HelloWorld.swf (62946
>>>>>>>bytes)
>>>>>>>launching player and swf
>>>>>>>DEPRECATED - <available> used to override an existing property.
>>>>>>>  Build file should not reuse the same property name for different
>>>>>>>values.
>>>>>>>DEPRECATED - <available> used to override an existing property.
>>>>>>>  Build file should not reuse the same property name for different
>>>>>>>values.
>>>>>>>
>>>>>>>mustellaresultsparser:
>>>>>>>No results.  Is trace output enabled?
>>>>>>>results: FAILED
>>>>>>>_______________________________________
>>>>>>>
>>>>>>>I'm sure it's something simple, but I'm not sure what. I'll give it
>>>>>>>more time tomorrow. In the meantime I checked in some small
>>>>>>>improvements to the README (on develop).
>>>>>>>
>>>>>>>
>>>>>>>On 23 March 2015 at 19:33, OmPrakash Muppirala <bigosma...@gmail.com>
>>>>>>>wrote:
>>>>>>>> I have the same error when trying to run gpg on Git Bash.  But it
>>>>>>>>works
>>>>>>>> completely fine on my Windows Command Prompt shell.  Apparently,
>>>>>>>>its a
>>>>>>>> known issue that Git Bash and windows command prompt look at
>>>>>>>>different
>>>>>>>> places for the ring file [1]
>>>>>>>>
>>>>>>>> Have you tried that instead of Git Bash?
>>>>>>>>
>>>>>>>> Of course, I had to install gpg on my machine first from [2]
>>>>>>>>
>>>>>>>> [1] https://github.com/keybase/node-client/issues/95
>>>>>>>> [2] http://gpg4win.org/download.html
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Om
>>>>>>>>
>>>>>>>> On Mon, Mar 23, 2015 at 11:22 AM, Alex Harui <aha...@adobe.com>
>>>>>>>>wrote:
>>>>>>>>
>>>>>>>>> Try some other commands with GPG.  It may be your GPG set up and
>>>>>>>>>not
>>>>>>>>> anything related to Flex.
>>>>>>>>>
>>>>>>>>> Google says there may be more than one gpg program on your computer
>>>>>>>>>and
>>>>>>>>> running the wrong one can result in something like this.
>>>>>>>>>
>>>>>>>>> -Alex
>>>>>>>>>
>>>>>>>>> On 3/23/15, 11:07 AM, "Mihai Chira" <mihai.ch...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> >I'm using the git bash (C:\Program Files (x86)\Git\bin\sh.exe).
>>>>>>>>>It's
>>>>>>>>> >the same even if I run it as administrator.
>>>>>>>>> >
>>>>>>>>> >On 23 March 2015 at 18:54, Alex Harui <aha...@adobe.com> wrote:
>>>>>>>>> >> Are you using a Cygwin or some other shell emulator?  You may be
>>>>>>>>>having
>>>>>>>>> >> file permission problems and need to use sudo.
>>>>>>>>> >>
>>>>>>>>> >> -Alex
>>>>>>>>> >>
>>>>>>>>> >> On 3/23/15, 10:44 AM, "Mihai Chira" <mihai.ch...@gmail.com>
>>>>>>>>>wrote:
>>>>>>>>> >>
>>>>>>>>> >>>> 1) You downloaded the KEYS file?
>>>>>>>>> >>>Yes, in the same folder as ApproveSDK.xml, which is why it
>>>>>>>>>didn't
>>>>>>>>>need
>>>>>>>>> >>>a path. But I just tried to give it the absolute path instead of
>>>>>>>>>the
>>>>>>>>> >>>relative one, and I get the same error.
>>>>>>>>> >>
>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>
>>

Reply via email to