Bonjour

je debute avec flex ..et j'ai une application en flex que je dois tester et etudier pour s'en inspirer pour mon projet

En premier lieu j'ai decider de lancer l'application et la j'ai eu un probleme ..

y avait un fichier CreateCertificate.bat que j'ai pu lancer ( apres avoir changer le chemin vers le C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\bin ) il m' a generer la certificat et tous aller bien

sauf que pour lancer le PackageApplication.bat j'ai une erreur ( en piece jointe )

Comme j'ai aucune idee sur la cause de cette faute ( qui a l'air au niveau de set FILE_OR_DIR=-C bin . ) j'aimerai bien avoir de l'aide pour comprendre et faire marcher cette app

rq dans le dossier de l'application y a aucun ficher ou dossier appelé bin

Merci d'avance pour votre aide

PackageApplication.bat : ( apres une recherche sur le net ca a l air le .bat standard )
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
@echo off
 
:: AIR application packaging
:: More information:
:: http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_5.html#1035959
 
:: Path to Flex SDK binaries
set PATH=%PATH%;C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\bin
 
 
:: Signature (see 'CreateCertificate.bat')
set CERTIFICATE=SelfSigned.pfx
set SIGNING_OPTIONS=-storetype pkcs12 -keystore %CERTIFICATE%
if not exist %CERTIFICATE% goto certificate
 
:: Output
if not exist air md air
set AIR_FILE=air/WiiRelessPlayer.air
 
:: Input
set APP_XML=application.xml 
set FILE_OR_DIR=-C bin .
 
echo Signing AIR setup using certificate %CERTIFICATE%.
call adt -package %SIGNING_OPTIONS% %AIR_FILE% %APP_XML% %FILE_OR_DIR%
if errorlevel 1 goto failed
 
echo.
echo AIR setup created: %AIR_FILE%
echo.
goto end
 
:certificate
echo Certificate not found: %CERTIFICATE%
echo.
echo Troubleshotting: 
echo A certificate is required, generate one using 'CreateCertificate.bat'
echo.
goto end
 
:failed
echo AIR setup creation FAILED.
echo.
echo Troubleshotting: 
echo did you configure the Flex SDK path in this Batch file?
echo.
 
:end
pause