Re: error: package javafx.collections does not exist

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

 





Il 09/02/2017 22:19, Martin Gansser ha scritto:
javadoc task is not executed. if you want enable just add:

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

or

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

and run
%gradle_build -- build javadocs

regards
.g

Il 09/02/2017 16:03, Martin Gansser ha scritto:
I added this lines, but the compilations fails

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

%build
#gradle_build
%gradle_build -- build javadocs --stacktrace

error messages:

/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FileSize.java:34: error: unmappable character for encoding ASCII
         // Anzeige der Gr????e in MiB und deshalb: Faktor 1000
                          ^
/home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FileSize.java:34: error: unmappable character for encoding ASCII
         // Anzeige der Gr????e in MiB und deshalb: Faktor 1000
                           ^
100 errors
: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'
* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':javadocs'.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Add in %setup section this instruction:

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

or

# ...
native2ascii -encoding UTF8 src/main/java/mSearch/tool/FileSize.java \
 src/main/java/mSearch/tool/FileSize.java

regards
.g
_______________________________________________
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