ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: cvs commit: jakarta-ant/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters StripLineComments.java
Date Sun, 24 Feb 2002 03:53:35 GMT
Just FYI - you have to HTML encode your Javadoc comments for them to be
valid. Your bracketed stuff won't show up in the generated HTML.  I.e. use
&lt; instead of <.

    Erik


----- Original Message -----
From: <umagesh@apache.org>
To: <jakarta-ant-cvs@apache.org>
Sent: Saturday, February 23, 2002 10:36 PM
Subject: cvs commit:
jakarta-ant/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/fil
ters StripLineComments.java


> umagesh     02/02/23 19:36:45
>
>   Modified:
proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters
>                         StripLineComments.java
>   Log:
>   type is more appropriate than name in this case.
>
>   Revision  Changes    Path
>   1.2       +6 -6
jakarta-ant/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/fil
ters/StripLineComments.java
>
>   Index: StripLineComments.java
>   ===================================================================
>   RCS file:
/home/cvs/jakarta-ant/proposal/sandbox/filterreaders/src/main/org/apache/too
ls/ant/filters/StripLineComments.java,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- StripLineComments.java 24 Feb 2002 02:35:50 -0000 1.1
>   +++ StripLineComments.java 24 Feb 2002 03:36:44 -0000 1.2
>   @@ -15,11 +15,11 @@
>     * =======
>     *
>     * <filterreader
classname="org.apache.tools.ant.filters.StripLineComments">
>   - *    <param name="comment" value="#"/>
>   - *    <param name="comment" value="--"/>
>   - *    <param name="comment" value="REM "/>
>   - *    <param name="comment" value="rem "/>
>   - *    <param name="comment" value="//"/>
>   + *    <param type="comment" value="#"/>
>   + *    <param type="comment" value="--"/>
>   + *    <param type="comment" value="REM "/>
>   + *    <param type="comment" value="rem "/>
>   + *    <param type="comment" value="//"/>
>     * </filterreader>
>     *
>     * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a>
>   @@ -126,7 +126,7 @@
>        private final void initialize() {
>            if (parameters != null) {
>                for (int i = 0; i < parameters.length; i++) {
>   -                if (COMMENTS_KEY.equals(parameters[i].getName())) {
>   +                if (COMMENTS_KEY.equals(parameters[i].getType())) {
>                        comments.addElement(parameters[i].getValue());
>                    }
>                }
>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


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


Mime
View raw message