Menu

#1 SourcePath in "Debian Package Maven Plugin": Directories are not recognized correctly

1.0.1
closed
bug (4)
2018-01-23
2018-01-23
Gerrit Hohl
No

The <sourcePath> tag within the <entry> tag in the configuration of the "Debian Package Maven Plugin" has to end with a slash ("/") - even on Microsoft Windows systems. Otherwise it isn't recognized as a directory.

The problem lays in the class net.sourceforge.dpkg.plugin.impl.DataEntryNodeTransformer. In line 133 is a string comparison which checks for a slash at the end of the source path - instead of using the java.io.File and its #isDirectory() method. This must be changed.

Discussion

  • Gerrit Hohl

    Gerrit Hohl - 2018-01-23
    • labels: --> bug
    • status: open --> accepted
     
  • Gerrit Hohl

    Gerrit Hohl - 2018-01-23
    • status: accepted --> closed
    • discussion: enabled --> disabled
     
  • Gerrit Hohl

    Gerrit Hohl - 2018-01-23

    Fixed in revision #11.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.