Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal ENABLEDELAYEDEXPANSION
- setlocal ENABLEEXTENSIONS
- ::jfx like
- ::started pakages javafx 2.2.8
- ::inicializaçao de classes simples
- ::bem10jfx.blogspot.com
- ::knbjfxbr.blogspot.com
- :ini
- if exist *.class erase /f *.class
- if exist a.txt erase /f a.txt
- cls
- ^echo.
- ^echo.
- set set =set &set echo=echo%set ultimaOcr=ultima opçao %EscOpc%
- ^%echo%. %ultimaOcr%
- ^set javafxc=javac.exe
- ^set javafxHight=java.exe
- ^echo. Escolha as opçoes
- ^echo.
- ^echo. Criar Class[1] CriarJar[2]
- ^echo. Iniciar Fonte [3]
- ^echo.
- set /p EscOpc=
- if "%EscOpc%"=="1" goto oneInst
- if "%EscOpc%"=="2" goto twoInst
- if "%EscOpc%"=="3" goto treInst
- @if errorlevel 1 cls&echo.&echo. error na ocorrencia&pause&goto ini
- pause>null
- :oneInst
- set /p EscOpc1="Arraste a fonte aqui_"
- call %~ftza1 :clss&goto ini
- :twoInst
- :: process earthrise
- :treInst
- set /p EscOpc3="Arraste a fonte aqui_"
- echo inicianado leitura!
- call %~ftza1 :initStarted&goto ini
- pause
- goto ini
- :clss
- "C:\Program Files\Java\jdk1.8.0_60\bin\%javafxc%" -d . "%EscOpc1%"
- dir /b "*.class"
- pause>nul&^pause
- goto :EOF
- :initStarted
- echo Atenção classe Inicializada
- "C:\Program Files\Java\jdk1.8.0_60\bin\%javafxc%" -d . "%EscOpc3%"
- dir /b "*.class">>a.txt
- FOR /F %%k IN ( a.txt ) DO ( echo.&^set entry=%%k
- ^%echo%. --package--%entry:~0,5%---classe--%%k
- )
- "C:\Program Files\Java\jdk1.8.0_60\bin\%javafxHight%" "%entry:~0,5%"
- echo leitura concluida
- pause>nul&^pause
- goto EOF
- exit
- :EOF
Advertisement
Add Comment
Please, Sign In to add comment