superman2211 / guepard

flash to html5 converter, as3 to javascript translator
MIT License
62 stars 20 forks source link

build #2

Closed srinigudimella closed 4 years ago

srinigudimella commented 5 years ago

How to build converter.air?

superman2211 commented 5 years ago

Hi!

I added Build section into readme file

srinigudimella commented 5 years ago

Hi, Thank you for your support. I followed step by step. Created new project name as New project and added all the source files Built successfully executed. But when we run, then below error is showing. "Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe "D:\Srini\Flex\New Project\New Project.as3proj" -ipc b7011240-395b-43be-89e1-b9a7ce99d2fc -version "4.6.0; 3.1" -compiler "C:\Users\Srini\Downloads\flex_sdk_4.6" -library "C:\Program Files (x86)\FlashDevelop\Library" Building New Project Build succeeded Done(0) The system cannot find the file specified [No debug Flash player connection request] " One clarification that converter.swf in applicaiton.xml path is not in the source. Is this causing error?

Please advise. Thank you.

On Wed, Jan 30, 2019 at 11:00 PM Sergey Antonov notifications@github.com wrote:

Hi!

I added Build section into readme file https://github.com/AntonovSergey2211/guepard/blob/master/README.md

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AntonovSergey2211/guepard/issues/2#issuecomment-459034372, or mute the thread https://github.com/notifications/unsubscribe-auth/ASmw0ehuEs_ud8PyliYxERAb-TFClLc8ks5vIda2gaJpZM4aaphj .

superman2211 commented 5 years ago

Hi!

I updated Build instruction.

If you want to use this converter for convert flash app to html5 you can install only Adobe AIR and compiled air/converter.air.

srinigudimella commented 5 years ago

Thank you for your support. I followed all the instructions and run the build . The error screenshot is attached. I am not having knowledge in Air application. Can you please support on this.

runerror

superman2211 commented 5 years ago

Hi! Your APP_ID does not match with id from application.xml.

application.xml <id>converter</id>

SetupApp.bat set CERT_NAME="converter"

Also, you need to rebuild your certificate.

srinigudimella commented 5 years ago

Hi,

The below is the file application.xml

<?xml version="1.0" encoding="utf-8"?>

converter 1.0 converter converter converter converter.swf standard false true true true true desktop ]]>

The "setupApp.bat" file contents are

:: Set working dir cd %~dp0 & cd ..

:user_configuration

:: About AIR application packaging :: http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_5.html#1035959 :: http://livedocs.adobe.com/flex/3/html/distributing_apps_4.html#1037515

:: NOTICE: all paths are relative to project root

:: Your certificate information set CERT_NAME=converter set CERT_PASS=39#wnetx3tl set CERT_FILE=bat\converter.p12 set SIGNING_OPTIONS=-storetype pkcs12 -keystore %CERT_FILE% -storepass %CERT_PASS% -tsa none

:: Application descriptor set APP_XML=application.xml

:: Files to package set APP_DIR=bin set FILE_OR_DIR=-C %APP_DIR% .

:: Your application ID (must match of Application descriptor) and remove spaces for /f "tokens=3 delims=<>" %%a in ('findstr /R /C:"^[ ]*" %APP_XML%') do set APP_ID=%%a set APP_ID=%APP_ID: =%

:: Output set AIR_PATH=air set AIR_NAME="converter"

:validation findstr /D:"%APP_ID%" "%APP_XML%" > NUL if errorlevel 1 goto badid goto end

:badid echo. echo ERROR: echo Application ID in 'bat\SetupApp.bat' (APP_ID) echo does NOT match Application descriptor '%APP_XML%' (id) echo. if %PAUSE_ERRORS%==1 pause exit

:end

Not able to create certificate it says arguments are not enough. Can you please let me know what is the issue?

Thank you.

On Tue, Feb 5, 2019 at 8:45 PM Sergey Antonov notifications@github.com wrote:

Hi! Your APP_ID does not match with id from application.xml.

application.xml

converter

SetupApp.bat set CERT_NAME="converter"

Also, you need to rebuild your certificate.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AntonovSergey2211/guepard/issues/2#issuecomment-460675023, or mute the thread https://github.com/notifications/unsubscribe-auth/ASmw0YnBMMsimPMs2T75bThYxoqDcYoQks5vKaAogaJpZM4aaphj .

superman2211 commented 5 years ago

Hi! Your files didn't work for me. Build completed but I don't see anything... Try those files:

application.xml <?xml version="1.0" encoding="utf-8"?>

converter 1.0 converter converter converter converter.swf standard false true true true true

SetupApp.bat

:: Set working dir cd %~dp0 & cd ..

:user_configuration

:: About AIR application packaging :: http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_5.html#1035959 :: http://livedocs.adobe.com/flex/3/html/distributing_apps_4.html#1037515

:: NOTICE: all paths are relative to project root

:: Your certificate information set CERT_NAME="converter" set CERT_PASS=fd set CERT_FILE="bat\converter.p12" set SIGNING_OPTIONS=-storetype pkcs12 -keystore %CERT_FILE% -storepass %CERT_PASS%

:: Application descriptor set APP_XML=application.xml

:: Files to package set APP_DIR=bin set FILE_OR_DIR=-C %APP_DIR% .

:: Your application ID (must match of Application descriptor) and remove spaces for /f "tokens=3 delims=<>" %%a in ('findstr /R /C:"^[ ]*" %APP_XML%') do set APP_ID=%%a set APP_ID=%APP_ID: =%

:: Output set AIR_PATH=air set AIR_NAME=converter

:validation findstr /C:"%APP_ID%" "%APP_XML%" > NUL if errorlevel 1 goto badid goto end

:badid echo. echo ERROR: echo Application ID in 'bat\SetupApp.bat' (APP_ID) echo does NOT match Application descriptor '%APP_XML%' (id) echo. if %PAUSE_ERRORS%==1 pause exit

:end

srinigudimella commented 5 years ago

At the first step, the certificate is not working.. See attached error. capture1

superman2211 commented 4 years ago

Hello! Do you have any updates?