[opencms-dev] How to build ant-opencms-1.2.jar

Rüdiger Kurz r.kurz at alkacon.com
Thu Feb 14 17:50:10 CET 2013


Hi Harald,

Am 14.02.2013 17:39, schrieb Harald Brabenetz:
> Hi,
>
> I would also recommend to move CmsLanguageUtil.java to "opencms-core/src/...".
Yes, this makes sense. The integration of langdetect will be changed 
significantly for the next release. Since we are staying in contact with 
Shuyo Nakatani, the lang-detect API will hopefully include the changes 
posted at:
http://code.google.com/p/language-detection/issues/detail?id=51
>
> Building langdetect-opencms-1.0.jar with maven was only possible with dependency to OprnCms-8.5.0. And OpenCms-8.5.1 depends on langdetect-opencms-1.0 ... It works, but it's ugly.
>
> with friendly regards,
> Harald
-rüdiger
>
>
>
> -------- Original-Nachricht --------
>> Datum: Thu, 14 Feb 2013 16:00:18 +0100
>> Von: Alberto Gallardo <argrico at gmail.com>
>> An: The OpenCms mailing list <opencms-dev at opencms.org>
>> Betreff: Re: [opencms-dev] How to build ant-opencms-1.2.jar
>
>> Hi Tobias,
>>
>> I have began with the script, but I'm now struggling trying to understand
>> why langdetect-opencms-1.0.jar is being packaged as component under
>> opencms-core/src-components.
>>
>> As I can see, 'opencms-core/src' has one file depending upon
>> langdetect-opencms, namely '/src/org/opencms/i18n/CmsLocaleManager.java',
>> but the only class com.cybozu.labs.langdetect.CmsLanguageUtil of
>> langdetect-opencms-1.0.jar has also several dependencies upon
>> opencms-core/src. That is, we have a cyclic dependency!
>>
>> Is there any reason to not move
>> com.cybozu.labs.langdetect.CmsLanguageUtilto
>> opencms-core/src? If I'm not wrong, the current build works by
>> coincidence.
>>
>>
>> Regards
>>
>>
>> Alberto
>>
>>
>> 2013/2/12 Tobias Herrmann <t.herrmann at alkacon.com>
>>
>>>
>>> I think it's a good idea to create a build.xml for the artefacts
>> generated
>>> from src-components. These jars are used during compile time only and
>> don't
>>> change much, so we never bothered to do it properly. But it shouldn't be
>>> difficult, as they are very basic.
>>>
> _______________________________________________
> 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
>
>
>

-- 
Kind Regards,
Rüdiger.

-------------------

Rüdiger Kurz

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list