Re: error: package javafx.collections does not exist

2017-02-10 Thread Martin Gansser
> Il 10/02/2017 20:11, Martin Gansser ha scritto:
> No,
> 
> ln -sf ../java/MediathekView/MediathekView.jar 
> %{buildroot}%{_datadir}/Mediathek
> ln -sf %{_javadir}/jackson-core.jar %{buildroot}%{_datadir}/Mediathek

MediathekView.jar do not exists, and can't be linked, 

> check if these are correct
> ln -sf %{_javadir}/swingx*.jar %{buildroot}%{_datadir}/Mediathek
> ln -sf %{_javadir}/jchart.jar %{buildroot}%{_datadir}/Mediathek
> 
i installed jfreechart, i hope this is a alternative version of jchart.
> ops forgotten an ":"

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread gil



Il 10/02/2017 20:11, Martin Gansser ha scritto:

Il 10/02/2017 16:25, Martin Gansser ha scritto:

usually a noarch application live in usr/share/[NAME]
all (optional/required) java libraries should be linked in usr/share/[NAME]

you mean, replace %{_javadir} with %{_datadir}  ?

No,

ln -sf ../java/MediathekView/MediathekView.jar %{buildroot}%{_datadir}/Mediathek
ln -sf %{_javadir}/jackson-core.jar %{buildroot}%{_datadir}/Mediathek

check if these are correct
ln -sf %{_javadir}/swingx*.jar %{buildroot}%{_datadir}/Mediathek
ln -sf %{_javadir}/jchart.jar %{buildroot}%{_datadir}/Mediathek



Please, remove:
all bundle libraries ( swingx*.jar, jackson-core*.jar, jchart*.jar ) with
find -name "*.class" -print -delete
find -name "*.jar" -print -delete

done

useless export CLASSPATH=$(build-classpath)

removed

%{_javadir}/Mediathek/MediathekView-%{version}.jar MUST be no version

done

MediathekView.sh should be generated using:

%jpackage_script mediathek.Main "" ""
MediathekView:MSearch:commons-compress:commons-lang
jide-oss:jgoodies-common:jgoodies-forms:xz MediathekView true


not clear, how to set this command correct

ops forgotten an ":"

%jpackage_script mediathek.Main "" ""
MediathekView:MSearch:commons-compress:commons-lang:jide-oss:jgoodies-common:jgoodies-forms:xz
 MediathekView true

see documentation

%package doc
Summary:Durchsucht verschiedene Mediatheken
useless  License:GPL
Requires:   MediathekView = %{version}-%{release}
useless  BuildArch:  noarch

lines removed

%description doc
.

Please, use system libraries:
http://pkgs.fedoraproject.org/cgit/rpms/swingx.git
http://pkgs.fedoraproject.org/cgit/rpms/jcharts.git (was retired)

jcharts is dead on git

so remove its support, or reintroduce it


the package doesn't longer build with this spec-file
https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView.spec
build-log.txt:
https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView-build.txt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread Martin Gansser
> Il 10/02/2017 16:25, Martin Gansser ha scritto:
> 
> usually a noarch application live in usr/share/[NAME]
> all (optional/required) java libraries should be linked in usr/share/[NAME]

you mean, replace %{_javadir} with %{_datadir}  ?
> Please, remove:
> all bundle libraries ( swingx*.jar, jackson-core*.jar, jchart*.jar ) with
> find -name "*.class" -print -delete
> find -name "*.jar" -print -delete

done
> useless export CLASSPATH=$(build-classpath)

removed
> %{_javadir}/Mediathek/MediathekView-%{version}.jar MUST be no version

done
> MediathekView.sh should be generated using:
> 
> %jpackage_script mediathek.Main "" "" 
> MediathekView:MSearch:commons-compress:commons-lang 
> jide-oss:jgoodies-common:jgoodies-forms:xz MediathekView true
> 

not clear, how to set this command correct
> %package doc
> Summary:Durchsucht verschiedene Mediatheken
> useless  License:GPL
> Requires:   MediathekView = %{version}-%{release}
> useless  BuildArch:  noarch

lines removed
> %description doc
> .
> 
> Please, use system libraries:
> http://pkgs.fedoraproject.org/cgit/rpms/swingx.git
> http://pkgs.fedoraproject.org/cgit/rpms/jcharts.git (was retired)

jcharts is dead on git

the package doesn't longer build with this spec-file
https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView.spec
build-log.txt:
https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView-build.txt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread gil



Il 10/02/2017 16:25, Martin Gansser ha scritto:

please use:

%files -f .mfiles
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt

%files javadoc -f .mfiles-javadoc
%license src/main/resources/MSearch-LICENSE.txt


rpm spec-file changed and uploaded.

I am working now on the rpm package for MediaMediathekView
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/3HK4UKBHGW7WUSZIUJMEVNNNZWVBGDCF/

can you have a look on it.
Thanks
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


usually a noarch application live in usr/share/[NAME]
all (optional/required) java libraries should be linked in usr/share/[NAME]

Please, remove:
all bundle libraries ( swingx*.jar, jackson-core*.jar, jchart*.jar ) with
find -name "*.class" -print -delete
find -name "*.jar" -print -delete

useless export CLASSPATH=$(build-classpath)

%{_javadir}/Mediathek/MediathekView-%{version}.jar MUST be no version

MediathekView.sh should be generated using:

%jpackage_script mediathek.Main "" "" 
MediathekView:MSearch:commons-compress:commons-lang 
jide-oss:jgoodies-common:jgoodies-forms:xz MediathekView true


%package doc
Summary:Durchsucht verschiedene Mediatheken
useless  License:GPL
Requires:   MediathekView = %{version}-%{release}
useless  BuildArch:  noarch
 
%description doc

.

Please, use system libraries:
http://pkgs.fedoraproject.org/cgit/rpms/swingx.git
http://pkgs.fedoraproject.org/cgit/rpms/jcharts.git (was retired)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread Martin Gansser
> please use:
> 
> %files -f .mfiles
> %doc res/README.txt
> %license src/main/resources/MSearch-LICENSE.txt
> 
> %files javadoc -f .mfiles-javadoc
> %license src/main/resources/MSearch-LICENSE.txt
> 
rpm spec-file changed and uploaded.

I am working now on the rpm package for MediaMediathekView
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/3HK4UKBHGW7WUSZIUJMEVNNNZWVBGDCF/

can you have a look on it.
Thanks
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread gil

please use:

%files -f .mfiles
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt

%files javadoc -f .mfiles-javadoc
%license src/main/resources/MSearch-LICENSE.txt


Il 10/02/2017 14:40, Martin Gansser ha scritto:

new rpm spec-file:
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec

many thanks for your help.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread Martin Gansser
new rpm spec-file:
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec

many thanks for your help.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread gil



Il 10/02/2017 13:12, Martin Gansser ha scritto:

Il 10/02/2017 09:14, Martin Gansser ha scritto:
is not necessary
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
  
The following files are affected from the error message

"Error: unmappable character for encoding ASCII".

MSearch-2.1.1/src/main/java/mSearch/filmlisten/FilmlistenSuchen.java:47: error: 
unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/filmlisten/ListeFilmlistenUrls.java:124: 
error: unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/filmlisten/FilmlisteLesen.java:127: error: 
unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/filmlisten/WriteFilmlistJson.java:86: 
error: unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/ReplaceList.java:55: error: unmappable 
character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/Functions.java:203: error: unmappable 
character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/Log.java:229: error: unmappable 
character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/FilenameUtils.java:34: error: 
unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/FileSize.java:34: error: unmappable 
character for encoding ASCII

which solution should i take?

# fix non ASCII chars
for file in $( find src/main/java/mSearch -name *.java ) ; do
   native2ascii -encoding UTF8 ${file} ${file}
done

or this one ?

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

I will report the error upstream.
many thanks.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

maybe this one:

for file in src/main/java/mSearch/filmlisten/FilmlisteLesen.java \
src/main/java/mSearch/filmlisten/FilmlistenSuchen.java \
src/main/java/mSearch/filmlisten/ListeFilmlistenUrls.java \
src/main/java/mSearch/filmlisten/WriteFilmlistJson.java \
src/main/java/mSearch/tool/FilenameUtils.java \
src/main/java/mSearch/tool/FileSize.java \
src/main/java/mSearch/tool/Functions.java \
src/main/java/mSearch/tool/Log.java \
src/main/java/mSearch/tool/ReplaceList.java
do
  native2ascii -encoding UTF8 ${file} ${file}
done

regards
.g

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread Martin Gansser
> Il 10/02/2017 09:14, Martin Gansser ha scritto:
> is not necessary
> 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
 
The following files are affected from the error message
"Error: unmappable character for encoding ASCII".

MSearch-2.1.1/src/main/java/mSearch/filmlisten/FilmlistenSuchen.java:47: error: 
unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/filmlisten/ListeFilmlistenUrls.java:124: 
error: unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/filmlisten/FilmlisteLesen.java:127: error: 
unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/filmlisten/WriteFilmlistJson.java:86: 
error: unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/ReplaceList.java:55: error: unmappable 
character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/Functions.java:203: error: unmappable 
character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/Log.java:229: error: unmappable 
character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/FilenameUtils.java:34: error: 
unmappable character for encoding ASCII
MSearch-2.1.1/src/main/java/mSearch/tool/FileSize.java:34: error: unmappable 
character for encoding ASCII

which solution should i take?

# fix non ASCII chars
for file in $( find src/main/java/mSearch -name *.java ) ; do
  native2ascii -encoding UTF8 ${file} ${file}
done

or this one ?

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

I will report the error upstream.
many thanks.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread gil



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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-10 Thread Martin Gansser
I have now changed the following parts:

prep
%setup -qn %{name}-%{version}
find . -name "*.jar" -delete

# fix non ASCII chars
for file in $( find src/main/java/mSearch -name *.java ) ; do
  native2ascii -encoding UTF8 ${file} ${file}
done

# 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

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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil



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 Gre 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 Gre 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread Martin Gansser
> 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 Gre 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 Gre 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil

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:

this is the new rpm spec-file:
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec
and the build.log file:
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch-build-log.txt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread Martin Gansser
this is the new rpm spec-file:
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec
and the build.log file:
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch-build-log.txt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil



Il 09/02/2017 14:32, gil ha scritto:



Il 09/02/2017 14:21, gil ha scritto:



Il 09/02/2017 13:43, Martin Gansser ha scritto:

I found no doc file in the build folder.
can you paste here the build log. or tell ne if the javadoc task was 
executed

regards
.g
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Other issues:
Please, use find . -name "*.jar" -delete
instead of
rm -f jgoodies* xz* common*
Why link system libraries? All Dependencies are imported in classpath 
by our Java Tools...

Please, remove
ln -sf %{_javadir}/commons-compress.jar commons-compress.jar
ln -sf %{_javadir}/apache-commons-lang.jar commons-lang.jar
ln -sf %{_javadir}/jdom.jar jdom.jar
ln -sf %{_javadir}/jide-oss.jar jide-oss.jar
ln -sf %{_javadir}/jgoodies-common.jar jgoodies-common.jar
ln -sf %{_javadir}/jgoodies-forms.jar forms.jar
ln -sf %{_javadir}/xz.jar xz.jar

# fix "groupId must be specified"


see 
https://github.com/mediathekview/MediathekView/blob/master/build.gradle#L64

Please, change mSearch with  de.mediathekview

echo 'group = "mSearch "' >> build.gradle

%build
%gradle_build

%install
is useless (?) for a java package? no make sense for me ...
export NO_BRP_CHECK_BYTECODE_VERSION=true
%mvn_install

Please, remove becuse of " Versioned JAR files (*-%{version}.jar) MUST 
NOT be installed unless the package is a compatibility package"

see https://fedoraproject.org/wiki/Packaging:Java#Filenames

install -D -m644 build/libs/%{name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}/%{name}-%{version}.jar

pushd %{buildroot}%{_javadir}/%{name}
ln -sf %{name}-%{version}.jar %{name}.jar
popd

%files
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/%{name}.jar
%{_javadir}/%{name}/%{name}-%{version}.jar
%{_datadir}/maven-metadata/%{name}.xml

Please, change with this. NOTE "%{_javadir}/%{name}" is already owned 
in the .mfiles file

%files -f .mfiles
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

and fix %changelog entries
regards
.g
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil



Il 09/02/2017 14:21, gil ha scritto:



Il 09/02/2017 13:43, Martin Gansser ha scritto:

I found no doc file in the build folder.
can you paste here the build log. or tell ne if the javadoc task was 
executed

regards
.g
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Other issues:
Please, use find . -name "*.jar" -delete
instead of
rm -f jgoodies* xz* common*
Why link system libraries? All Dependencies are imported in classpath by 
our Java Tools...

Please, remove
ln -sf %{_javadir}/commons-compress.jar commons-compress.jar
ln -sf %{_javadir}/apache-commons-lang.jar commons-lang.jar
ln -sf %{_javadir}/jdom.jar jdom.jar
ln -sf %{_javadir}/jide-oss.jar jide-oss.jar
ln -sf %{_javadir}/jgoodies-common.jar jgoodies-common.jar
ln -sf %{_javadir}/jgoodies-forms.jar forms.jar
ln -sf %{_javadir}/xz.jar xz.jar

# fix "groupId must be specified"
echo 'group = "mSearch "' >> build.gradle

%build
%gradle_build

%install
is useless (?) for a java package? no make sense for me ...
export NO_BRP_CHECK_BYTECODE_VERSION=true
%mvn_install

Please, remove becuse of " Versioned JAR files (*-%{version}.jar) MUST 
NOT be installed unless the package is a compatibility package"

see https://fedoraproject.org/wiki/Packaging:Java#Filenames

install -D -m644 build/libs/%{name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}/%{name}-%{version}.jar

pushd %{buildroot}%{_javadir}/%{name}
ln -sf %{name}-%{version}.jar %{name}.jar
popd

%files
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/%{name}.jar
%{_javadir}/%{name}/%{name}-%{version}.jar
%{_datadir}/maven-metadata/%{name}.xml

Please, change with this. NOTE "%{_javadir}/%{name}" is already owned in 
the .mfiles file

%files -f .mfiles
%doc res/README.txt
%license src/main/resources/MSearch-LICENSE.txt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil



Il 09/02/2017 13:43, Martin Gansser ha scritto:

I found no doc file in the build folder.
can you paste here the build log. or tell ne if the javadoc task was 
executed

regards
.g
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread Martin Gansser
> Il 09/02/2017 10:50, Martin Gansser ha scritto:
> 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

this is the new rpm spec-file:
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec
I found no doc file in the build folder.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil



Il 09/02/2017 11:53, gil ha scritto:



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 ?

this should fixed adding:
echo 'group = "mSearch "' >> build.gradle
regards
.g

Thanks
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil



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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread Martin Gansser
> 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:

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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread Martin Gansser
> Hi Martin.
> 
> Martin Gansser:
> 
> Hi, thanks for testing the openjfx package. There is a second step that
> needs to performed manually. These steps are described in
> /usr/share/doc/openjfx/README.fedora.
> 
> 
> Jonny

Thanks for your feedback, i run this script, that solves it.

#!/bin/bash

openjfx_dir=/usr/lib/jvm/openjfx

jdk_files=$(find $openjfx_dir/{bin,lib} -type f -print)
for file in $jdk_files; do
  relative=${file#$openjfx_dir/}
  ln -sfv "$openjfx_dir/$relative" "/usr/lib/jvm/java/$relative"
done

jre_files=$(find $openjfx_dir/rt -type f -print)
for file in $jre_files; do
  relative=${file#$openjfx_dir/rt/}
  ln -sfv "$openjfx_dir/rt/$relative" "/usr/lib/jvm/jre/$relative"
done
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread Jonny Heggheim
Hi Martin.

Martin Gansser:
> I am trying to compile MSearch, a program needed by Mediathekview.
> https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec
> 
> dependencies: openjfx, i compiled the src.rpm file from:
> https://jonny.fedorapeople.org/openjfx-8.0.152-3.b00.fc25.src.rpm
> 
> When I try to compile msearch, I get the following error:
> /home/martin/rpmbuild/BUILD/MSearch-3467040e54e31625425eb33dcd0f20a8da575dc4/src/main/java/mSearch/tool/SysMsg.java:22:
>  error: package javafx.collections does not exist
> import javafx.collections.FXCollections;
>  ^
> /home/martin/rpmbuild/BUILD/MSearch-3467040e54e31625425eb33dcd0f20a8da575dc4/src/main/java/mSearch/tool/SysMsg.java:23:
>  error: package javafx.collections does not exist
> import javafx.collections.ObservableList;
>  ^
> /home/martin/rpmbuild/BUILD/MSearch-3467040e54e31625425eb33dcd0f20a8da575dc4/src/main/java/mSearch/tool/SysMsg.java:27:
>  error: cannot find symbol
> public static ObservableList textSystem = 
> FXCollections.observableArrayList();
>   ^

Hi, thanks for testing the openjfx package. There is a second step that
needs to performed manually. These steps are described in
/usr/share/doc/openjfx/README.fedora.


Jonny



signature.asc
Description: OpenPGP digital signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-09 Thread gil



Il 08/02/2017 14:59, Alec Leamas ha scritto:



On 08/02/17 14:39, Martin Gansser wrote:

Hi,

I am trying to compile MSearch, a program needed by Mediathekview.
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec

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

dependencies: openjfx, i compiled the src.rpm file from:
https://jonny.fedorapeople.org/openjfx-8.0.152-3.b00.fc25.src.rpm

When I try to compile msearch, I get the following error:
/home/martin/rpmbuild/BUILD/MSearch-3467040e54e31625425eb33dcd0f20a8da575dc4/src/main/java/mSearch/tool/SysMsg.java:22: 
error: package javafx.collections does not exist

import javafx.collections.FXCollections;



Hm... https://bugzilla.redhat.com/show_bug.cgi?id=1145303 ?

Cheers!

--alec
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-08 Thread Martin Gansser
> On 08/02/17 14:39, Martin Gansser wrote:
> 
> 
> Hm... https://bugzilla.redhat.com/show_bug.cgi?id=1145303 ?
> 
> Cheers!
> 
> --alec
yes, i know this bug report, and i took the src.rpm package from the mentioned 
link.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: error: package javafx.collections does not exist

2017-02-08 Thread Alec Leamas



On 08/02/17 14:39, Martin Gansser wrote:

Hi,

I am trying to compile MSearch, a program needed by Mediathekview.
https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec

dependencies: openjfx, i compiled the src.rpm file from:
https://jonny.fedorapeople.org/openjfx-8.0.152-3.b00.fc25.src.rpm

When I try to compile msearch, I get the following error:
/home/martin/rpmbuild/BUILD/MSearch-3467040e54e31625425eb33dcd0f20a8da575dc4/src/main/java/mSearch/tool/SysMsg.java:22:
 error: package javafx.collections does not exist
import javafx.collections.FXCollections;



Hm... https://bugzilla.redhat.com/show_bug.cgi?id=1145303 ?

Cheers!

--alec
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org