Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 64255 invoked from network); 17 Aug 2008 08:52:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2008 08:52:46 -0000 Received: (qmail 82891 invoked by uid 500); 17 Aug 2008 08:52:44 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 82866 invoked by uid 500); 17 Aug 2008 08:52:44 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 82855 invoked by uid 99); 17 Aug 2008 08:52:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Aug 2008 01:52:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [81.187.42.5] (HELO solo.techblue.co.uk) (81.187.42.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Aug 2008 08:51:45 +0000 Received: from [10.8.5.45] (helo=localhost.localdomain) by solo.techblue.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KUdzR-0007Up-5z for user@lenya.apache.org; Sun, 17 Aug 2008 09:52:09 +0100 Message-ID: <48A7E6AC.8020306@propco.co.uk> Date: Sun, 17 Aug 2008 09:51:56 +0100 From: Vik Tara User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: user@lenya.apache.org Subject: Re: Lenya 2.0 with Eclipse References: <4898045B.5000606@propco.co.uk> <489832D0.90003@propco.co.uk> <1217935991.6491.22.camel@thorsten-desktop> <48983C92.5090104@propco.co.uk> <1217937963.6491.29.camel@thorsten-desktop> <4898447B.3050305@propco.co.uk> <1218449346.6491.90.camel@thorsten-desktop> In-Reply-To: <1218449346.6491.90.camel@thorsten-desktop> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Spam-Report: solo.techblue.co.uk has scanned this email for spam. Results:- ALL_TRUSTED=-1.44 (total -1.4, current threshold 4.0) X-Virus-Checked: Checked by ClamAV on apache.org > > I just gave it a quick try. You need to add all libs to the external > configuration (ant build) to the classpath, but there are still some > problems afterward. Thanks for the pointer, I'll see if I can solve the other issues. > I have not used this way of deployment since quite > some time I'd be really interested to know method's being implemented by others - I am trying to find a way to do everything in a single ide. Thanks Vik Thorsten Scherler wrote: > On Tue, 2008-08-05 at 13:15 +0100, Vik Tara wrote: > >> Sorry Thorsten - perhaps I wasn't clear in my original description of >> the problem. >> >> I am able to build the targets on my box using ./build.sh without any >> problem. >> >> What I am trying to do is execute the build targets in eclipse - after I >> have imported the eclipse project files. >> >> In my case I am trying to build the war (by importing build.xml into the >> eclipse ant view and running the war target) >> >> This approach worked for me previously with Lenya 1.2.5 >> > > I just gave it a quick try. You need to add all libs to the external > configuration (ant build) to the classpath, but there are still some > problems afterward. I have not used this way of deployment since quite > some time, but maybe some other have and know how to quickly fix it. > > salu2 > > >> Or am I looking at it the wrong way? >> >> Thanks >> >> >> Vik >> >> >> >> Thorsten Scherler wrote: >> >>> On Tue, 2008-08-05 at 12:42 +0100, Vik Tara wrote: >>> >>>> Thorsten Scherler wrote: >>>> >>>>> On Tue, 2008-08-05 at 12:00 +0100, Vik Tara wrote: >>>>> >>>>>> Thanks Bhavya - i'll try that now. >>>>>> >>>>>> Does anyone know if there is an issue with the build targets in the >>>>>> release version? It would be good to be able to work with the downloads >>>>>> as well as getting it from svn. >>>>>> >>>>> Hmm, it looks really wried, can you try the following and if it is >>>>> working I will fix it for the next release that is coming very soon: >>>>> >>>>> in src/targets/properties-build.xml >>>>> look for >>>> classname="com.thaiopensource.relaxng.util.JingTask"/> >>>>> >>>>> and change it to: >>>>> >>>>> >>>> classname="com.thaiopensource.relaxng.util.JingTask"/> >>>>> >>>>> salu2 >>>>> >>>>> >>>> OK - tried that. Now the build fails with: >>>> >>>> apache-lenya-2.0/src/targets/properties-build.xml:169: >>>> apache-lenya-2.0/build/lenya/lib not found. >>>> >>> >>> Hmm, I just tried in my local box (linux) without changing above file >>> (please revert the changes before you try the following). >>> >>> I did after downloading and and extracting: >>> cd apache-lenya-2.0 >>> ./build.sh >>> cd externals/cocoon_2_1_x/ >>> ./build.sh eclipse-project >>> cd ../../ >>> ./build.sh eclipse-project >>> >>> and do not get any errors. >>> >>> Are you on windows? If so the only thing that you need to change >>> is ./build.sh to build.bat. >>> >>> salu2 >>> >>> >>> >>>> What could I try next? >>>> >>>> >>>> >>>>>> Bhavya Sharma wrote: >>>>>> >>>>>>> sorry no idea about downloaded lenya however if you try >>>>>>> to check it out from svn and then build it , it will work fine and even you >>>>>>> don,t need to >>>>>>> explicitly download the cocoon as it has its own cocoon. >>>>>>> so u can directly build it. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Aug 5, 2008 at 1:12 PM, Vik Tara wrote: >>>>>>> >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm trying to get Lenya 2.0 to build inside eclipse following the >>>>>>>> instructions here: >>>>>>>> http://lenya.apache.org/docu20/tutorials/setupide.html >>>>>>>> >>>>>>>> I have downloaded Lenya 2.0 and Cocoon 2.1.11 rather than checking out >>>>>>>> from SVN. >>>>>>>> >>>>>>>> However when I try to build using any of the ant targets I get: >>>>>>>> >>>>>>>> apache-lenya-2.0/src/targets/properties-build.xml:167: taskdef class >>>>>>>> com.thaiopensource.relaxng.util.JingTask cannot be found >>>>>>>> >>>>>>>> Maybe I have made a mistake somewhere - has anyone else faced this issue? >>>>>>>> >>>>>>>> Regards >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Vik >>>>>>>> >>>>>>>> >>>>>>>> --------------------------------------------------------------------- >>>>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org >>>>>>>> For additional commands, e-mail: user-help@lenya.apache.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org >>>>>> For additional commands, e-mail: user-help@lenya.apache.org >>>>>> >>>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org >>>> For additional commands, e-mail: user-help@lenya.apache.org >>>> >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org >> For additional commands, e-mail: user-help@lenya.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org For additional commands, e-mail: user-help@lenya.apache.org