Return-Path: Delivered-To: apmail-esme-dev-archive@www.apache.org Received: (qmail 88217 invoked from network); 22 Mar 2011 09:11:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Mar 2011 09:11:01 -0000 Received: (qmail 93028 invoked by uid 500); 22 Mar 2011 09:11:01 -0000 Delivered-To: apmail-esme-dev-archive@esme.apache.org Received: (qmail 93010 invoked by uid 500); 22 Mar 2011 09:11:01 -0000 Mailing-List: contact dev-help@esme.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@esme.apache.org Delivered-To: mailing list dev@esme.apache.org Delivered-To: moderator for dev@esme.apache.org Received: (qmail 37419 invoked by uid 99); 22 Mar 2011 08:20:41 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) MIME-Version: 1.0 X-Originating-IP: [192.35.17.16] In-Reply-To: References: Date: Tue, 22 Mar 2011 09:18:56 +0100 Message-ID: Subject: Re: Issue running tests under Maven & SBT From: Daniel Koller To: dev@esme.apache.org Content-Type: multipart/alternative; boundary=0015174fed6c424cb2049f0de5e3 X-Virus-Checked: Checked by ClamAV on apache.org --0015174fed6c424cb2049f0de5e3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Ethan, just a note: I got the same WebAppContext error when building from HEAD the day before yesterday... even two times "maven clean" didn't solve it. Kind regards, Daniel On Tue, Mar 22, 2011 at 9:02 AM, Ethan Jewett wrote: > Hi Eric, > > My current theory is that my home network connection wasn't allowing > me to access a repository for some reason. I am planning to try it out > again tonight on a different network, so we'll see what happens. > > Thanks for taking the time to think about it :-) > > Ethan > > On Tue, Mar 22, 2011 at 4:58 AM, ejc wrote: > > I'm not sure what kind of prescription I was on, but I was unable to > > reproduce the error I thought I was getting. Probably the reason I > > never reported it. I have no idea what is causing your error. I even > > tried starting with a clean checkout of esme and a clean .m2 and .ivy2 > > -- no issues. > > Sorry for the red herring. > > > > Thanks, > > Eric > > > > On Mon, Mar 21, 2011 at 2:37 AM, Ethan Jewett > wrote: > >> Hi Eric, > >> > >> Interesting. I had wondered if the issue was Jetty 7 vs. 6 but for > >> some reason I decided that I was getting Jetty 6. I'll have to check > >> this out again. > >> > >> If you get a chance to test, I also get the WebAppContext error in SBT > >> when trying to run tests or "sbt jetty-run". > >> > >> Cheers, > >> Ethan > >> > >> On Monday, March 21, 2011, ejc wrote: > >>> I've run into problems before with sbt. The Jetty version > >>> specification caused it to pull 7.x where they changed namespaces and > >>> may have moved some classes. Haven't tried Maven so I can't speak of > >>> your specific errors. It was a difficult problem because it would > >>> clear up if I nuked .m2/repos and built something else that would pul= l > >>> Jetty 6. I keep forgetting to bring this up and submit my patch. > >>> > >>> Thanks, > >>> Eric > >>> > >>> On Sunday, March 20, 2011, Ethan Jewett wrote: > >>>> For me, "mvn clean test" did the trick. Hopefully it's just me... > >>>> > >>>> Ethan > >>>> > >>>> On Sun, Mar 20, 2011 at 6:38 PM, Richard Hirsch < > hirsch.dick@gmail.com> wrote: > >>>>> What commands exactly as you using? I can try it tomorrow. > >>>>> > >>>>> D. > >>>>> On Sun, Mar 20, 2011 at 12:00 PM, Ethan Jewett > wrote: > >>>>>> A little more investigation and I see this during the Maven build, > >>>>>> which may be relevant: > >>>>>> > >>>>>> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ esme-serv= er > >>> > >>>>>> [WARNING] Could not transfer metadata > >>>>>> org.mortbay.jetty:jetty/maven-metadata.xml from/to Apache Repo > >>>>>> (http://people.apache.org/repo/m1-ibiblio-rsync-repository): No > >>>>>> connector available to access repository Apache Repo > >>>>>> (http://people.apache.org/repo/m1-ibiblio-rsync-repository) of typ= e > >>>>>> legacy using the available factories WagonRepositoryConnectorFacto= ry > >>>>>> > >>>>>> > >>>>>> Could be a problem with my internet connection, actually. > >>>>>> > >>>>>> Ethan > >>>>>> > >>>>>> On Sun, Mar 20, 2011 at 11:57 AM, Ethan Jewett > wrote: > >>>>>>> Hi all, > >>>>>>> > >>>>>>> I'm getting an error while compiling tests under Maven & SBT: > >>>>>>> > >>>>>>> > /Users/esjewett/svn_repos/esme/trunk/server/src/test/scala/org/apache/esm= e/lib/MsgParseTest.scala:33: > >>>>>>> WebAppContext is not a member of org.mortbay.jetty.webapp > >>>>>>> [error] import org.mortbay.jetty.webapp.WebAppContext > >>>>>>> > >>>>>>> This occurs in a few places and as far as I can tell the > WebAppContext > >>>>>>> import is in place. > >>>>>>> > >>>>>>> Anyone else having the issue? > >>>>>>> > >>>>>>> Thanks, > >>>>>>> Ethan > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >> > > > --=20 Gruss / Kind regards, *Daniel Koller * Jahnstrasse 20 * 80469 M=FCnchen +49.89 68008308 (landline) * +49.163.6191979 (mobile) --0015174fed6c424cb2049f0de5e3--