You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dave Pawson <da...@gmail.com> on 2009/05/13 11:24:57 UTC

property file syntax

I'm having 'fun' with a properties file syntax.
E.g. white space on the end of a line!

Is the syntax described in the ant manual please (using 1.7),
I can't find it.

TIA

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

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


Re: property file syntax

Posted by Dave Pawson <da...@gmail.com>.
2009/5/13 Mark Salter <ma...@talktalk.net>:

>>>        http://ant.apache.org/manual/
>>
>>
>> ?  I see no mention of property file description/syntax there?
>>
> It's a link to the complete manual, which is what I thought you needed?
>
> The Property task is under :-
>
>   Ant Tasks/Core Tasks/Property
>
> as the original link given by Mr Hollis almost included.
>
> Were you after something other than the Table of Contents of the ant manual?

Sorry, I was unclear. I guess I was asking for a direct entry in the main TOC
for a properties file

I.e. asking how it might be 'added' by someone with write access to
that document.

http://is.gd/zsPg  only has an 'indirect' link to the Sun page right
down at the bottom.

"The rules for this format are laid down by Sun. This makes it hard
for Team Ant to field bug reports about it. "

regards DaveP



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

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


Re: property file syntax

Posted by Mark Salter <ma...@talktalk.net>.
Dave Pawson wrote:
> 2009/5/13 Mark Salter <ma...@talktalk.net>:
>> Dave Pawson wrote:
>>
>>> How to get it into the ant documentation Table of Contents?
>>>
>>>
>>        http://ant.apache.org/manual/
> 
> 
> ?  I see no mention of property file description/syntax there?
> 
It's a link to the complete manual, which is what I thought you needed?

The Property task is under :-

   Ant Tasks/Core Tasks/Property

as the original link given by Mr Hollis almost included.

Were you after something other than the Table of Contents of the ant manual?

hth

-- 
Mark

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


Re: property file syntax

Posted by Dave Pawson <da...@gmail.com>.
2009/5/13 Mark Salter <ma...@talktalk.net>:
> Dave Pawson wrote:
>
>> How to get it into the ant documentation Table of Contents?
>>
>>
>
>        http://ant.apache.org/manual/


?  I see no mention of property file description/syntax there?


regards




-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

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


Re: property file syntax

Posted by Mark Salter <ma...@talktalk.net>.
Dave Pawson wrote:

> How to get it into the ant documentation Table of Contents?
> 
> 

	http://ant.apache.org/manual/

-- 
Mark

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


Re: property file syntax

Posted by Dave Pawson <da...@gmail.com>.
2009/5/13 David J. B. Hollis <dh...@aandoconsultancy.ltd.uk>:
> Hi, David
>
> http://ant.apache.org/manual/CoreTasks/property.html
>
> <snip>
> The rules for this format are laid down by Sun.
> http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream)
> </snip>
>
> David

Thanks David.

How to get it into the ant documentation Table of Contents?


regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

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


Re: property file syntax

Posted by "David J. B. Hollis" <dh...@AandOConsultancy.ltd.uk>.
Hi, David

http://ant.apache.org/manual/CoreTasks/property.html

<snip>
The rules for this format are laid down by Sun.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream)
</snip>

David


> I'm having 'fun' with a properties file syntax.
> E.g. white space on the end of a line!
>
> Is the syntax described in the ant manual please (using 1.7),
> I can't find it.
>
> TIA
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> http://www.dpawson.co.uk

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