I found this directory /home/pc/IdeaProjects/sample/out/production/sample/html that has the HTML page inside as expected. You say it is not read from the simulator, if I am not wrong. So what is the folder that the simulator wants to read? I cannot change or add it whitout knowing it. thanks
Il giorno mercoledì 29 luglio 2020 04:30:42 UTC+2, Shai Almog ha scritto: > > It would be in the same place under src as a package. The problem is it > isn't in the classpath of InterlliJ IDEA.So the workaround is to change the > classpath which menas editing some of the IDE configurations to add that > manually. > > On Tuesday, July 28, 2020 at 12:47:49 PM UTC+3 [email protected] wrote: > >> Excuse me, how could I create the special html folder that the simulator >> wants? Where should it be on the filesystem? >> >> >> Il giorno martedì 28 luglio 2020 04:40:10 UTC+2, Shai Almog ha scritto: >>> >>> If I recall correctly the simulator needs to have the html directory in >>> the classpath as a special case. Notice that this should still work for >>> device builds regardless. >>> You can also open and run the project under NetBeans and that should >>> work too although you might need to comment out a few things such as the >>> Kotlin support in the build XML. >>> >>> On Monday, July 27, 2020 at 9:38:34 AM UTC+3 [email protected] wrote: >>> >>>> Issue filed: >>>> https://github.com/codenameone/CodenameOne/issues/3187 >>>> I would like to know if there is a workaround for testing the app in >>>> the meantime. Thanks >>>> >>>> >>>> >>>> Il giorno domenica 26 luglio 2020 04:07:11 UTC+2, Shai Almog ha scritto: >>>>> >>>>> OK, I think that might be the crux of it. There might be an IntelliJ >>>>> specific bug for this specific feature. Please file an issue here: >>>>> https://github.com/codenameone/CodenameOne/issues/ >>>>> and highlight that this is happening with an Intellij project. We'll >>>>> look into it. >>>>> >>>>> On Saturday, July 25, 2020 at 12:22:48 PM UTC+3 [email protected] >>>>> wrote: >>>>> >>>>>> As you also can see in my original post: >>>>>> >>>>>> IntelliJ IDEA 2020.1.3 (Community Edition) >>>>>> Build #IC-201.8538.31, built on July 7, 2020 >>>>>> Runtime version: 11.0.7+10-b765.64 amd64 >>>>>> VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. >>>>>> Linux 5.4.0-42-generic >>>>>> GC: ParNew, ConcurrentMarkSweep >>>>>> Memory: 949M >>>>>> Cores: 4 >>>>>> Non-Bundled Plugins: com.codename1.plugin.intellij, >>>>>> org.jetbrains.kotlin >>>>>> Current Desktop: ubuntu:GNOME >>>>>> >>>>>> >>>>>> Il giorno sabato 25 luglio 2020 07:38:13 UTC+2, Shai Almog ha scritto: >>>>>>> >>>>>>> Are you using IntelliJ or NetBeans? >>>>>>> >>>>>>> On Friday, July 24, 2020 at 9:46:40 AM UTC+3 [email protected] >>>>>>> wrote: >>>>>>> >>>>>>>> If you are experiencing an issue please mention the full platform >>>>>>>> your issue applies to: >>>>>>>> IDE: NetBeans/Eclipse/IDEA >>>>>>>> IntelliJ IDEA 2020.1.3 (Community Edition) >>>>>>>> Build #IC-201.8538.31, built on July 7, 2020 >>>>>>>> Runtime version: 11.0.7+10-b765.64 amd64 >>>>>>>> VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. >>>>>>>> Linux 5.4.0-42-generic >>>>>>>> GC: ParNew, ConcurrentMarkSweep >>>>>>>> Memory: 949M >>>>>>>> Cores: 4 >>>>>>>> Non-Bundled Plugins: com.codename1.plugin.intellij, >>>>>>>> org.jetbrains.kotlin >>>>>>>> Current Desktop: ubuntu:GNOME >>>>>>>> >>>>>>>> In regard to this SO question and the comments >>>>>>>> >>>>>>>> https://stackoverflow.com/questions/62870956/codename-one-setting-a-font-in-javascript-and-html-from-local-file/62887425?noredirect=1#comment111488512_62887425 >>>>>>>> >>>>>>>> I continue here, as the chat there is off-topic. The zipped project >>>>>>>> is >>>>>>>> >>>>>>>> https://drive.google.com/file/d/11w3hofMy6r_mDHzKj9na-iKkoArLPtC1/view?usp=sharing >>>>>>>> >>>>>>>> Thanks in advance >>>>>>>> >>>>>>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/bd4ca67e-ab2a-42c5-b4f7-89a01294b07do%40googlegroups.com.
