aboutsummaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
masterAdd support for ebuild variables in MAVEN_PROVIDESYuan Liao3 years
 
TagDownloadAuthorAge
0.5.1java-ebuilder-0.5.1.tar.gz  java-ebuilder-0.5.1.tar.bz2  java-ebuilder-0.5.1.zip  Zhang Zongyu6 years
0.5.0java-ebuilder-0.5.0.tar.gz  java-ebuilder-0.5.0.tar.bz2  java-ebuilder-0.5.0.zip  Zhang Zongyu6 years
0.4.1java-ebuilder-0.4.1.tar.gz  java-ebuilder-0.4.1.tar.bz2  java-ebuilder-0.4.1.zip  Miroslav Šulc7 years
0.4.0java-ebuilder-0.4.0.tar.gz  java-ebuilder-0.4.0.tar.bz2  java-ebuilder-0.4.0.zip  Miroslav Šulc7 years
0.3.0java-ebuilder-0.3.0.tar.gz  java-ebuilder-0.3.0.tar.bz2  java-ebuilder-0.3.0.zip  Miroslav Šulc7 years
0.2java-ebuilder-0.2.tar.gz  java-ebuilder-0.2.tar.bz2  java-ebuilder-0.2.zip  Benda Xu10 years
0.1java-ebuilder-0.1.tar.gz  java-ebuilder-0.1.tar.bz2  java-ebuilder-0.1.zip  Benda Xu10 years
 
AgeCommit messageAuthorFilesLines
2023-04-15Add support for ebuild variables in MAVEN_PROVIDES•••Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Closes: https://github.com/gentoo/java-ebuilder/pull/11 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> HEADmasterYuan Liao1-0/+3
2023-04-15Add support for multi-line MAVEN_PROVIDES definition•••Closes: https://bugs.gentoo.org/903666 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> Yuan Liao1-28/+51
2021-12-02changed eapi to 8•••Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> Miroslav Šulc1-1/+1
2021-07-01fixed a typo•••Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> Miroslav Šulc1-1/+1
2021-06-15Fix hanging Maven process when lots of artifacts are being downloaded•••The MavenParser class uses Java's ProcessBuilder to start a Maven process without consuming the process's output. This might cause the Maven process to hang indefinitely after the output stream buffer is full, because the process is blocked to wait for the contents in the buffer to be cleared, but no other program is going to clear them. When java-ebuilder is asked to create an ebuild for a Maven artifact whose dependencies are mostly not cached in the local Maven repository (stored in ~/.m2 by default), it will call Maven, which in turn will download artifacts for all those dependencies, flooding lots of contents into the output stream. The size of output stream buffers Java uses for the processes created from ProcessBuilder is just 8192 bytes, so with lots of output, the buffer can become full fairly easily. This explains why a hanging process is often observed when java-ebuilder is requested to generate ebuilds for some new Maven artifacts, but interrupting the process and restarting java-ebuilder can resolve the issue. When java-ebuilder is restarted, as long as MAVEN_ARTS is unchanged, it can skip downloading the dependencies that have already been cached in the previous execution before the buffer is full, so the number of artifacts it still needs to download is reduced, and it might be able to complete before the buffer is full again. The solution to this issue is simple: either suppress Maven's output, or consume the output stream buffer's contents to prevent blocking. The former solution is probably more preferable because it only requires minimal change to both the source code and the program's behavior, and it avoids output redirection, which is not easily portable between different operating systems. Reference: https://stackoverflow.com/questions/3285408/java-processbuilder-resultant-process-hangs Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Closes: https://github.com/gentoo/java-ebuilder/pull/10 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> Yuan Liao1-0/+4
2021-06-03put unzip in BDEPEND•••Closes: https://bugs.gentoo.org/793863 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> Miroslav Šulc1-5/+5
2020-09-04only detect frameworks when the project has tests.•••Signed-off-by: Zhang Zongyu <zzy2529420793@gmail.com> Zhang Zongyu1-7/+9
2020-09-04new switch: --skip-tests•••specify it to prevent java-ebuilder from printing lines that are related to src_test(). Signed-off-by: Zhang Zongyu <zzy2529420793@gmail.com> Zhang Zongyu5-0/+32
2020-08-30filtering out resource directories that are not valid•••Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> Miroslav Šulc1-39/+38
2020-08-30minor style fixes and sorted methods in MavenProject•••Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> Miroslav Šulc1-48/+50
[...]
 
Clone
https://anongit.gentoo.org/git/proj/java-ebuilder.git
git+ssh://git@git.gentoo.org/proj/java-ebuilder.git