-
Notifications
You must be signed in to change notification settings - Fork 243
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
Fix build #141
base: master
Are you sure you want to change the base?
Fix build #141
Conversation
Use Deploy dir inside project root. Fix Androxyde#140, Androxyde#139, Androxyde#138, Androxyde#73, Androxyde#54
replace xz compression with gzip as this is the default and xz is not working
@Androxyde this is just a suggestion which fixes a lot of build related issues and updates the BUILD.md documentation. Building from scratch without eclipse is working and tested in linux. I added an ant build file which actually generates the x10flasher.jar. This is basically just exported from within eclipse and copied into the ant subdirectory (changing the project baseDir in the .xml). The build file can be easily maintained as such. |
how i can use this pull request |
@mh4nx7net clone https://github.com/derMart/Flashtool/tree/fix_build and look at BUILD.md |
sorry, I can not reproduce the problem. Tried running from a fairly virgin Ubuntu 18.04.4 with respect to java build tools. Compilation runs without errors. EDIT: can you show the complete ant output? |
This Dockerfile works: from ubuntu:focal
# tzdata fix: https://anonoz.github.io/tech/2020/04/24/docker-build-stuck-tzdata.html
RUN apt update && \
DEBIAN_FRONTEND=noninteractive \
TZ=Asia/Singapore \
apt install -y openjdk-14-jdk p7zip-full ant git
WORKDIR /Flashtool
RUN git clone https://github.com/Androxyde/Flashtool . && git checkout 56528c0795676d9f3362e288a11435bd2abe00bf
# Follow BUILD.md now ..
# We need to fetch and merge https://github.com/Androxyde/Flashtool/pull/141
RUN git remote add fix https://github.com/derMart/Flashtool && git pull fix fix_build
# The new BUILD.md:
# https://github.com/derMart/Flashtool/blob/fix_build/BUILD.md
RUN ant -buildfile ant/build-jar.xml
RUN ant -buildfile ant/deploy-release.xml
RUN ant -buildfile ant/setup-release.xml @derMart, I will prepare a PR against your fix_build, adding |
All this having been said, it seems that given the number of dependencies required the better way to do this would be to use what package maintainers provide: https://salsa.debian.org/java-team/xperia-flashtool |
Hello, Post step : Having a full jdk installed with minimum release 11 and Having ant installed Step 1 : clone the git repository : git clone https://github.com/Androxyde/Flashtool And it's finished |
Fix #140 Fix #139 Fix #138 Fix #73 Fix #54