[opencms-dev] How to build ant-opencms-1.2.jar
Tobias Herrmann
t.herrmann at alkacon.com
Fri Feb 15 08:06:36 CET 2013
Hi Alberto,
as RĂ¼diger said, the langdetect-opencms.jar is probably going to removed with the next version. So just use the one in /lib/runtime and don't bother building it yourself. Even if we did any changes to the class it contains, we would always update the jar file accordingly.
Greetings, Tobias
--
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com
http://www.opencms.org
Am 14.02.2013 16:00, schrieb Alberto Gallardo:
> 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 <mailto: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
>
>
>
More information about the opencms-dev
mailing list