You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
grails 3.1.3, war plugin, pathingJar enabled, bootRepackage picks up incorrect output file name #5393
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".
@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?
@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.
Activity
wilkinsona commentedon Mar 30, 2016
@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?
wboyle01 commentedon Mar 30, 2016
@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.
wboyle01 commentedon Apr 4, 2016
@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
13 remaining items
Introduce bootJar and bootWar tasks for creating fat jars and wars