Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 57385 invoked from network); 24 Sep 2004 08:08:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Sep 2004 08:08:22 -0000 Received: (qmail 24917 invoked by uid 500); 24 Sep 2004 08:06:02 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 24684 invoked by uid 500); 24 Sep 2004 08:05:58 -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 24632 invoked by uid 99); 24 Sep 2004 08:05:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [213.188.134.18] (HELO mailengine10.web2000.activeisp.com) (213.188.134.18) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 24 Sep 2004 01:05:56 -0700 Received: from [172.16.1.37] (unverified [81.130.96.224]) by webmail.activeisp.com (Rockliffe SMTPRA 5.3.11) with ESMTP id for ; Fri, 24 Sep 2004 10:05:50 +0200 Message-ID: <4153D588.1050301@comsine.co.uk> Date: Fri, 24 Sep 2004 09:06:32 +0100 From: Norman Barker User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Fedora Install Errors References: <200409231751.i8NHpkhY025912@mira.taygeta.com> In-Reply-To: <200409231751.i8NHpkhY025912@mira.taygeta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Skip Carter wrote: >>Can anyone explain why the build script for Cocoon doesn't work on >>Fedora Core 2? It seems to be having >>problems setting the ANT environment variables >> >>Exception in thread "main" java.lang.NoClassDefFoundError: >>org/apache/tools/ant/launch/Launcher >> >> >>I have set JAVA_HOME, JAVA etc in my .bash_profile. >> >>I am not too good with Linux so any help would be appreciated. I would >>rather not have to build >>on Windows and deploy to Linux since I am trying to move away from Windows. >> >> > >Did you EXPORT your variables ? If not they will not be available beyond the >shell where they are set. Using EXPORT will make the "global" to all your >shells. > > > > Hi, thanks for the reply I have pasted my .bash_profile below, I can't see anything wrong with it, is it something to do with the fact that Fedore comes with Ant preinstalled? Any help would be appreciated. # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=/usr/java/jdk/bin:$PATH:$HOME/bin export PATH export JAVA_HOME=/usr/java/jdk export CLASSPATH=/usr/java/jdk/lib/tools.jar:/usr/java/jdk/jre/lib/rt.jar:./ unset USERNAME Thanks, Norman --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org