Skip to content
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

No libs in war when packaged without type #2

Closed
phoet opened this issue Jan 19, 2010 · 1 comment
Closed

No libs in war when packaged without type #2

phoet opened this issue Jan 19, 2010 · 1 comment

Comments

@phoet
Copy link

phoet commented Jan 19, 2010

If you package a war with a type:

package(:war)

everything is fine. but when the type should be infered by the filename

package(:file => "somewar.war")

all the libs are missing

@klaas1979
Copy link
Owner

Fixed with the next release 0.9.12.

Problem is an issue with buildr where in the package.rb line 135:
spec[:type] = args.shift || spec[:type] || spec[:file].split('.').last

if the type is set via :file the type is not converted to a symbol

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants