ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17441] - Problem with FilterChains
Date Wed, 26 Feb 2003 17:50:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17441>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17441

Problem with FilterChains





------- Additional Comments From otto.wehofer@a1.net  2003-02-26 17:50 -------
I hava done the StripJavaComments on a JavaScript file with a line like this:

...
arrMenueOben[3] = new objMenueElement(78,"Sicherheit","javascript:popup(\"h
ttps://www.xxxxxx.com/index.html?con=/fb/sicherheit/sicherheit.html
\",\"newWindow\");","Ausf\222hrliche Informationen zum Thema Sicherheit");
...

and the output file looks like this:

...
arrMenueOben[3] = new objMenueElement(78,"Sicherheit","javascript:popup(\"h
ttps:
...

abstract of the buildfile:
...
    <loadfile srcfile="${file.name}" property="stripped.file.content">
      <filterchain>
        <stripjavacomments/>
      </filterchain>
    </loadfile>

    <echo file="${file.name}" append="false" message="${stripped.file.content}"/
...

Mime
View raw message