[opencms-dev] v10.0.0 /handleStatic/ issue

Tobias Herrmann t.herrmann at alkacon.com
Fri Jun 3 15:31:45 CEST 2016


Hi Frank,

it's always best to use the provided Gradle script to build the Opencms core. Otherwise it's easy to miss important build steps.

The most important tasks are:

war - the complete opencms WAR file
jar - the opencms.jar
jar_[module name] - module specific jars
dist_[module name] - the module ZIP - since version 10 the JAR files are no longer part of this archive and have to be build separately

Regards, Tobias

--

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com
http://www.opencms.org
Am 03.06.2016 um 14:20 schrieb vswm at free.fr:
> Hi Tobias,
>
> Thank you very much for your quick answer.
>
> I now understand my mistake :
> The static resources do are in the org.opencms.editors.codemirror.jar ;
> I compiled the opencms-core-build_10_0_0 sources and modules in eclipse, generating a single jar file. I did not include these static resources.
> Once added, all work perfectly !
>
> Thanks again for your help !
>
> ----- Mail original -----
> De: "Tobias Herrmann" <t.herrmann at alkacon.com>
> À: "The OpenCms mailing list" <opencms-dev at opencms.org>
> Envoyé: Vendredi 3 Juin 2016 11:04:02
> Objet: Re: [opencms-dev] v10.0.0 /handleStatic/ issue
>
> Hi Frank,
>
> in OpenCms 10 we introduced a mechanism to deliver static resources from the class path. This way, JavaScript, CSS or image files that are used by the OpenCms workplace don't need to be imported into the database, but are stored in JAR files.
> There should be a request handler configured in /WEB-INF/config/opencms-system.xml to do this. Check the file for the element opencms/system/requesthandlers/requesthandler[@class='org.opencms.main.CmsStaticResourceHandler'].
>
> Regards, Tobias
>
> --
>
> Alkacon Software GmbH - The OpenCms Experts
>
> http://www.alkacon.com
> http://www.opencms.org
> Am 03.06.2016 um 10:50 schrieb vswm at free.fr:
>> Hi List,
>>
>> I can see a lot of 404 errors while trying to edit a file in opencms v10.0.0 explorer :
>>
>> http://www.myexample.com/opencms/opencms/handleStatic/editors/codemirror/images/word_wrap.gif
>> http://www.myexample.com/opencms/opencms/handleStatic/editors/codemirror/dist/addon/edit/closebrackets.js
>>
>> what /handleStatic/ stands for ?
>> I can't see such a handler nor a directory with that name :(
>>
>> Any hint on this would be a greatfull help for me
>>
>> Regards,
>> Franck.
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
>
>

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus




More information about the opencms-dev mailing list