[opencms-dev] Error building Tag 9.5.2 on Windows 8.1
FH Subscriptions
fhsubscriptions at componio.net
Fri Sep 18 10:10:08 CEST 2015
The problem is that my windows user profile is mapped to a network drive and thus pathes like \\ <file:///\\%3curl> <url> show up in the classpath.
How I love Windows :)
As a work around for now I will build OpenCms in a VM and if I have a lot of time see if I can trick gradle into believing that my user profile is situated elsewhere.
Funny that I never had this issue with gradle before and that the containerpage editor sources trigger this behaviour :)
Many thanks
\Fabina
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Alberto Gallardo
Gesendet: Freitag, 18. September 2015 09:47
An: The OpenCms mailing list <opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Error building Tag 9.5.2 on Windows 8.1
"java.io.File is not supported by GWT" [https://vaadin.com/forum/#!/thread/8518983/8532535]
Any "file:..." element in the classpath would apparently trigger this error...
Alberto
2015-09-18 9:44 GMT+02:00 Alberto Gallardo <argrico at gmail.com <mailto:argrico at gmail.com> >:
The error hints at some kind of malformed classpath. Try with "gradle --info gwt_org.opencms.ade.containerpage". The line immediately after the "Building GWT resources..." is the java command invoked by gradle. Examine it carefully. I suppose you haven't changed any classpath explicitly, so my guess is that it has something to do with you using some network drive.
Good luck!
Alberto
2015-09-17 18:58 GMT+02:00 Lorenz Lammersdorf <lorenz.lammersdorf at kernbrand.ch <mailto:lorenz.lammersdorf at kernbrand.ch> >:
have you checked https://issues.gradle.org/browse/GRADLE-2941?
regards
lorenz
2015-09-17 18:37 GMT+02:00 FH Subscriptions <fhsubscriptions at componio.net <mailto:fhsubscriptions at componio.net> >:
> Hi,
>
> I am trying to build OpenCms 9.5.2 on Windows 8.1 and receive the following trace when building via "gradle bindist". Any ideas?
>
> ======================================================
> Building GWT resources for org.opencms.ade.containerpage.ContainerpageEditor
> ======================================================
> [ERROR] Unexpected internal compiler error
> java.lang.IllegalArgumentException: URI has an authority component
> at java.io.File.<init>(File.java:423)
> at com.google.gwt.dev.resource.impl.ResourceOracleImpl.createEntryForUrl(ResourceOracleImpl.java:164)
> at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries(ResourceOracleImpl.java:334)
> at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries(ResourceOracleImpl.java:358)
> at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>(ResourceOracleImpl.java:402)
> at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:666)
> at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:217)
> at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:170)
> at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:145)
> at com.google.gwt.dev.Compiler.run(Compiler.java:129)
> at com.google.gwt.dev.Compiler$1.run(Compiler.java:99)
> at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
> at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
> at com.google.gwt.dev.Compiler.main(Compiler.java:106)
> :gwt_org.opencms.ade.containerpage FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':gwt_org.opencms.ade.containerpage'.
>> Process 'command 'C:\Program Files\Java\jdk1.7.0_80\bin\java.exe'' finished with non-zero exit value 1
>
> Many thanks
>
>
> \Fabain
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
--
Aktuelle Arbeiten: Neuauftritt Arztpraxis Steinachpark
Jetzt aktuell im Blog Mensch Marke: Die Typografie als Bestandteil der
optischen Marke
Unseren Newsletter abonnieren
--
Lorenz Lammersdorf
Senior Web Developer
Kernbrand AG
Rorschacher Strasse 17
9000 St.Gallen
+41 71 492 20 22 <tel:%2B41%2071%20492%2020%2022>
--
Verbinden Sie sich jetzt mit uns! Wir freuen uns auf Sie.
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150918/71b82183/attachment.htm>
More information about the opencms-dev
mailing list