Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 15099 invoked from network); 9 Oct 2010 16:16:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Oct 2010 16:16:10 -0000 Received: (qmail 16115 invoked by uid 500); 9 Oct 2010 16:16:10 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 16021 invoked by uid 500); 9 Oct 2010 16:16:09 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 16013 invoked by uid 99); 9 Oct 2010 16:16:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Oct 2010 16:16:09 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Oct 2010 16:16:03 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1P4c5F-00043y-To for ivy-user@ant.apache.org; Sat, 09 Oct 2010 09:15:41 -0700 Message-ID: <29923304.post@talk.nabble.com> Date: Sat, 9 Oct 2010 09:15:41 -0700 (PDT) From: Chris Geer To: ivy-user@ant.apache.org Subject: Re: Problems with "Resolve Dependencies in workspace" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: christopher.s.geer@lmco.com References: <29919404.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Levi, Thanks for the advice. I made sure my system was setup this way but no luck= , the exact same set of problems. It just doesn't make sense why some would work and others would fail, especially when looking in the Ivy container th= e correct dependent projects are actually there. Chris Levi Purvis-2 wrote: >=20 > I'm pretty new to this as well, but from my experiences so far, and > some recent threads - the following might help. >=20 > * In Window -> Preferences -> Ivy -> Workspace Resolver -- check > "Ignore version when resolving workspace projects". >=20 > * Repeat the equivalent setting as above per-project if you use > per-project settings (svn:externals makes this easy if you use > subversion). >=20 > * Use a dynamic revision for your workspace dependencies, such as > "latest.integration" (I use a property so it's easy to switch). >=20 > * Define a for your org in ivysettings.xml, and enable > dynamic resolveMode. Make sure that all projects are configured for > the same settings file (a workspace relative path makes this easy). >=20 > >=20 >=20 > There really should be a "cookbook" for some of this common stuff. > There seems to be alot of moving parts to get just right. >=20 >=20 > On Fri, Oct 8, 2010 at 6:00 PM, Chris Geer > wrote: >> >> I have about 20 projects all building with ant and ivy just fine from th= e >> command line. I just imported them into eclipse and with "Resolve >> Dependencies in Workspace" turn OFF everything works great. All the >> dependencies are pulled in from the local repository and no errors. I >> would >> like to avoid having to publish/resolve every time I make a change to a >> project and make use of the Eclipse project links if possible however >> every >> time I turn on "Resolve Dependencies in Workspace" my projects suddenly >> can't find their linkages. >> >> Symptoms >> =C2=A0- Lots of "Unresolved reference" errors saying it can't find class= es >> =C2=A0- When I enable the "Resolve Dependencies in workspace" feautre an= d >> watch >> the progress bar it seems like it doesn't take the dependencies into >> account >> when it re-builds the projects (don't know if that's an issue). >> >> Reasons why I think it should work >> =C2=A0- Some projects resolve just fine, some don't. For example, lets s= ay I >> have >> project A, B and C. Both A and B are dependent on C. A will resolve C >> just >> fine but B will throw errors >> =C2=A0- Even on the projects with problems, if I expand the Ivy classpat= h >> container, I see the correct projects listed. So going on my example >> above, >> if I looked in project B I would see project C listed as a dependency >> however it will still say it can't find it. >> =C2=A0- If I edit a java file in project B (the one with problems) and s= tart >> typing an import statement, auto-complete will show the classes from >> project >> C. As soon as I finish the statement it will underline it red and say it >> can't find it. >> =C2=A0- As soon as I turn off "Resolve Dependencies in workspace" all th= e >> errors >> go away. >> >> Any thoughts? >> -- >> View this message in context: >> http://old.nabble.com/Problems-with-%22Resolve-Dependencies-in-workspace= %22-tp29919404p29919404.html >> Sent from the ivy-user mailing list archive at Nabble.com. >> >=20 >=20 --=20 View this message in context: http://old.nabble.com/Problems-with-%22Resolv= e-Dependencies-in-workspace%22-tp29919404p29923304.html Sent from the ivy-user mailing list archive at Nabble.com.