Skip to content

grails 3.1.3, war plugin, pathingJar enabled, bootRepackage picks up incorrect output file name #5393

Closed

Description

@wboyle01

Using grails 3.1.3, with war plugin applied and pathingJar enabled, bootRepackage picks up the name of the last Jar task registered and sets that as the output file for the repackage task and not the war file.

Possible solution could be:

When repackage action occurs, the output file name is generated based upon archive file found for the Jar task matched with the "withJarTask".

Activity

  1. added
    status: waiting-for-triage
    on Mar 11, 2016
  2. wilkinsona commented on Mar 30, 2016

    @wilkinsona
    Member

    @wboyle01 I'm not familiar with pathingJar. It looks like it might be a jar that uses the manifest to specify the classpath to avoid problems with command-line length on Windows. Correct?

    Could you provide a sample project that reproduces the problem?

  3. added
    status: waiting-for-feedback
    and removed
    status: waiting-for-triage
    on Mar 30, 2016
  4. wboyle01 commented on Mar 30, 2016

    @wboyle01
    Author

    @wilkinsona Correct. The pathingJar was used to avoid issues with the command line on Windows. It is a option that can be enabled since grails 3.1.2 and seems to be using the jar tasks.

    Let me work on a sample project and will let you know shortly.

  5. added
    status: feedback-provided
    and removed
    status: waiting-for-feedback
    on Mar 30, 2016
  6. added
    status: waiting-for-feedback
    and removed
    status: feedback-provided
    on Mar 31, 2016
  7. wboyle01 commented on Apr 4, 2016

    @wboyle01
    Author

    @wilkinsona Sorry for the delay. I have created a sample application that demonstrates the issue. It can be found at:

    https://github.com/wboyle01/issues/tree/master/grails313

  8. added
    status: feedback-provided
    and removed
    status: waiting-for-feedback
    on Apr 4, 2016
  9. added this to the 1.4.0.M3 milestone on May 4, 2016
  10. self-assigned this
    on May 4, 2016
  11. 13 remaining items

  12. modified the milestones: 2.0.0.M2, 2.0.0.M3 on Jan 12, 2017
  13. modified the milestones: 2.0.0.M3, 2.0.0.M2 on Feb 8, 2017
  14. modified the milestones: 2.0.0.M2, 2.0.0.M1 on Feb 15, 2017
  15. self-assigned this
    on Feb 15, 2017
  16. added a commit that references this issue on Apr 3, 2017
    26db668
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions