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

Harald Brabenetz brabenetz at gmx.net
Thu Feb 14 17:39:49 CET 2013


Hi,

I would also recommend to move CmsLanguageUtil.java to "opencms-core/src/...".

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



-------- 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.
> >



More information about the opencms-dev mailing list