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

Alberto Gallardo argrico at gmail.com
Thu Feb 14 16:00:18 CET 2013


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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130214/2e863527/attachment.htm>


More information about the opencms-dev mailing list