Obtendo uma URL usando ant no JBoss EAP AS 6.3

1

Eu tenho uma tarefa ant simples para obter um URL e salvá-lo em um arquivo:

<target name="test_xhtml">
    <get verbose="on"
        dest="/tmp/test.xhtml"
        src="http://localhost:8080/forms/faces/test.xhtml?param=loremipsum"/></target>

Osscriptsretornam:

test_xhtml:[get]Getting:http://localhost:8080/forms/faces/test.xhtml?param=loremipsum[get]To:C:/tmp/test.xhtml[get]Erroropeningconnectionjava.io.IOException:ServerreturnedHTTPresponsecode:505forURL:http://localhost:8080/forms/faces/test.xhtml?param=loremipsum[get]Erroropeningconnectionjava.io.IOException:ServerreturnedHTTPresponsecode:505forURL:http://localhost:8080/forms/faces/test.xhtml?param=loremipsum[get]Erroropeningconnectionjava.io.IOException:ServerreturnedHTTPresponsecode:505forURL:http://localhost:8080/forms/faces/test.xhtml?param=loremipsum[get]Can'tgethttp://localhost:8080/forms/faces/test.xhtml?param=loremipsumtoC:\tmp\test.xhtmlBUILDSUCCESSFULTotaltime:468milliseconds

Bem,aquestãoécomopossoobteroURL?(talvezalgumaconfiguraçãonojboss6.3porqueohttp505significaqueojbossnãoreconheçaoprotocolohttpusadoporant:veja

    
por Enrique San Martín 20.07.2016 / 06:10

0 respostas

Tags