Return-Path: Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 49835 invoked by uid 500); 13 Aug 2003 22:59:32 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 49822 invoked from network); 13 Aug 2003 22:59:32 -0000 Received: from herald.sims.berkeley.edu (128.32.226.90) by daedalus.apache.org with SMTP; 13 Aug 2003 22:59:32 -0000 Received: from irony.sims.berkeley.edu (irony.SIMS.Berkeley.EDU [128.32.226.49]) by herald.sims.berkeley.edu (8.12.9/8.12.9) with ESMTP id h7DMxd63002282 for ; Wed, 13 Aug 2003 15:59:39 -0700 (PDT) Received: from sims.berkeley.edu (dhcp189.SIMS.Berkeley.EDU [128.32.226.189]) (authenticated bits=0) by irony.sims.berkeley.edu (8.12.9/8.12.9) with ESMTP id h7DMxcNB006093 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Wed, 13 Aug 2003 15:59:39 -0700 (PDT) Date: Wed, 13 Aug 2003 15:59:39 -0700 Subject: Re: build problem Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Bill French To: users@cocoon.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <3F3ABCFA.4040605@gmx.de> Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N i unset all my ant variables in the shell that i'm trying to build within. bash> unset ANT_HOME ANT_LIB bash> ./build.sh i still get the same error: BUILD FAILED file:/Users/french/download/cocoon-2.1/src/targets/compile- build.xml:178: java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison thank you for your help. On Wednesday, August 13, 2003, at 03:34 PM, Joerg Heinicke wrote: > Hmm, but the links to Ant are not correct. You locally installed > version (/usr/local/ant/lib) is used while it should be > /Users/french/download/cocoon-2.1/tools/lib. Does it work if you unset > ANT_LIB before calling Cocoon script? > > Joerg > > Bill French wrote: > >> jeorg, i never touched the build script. ant is complaining that it >> can't find a class -- >> org.apache.tools.ant.taskdefs.optional.TraXLiaison -- that's packaged >> in optional.jar. >> On Wednesday, August 13, 2003, at 02:50 PM, Joerg Heinicke wrote: >>> Can't you use the build scripts of Cocoon as they are? Cocoon comes >>> with all needed libraries and the build script already sets >>> classpath correctly. >>> >>> Joerg >>> >>> Bill French wrote: >>> >>>> hi, >>>> i'm on mac os 10.2.6: >>>> Darwin 6.6 Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; >>>> root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power Macintosh powerpc >>>> java 1.4.1: >>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >>>> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >>>> and i'm using ant 1.5.3 to build cocoon 2.1 from source. i added a >>>> couple of debug lines to my ant shell script, and i have: >>>> ANT_LIB set to /usr/local/ant/lib >>>> LOCALCLASSPATH set to >>>> /usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/xercesImpl.jar:/ >>>> usr/ >>>> local/ant/lib/optional.jar:/usr/local/ant/lib/mindbright.jar:/usr/ >>>> local/ant/lib/gc_ant_optional.jar:/usr/local/ant/lib/ant.jar >>>> but i still can't build. i've tried different targets -- i'm given >>>> the error: >>>> BUILD FAILED >>>> file:/Users/french/download/cocoon-2.1/src/targets/compile- >>>> build.xml:178: java.lang.ClassNotFoundException: >>>> org.apache.tools.ant.taskdefs.optional.TraXLiaison >>>> has anyone else had problems building from the new 2.1 source >>>> distribution? i shower you with thanks in advance. >>>> --bill > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org