You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2013/03/12 00:16:05 UTC

[Bug 54672] New: fixlastline attribute doesn't work in tandem with filterchain

https://issues.apache.org/bugzilla/show_bug.cgi?id=54672

            Bug ID: 54672
           Summary: fixlastline attribute doesn't work in tandem with
                    filterchain
           Product: Ant
           Version: 1.8.3
          Hardware: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: alexofanders@gmail.com
    Classification: Unclassified

the fixlastline attribute puts the newline after the first character of the
next file to concat if used with filterchain, see example below

---build.xml---
<concat destfile="${sqlscript.dir}/concated_files.sql" overwrite="true"
fixlastline="true">
    <filelist dir="${project.dir}">
        <file name="${sqlscript.dir}/file1.sql"/>
        <file name="${sqlscript.dir}/file2.sql"/>
    </filelist>
    <filterchain>
        <tokenfilter>
            <ignoreblank/>
        </tokenfilter>
    </filterchain>
</concat>

---file1.sql---
DELETE FROM "TABLE" WHERE PACKAGE_ID like '%package%'@
---file2.sql---
DROP SCHEMA SCHEMA1 cascade@
---concated_files.sql---
DELETE FROM "TABLE" WHERE PACKAGE_ID like '%package%'@D
ROP SCHEMA SCHEMA1 cascade@

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54672] fixlastline attribute doesn't work in tandem with filterchain

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54672

Michael Clarke <mi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.9.1
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54672] fixlastline attribute doesn't work in tandem with filterchain

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54672

Michael Clarke <mi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|1.9.1                       |---

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54672] fixlastline attribute doesn't work in tandem with filterchain

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54672

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |1.9.4

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
fixed with svn revision 1554629

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54672] fixlastline attribute doesn't work in tandem with filterchain

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54672

jedierikb@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jedierikb@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.