-
Notifications
You must be signed in to change notification settings - Fork 323
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
Architecture not set on file correctly #180
Comments
https://github.com/tcurdt/jdeb/blob/master/src/main/java/org/vafer/jdeb/maven/DebMojo.java#L80 - here is the problem. It may be hard to extract it from control file so maybe it would be nice to add maven architecture property which fills control file? |
yep would be even better if within an execution could control the architecture. Also for packaging up java projects which have native code - such as a JSW wrapper, would want to be able to control what files are included based on the architecture. Just like the rpm maven plugin does with the targetArchitecture in the source definition. |
I guess that counts as request for improvement :) |
btw, for now I'm just overriding the name with
And also I do in the control file. |
right - it would still be better to pass this though |
I was not able to successfully use the workaround for defining for SNAPSHOT builds. |
@TuireHolappa you have to be a little more specific in case you want help. |
No help needed I just wanted to inform you the situation. The workaround for setting the like in the comment from Spinus did Caused by: org.vafer.jdeb.PackagingException: Failed to create debian So I ended up using a dirty solution of renaming the .deb file afterwards So the functionality to take the architecture to the file name from the 2016-08-26 13:04 GMT+03:00 Torsten Curdt [email protected]:
|
I would check why this is happening - but this stacktrace either does not match master or is cut off
|
I suspect it could be related to the -SNAPSHOT in the version instead of The jdeb version is 1.5 and otherwise it works nicely :). I really like it Yes I did cut the trace. Sorry. Here the whole thing: [ERROR] Failed to execute goal org.vafer:jdeb:1.5:jdeb (default) on project 2016-08-26 14:32 GMT+03:00 Torsten Curdt [email protected]:
|
So here is where it fails
https://docs.oracle.com/javase/7/docs/api/java/io/File.html#getParentFile()
So either |
@tcurdt @TuireHolappa I had the same issue until I added the directory name in the e.g. |
In debian control file I set:
But the file has name like
I'm not sure it's an issue or I cannot configure it properly.
The text was updated successfully, but these errors were encountered: