ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46812] New: <tarfileset> no longer takes a fileset ref (regression)
Date Fri, 06 Mar 2009 10:15:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46812

           Summary: <tarfileset> no longer takes a fileset ref
                    (regression)
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: stevel@apache.org


This used to work:

  <target name="minimal-tar" depends="ready-to-package">
    <tar destFile="${minimal.tar}" longfile="gnu">
      <tarfileset prefix="${prefix}" refid="root.fileset" />
    </tar>
  </target>

Not on Ant SVN_HEAD

minimal-tar:
Class class org.apache.tools.ant.types.FileSet is not a subclass of class
org.apache.tools.ant.taskdefs.Tar$TarFileSet

BUILD FAILED
/home/slo/Projects/SmartFrog/Forge/core/antbuild/build.xml:266: root.fileset
doesn't denote a Tar$TarFileSet
    at org.apache.tools.ant.types.DataType.getCheckedRef(DataType.java:254)
    at org.apache.tools.ant.types.DataType.getCheckedRef(DataType.java:214)
    at org.apache.tools.ant.types.DataType.getCheckedRef(DataType.java:202)
    at
org.apache.tools.ant.types.ArchiveFileSet.isFilesystemOnly(ArchiveFileSet.java:333)
    at org.apache.tools.ant.taskdefs.Tar.isFileFileSet(Tar.java:680)
    at org.apache.tools.ant.taskdefs.Tar.check(Tar.java:554)
    at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:269)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:386)
    at org.apache.tools.ant.Target.performTasks(Target.java:407)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1330)
    at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
    at org.apache.tools.ant.Main.runBuild(Main.java:775)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Before, it let me tar up an existing fileset. Now I can't. This is a
regression.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message