-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artifact function doesn't support folder #6
Comments
I don't think uploading |
Thanks for tip! I got around the issue by creating a fat jar of the dependencies. |
Does File.Folder works apart from artifacts? Right now we use File.Folder to add different folders in the DAR. Will that work with this plugin? |
@cooolmagic, it will not include the contents of the folder - that's the issue we had. If you for some reason need empty folders, then it would work I guess. At least we ended up using Groovy's MarkupBuilder to create our own manifest file in xml, and then it was really simple to create the rest of the dar package with Gradle. |
Closing inactive issue |
I need to include all jar files inside a folder.
The artifact function returned the correct path (e.g. artifacts/[module]/build/jars), but it copied the files wrong. All the jar files were copied into "artifacts/[module]/build", and they were all named "jars" (though they were not the same file, file sizes were correct despite the wrong file name).
I think the bug is in DarTask.groovy:194. There, when calling
f.getName()
,f
is not a file but a directory.The text was updated successfully, but these errors were encountered: