Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 18018 invoked from network); 29 Jan 2008 09:36:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2008 09:36:50 -0000 Received: (qmail 65306 invoked by uid 500); 29 Jan 2008 09:36:40 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 65294 invoked by uid 500); 29 Jan 2008 09:36:40 -0000 Mailing-List: contact buildr-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-user@incubator.apache.org Delivered-To: mailing list buildr-user@incubator.apache.org Received: (qmail 65285 invoked by uid 99); 29 Jan 2008 09:36:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2008 01:36:40 -0800 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: domain of ajazam@gmail.com designates 66.249.82.238 as permitted sender) Received: from [66.249.82.238] (HELO wx-out-0506.google.com) (66.249.82.238) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2008 09:36:10 +0000 Received: by wx-out-0506.google.com with SMTP id h30so1496757wxd.21 for ; Tue, 29 Jan 2008 01:36:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=QIHCWDZQCcDi7+5TqLDaLtr+cPbb7CiXcmysFFYtpZM=; b=qazw2zyXeBBS9grVelkfbkGT6qdx26DqjSzHWwcYP46dzD5Geb/6OZW7tnCCyKa2tE77N/6Zojm9pa1YTs8ZmMd8k9/IqgifDGdDcpP2vivwVS3etkk/LRDxBvOg8EKmb2WMK9WqqAHWY5NYTfujDD47fK+Qt+8PFoy6Wt1bXK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ioB8UjUbzwg2lU0Uo8OcQ174topjJZd8QOK7/lVRbdayWtOVc65xggAnuDP7GLOMwf+nVQyn5uhHnnp3O8aKeF5qo1mZ+KxcIy8AfU0BSQ662ClJPsg2BsA0xzLEZynAE2wO3FiGWdK6BJcIAxLagUw9+GBnjs1QZ99OV/M7GL4= Received: by 10.150.143.14 with SMTP id q14mr2602805ybd.113.1201599376612; Tue, 29 Jan 2008 01:36:16 -0800 (PST) Received: by 10.150.49.6 with HTTP; Tue, 29 Jan 2008 01:36:16 -0800 (PST) Message-ID: Date: Tue, 29 Jan 2008 09:36:16 +0000 From: Jabbar To: buildr-user@incubator.apache.org Subject: Re: Problems creating eclipse files In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Forgot, I'm using buildr 1.3.0 from trunk from sometime last week. On 29/01/2008, Jabbar wrote: > Hello all, > > I've finally managed to get around creating my buildr project. It's > not complete but it's mostly there. I'm having problems creating files > for eclipse. Looking at the classpath files, it looks like all the > dependencies aren't there and I'm also getting the following errors in > eclipse with all my artifacts > > "Path '/' must denote path inside 'ejb' location. " > > > I'm using eclipse 3.3.1.1 buildid M20071023-1652 jdk version 1.6.0_03 > and ruby 1.8.6 (2007-09-24 patch level 111). > > For the ejb and ejb-client, there are no source code files yet only > empty directories. For the war there are some sample source code > files. > > I've also included my buildfile and the eclipse classpath files for > each artifact > > > I'm supposed to be learning jee5, integrating tapestry5 with the jee5 > stack, but have spent too much time trying to get a working build > system ! > > Can anybody help? > > > buildfile-----------------This took a whole Sunday to write.!!!!!!!!!!!!!!!!! > require "buildr" > > VERSION_NUMBER = "1.0" > > #-------------------------------- > #tapestry project compile dependencies > #compile > TAPESTRY5 = ["org.apache.tapestry:tapestry-core:jar:5.0.9-SNAPSHOT"] > COMMONS_CODEC = ["commons-codec:commons-codec:jar:1.3"] > TAPESTRY_ANNOTATIONS = > ["org.apache.tapestry:tapestry-annotations:jar:5.0.9-SNAPSHOT"] > > #provided > TAPESTRY_IOC = ["org.apache.tapestry:tapestry-ioc:jar:5.0.9-SNAPSHOT"] > SERVLET_API = ["javax.servlet:servlet-api:jar:2.4"] > EASYMOCK = ["org.easymock:easymock:jar:2.3"] > #--------------------------------- > > #-------------------------------- > #tapestry project transitive dependencies > #compile > JAVAASSIST = ["jboss:javassist:jar:3.6.ga"] > LOG4J = ["log4j:log4j:jar:1.2.14"] > SLF4J_API = ["org.slf4j:slf4j-api:jar:1.4.3"] > SLF4J_LOG4J12 = ["org.slf4j:slf4j-log4j12:jar:1.4.3"] > > #provided > JUNIT = ["junit:junit:jar:3.8.1"] > SELENIUM=["org.openqa.selenium.client-drivers:selenium-java-client-driver:jar:0.8.1"] > SELENIUM_SERVER=["org.openqa.selenium.server:selenium-server:jar:0.8.1"] > TESTNG=["org.testng:testng:jar:jdk15:5.7"] > #-------------------------------- > > JEE5 = ["javaee:javaee-api:jar:5"] > > TAPESTRY_COMPILE = [TAPESTRY5, COMMONS_CODEC, TAPESTRY_ANNOTATIONS, > JAVAASSIST, SLF4J_API, SLF4J_LOG4J12] > TAPESTRY_PROVIDED = [SERVLET_API, EASYMOCK, JUNIT, SELENIUM, > SELENIUM_SERVER, TESTNG, LOG4J] > > TAPESTRY_INCLUDE = TAPESTRY_COMPILE, TAPESTRY_IOC > > repositories.remote << "http://repo1.maven.org/maven2" > repositories.remote << "http://tapestry.formos.com/maven-snapshot-repository" > repositories.remote << "http://mirrors.ibiblio.org/pub/mirrors/maven2" > repositories.remote << "http://ibiblio.lsu.edu/main/pub/packages/maven2" > repositories.remote << "http://maven.openqa.org" > repositories.remote << "http://repository.jboss.com/maven2" > repositories.remote << "http://download.java.net/maven/1" > > PERSISTENCE = ["jboss:jboss-persistence-api:jar:3.0.0-SNAPSHOT"] > EJB = ["jboss:jboss-ejb-api:jar:4.2.0.GA"] > > define 'projectpermissions' do > > project.version = VERSION_NUMBER > project.group = "acme" > manifest["Copyright"] = "Jabbar Azam (C) 2008" > compile.options.target = "1.5" > test.using :testng > > define 'war' do > compile.with TAPESTRY_COMPILE, TAPESTRY_PROVIDED, TAPESTRY_INCLUDE > package(:war).with :libs=>TAPESTRY_INCLUDE > end > > define 'ejb-client' do > compile.with JEE5 > package(:jar) > end > > define 'ejb' do > compile.with project("ejb-client") > package(:jar) > end > > end > ---------------------------------------------------------------- > > > classpath for war---------------------------------------- > > > > > > excluding="**/.svn/|**/CVS/"/> > > path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar" > kind="var"/> > path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" > kind="var"/> > path="M2_REPO/jboss/javassist/3.6.ga/javassist-3.6.ga.jar" > kind="var"/> > > kind="var"/> > path="M2_REPO/org/apache/tapestry/tapestry-annotations/5.0.9-SNAPSHOT/tapestry-annotations-5.0.9-SNAPSHOT.jar" > kind="var"/> > path="M2_REPO/org/apache/tapestry/tapestry-core/5.0.9-SNAPSHOT/tapestry-core-5.0.9-SNAPSHOT.jar" > kind="var"/> > path="M2_REPO/org/apache/tapestry/tapestry-ioc/5.0.9-SNAPSHOT/tapestry-ioc-5.0.9-SNAPSHOT.jar" > kind="var"/> > path="M2_REPO/org/easymock/easymock/2.3/easymock-2.3.jar" kind="var"/> > path="M2_REPO/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar" > kind="var"/> > path="M2_REPO/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar" > kind="var"/> > path="M2_REPO/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar" > kind="var"/> > path="M2_REPO/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar" > kind="var"/> > path="M2_REPO/org/testng/testng/5.7/testng-5.7-jdk15.jar" kind="var"/> > path="D:/work/projectpermissions/war/src/main/resources" kind="src" > excluding="**/.svn/|**/CVS/"/> > path="D:/work/projectpermissions/war/src/test/resources" kind="src" > excluding="**/.svn/|**/CVS/"/> > > > -- > > classpatch for ejb--------------------------------------------------- > > > excluding="**/.svn/|**/CVS/"/> > > path="D:/work/projectpermissions/ejb/src/main/resources" kind="src" > excluding="**/.svn/|**/CVS/"/> > > > --------------------------------------------------- > > > classpatch for ejb-client--------------------------------------------------- > > > excluding="**/.svn/|**/CVS/"/> > > path="D:/work/projectpermissions/ejb-client/src/main/resources" > kind="src" excluding="**/.svn/|**/CVS/"/> > > --------------------------------------------------- > > > > > Thanks > > A Jabbar Azam > -- Thanks A Jabbar Azam