You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Rob Tanner <rt...@linfield.edu> on 2012/09/14 21:09:32 UTC

Problems using URL tasks

Hi,

I have a project where I need to do a specific GET request to a server to let it know that a new application has been copied to a mounted partition and needs to be installed (I was doing this manually, but would like to automate it).

If I to the GET without any parameters, the request works fine, I know it works but, when I add the necessary parameters so that the app actually gets installed, I get this error:

BUILD FAILED
/Users/caspersgrin/Java/Workspace/LINF-test/build.xml:27: The reference to entity "clean" must end with the ';' delimiter.

The actual parameter  part of the URL is:

fileName=c:/Users/marvin/Documents/B2Development/LINF-test.war&clean=true&available=true



Since it appears that the semi-colon can be added without causing problems on the remote server, I tried adding it per the error message but I still get the same error.

Any ideas?


Thanks,
Rob






Re: Problems using URL tasks

Posted by Harold Putman <hp...@lexmark.com>.
fileName=c:/Users/marvin/Documents/B2Development/LINF-test.war&amp;clean=true&amp;available=true

On Fri, Sep 14, 2012 at 3:09 PM, Rob Tanner <rt...@linfield.edu> wrote:

> Hi,
>
> I have a project where I need to do a specific GET request to a server to
> let it know that a new application has been copied to a mounted partition
> and needs to be installed (I was doing this manually, but would like to
> automate it).
>
> If I to the GET without any parameters, the request works fine, I know it
> works but, when I add the necessary parameters so that the app actually
> gets installed, I get this error:
>
> BUILD FAILED
> /Users/caspersgrin/Java/Workspace/LINF-test/build.xml:27: The reference to
> entity "clean" must end with the ';' delimiter.
>
> The actual parameter  part of the URL is:
>
>
> fileName=c:/Users/marvin/Documents/B2Development/LINF-test.war&clean=true&available=true
>
>
>
> Since it appears that the semi-colon can be added without causing problems
> on the remote server, I tried adding it per the error message but I still
> get the same error.
>
> Any ideas?
>
>
> Thanks,
> Rob
>
>
>
>
>
>