You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Shatzer, Larry" <La...@Spirent.com> on 2003/09/22 23:59:57 UTC

[PATCH] and problem with patch.xml

While making changes to custom-programing.html, I found an invalid property
in the documentation.

"${mydomain.classes" which should be "${mydomain.classes}". 

When running patch.xml, it has a problem:

Caught exception (org.apache.tools.ant.BuildException) while expanding
no.copyright.set: Syntax error in property: <
classpath="${mydomain.classes"/&gt;

Since patch.txt.tmp has both properties showing (invalid and valid), it
tries to expand them both, and fails.

I'm not quite sure how to fix this in patch.xml for future problems with
this. In the short term I've attached a patch to fix custom-programing.html
(along with a few other changes like use of " to &quot; to be more
consistent, and spelling).

-- Larry


AW: AW: [PATCH] and problem with patch.xml

Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Actually I don't know for sure why &quot; should be preferred to ".
I can revert this part of the change if this is causing an outcry.


Antoine

-----Ursprüngliche Nachricht-----
Von: peter reilly [mailto:peter.reilly@corvil.com]
Gesendet: Dienstag, 23. September 2003 13:44
An: Ant Developers List
Betreff: Re: AW: [PATCH] and problem with patch.xml


Is there any reason   &quot; is preferred to " in
html files ?

It makes reading the html source containg
build script examples quite difficult

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: AW: [PATCH] and problem with patch.xml

Posted by peter reilly <pe...@corvil.com>.
Is there any reason   &quot; is preferred to " in
html files ?

It makes reading the html source containg
build script examples quite difficult 

Peter

On Tuesday 23 September 2003 12:39, Antoine Lévy-Lambert wrote:
> Patch submitted, thanks
>
> Antoine
>
> -----Ursprüngliche Nachricht-----
> Von: Shatzer, Larry [mailto:Larry.Shatzer@Spirent.com]
> Gesendet: Dienstag, 23. September 2003 00:00
> An: 'dev@ant.apache.org'
> Betreff: [PATCH] and problem with patch.xml
>
>
> While making changes to custom-programing.html, I found an invalid property
> in the documentation.
>
> "${mydomain.classes" which should be "${mydomain.classes}".
>
> When running patch.xml, it has a problem:
>
> Caught exception (org.apache.tools.ant.BuildException) while expanding
> no.copyright.set: Syntax error in property: <
> classpath="${mydomain.classes"/&gt;
>
> Since patch.txt.tmp has both properties showing (invalid and valid), it
> tries to expand them both, and fails.
>
> I'm not quite sure how to fix this in patch.xml for future problems with
> this. In the short term I've attached a patch to fix custom-programing.html
> (along with a few other changes like use of " to &quot; to be more
> consistent, and spelling).
>
> -- Larry
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


AW: [PATCH] and problem with patch.xml

Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Patch submitted, thanks

Antoine

-----Ursprüngliche Nachricht-----
Von: Shatzer, Larry [mailto:Larry.Shatzer@Spirent.com]
Gesendet: Dienstag, 23. September 2003 00:00
An: 'dev@ant.apache.org'
Betreff: [PATCH] and problem with patch.xml


While making changes to custom-programing.html, I found an invalid property
in the documentation.

"${mydomain.classes" which should be "${mydomain.classes}".

When running patch.xml, it has a problem:

Caught exception (org.apache.tools.ant.BuildException) while expanding
no.copyright.set: Syntax error in property: <
classpath="${mydomain.classes"/&gt;

Since patch.txt.tmp has both properties showing (invalid and valid), it
tries to expand them both, and fails.

I'm not quite sure how to fix this in patch.xml for future problems with
this. In the short term I've attached a patch to fix custom-programing.html
(along with a few other changes like use of " to &quot; to be more
consistent, and spelling).

-- Larry



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org