From adffaces-dev-return-1864-apmail-incubator-adffaces-dev-archive=incubator.apache.org@incubator.apache.org Fri Dec 15 13:10:40 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-dev-archive@locus.apache.org Received: (qmail 19701 invoked from network); 15 Dec 2006 13:08:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2006 13:08:44 -0000 Received: (qmail 69080 invoked by uid 500); 15 Dec 2006 13:08:50 -0000 Delivered-To: apmail-incubator-adffaces-dev-archive@incubator.apache.org Received: (qmail 69053 invoked by uid 500); 15 Dec 2006 13:08:50 -0000 Mailing-List: contact adffaces-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-dev@incubator.apache.org Delivered-To: mailing list adffaces-dev@incubator.apache.org Received: (qmail 69043 invoked by uid 99); 15 Dec 2006 13:08:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 05:08:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mwessendorf@gmail.com designates 64.233.184.229 as permitted sender) Received: from [64.233.184.229] (HELO wr-out-0506.google.com) (64.233.184.229) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 05:08:40 -0800 Received: by wr-out-0506.google.com with SMTP id i32so346628wra for ; Fri, 15 Dec 2006 05:08:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=aBdpGXn8s+FGTjnSzYwBg+dt/lbbdbMTgj+1BdryqYQNAuCYVIcMOl1Z+zbu6ZnfbHFdfNAfUbyls80s7wzh4jcroov35A1fO9bv3MjuZ1dPzE9Auokpi5AKsJn1JTJewRvjh1RVGXj0pU1+eGM0YRJNxmyn7ul/v52XdxhekWU= Received: by 10.48.220.15 with SMTP id s15mr2502515nfg.1166188097057; Fri, 15 Dec 2006 05:08:17 -0800 (PST) Received: by 10.48.238.3 with HTTP; Fri, 15 Dec 2006 05:08:16 -0800 (PST) Message-ID: <71235db40612150508t43053ea6he05cf678885ae8c5@mail.gmail.com> Date: Fri, 15 Dec 2006 14:08:17 +0100 From: "Matthias Wessendorf" Sender: mwessendorf@gmail.com To: adffaces-dev@incubator.apache.org Subject: Re: What DevEnv do you use for Trinidad In-Reply-To: <5bbf92e70612150448o706759dby174ba03b83205968@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bbf92e70612140452n77daffdbp70aa14f621fd70b8@mail.gmail.com> <6dac79b90612140836p5dda8a7cqeaf889c8ba17b092@mail.gmail.com> <4581823E.2080102@gmail.com> <5bbf92e70612150448o706759dby174ba03b83205968@mail.gmail.com> X-Google-Sender-Auth: 19286acb3e6aa737 X-Virus-Checked: Checked by ClamAV on apache.org do you use 'WTP ? On 12/15/06, Danny Robinson wrote: > Thanks All, for your responses. > > I now have a working Eclipse/Trinidad environment. The only things I would > add to Scotts notes, are: > > You need to define a Classpath Variable called M2_REPO, and point that to > your maven repository (defaults to something like C:/Documents and > Settings/drobinso/.m2/repository). Required if you don't have the maven > plugin for eclipse) > > Changed the 'default output folder' for each project to 'bin', previously > set to target/classes, but this caused 'file exists' errors in Eclipse, so > now maven and Eclipse build to different locations. > > Thanks, > > Danny > > On 12/14/06, Scott O'Bryan wrote: > > > > I use eclipse with the four projects and it works just fine. I do have > > a suggestion though: > > > > 1. Turn off automatic compile - eclipse has trouble removing the target > > directories sometimes because the targets are referred to in the project > > as source. Comes from the automatic generation of the tags. > > 2. Be sure to do an mvn install before importing the projects. I > > suggest doing a "mvn clean install eclipse:eclipse" the first time. > > This is because some of the files in the Trinidad build are generated > > and without running the maven task, you don't get these generated files. > > 3. Either clean and build all the projects, or build them one at a time > > in the following order: build, api. impl, demo > > > > They only real annoying thing is that the demo project shows up as a > > normal java project rather then a Web Project, so hopefully the mvn > > eclipse plugin will be enhanced soon to support Calisto. > > > > Finally, I havn't used the mvn plugin for eclipse, so I can't speak to > > that but I hope this helps. > > > > Scott > > > > Adam Winer wrote: > > > And I use Emacs and a command-line, which I imagine makes > > > me very "old-school". ;) > > > > > > -- Adam > > > > > > On 12/14/06, Matt Cooper wrote: > > >> Hi Danny, > > >> > > >> The most common ones I've heard of are either Eclipse or Oracle > > >> JDeveloper. > > >> I use the latter and create workspace/project files by running the > > >> command > > >> "mvn install jdev:jdev". I believe the expected generated workspace > > >> should > > >> have 4 projects (api, build, demo, impl) with pre-attached > > >> dependencies so > > >> you just need to run a jspx page from the demo project and > > >> automatically it > > >> will build any changes you make in the other projects. Perhaps > > >> someone else > > >> on this list can better talk to the Eclipse issues you are > > experiencing. > > >> > > >> Regards, > > >> Matt > > >> > > >> On 12/14/06, Danny Robinson wrote: > > >> > > > >> > Guys, > > >> > > > >> > Are most people using Eclipse to develop the Trinidad > > >> components/code? If > > >> > not, then what do people mainly use? > > >> > > > >> > I followed the wiki page that details the Eclipse setup for > > >> Trinidad and > > >> > got > > >> > a clean compile. However, I'm not certain everything's as it > > >> should be, > > >> > and > > >> > I certainly can't use the maven eclipse plugin to do a clean > > >> 'install'. > > >> > > > >> > Using a different approach, 'mvn eclipse:eclipse' command created 4 > > >> > projects > > >> > rather than the 2 mentioned in the wiki. However, these wouldn't > > >> cleanup > > >> > compile due to dependencies. > > >> > > > >> > Thanks, > > >> > > > >> > Danny > > >> > > > >> > -- > > >> > Chordiant Software Inc. > > >> > www.chordiant.com > > >> > > > >> > > > >> > > >> > > > > > > > > > > -- > Chordiant Software Inc. > www.chordiant.com > > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com