Re: error: package javafx.collections does not exist

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

 





Il 10/02/2017 09:14, Martin Gansser ha scritto:
I have now changed the following parts:

prep
%setup -qn %{name}-%{version}
find . -name "*.jar" -delete
is not necessary
# fix non ASCII chars
for file in $( find src/main/java/mSearch -name *.java ) ; do
   native2ascii -encoding UTF8 ${file} ${file}
done
please, use:

for file in src/main/java/mSearch/tool/FileSize.java
do
 native2ascii -encoding UTF8 ${file} ${file}
done

try with the above solution if there are not file with the same problem
and report to upstream the issue
# fix "groupId must be specified"
echo 'group = "de.mediathekview "' >> build.gradle

# enable javadoc
echo 'task javadocs(type: Javadoc) {
classpath = configurations.compile
source = sourceSets.main.allJava
}' >> build.gradle
change with:

echo "
task javadocs(type: Javadoc) {
    options.addStringOption('Xdoclint:none')
    classpath = configurations.compile
    source = sourceSets.main.allJava
}" >> build.gradle

or

echo "
task javadocs(type: Javadoc) {
    options.addStringOption('Xdoclint:none', '-quiet')
    classpath = configurations.compile
    source = sourceSets.main.allJava
}" >> build.gradle

regards
.g
error messages:

:javadocs
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/Config.java:52: warning: no description for @param
      * @param set
        ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/AbsoluteFromRelativeURI.java:35: error: unknown tag: xsl.usage
  * @xsl.usage internal
    ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FilenameUtils.java:280: warning: no description for @param
      * @param isPath
        ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FilenameUtils.java:318: warning: no description for @param
      * @param isPath
        ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FilenameUtils.java:319: warning: no description for @param
      * @param userReplace
        ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FilenameUtils.java:320: warning: no description for @param
      * @param onlyAscii
        ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/ProgressMonitorInputStream.java:22: warning: no @param for maxSize
     public ProgressMonitorInputStream(InputStream in, long maxSize, InputStreamProgressMonitor mon) throws IOException {
            ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/ProgressMonitorInputStream.java:22: warning: no @param for mon
     public ProgressMonitorInputStream(InputStream in, long maxSize, InputStreamProgressMonitor mon) throws IOException {
            ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/ProgressMonitorInputStream.java:22: warning: no @throws for java.io.IOException
     public ProgressMonitorInputStream(InputStream in, long maxSize, InputStreamProgressMonitor mon) throws IOException {
            ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/TimedTextMarkupLanguageParser.java:183: warning: no @return
     public boolean parse(Path ttmlFilePath) {
                    ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/TimedTextMarkupLanguageParser.java:218: warning: no description for @return
      * @return
        ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/TimedTextMarkupLanguageParser.java:287: warning: no @param for srtFile
     public void toSrt(Path srtFile) {
                 ^
1 error
11 warnings
:javadocs FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadocs'.
Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/martin/rpmbuild/BUILD/MSearch-2.1.1/build/tmp/javadocs/javadoc.options'
_______________________________________________
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