Re: error: package javafx.collections does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Il 09/02/2017 10:50, Martin Gansser ha scritto:
Il 08/02/2017 14:59, Alec Leamas ha scritto:
maybe you should read this
https://fedora-java.github.io/howto/latest/#gradle before
for adapt your spec file at Fedora Java Guideline
regards
.g
i switched in the %build section to %gradle_build
and in the %install section to %mvn_install -J api/
but this breaks the installation with following error messages:
are you sure which generated apis docs are located in "api/" sub dir?
and not in "build/docs/...(usually is the default path...)"?
seem there are uselesse BuildRequires declaration...
in the build.gradle are liste only these ones:
    compile 'org.apache.commons:commons-lang3:3.5'
    compile 'com.fasterxml.jackson.core:jackson-core:2.7.0'
    compile 'com.jidesoft:jide-oss:3.6.16'
    compile 'org.tukaani:xz:1.5'
and become:
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core)
BuildRequires: mvn(com.jidesoft:jide-oss)
BuildRequires: mvn(org.apache.commons:commons-lang3)
BuildRequires: mvn(org.tukaani:xz)
BuildRequires: openjfx
please, use maven notation
requires are useless are generated by our Java build tools
can you leave only "Requires: openjfx"
"Requires: java" must be justified with a comment in the spec file
because java packages, usually, must requires only "java-headless"

and license of the project is in res/README.txt or src/main/resources/MSearch-LICENSE.txt
please, use license macro and change license field in GPLv3

regards
.g
p.s. please, post the new spec file and, possibly, also the patch/es
10:48:12.360 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':xmvnInstall'.
10:48:12.361 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':xmvnInstall'
10:48:12.361 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :xmvnInstall FAILED
10:48:12.362 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :xmvnInstall (Thread[main,5,main]) completed. Took 0.002 secs.
10:48:12.362 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 6.213 secs, idle: 0.005 secs
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter]
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter]
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':xmvnInstall'.
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter] > groupId must be specified
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter]
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
10:48:12.372 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
10:48:12.373 [LIFECYCLE] [org.gradle.BuildResultLogger]
10:48:12.373 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
10:48:12.373 [LIFECYCLE] [org.gradle.BuildResultLogger]
10:48:12.373 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 11.821 secs

any suggestion ?
Thanks
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux