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

cli requires case insensitive jar entries #1147

Closed
kukgini opened this issue May 22, 2017 · 3 comments
Closed

cli requires case insensitive jar entries #1147

kukgini opened this issue May 22, 2017 · 3 comments
Labels

Comments

@kukgini
Copy link

kukgini commented May 22, 2017

When I push app for java_buildpack. i got this message:

$ cf push
Using manifest file .../manifest.yml

Updating app <appname> in org <orgname> / space <spacename> as <appname>...
OK

FAILED
Error processing app files: mkdir /var/folders/51/r9kh5s8s6s.../T/unzipped-app006450987/META-INF/license: not a directory

There is case sensitive entries like this:

META-INF/LICENSE (which is file) 
META-INF/license/ 
META-INF/license/license-file-1.txt
META-INF/license/license-file-2.txt 

I am a MacOS X User (and sometimes use Windows of course).
It seems like cf cli try to extract jar entries into /var/ before push it.
But, MacOS default file system is case insensitive.

Sometimes, I can't manipulate jar entries because it is auto generated by build system (like gradle).
So, It's better not extracting files from jar.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/145828473

The labels on this github issue will be updated when the story is started.

@dkoper
Copy link

dkoper commented May 22, 2017

Thanks for submitting the issue.
We'd like to look at addressing it in our push refactor. I have prioritized the story accordingly.

Regards,
Dies Koper
CF CLI PM

@dkoper
Copy link

dkoper commented Jan 10, 2018

This is now resolved in cf CLI 6.34.0.

Regards,
Dies Koper
CF CLI PM

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

No branches or pull requests

3 participants