[opencms-dev] Re: Compiling the OpenCms core
cherif
multxt at free.fr
Sat Apr 8 00:17:31 CEST 2006
Thanks Thomas,
Indeed, basically as Florian pointed it out, was to discover that it was
ant which could't find those libraries. Also i think putting them in the ant
lib solves definitly any trouble and allow using : ant bindist, ant
build,war or what ever target in build.xml. It's shorter.
here is what i always got (ant build, ant war, ant jar, ant bindist ..) i
tried them one by one
----
BUILD FAILED
C:\opencms\build.xml:607: The following error occurred while executing this
line:
C:\opencms\modules\build.xml:154: The following error occurred while
executing this line:
C:\opencms\modules\build.xml:156: The following error occurred while
executing this line:
C:\opencms\modules\build-single.xml:81: java.lang.NoClassDefFoundError:
org/apache/commons/digester/Digester
-----
looking into opencsm/webapp/WEB-INF/lib/--> digest.jar was there..so i was
confused as i could be
Thanks to Florian, after copying the libs it's ok now.
thanks to all for your nice help
cherif
----- Original Message -----
From: "Thomas März" <thomas.maerz at gmail.com>
To: <opencms-dev at opencms.org>
Sent: Friday, April 07, 2006 9:37 PM
Subject: [opencms-dev] Re: Compiling the OpenCms core
> Florian Hopf <hopf at synyx.de> writes:
>
> > In fact it's ant itself that needs this lib in its ext directory. Go to
> > src-components and read ant-opencms-config.txt to see which jars have to
> > be copied there (IMO the file is really misplaced there)
>
> | $ ant --help | grep lib
> | -lib <path> specifies a path to search for jars and classes
> | -nouserlib Run ant without using the jar files from
> | ${user.home}/.ant/lib
>
> This does work without any proplems:
>
> | ant -lib webapp/WEB-INF/lib/ bindist
>
>
> Regards,
> Thomas
>
>
> _______________________________________________
> 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/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list