<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>esme-dev@incubator.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/</id>
<updated>2009-12-06T17:26:36Z</updated>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>Richard Hirsch &lt;hirsch.dick@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cfa2d9f450912060557o11658b82m6f2ba4ba851481d0@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfa2d9f450912060557o11658b82m6f2ba4ba851481d0@mail-gmail-com%3e</id>
<updated>2009-12-06T13:57:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
@Ethan - I'm asuming that is the problem on Hudson. Would be great if
we can solve this.

Could you take a look and see if you find the maven confíguration to
allow in-memory usage. I looked but didn't find anything.

On Fri, Dec 4, 2009 at 7:52 PM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt; Would that fix the issue with Hudson as well? I'll look into that a bit.
&gt;
&gt; Ethan
&gt;
&gt; On Fri, Dec 4, 2009 at 12:18 PM, David Pollak
&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt;&gt; On Fri, Dec 4, 2009 at 9:32 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt;&gt; I'm not following.
&gt;&gt;&gt;
&gt;&gt;&gt; My local repo exactly matched the trunk branch as of when my email was
&gt;&gt;&gt; sent. I'd deleted my entire local repo and checked out from Apache SVN
&gt;&gt;&gt; multiple times while trying to debug, so any local changes should be
&gt;&gt;&gt; fairly well killed off :-)
&gt;&gt;&gt;
&gt;&gt;&gt; It's working fine at the moment for me.
&gt;&gt;&gt;
&gt;&gt;&gt; My concern is why Dick's build &amp; test aren't working. If he can't
&gt;&gt;&gt; build, none of my patches get checked in! ;-)
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; The problem is likely that the machine he's testing on doesn't grant
&gt;&gt; filesystem write access so the DB can't be accessed.  I'd suggest
&gt;&gt; configuring things for that maven machine to use the in-memory version of
&gt;&gt; H2.
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Thanks,
&gt;&gt;&gt; Ethan
&gt;&gt;&gt;
&gt;&gt;&gt; On Fri, Dec 4, 2009 at 11:17 AM, David Pollak
&gt;&gt;&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt;&gt;&gt; &gt; On Fri, Dec 4, 2009 at 5:35 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
wrote:
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt; I'm up to date on the latest revision and it seems to be working fine,
&gt;&gt;&gt; &gt;&gt; at least as far as the tests are concerned.
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Ethan,
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; You have code that is not part of the repo.  Please make sure you add
&gt;&gt;&gt; &gt; "import net.liftweb.common._" to each of the Scala files and all will be
&gt;&gt;&gt; &gt; good.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Thanks,
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; David
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; Ethan
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; On Thu, Dec 3, 2009 at 5:01 PM, David Pollak
&gt;&gt;&gt; &gt;&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt;&gt;&gt; &gt;&gt; &gt; Fixes are up in the repo
&gt;&gt;&gt; &gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt; &gt; On Thu, Dec 3, 2009 at 2:15 PM, David Pollak
&gt;&gt;&gt; &gt;&gt; &gt; &lt;feeder.of.the.bears@gmail.com&gt;wrote:
&gt;&gt;&gt; &gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Okay,
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt; I reproduced the issue (I guess for some reason my git svn
version of
&gt;&gt;&gt; &gt;&gt; ESME
&gt;&gt;&gt; &gt;&gt; &gt;&gt; is not up to date... sigh).
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt; The issue is exactly as the error indicates.  The particular
line
&gt;&gt;&gt; &gt;&gt; &gt;&gt; (User.scala: 64) is calling S.? outside of a request context.
 This
&gt;&gt;&gt; &gt;&gt; means
&gt;&gt;&gt; &gt;&gt; &gt;&gt; there is no way to tell what the localization string should
be
&gt;&gt;&gt; because
&gt;&gt;&gt; &gt;&gt; there
&gt;&gt;&gt; &gt;&gt; &gt;&gt; is no "S state".  The underlying cause is that the User is
being
&gt;&gt;&gt; created
&gt;&gt;&gt; &gt;&gt; &gt;&gt; outside the scope of an HTTP request.  We need to do something
a tad
&gt;&gt;&gt; &gt;&gt; funky
&gt;&gt;&gt; &gt;&gt; &gt;&gt; with the initialization code.  I'll look into it.
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Thanks,
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt; David
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt;&gt;&gt; &gt;&gt; wrote:
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Hi all,
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean
test" in
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone
&gt;&gt;&gt; confirm?
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; We can then identify what check-in broke the build and
fix it.
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Failure is below, which seems to match the failure occurring
in
&gt;&gt;&gt; Hudson.
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Thanks,
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Ethan
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException:
null;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError:
null
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Method)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&gt;&gt;&gt; Method)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to
use
&gt;&gt;&gt; resource
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; bundles outside of an initialized S scope. S only usable
when
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; initialized, such as during request processing. Did you
call S.?
&gt;&gt;&gt; from
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Boot?
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt;&gt; &gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;        ... 19 more
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; [ERROR] There are test failures.
&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;&gt; --
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Follow me: http://twitter.com/dpp
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Surf the harmonics
&gt;&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt; &gt; --
&gt;&gt;&gt; &gt;&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt;&gt; &gt;&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt;&gt; &gt;&gt; &gt; Follow me: http://twitter.com/dpp
&gt;&gt;&gt; &gt;&gt; &gt; Surf the harmonics
&gt;&gt;&gt; &gt;&gt; &gt;
&gt;&gt;&gt; &gt;&gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; --
&gt;&gt;&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt;&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt;&gt; &gt; Follow me: http://twitter.com/dpp
&gt;&gt;&gt; &gt; Surf the harmonics
&gt;&gt;&gt; &gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; Follow me: http://twitter.com/dpp
&gt;&gt; Surf the harmonics
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SAP Services in ESME (was: UI widgets for ESME)</title>
<author><name>Markus Kohler &lt;markus.kohler@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c771905290912060427l426ada70ycf9211cb12fcd9a1@mail.gmail.com%3e"/>
<id>urn:uuid:%3c771905290912060427l426ada70ycf9211cb12fcd9a1@mail-gmail-com%3e</id>
<updated>2009-12-06T12:27:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Michael,
Thanks for your post here!
a few comments from my side.

I think the issue is that the term "usesEnterprise Service" is not clearly
defined.
Actually someone could build a piece of code that wouldn't really use any
code of SAP and not even the wsdl's.  Would that be a "use" of Enterprise
Services? I guess SAP would argue that in order to do so you had access to
the wsdl at some point in time or you did reverse engineering, which I guess
is not permitted either.

But since "almost every problem in computer science can be solved by another
level of indirection", One could build a generic adapter that would not be
released under the Apache license( or any other open source license) and
release it on Source Exchange. But even then it would not be 100% clear
whether an adapter that is  exposing Enterprise services would be legal.
Exposing an enterprise service 1:1 would probably not be legal, but exposing
only portions of it in more abstract way could be legal (and useful),
wouldn't it?

At the end I think ESME could just implement against abstract interfaces.
Those abstract interfaces could be implemented by adapters for the various
ERP vendors and this code would not have to be licensed under the Apache
license.



Regards,
Markus
"The best way to predict the future is to invent it" -- Alan Kay


On Sat, Dec 5, 2009 at 9:38 PM, Bechauf, Michael &lt;michael.bechauf@sap.com&gt;wrote:

&gt; Ethan,
&gt;
&gt; it is no wonder that the developer community is asking questions, because
&gt; honestely, sometimes I am not understanding all of our legal agreements,
&gt; particularely where we are "open, but proprietary" - in other words where we
&gt; seemingly share content like WSDLs and field names openly, but in reality
&gt; you are already bound to some license agreement in order to access this
&gt; information.
&gt;
&gt; I would assume that our lawyers have done their jobs. The intent is clear,
&gt; and that is to protect Enterprise Services from unauthorized use. The issue
&gt; is that we are trying to defend ourselves against competitors but in the
&gt; process of doing so also create issues with open source licenses.
&gt;
&gt; As you know, there is a major thaw in our relationship to open source
&gt; communities; we are starting to contribute freely and with little
&gt; bureaucratic overhead - at least in areas that are non-differentiating to
&gt; us. The conclusion is clearly that we have more to benefit by contributing
&gt; back than by locking down the fort.
&gt;
&gt; With Enterprise Services, we are unfortunately still in sort of a dilemma.
&gt; On the one side, it would be good that open source software would be closely
&gt; affialted with SAP software; on the other side, this means that the neatly
&gt; protected ES definitions become subject to OS licenses and thus more open
&gt; than we perhaps are comfortable with.
&gt;
&gt; In the end, it comes down to a business decision, and I think things like
&gt; ESME will help make the case. It don't think there is any doubt that we
&gt; don't want to build an engine like ESME ourselves. ESME also needs to be
&gt; open, and not tied to SAP only. In the world of a borderless enterprise, we
&gt; can't assume that everybody has SAP, so an engine that only works for SAP
&gt; does not make sense. Open source is a great way to design the openness from
&gt; the get-go.
&gt;
&gt; So, I know we have to come clean. As one of our lawyers recently said, it
&gt; is easy to build a completely open company, and a completely closed one - to
&gt; get it right and build something right in the middle is hard. Microsoft has
&gt; done some good work with their Open Specifications Promise where they said
&gt; exactly where they are open. Perhaps SAP needs to learn from that.
&gt;
&gt; My suggestion is therefore for the ESME team (and for anybody else who
&gt; cares) to help us build a business case why net-net interoperability of SAP
&gt; to open source is good, and to help us define how open we need to be. That
&gt; is more productive than kind of second guessing the licenses we have in
&gt; place because the openness on SDN can be deceiving. Yes, you can browse the
&gt; ES definitions but once you drill down into the WSDLs you have to register
&gt; and for that, I believe you have to agree to some license. Trust me, I
&gt; believe our lawyers when they say that in order to build software with ES
&gt; services you must use one of our dev licenses. I would not get into
&gt; questions whether SAP can even protect weird stuff like a field named
&gt; "BUKRS", or whether an API to create a purchase order is patentable or can
&gt; be protected by copyrights. We need to build the business case that
&gt; innovations like ESME benefit SAP, and higher interoperability is good.
&gt;
&gt; For that, I hope that the demo of ESME at the influencer summit will help.
&gt; I would not be shy in saying that right now it's great that the approval
&gt; process to get SAP employees to contribute to ESME is straight forward, but
&gt; to get SAP software to interoperate with ESME is hard due to licensing.
&gt;
&gt; Best,
&gt; Michael
&gt;
&gt;
&gt; ----- Original Message -----
&gt; From: Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt; To: esme-dev@incubator.apache.org &lt;esme-dev@incubator.apache.org&gt;
&gt; Sent: Sat Dec 05 12:30:36 2009
&gt; Subject: SAP Services in ESME (was: UI widgets for ESME)
&gt;
&gt; I think this topic deserves a separate discussion. It is something we
&gt; probably need to address at some point, and I don't want to derail the
&gt; widgets discussion.
&gt;
&gt; I was wrong to imply that SAP purposefully attempts to spread fear,
&gt; uncertainty, or doubt on this topic. It doesn't. However, there is a
&gt; lot of uncertainty and misalignment between SAP and the developer
&gt; community, which results in doubt and fear.
&gt;
&gt; I disagree with Michael that a widget interfacing with an SAP
&gt; Enterprise Service necessarily falls under any SAP license
&gt; restriction. Such a widget would not need to include Enterprise
&gt; Services in any sense. It would simply need to take a URL pointing to
&gt; an arbitrary WSDL and it would need to make some assumptions about the
&gt; field names and structures of the service. Field names and structures
&gt; are information that SAP provides publicly, with no license
&gt; restrictions (as far as I can tell) at http://esworkplace.sap.com/.
&gt;
&gt; However, as I mentioned, SAP's position on the IP around these
&gt; services is sufficiently uncertain and opaque that I would not be
&gt; comfortable including them in this project until SAP's lawyers
&gt; specifically address this use case. (It is not addressed in the
&gt; Netweaver Developer license agreement linked below, and developers who
&gt; develop against SAP Enterprise Services are not necessarily bound by
&gt; this license agreement.)
&gt;
&gt; Do we have an overall approach or understanding on this issue that has
&gt; already been developed? If not, it might be worth discussing specific
&gt; scenarios and our comfort level with them.
&gt;
&gt; Ethan
&gt;
&gt; On Fri, Dec 4, 2009 at 10:23 PM, Bechauf, Michael
&gt; &lt;michael.bechauf@sap.com&gt; wrote:
&gt; &gt; There is no FUD about it; I think we've been quite transparent (or so I
&gt; &gt; hope) about our IP positions.
&gt; &gt;
&gt; &gt; SAP Enterprise Services need to be licensed, and there are a number of
&gt; &gt; provisions in those licenses that would restrict the free distribution
&gt; &gt; of code. Currently, there is no standalone license for SAP Enterprise
&gt; &gt; Services, but you only get them with SAP customer agreements, SAP
&gt; &gt; partner agreements, SAP NetWeaver developer subscriptions or the free
&gt; &gt; SAP NetWeaver Developer License. You can check out the license agreement
&gt; &gt; here
&gt; &gt; &lt;http://www.sdn.sap.com/irj/scn/shop/developmentpack?rid=/webcontent/uui
&gt; &gt; d/d07ab93b-1d0e-2b10-ed9e-8d35d34a2fed&amp;refer=subscriptionsssrl&gt; .
&gt; &gt;
&gt; &gt; If you put SAP Enterprise Services into Apache code, a developer may
&gt; &gt; create a derivative work that is incompatible with the SAP Enterprise
&gt; &gt; Service license. For exampe, if they create commercial products (i.e.
&gt; &gt; for sale), they have to buy a license from SAP. I talked to Geir
&gt; &gt; Magnusson about it, and his opinion (and I don't think you need a lawyer
&gt; &gt; to confirm this) was that this was incompatible with the Apache license.
&gt; &gt;
&gt; &gt; So, in other words, Ethan is right. I would not put code that contains
&gt; &gt; SAP Enterprise Services into the Apache distribution. If you want to
&gt; &gt; work together on a widget that contains SAP code, you can do this on the
&gt; &gt; SAP Forge called SDN Code Exchange
&gt; &gt; &lt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16455&gt; . In other
&gt; &gt; words, you can safely develop a widget framework in Apache, but for the
&gt; &gt; concrete widget instance that interfaces with SAP, I would not put it
&gt; &gt; into Apache.
&gt; &gt;
&gt; &gt; Best,
&gt; &gt; Michael
&gt; &gt;
&gt; &gt; ________________________________
&gt; &gt;
&gt; &gt; From: Ethan Jewett [mailto:esjewett@gmail.com]
&gt; &gt; Sent: Friday, Dec 04, 2009 6:10 AM
&gt; &gt; To: esme-dev@incubator.apache.org
&gt; &gt; Subject: Re: UI widgets for ESME
&gt; &gt;
&gt; &gt;
&gt; &gt; That looks very interesting and I think it's a great idea. A couple
&gt; &gt; comments (sorry, it's been a busy week, so this is a bit off-the-cuff):
&gt; &gt;
&gt; &gt; 1. I'd like to echo Daniel's suggestion to pursue an existing widget
&gt; &gt; container/standard if we do this. To offer another option: Shindig is a
&gt; &gt; pretty mature implementation of the OpenSocial widget container
&gt; &gt; standard. (Oh, and it's an Apache project -
&gt; &gt; http://incubator.apache.org/shindig/ ;-)
&gt; &gt;
&gt; &gt; 2. I wonder if we might want to consider embedding *ESME* into a widget
&gt; &gt; platform (via the APIs) rather than embedding *widgets* into ESME. My
&gt; &gt; impression is that this might be a lot easier and may more closely align
&gt; &gt; with how ESME will be deployed (in the Enterprise) with a UI wrapper.
&gt; &gt;
&gt; &gt; 3. I'm skittish about putting code into ESME that interfaces with SAP
&gt; &gt; modules. My understanding of SAP's IP position is that code that
&gt; &gt; interfaces with SAP Enterprise Services contains SAP IP and cannot be
&gt; &gt; licensed under an Apache 2.0 license (or at least SAP reserves the right
&gt; &gt; to spread FUD on the topic). I'm not comfortable working on code that
&gt; &gt; does this or committing it to an Apache project until SAP clarifies its
&gt; &gt; position publicly and unequivocally. Because of this, I think we can
&gt; &gt; provide a framework and examples, but I think we should think twice
&gt; &gt; before providing an actual widget that interfaces with SAP as part of
&gt; &gt; the distribution.
&gt; &gt;
&gt; &gt; Ethan
&gt; &gt;
&gt; &gt;
&gt; &gt; On Thu, Dec 3, 2009 at 6:13 PM, Marcelo Pham &lt;marcelo@akibot.com&gt; wrote:
&gt; &gt;
&gt; &gt;
&gt; &gt;        Hi there,
&gt; &gt;
&gt; &gt;        I had a chat with Dick and he thought it would be good to share
&gt; &gt; this idea we had for Akibot with the ESME community:
&gt; &gt;
&gt; &gt;        General concept
&gt; &gt;
&gt; &gt;        1. The idea is to include a "widget" area to ESME front end.
&gt; &gt; These widgets would be plug &amp; play components that help users from a
&gt; &gt; same group or department to see real time info, such as financials,
&gt; &gt; inventory maps, sales, etc. etc.
&gt; &gt;        In brief, we would be marrying business intelligence (widgets
&gt; &gt; showing relevant, summarized information in real time) with social media
&gt; &gt; (microblog), this would give the whole group a sense of total business
&gt; &gt; awareness (they would know exactly what's going on, what employees are
&gt; &gt; chatting about, issues (microblog), what's the most named item, the most
&gt; &gt; mentioned customer (tags), figures for sales, inventory (widgets))
&gt; &gt;
&gt; &gt;        2. For example, the executive and sales groups would have a
&gt; &gt; widget in their microblog that would show real time information for
&gt; &gt; today's and YTD orders:
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;        This widget would read data from the SD module and inform
&gt; &gt; everybody how sales are doing.
&gt; &gt;
&gt; &gt;        3. We would start with widgets that read from SAP modules (SD,
&gt; &gt; FI, MM, etc.) and maybe after we could extend it to other ERP's (JD
&gt; &gt; Edwards, Mas500, Navision, etc) or other groupware apps (Salesforce,
&gt; &gt; Exchange, etc.)
&gt; &gt;
&gt; &gt;        Details
&gt; &gt;
&gt; &gt;        4. If ESME can be skinnable (meaning to allow users to change
&gt; &gt; around the HTML of the front end) these widgets could be embeddable in
&gt; &gt; the form of an object, like:
&gt; &gt;        &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
&gt; &gt; codebase="http://widget.esme.us/?v=1.0" width="200" height="400"
&gt; &gt; align="middle"&gt;
&gt; &gt;           &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
&gt; &gt;           &lt;param name="movie" value="widget1.swf" /&gt;
&gt; &gt;           &lt;param name="quality" value="high" /&gt;
&gt; &gt;           &lt;param name="bgcolor" value="#ffffff" /&gt;
&gt; &gt;
&gt; &gt;           &lt;param name="feed_username" value="username" /&gt;
&gt; &gt;           &lt;param name="feed_password" value="12345abcd" /&gt;
&gt; &gt;
&gt; &gt;           &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
&gt; &gt;            &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff"
&gt; &gt; width="200" height="400" name="foo" align="middle"
&gt; &gt; allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
&gt; &gt; pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
&gt; &gt;        &lt;/object&gt;
&gt; &gt;        Or something like this but using JS.
&gt; &gt;
&gt; &gt;        5. Widgets would be available to download from common open
&gt; &gt; repositories such as ESME website, Google code, etc. A widget would be
&gt; &gt; composed by a Flash or JS file to download, and a sample code to embed
&gt; &gt; into the HTML front end with instructions on how to customize it. We
&gt; &gt; will contribute with all the widgets we do and also help develop widgets
&gt; &gt; made by other members.
&gt; &gt;
&gt; &gt;        6. Since these will be all behind-the-firewall installations,
&gt; &gt; there should not be many security issues, although we would include a
&gt; &gt; username/password to authenticate to the SAP feed
&gt; &gt;
&gt; &gt;        Open for discussion
&gt; &gt;
&gt; &gt;        7. Embeddable code / format: we haven't decided what formats
&gt; &gt; will be the best (JS, Flash, both...)
&gt; &gt;
&gt; &gt;        8. Connection / authentication: how to connect to the SAP feed
&gt; &gt; and how to authenticate to it
&gt; &gt;
&gt; &gt;        9. Widget permissions: how to allow/hide widgets for different
&gt; &gt; groups (for example the sales widget should not be shown to the
&gt; &gt; purchasing group, etc.)
&gt; &gt;
&gt; &gt;
&gt; &gt;        What do you guys think?
&gt; &gt;
&gt; &gt;
&gt; &gt;        Good night,
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;        Marcelo Pham
&gt; &gt;        Head Developer
&gt; &gt;        Akibot
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SAP Services in ESME (was: UI widgets for ESME)</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912052037g618f71b2n9f7a352731d57a82@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912052037g618f71b2n9f7a352731d57a82@mail-gmail-com%3e</id>
<updated>2009-12-06T04:37:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Folks,

Being a lawyer by training and living with one of the world's premier IP
litigators, I've got a lot of experience and exposure to IP law.

I'm also a raging pragmatist when it comes to open source software... I am
troubled by the "all software must be free" FSF position as much as I'm
troubled by the "if you have one unlicensed MP3 on your iPod, you go to
jail" position.  I am a strong believer in open source that is capable of
being commercialized and the Apache 2 license describes that very well.

I am deeply concerned by the fact that we have to have this conversation.
I'm not exactly clear on the details of where SAP might or has in the past
expressed where its IP rights end, but I want to be clear about where I
expect the rights in the ESME code to be:

   - All of the contributors to ESME have signed CLAs that are very clear
   about the license under which all code in the ESME repository exists: the
   Apache 2 license.  If any of the committers or folks who have posted patches
   on JIRA have any questions about their ability to actually grant an Apach 2
   license in the works because they have used NetWeaver in their development
   process or otherwise had exposure to SAP APIs then they should step forward
   ASAP and we should pull all their contributions out of the code.  *If you
   are not 100% sure that your code is your own work and it can be cleanly
   licensed under the Apache 2 license, say it now.*
   - If there are questions about running ESME on NetWeaver or in other ways
   designing ESMEs web APIs in ways that work well with SAP's software such
   that doing either of these things might allow SAP to assert some IP rights
   in the ESME code, then I say we don't even start doing those things.  I am a
   believer in very clear, bright lines in terms of licensing and license
   rights.  If there's not a clear line, then we should not do it.  Period.

I have no interest in making business cases to SAP or trying to explain
things to SAP lawyers about where IP rights start and end.  In think it's a
bad use of the limited ESME resources.  I think it's a fool's errand... and
I say that with scars on my back trying to do similar things with IBM and
non-Jobs Apple in the mid 90s.

So, anyone who can't be 100% sure that their contributions to ESME are 100%
squeaky clean IP wise should say so now and we'll mitigate.  Any future
contributions to ESME have to be SAP taint free without question.

Thanks,

David


On Sat, Dec 5, 2009 at 12:38 PM, Bechauf, Michael
&lt;michael.bechauf@sap.com&gt;wrote:

&gt; Ethan,
&gt;
&gt; it is no wonder that the developer community is asking questions, because
&gt; honestely, sometimes I am not understanding all of our legal agreements,
&gt; particularely where we are "open, but proprietary" - in other words where we
&gt; seemingly share content like WSDLs and field names openly, but in reality
&gt; you are already bound to some license agreement in order to access this
&gt; information.
&gt;
&gt; I would assume that our lawyers have done their jobs. The intent is clear,
&gt; and that is to protect Enterprise Services from unauthorized use. The issue
&gt; is that we are trying to defend ourselves against competitors but in the
&gt; process of doing so also create issues with open source licenses.
&gt;
&gt; As you know, there is a major thaw in our relationship to open source
&gt; communities; we are starting to contribute freely and with little
&gt; bureaucratic overhead - at least in areas that are non-differentiating to
&gt; us. The conclusion is clearly that we have more to benefit by contributing
&gt; back than by locking down the fort.
&gt;
&gt; With Enterprise Services, we are unfortunately still in sort of a dilemma.
&gt; On the one side, it would be good that open source software would be closely
&gt; affialted with SAP software; on the other side, this means that the neatly
&gt; protected ES definitions become subject to OS licenses and thus more open
&gt; than we perhaps are comfortable with.
&gt;
&gt; In the end, it comes down to a business decision, and I think things like
&gt; ESME will help make the case. It don't think there is any doubt that we
&gt; don't want to build an engine like ESME ourselves. ESME also needs to be
&gt; open, and not tied to SAP only. In the world of a borderless enterprise, we
&gt; can't assume that everybody has SAP, so an engine that only works for SAP
&gt; does not make sense. Open source is a great way to design the openness from
&gt; the get-go.
&gt;
&gt; So, I know we have to come clean. As one of our lawyers recently said, it
&gt; is easy to build a completely open company, and a completely closed one - to
&gt; get it right and build something right in the middle is hard. Microsoft has
&gt; done some good work with their Open Specifications Promise where they said
&gt; exactly where they are open. Perhaps SAP needs to learn from that.
&gt;
&gt; My suggestion is therefore for the ESME team (and for anybody else who
&gt; cares) to help us build a business case why net-net interoperability of SAP
&gt; to open source is good, and to help us define how open we need to be. That
&gt; is more productive than kind of second guessing the licenses we have in
&gt; place because the openness on SDN can be deceiving. Yes, you can browse the
&gt; ES definitions but once you drill down into the WSDLs you have to register
&gt; and for that, I believe you have to agree to some license. Trust me, I
&gt; believe our lawyers when they say that in order to build software with ES
&gt; services you must use one of our dev licenses. I would not get into
&gt; questions whether SAP can even protect weird stuff like a field named
&gt; "BUKRS", or whether an API to create a purchase order is patentable or can
&gt; be protected by copyrights. We need to build the business case that
&gt; innovations like ESME benefit SAP, and higher interoperability is good.
&gt;
&gt; For that, I hope that the demo of ESME at the influencer summit will help.
&gt; I would not be shy in saying that right now it's great that the approval
&gt; process to get SAP employees to contribute to ESME is straight forward, but
&gt; to get SAP software to interoperate with ESME is hard due to licensing.
&gt;
&gt; Best,
&gt; Michael
&gt;
&gt;
&gt; ----- Original Message -----
&gt; From: Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt; To: esme-dev@incubator.apache.org &lt;esme-dev@incubator.apache.org&gt;
&gt; Sent: Sat Dec 05 12:30:36 2009
&gt; Subject: SAP Services in ESME (was: UI widgets for ESME)
&gt;
&gt; I think this topic deserves a separate discussion. It is something we
&gt; probably need to address at some point, and I don't want to derail the
&gt; widgets discussion.
&gt;
&gt; I was wrong to imply that SAP purposefully attempts to spread fear,
&gt; uncertainty, or doubt on this topic. It doesn't. However, there is a
&gt; lot of uncertainty and misalignment between SAP and the developer
&gt; community, which results in doubt and fear.
&gt;
&gt; I disagree with Michael that a widget interfacing with an SAP
&gt; Enterprise Service necessarily falls under any SAP license
&gt; restriction. Such a widget would not need to include Enterprise
&gt; Services in any sense. It would simply need to take a URL pointing to
&gt; an arbitrary WSDL and it would need to make some assumptions about the
&gt; field names and structures of the service. Field names and structures
&gt; are information that SAP provides publicly, with no license
&gt; restrictions (as far as I can tell) at http://esworkplace.sap.com/.
&gt;
&gt; However, as I mentioned, SAP's position on the IP around these
&gt; services is sufficiently uncertain and opaque that I would not be
&gt; comfortable including them in this project until SAP's lawyers
&gt; specifically address this use case. (It is not addressed in the
&gt; Netweaver Developer license agreement linked below, and developers who
&gt; develop against SAP Enterprise Services are not necessarily bound by
&gt; this license agreement.)
&gt;
&gt; Do we have an overall approach or understanding on this issue that has
&gt; already been developed? If not, it might be worth discussing specific
&gt; scenarios and our comfort level with them.
&gt;
&gt; Ethan
&gt;
&gt; On Fri, Dec 4, 2009 at 10:23 PM, Bechauf, Michael
&gt; &lt;michael.bechauf@sap.com&gt; wrote:
&gt; &gt; There is no FUD about it; I think we've been quite transparent (or so I
&gt; &gt; hope) about our IP positions.
&gt; &gt;
&gt; &gt; SAP Enterprise Services need to be licensed, and there are a number of
&gt; &gt; provisions in those licenses that would restrict the free distribution
&gt; &gt; of code. Currently, there is no standalone license for SAP Enterprise
&gt; &gt; Services, but you only get them with SAP customer agreements, SAP
&gt; &gt; partner agreements, SAP NetWeaver developer subscriptions or the free
&gt; &gt; SAP NetWeaver Developer License. You can check out the license agreement
&gt; &gt; here
&gt; &gt; &lt;http://www.sdn.sap.com/irj/scn/shop/developmentpack?rid=/webcontent/uui
&gt; &gt; d/d07ab93b-1d0e-2b10-ed9e-8d35d34a2fed&amp;refer=subscriptionsssrl&gt; .
&gt; &gt;
&gt; &gt; If you put SAP Enterprise Services into Apache code, a developer may
&gt; &gt; create a derivative work that is incompatible with the SAP Enterprise
&gt; &gt; Service license. For exampe, if they create commercial products (i.e.
&gt; &gt; for sale), they have to buy a license from SAP. I talked to Geir
&gt; &gt; Magnusson about it, and his opinion (and I don't think you need a lawyer
&gt; &gt; to confirm this) was that this was incompatible with the Apache license.
&gt; &gt;
&gt; &gt; So, in other words, Ethan is right. I would not put code that contains
&gt; &gt; SAP Enterprise Services into the Apache distribution. If you want to
&gt; &gt; work together on a widget that contains SAP code, you can do this on the
&gt; &gt; SAP Forge called SDN Code Exchange
&gt; &gt; &lt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16455&gt; . In other
&gt; &gt; words, you can safely develop a widget framework in Apache, but for the
&gt; &gt; concrete widget instance that interfaces with SAP, I would not put it
&gt; &gt; into Apache.
&gt; &gt;
&gt; &gt; Best,
&gt; &gt; Michael
&gt; &gt;
&gt; &gt; ________________________________
&gt; &gt;
&gt; &gt; From: Ethan Jewett [mailto:esjewett@gmail.com]
&gt; &gt; Sent: Friday, Dec 04, 2009 6:10 AM
&gt; &gt; To: esme-dev@incubator.apache.org
&gt; &gt; Subject: Re: UI widgets for ESME
&gt; &gt;
&gt; &gt;
&gt; &gt; That looks very interesting and I think it's a great idea. A couple
&gt; &gt; comments (sorry, it's been a busy week, so this is a bit off-the-cuff):
&gt; &gt;
&gt; &gt; 1. I'd like to echo Daniel's suggestion to pursue an existing widget
&gt; &gt; container/standard if we do this. To offer another option: Shindig is a
&gt; &gt; pretty mature implementation of the OpenSocial widget container
&gt; &gt; standard. (Oh, and it's an Apache project -
&gt; &gt; http://incubator.apache.org/shindig/ ;-)
&gt; &gt;
&gt; &gt; 2. I wonder if we might want to consider embedding *ESME* into a widget
&gt; &gt; platform (via the APIs) rather than embedding *widgets* into ESME. My
&gt; &gt; impression is that this might be a lot easier and may more closely align
&gt; &gt; with how ESME will be deployed (in the Enterprise) with a UI wrapper.
&gt; &gt;
&gt; &gt; 3. I'm skittish about putting code into ESME that interfaces with SAP
&gt; &gt; modules. My understanding of SAP's IP position is that code that
&gt; &gt; interfaces with SAP Enterprise Services contains SAP IP and cannot be
&gt; &gt; licensed under an Apache 2.0 license (or at least SAP reserves the right
&gt; &gt; to spread FUD on the topic). I'm not comfortable working on code that
&gt; &gt; does this or committing it to an Apache project until SAP clarifies its
&gt; &gt; position publicly and unequivocally. Because of this, I think we can
&gt; &gt; provide a framework and examples, but I think we should think twice
&gt; &gt; before providing an actual widget that interfaces with SAP as part of
&gt; &gt; the distribution.
&gt; &gt;
&gt; &gt; Ethan
&gt; &gt;
&gt; &gt;
&gt; &gt; On Thu, Dec 3, 2009 at 6:13 PM, Marcelo Pham &lt;marcelo@akibot.com&gt; wrote:
&gt; &gt;
&gt; &gt;
&gt; &gt;        Hi there,
&gt; &gt;
&gt; &gt;        I had a chat with Dick and he thought it would be good to share
&gt; &gt; this idea we had for Akibot with the ESME community:
&gt; &gt;
&gt; &gt;        General concept
&gt; &gt;
&gt; &gt;        1. The idea is to include a "widget" area to ESME front end.
&gt; &gt; These widgets would be plug &amp; play components that help users from a
&gt; &gt; same group or department to see real time info, such as financials,
&gt; &gt; inventory maps, sales, etc. etc.
&gt; &gt;        In brief, we would be marrying business intelligence (widgets
&gt; &gt; showing relevant, summarized information in real time) with social media
&gt; &gt; (microblog), this would give the whole group a sense of total business
&gt; &gt; awareness (they would know exactly what's going on, what employees are
&gt; &gt; chatting about, issues (microblog), what's the most named item, the most
&gt; &gt; mentioned customer (tags), figures for sales, inventory (widgets))
&gt; &gt;
&gt; &gt;        2. For example, the executive and sales groups would have a
&gt; &gt; widget in their microblog that would show real time information for
&gt; &gt; today's and YTD orders:
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;        This widget would read data from the SD module and inform
&gt; &gt; everybody how sales are doing.
&gt; &gt;
&gt; &gt;        3. We would start with widgets that read from SAP modules (SD,
&gt; &gt; FI, MM, etc.) and maybe after we could extend it to other ERP's (JD
&gt; &gt; Edwards, Mas500, Navision, etc) or other groupware apps (Salesforce,
&gt; &gt; Exchange, etc.)
&gt; &gt;
&gt; &gt;        Details
&gt; &gt;
&gt; &gt;        4. If ESME can be skinnable (meaning to allow users to change
&gt; &gt; around the HTML of the front end) these widgets could be embeddable in
&gt; &gt; the form of an object, like:
&gt; &gt;        &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
&gt; &gt; codebase="http://widget.esme.us/?v=1.0" width="200" height="400"
&gt; &gt; align="middle"&gt;
&gt; &gt;           &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
&gt; &gt;           &lt;param name="movie" value="widget1.swf" /&gt;
&gt; &gt;           &lt;param name="quality" value="high" /&gt;
&gt; &gt;           &lt;param name="bgcolor" value="#ffffff" /&gt;
&gt; &gt;
&gt; &gt;           &lt;param name="feed_username" value="username" /&gt;
&gt; &gt;           &lt;param name="feed_password" value="12345abcd" /&gt;
&gt; &gt;
&gt; &gt;           &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
&gt; &gt;            &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff"
&gt; &gt; width="200" height="400" name="foo" align="middle"
&gt; &gt; allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
&gt; &gt; pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
&gt; &gt;        &lt;/object&gt;
&gt; &gt;        Or something like this but using JS.
&gt; &gt;
&gt; &gt;        5. Widgets would be available to download from common open
&gt; &gt; repositories such as ESME website, Google code, etc. A widget would be
&gt; &gt; composed by a Flash or JS file to download, and a sample code to embed
&gt; &gt; into the HTML front end with instructions on how to customize it. We
&gt; &gt; will contribute with all the widgets we do and also help develop widgets
&gt; &gt; made by other members.
&gt; &gt;
&gt; &gt;        6. Since these will be all behind-the-firewall installations,
&gt; &gt; there should not be many security issues, although we would include a
&gt; &gt; username/password to authenticate to the SAP feed
&gt; &gt;
&gt; &gt;        Open for discussion
&gt; &gt;
&gt; &gt;        7. Embeddable code / format: we haven't decided what formats
&gt; &gt; will be the best (JS, Flash, both...)
&gt; &gt;
&gt; &gt;        8. Connection / authentication: how to connect to the SAP feed
&gt; &gt; and how to authenticate to it
&gt; &gt;
&gt; &gt;        9. Widget permissions: how to allow/hide widgets for different
&gt; &gt; groups (for example the sales widget should not be shown to the
&gt; &gt; purchasing group, etc.)
&gt; &gt;
&gt; &gt;
&gt; &gt;        What do you guys think?
&gt; &gt;
&gt; &gt;
&gt; &gt;        Good night,
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;        Marcelo Pham
&gt; &gt;        Head Developer
&gt; &gt;        Akibot
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ESME demo on Tuesday Dec 8th</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912051533u18a2c68ao80b61d73afc25153@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912051533u18a2c68ao80b61d73afc25153@mail-gmail-com%3e</id>
<updated>2009-12-05T23:33:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Cool! Good luck to whoever is doing the demo :-) ESME is getting quite
compelling. Hopefully it will continue to become even more-so.

Ethan

On Sat, Dec 5, 2009 at 2:47 PM, Anne Kathrine Petterøe
&lt;akpetteroe@gmail.com&gt; wrote:
&gt; BTW, it isn't me demoing, but SAP :-)
&gt; Everyone please keep your fingers crossed!
&gt;
&gt; On 5. des. 2009, at 20.45, Vassil Dichev wrote:
&gt;
&gt;&gt;&gt; The Stax instance will be used in a demo on this coming Tuesday Dec. 8th.
&gt;&gt;&gt; The demo will take place between 9h and 12h p.m. CET / 3h and 6h pm US
&gt;&gt;&gt; East
&gt;&gt;&gt; time.
&gt;&gt;&gt;
&gt;&gt;&gt; Please don't overload the server during this time.
&gt;&gt;
&gt;&gt; Or maybe we should, just to show off how much load it can take!
&gt;&gt;
&gt;&gt; Just kidding- I wish you good luck. I think the timing is very
&gt;&gt; appropriate- just when ESME has a set of useful features and is
&gt;&gt; starting to stabilize.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SAP Services in ESME (was: UI widgets for ESME)</title>
<author><name>Daniel Koller &lt;dakoller@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c2bca8c350912051529p7b799e7ft443b140a4b147932@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2bca8c350912051529p7b799e7ft443b140a4b147932@mail-gmail-com%3e</id>
<updated>2009-12-05T23:29:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Michael,

first of all: many thanks for this very open and honest statement, which
goes in the details of the SAP internal discussion.

Having said that, I believe that licenses are not God-given: enterprises
have to review regularly which level of openness/IP protection if right for
their business.

The following point comes up now: SAP would have to decide which way to go -
and hopefully for SAP this is not a decision of lawyers, but from business
people with vision.
My experience from companies opening up their applications/tools is, that
they did get benefit from it.

(Why not allowing usage of ES access code on the provision/usage of "as it
is now"? - For me it is clear that any kind of implementations based on ES
solves reulary 70% of the task, the other 30% are customer-/system-specific.
In fact ES will only be usable by licensed customers, so I would focus
license-wise on who uses ES for processes o production systems, not on who
provides a snippet of code, which may speed up the process to adopt ES in
the organization )

Daniel

On Sat, Dec 5, 2009 at 9:38 PM, Bechauf, Michael &lt;michael.bechauf@sap.com&gt;wrote:

&gt; Ethan,
&gt;
&gt; it is no wonder that the developer community is asking questions, because
&gt; honestely, sometimes I am not understanding all of our legal agreements,
&gt; particularely where we are "open, but proprietary" - in other words where we
&gt; seemingly share content like WSDLs and field names openly, but in reality
&gt; you are already bound to some license agreement in order to access this
&gt; information.
&gt;
&gt; I would assume that our lawyers have done their jobs. The intent is clear,
&gt; and that is to protect Enterprise Services from unauthorized use. The issue
&gt; is that we are trying to defend ourselves against competitors but in the
&gt; process of doing so also create issues with open source licenses.
&gt;
&gt; As you know, there is a major thaw in our relationship to open source
&gt; communities; we are starting to contribute freely and with little
&gt; bureaucratic overhead - at least in areas that are non-differentiating to
&gt; us. The conclusion is clearly that we have more to benefit by contributing
&gt; back than by locking down the fort.
&gt;
&gt; With Enterprise Services, we are unfortunately still in sort of a dilemma.
&gt; On the one side, it would be good that open source software would be closely
&gt; affialted with SAP software; on the other side, this means that the neatly
&gt; protected ES definitions become subject to OS licenses and thus more open
&gt; than we perhaps are comfortable with.
&gt;
&gt; In the end, it comes down to a business decision, and I think things like
&gt; ESME will help make the case. It don't think there is any doubt that we
&gt; don't want to build an engine like ESME ourselves. ESME also needs to be
&gt; open, and not tied to SAP only. In the world of a borderless enterprise, we
&gt; can't assume that everybody has SAP, so an engine that only works for SAP
&gt; does not make sense. Open source is a great way to design the openness from
&gt; the get-go.
&gt;
&gt; So, I know we have to come clean. As one of our lawyers recently said, it
&gt; is easy to build a completely open company, and a completely closed one - to
&gt; get it right and build something right in the middle is hard. Microsoft has
&gt; done some good work with their Open Specifications Promise where they said
&gt; exactly where they are open. Perhaps SAP needs to learn from that.
&gt;
&gt; My suggestion is therefore for the ESME team (and for anybody else who
&gt; cares) to help us build a business case why net-net interoperability of SAP
&gt; to open source is good, and to help us define how open we need to be. That
&gt; is more productive than kind of second guessing the licenses we have in
&gt; place because the openness on SDN can be deceiving. Yes, you can browse the
&gt; ES definitions but once you drill down into the WSDLs you have to register
&gt; and for that, I believe you have to agree to some license. Trust me, I
&gt; believe our lawyers when they say that in order to build software with ES
&gt; services you must use one of our dev licenses. I would not get into
&gt; questions whether SAP can even protect weird stuff like a field named
&gt; "BUKRS", or whether an API to create a purchase order is patentable or can
&gt; be protected by copyrights. We need to build the business case that
&gt; innovations like ESME benefit SAP, and higher interoperability is good.
&gt;
&gt; For that, I hope that the demo of ESME at the influencer summit will help.
&gt; I would not be shy in saying that right now it's great that the approval
&gt; process to get SAP employees to contribute to ESME is straight forward, but
&gt; to get SAP software to interoperate with ESME is hard due to licensing.
&gt;
&gt; Best,
&gt; Michael
&gt;
&gt;
&gt; ----- Original Message -----
&gt; From: Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt; To: esme-dev@incubator.apache.org &lt;esme-dev@incubator.apache.org&gt;
&gt; Sent: Sat Dec 05 12:30:36 2009
&gt; Subject: SAP Services in ESME (was: UI widgets for ESME)
&gt;
&gt; I think this topic deserves a separate discussion. It is something we
&gt; probably need to address at some point, and I don't want to derail the
&gt; widgets discussion.
&gt;
&gt; I was wrong to imply that SAP purposefully attempts to spread fear,
&gt; uncertainty, or doubt on this topic. It doesn't. However, there is a
&gt; lot of uncertainty and misalignment between SAP and the developer
&gt; community, which results in doubt and fear.
&gt;
&gt; I disagree with Michael that a widget interfacing with an SAP
&gt; Enterprise Service necessarily falls under any SAP license
&gt; restriction. Such a widget would not need to include Enterprise
&gt; Services in any sense. It would simply need to take a URL pointing to
&gt; an arbitrary WSDL and it would need to make some assumptions about the
&gt; field names and structures of the service. Field names and structures
&gt; are information that SAP provides publicly, with no license
&gt; restrictions (as far as I can tell) at http://esworkplace.sap.com/.
&gt;
&gt; However, as I mentioned, SAP's position on the IP around these
&gt; services is sufficiently uncertain and opaque that I would not be
&gt; comfortable including them in this project until SAP's lawyers
&gt; specifically address this use case. (It is not addressed in the
&gt; Netweaver Developer license agreement linked below, and developers who
&gt; develop against SAP Enterprise Services are not necessarily bound by
&gt; this license agreement.)
&gt;
&gt; Do we have an overall approach or understanding on this issue that has
&gt; already been developed? If not, it might be worth discussing specific
&gt; scenarios and our comfort level with them.
&gt;
&gt; Ethan
&gt;
&gt; On Fri, Dec 4, 2009 at 10:23 PM, Bechauf, Michael
&gt; &lt;michael.bechauf@sap.com&gt; wrote:
&gt; &gt; There is no FUD about it; I think we've been quite transparent (or so I
&gt; &gt; hope) about our IP positions.
&gt; &gt;
&gt; &gt; SAP Enterprise Services need to be licensed, and there are a number of
&gt; &gt; provisions in those licenses that would restrict the free distribution
&gt; &gt; of code. Currently, there is no standalone license for SAP Enterprise
&gt; &gt; Services, but you only get them with SAP customer agreements, SAP
&gt; &gt; partner agreements, SAP NetWeaver developer subscriptions or the free
&gt; &gt; SAP NetWeaver Developer License. You can check out the license agreement
&gt; &gt; here
&gt; &gt; &lt;http://www.sdn.sap.com/irj/scn/shop/developmentpack?rid=/webcontent/uui
&gt; &gt; d/d07ab93b-1d0e-2b10-ed9e-8d35d34a2fed&amp;refer=subscriptionsssrl&gt; .
&gt; &gt;
&gt; &gt; If you put SAP Enterprise Services into Apache code, a developer may
&gt; &gt; create a derivative work that is incompatible with the SAP Enterprise
&gt; &gt; Service license. For exampe, if they create commercial products (i.e.
&gt; &gt; for sale), they have to buy a license from SAP. I talked to Geir
&gt; &gt; Magnusson about it, and his opinion (and I don't think you need a lawyer
&gt; &gt; to confirm this) was that this was incompatible with the Apache license.
&gt; &gt;
&gt; &gt; So, in other words, Ethan is right. I would not put code that contains
&gt; &gt; SAP Enterprise Services into the Apache distribution. If you want to
&gt; &gt; work together on a widget that contains SAP code, you can do this on the
&gt; &gt; SAP Forge called SDN Code Exchange
&gt; &gt; &lt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16455&gt; . In other
&gt; &gt; words, you can safely develop a widget framework in Apache, but for the
&gt; &gt; concrete widget instance that interfaces with SAP, I would not put it
&gt; &gt; into Apache.
&gt; &gt;
&gt; &gt; Best,
&gt; &gt; Michael
&gt; &gt;
&gt; &gt; ________________________________
&gt; &gt;
&gt; &gt; From: Ethan Jewett [mailto:esjewett@gmail.com]
&gt; &gt; Sent: Friday, Dec 04, 2009 6:10 AM
&gt; &gt; To: esme-dev@incubator.apache.org
&gt; &gt; Subject: Re: UI widgets for ESME
&gt; &gt;
&gt; &gt;
&gt; &gt; That looks very interesting and I think it's a great idea. A couple
&gt; &gt; comments (sorry, it's been a busy week, so this is a bit off-the-cuff):
&gt; &gt;
&gt; &gt; 1. I'd like to echo Daniel's suggestion to pursue an existing widget
&gt; &gt; container/standard if we do this. To offer another option: Shindig is a
&gt; &gt; pretty mature implementation of the OpenSocial widget container
&gt; &gt; standard. (Oh, and it's an Apache project -
&gt; &gt; http://incubator.apache.org/shindig/ ;-)
&gt; &gt;
&gt; &gt; 2. I wonder if we might want to consider embedding *ESME* into a widget
&gt; &gt; platform (via the APIs) rather than embedding *widgets* into ESME. My
&gt; &gt; impression is that this might be a lot easier and may more closely align
&gt; &gt; with how ESME will be deployed (in the Enterprise) with a UI wrapper.
&gt; &gt;
&gt; &gt; 3. I'm skittish about putting code into ESME that interfaces with SAP
&gt; &gt; modules. My understanding of SAP's IP position is that code that
&gt; &gt; interfaces with SAP Enterprise Services contains SAP IP and cannot be
&gt; &gt; licensed under an Apache 2.0 license (or at least SAP reserves the right
&gt; &gt; to spread FUD on the topic). I'm not comfortable working on code that
&gt; &gt; does this or committing it to an Apache project until SAP clarifies its
&gt; &gt; position publicly and unequivocally. Because of this, I think we can
&gt; &gt; provide a framework and examples, but I think we should think twice
&gt; &gt; before providing an actual widget that interfaces with SAP as part of
&gt; &gt; the distribution.
&gt; &gt;
&gt; &gt; Ethan
&gt; &gt;
&gt; &gt;
&gt; &gt; On Thu, Dec 3, 2009 at 6:13 PM, Marcelo Pham &lt;marcelo@akibot.com&gt; wrote:
&gt; &gt;
&gt; &gt;
&gt; &gt;        Hi there,
&gt; &gt;
&gt; &gt;        I had a chat with Dick and he thought it would be good to share
&gt; &gt; this idea we had for Akibot with the ESME community:
&gt; &gt;
&gt; &gt;        General concept
&gt; &gt;
&gt; &gt;        1. The idea is to include a "widget" area to ESME front end.
&gt; &gt; These widgets would be plug &amp; play components that help users from a
&gt; &gt; same group or department to see real time info, such as financials,
&gt; &gt; inventory maps, sales, etc. etc.
&gt; &gt;        In brief, we would be marrying business intelligence (widgets
&gt; &gt; showing relevant, summarized information in real time) with social media
&gt; &gt; (microblog), this would give the whole group a sense of total business
&gt; &gt; awareness (they would know exactly what's going on, what employees are
&gt; &gt; chatting about, issues (microblog), what's the most named item, the most
&gt; &gt; mentioned customer (tags), figures for sales, inventory (widgets))
&gt; &gt;
&gt; &gt;        2. For example, the executive and sales groups would have a
&gt; &gt; widget in their microblog that would show real time information for
&gt; &gt; today's and YTD orders:
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;        This widget would read data from the SD module and inform
&gt; &gt; everybody how sales are doing.
&gt; &gt;
&gt; &gt;        3. We would start with widgets that read from SAP modules (SD,
&gt; &gt; FI, MM, etc.) and maybe after we could extend it to other ERP's (JD
&gt; &gt; Edwards, Mas500, Navision, etc) or other groupware apps (Salesforce,
&gt; &gt; Exchange, etc.)
&gt; &gt;
&gt; &gt;        Details
&gt; &gt;
&gt; &gt;        4. If ESME can be skinnable (meaning to allow users to change
&gt; &gt; around the HTML of the front end) these widgets could be embeddable in
&gt; &gt; the form of an object, like:
&gt; &gt;        &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
&gt; &gt; codebase="http://widget.esme.us/?v=1.0" width="200" height="400"
&gt; &gt; align="middle"&gt;
&gt; &gt;           &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
&gt; &gt;           &lt;param name="movie" value="widget1.swf" /&gt;
&gt; &gt;           &lt;param name="quality" value="high" /&gt;
&gt; &gt;           &lt;param name="bgcolor" value="#ffffff" /&gt;
&gt; &gt;
&gt; &gt;           &lt;param name="feed_username" value="username" /&gt;
&gt; &gt;           &lt;param name="feed_password" value="12345abcd" /&gt;
&gt; &gt;
&gt; &gt;           &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
&gt; &gt;            &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff"
&gt; &gt; width="200" height="400" name="foo" align="middle"
&gt; &gt; allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
&gt; &gt; pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
&gt; &gt;        &lt;/object&gt;
&gt; &gt;        Or something like this but using JS.
&gt; &gt;
&gt; &gt;        5. Widgets would be available to download from common open
&gt; &gt; repositories such as ESME website, Google code, etc. A widget would be
&gt; &gt; composed by a Flash or JS file to download, and a sample code to embed
&gt; &gt; into the HTML front end with instructions on how to customize it. We
&gt; &gt; will contribute with all the widgets we do and also help develop widgets
&gt; &gt; made by other members.
&gt; &gt;
&gt; &gt;        6. Since these will be all behind-the-firewall installations,
&gt; &gt; there should not be many security issues, although we would include a
&gt; &gt; username/password to authenticate to the SAP feed
&gt; &gt;
&gt; &gt;        Open for discussion
&gt; &gt;
&gt; &gt;        7. Embeddable code / format: we haven't decided what formats
&gt; &gt; will be the best (JS, Flash, both...)
&gt; &gt;
&gt; &gt;        8. Connection / authentication: how to connect to the SAP feed
&gt; &gt; and how to authenticate to it
&gt; &gt;
&gt; &gt;        9. Widget permissions: how to allow/hide widgets for different
&gt; &gt; groups (for example the sales widget should not be shown to the
&gt; &gt; purchasing group, etc.)
&gt; &gt;
&gt; &gt;
&gt; &gt;        What do you guys think?
&gt; &gt;
&gt; &gt;
&gt; &gt;        Good night,
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;        Marcelo Pham
&gt; &gt;        Head Developer
&gt; &gt;        Akibot
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;



-- 
---
Daniel Koller
Jahnstrasse 20
80469 München * dakoller@googlemail.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ESME demo on Tuesday Dec 8th</title>
<author><name>=?iso-8859-1?Q?Anne_Kathrine_Petter=F8e?= &lt;akpetteroe@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c7A86E8CB-0010-406F-AD11-059EDB756679@gmail.com%3e"/>
<id>urn:uuid:%3c7A86E8CB-0010-406F-AD11-059EDB756679@gmail-com%3e</id>
<updated>2009-12-05T20:47:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
BTW, it isn't me demoing, but SAP :-)
Everyone please keep your fingers crossed!

On 5. des. 2009, at 20.45, Vassil Dichev wrote:

&gt;&gt; The Stax instance will be used in a demo on this coming Tuesday  
&gt;&gt; Dec. 8th.
&gt;&gt; The demo will take place between 9h and 12h p.m. CET / 3h and 6h pm  
&gt;&gt; US East
&gt;&gt; time.
&gt;&gt;
&gt;&gt; Please don't overload the server during this time.
&gt;
&gt; Or maybe we should, just to show off how much load it can take!
&gt;
&gt; Just kidding- I wish you good luck. I think the timing is very
&gt; appropriate- just when ESME has a set of useful features and is
&gt; starting to stabilize.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SAP Services in ESME (was: UI widgets for ESME)</title>
<author><name>&quot;Bechauf, Michael&quot; &lt;michael.bechauf@sap.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c06802A3D4BE62D449D366CE4A27D614003011714@usphle16.phl.sap.corp%3e"/>
<id>urn:uuid:%3c06802A3D4BE62D449D366CE4A27D614003011714@usphle16-phl-sap-corp%3e</id>
<updated>2009-12-05T20:38:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Ethan,

it is no wonder that the developer community is asking questions, because honestely, sometimes
I am not understanding all of our legal agreements, particularely where we are "open, but
proprietary" - in other words where we seemingly share content like WSDLs and field names
openly, but in reality you are already bound to some license agreement in order to access
this information.

I would assume that our lawyers have done their jobs. The intent is clear, and that is to
protect Enterprise Services from unauthorized use. The issue is that we are trying to defend
ourselves against competitors but in the process of doing so also create issues with open
source licenses. 

As you know, there is a major thaw in our relationship to open source communities; we are
starting to contribute freely and with little bureaucratic overhead - at least in areas that
are non-differentiating to us. The conclusion is clearly that we have more to benefit by contributing
back than by locking down the fort. 

With Enterprise Services, we are unfortunately still in sort of a dilemma. On the one side,
it would be good that open source software would be closely affialted with SAP software; on
the other side, this means that the neatly protected ES definitions become subject to OS licenses
and thus more open than we perhaps are comfortable with. 

In the end, it comes down to a business decision, and I think things like ESME will help make
the case. It don't think there is any doubt that we don't want to build an engine like ESME
ourselves. ESME also needs to be open, and not tied to SAP only. In the world of a borderless
enterprise, we can't assume that everybody has SAP, so an engine that only works for SAP does
not make sense. Open source is a great way to design the openness from the get-go. 

So, I know we have to come clean. As one of our lawyers recently said, it is easy to build
a completely open company, and a completely closed one - to get it right and build something
right in the middle is hard. Microsoft has done some good work with their Open Specifications
Promise where they said exactly where they are open. Perhaps SAP needs to learn from that.

My suggestion is therefore for the ESME team (and for anybody else who cares) to help us build
a business case why net-net interoperability of SAP to open source is good, and to help us
define how open we need to be. That is more productive than kind of second guessing the licenses
we have in place because the openness on SDN can be deceiving. Yes, you can browse the ES
definitions but once you drill down into the WSDLs you have to register and for that, I believe
you have to agree to some license. Trust me, I believe our lawyers when they say that in order
to build software with ES services you must use one of our dev licenses. I would not get into
questions whether SAP can even protect weird stuff like a field named "BUKRS", or whether
an API to create a purchase order is patentable or can be protected by copyrights. We need
to build the business case that innovations like ESME benefit SAP, and higher interoperability
is good. 

For that, I hope that the demo of ESME at the influencer summit will help. I would not be
shy in saying that right now it's great that the approval process to get SAP employees to
contribute to ESME is straight forward, but to get SAP software to interoperate with ESME
is hard due to licensing. 

Best,
Michael


----- Original Message -----
From: Ethan Jewett &lt;esjewett@gmail.com&gt;
To: esme-dev@incubator.apache.org &lt;esme-dev@incubator.apache.org&gt;
Sent: Sat Dec 05 12:30:36 2009
Subject: SAP Services in ESME (was: UI widgets for ESME)

I think this topic deserves a separate discussion. It is something we
probably need to address at some point, and I don't want to derail the
widgets discussion.

I was wrong to imply that SAP purposefully attempts to spread fear,
uncertainty, or doubt on this topic. It doesn't. However, there is a
lot of uncertainty and misalignment between SAP and the developer
community, which results in doubt and fear.

I disagree with Michael that a widget interfacing with an SAP
Enterprise Service necessarily falls under any SAP license
restriction. Such a widget would not need to include Enterprise
Services in any sense. It would simply need to take a URL pointing to
an arbitrary WSDL and it would need to make some assumptions about the
field names and structures of the service. Field names and structures
are information that SAP provides publicly, with no license
restrictions (as far as I can tell) at http://esworkplace.sap.com/.

However, as I mentioned, SAP's position on the IP around these
services is sufficiently uncertain and opaque that I would not be
comfortable including them in this project until SAP's lawyers
specifically address this use case. (It is not addressed in the
Netweaver Developer license agreement linked below, and developers who
develop against SAP Enterprise Services are not necessarily bound by
this license agreement.)

Do we have an overall approach or understanding on this issue that has
already been developed? If not, it might be worth discussing specific
scenarios and our comfort level with them.

Ethan

On Fri, Dec 4, 2009 at 10:23 PM, Bechauf, Michael
&lt;michael.bechauf@sap.com&gt; wrote:
&gt; There is no FUD about it; I think we've been quite transparent (or so I
&gt; hope) about our IP positions.
&gt;
&gt; SAP Enterprise Services need to be licensed, and there are a number of
&gt; provisions in those licenses that would restrict the free distribution
&gt; of code. Currently, there is no standalone license for SAP Enterprise
&gt; Services, but you only get them with SAP customer agreements, SAP
&gt; partner agreements, SAP NetWeaver developer subscriptions or the free
&gt; SAP NetWeaver Developer License. You can check out the license agreement
&gt; here
&gt; &lt;http://www.sdn.sap.com/irj/scn/shop/developmentpack?rid=/webcontent/uui
&gt; d/d07ab93b-1d0e-2b10-ed9e-8d35d34a2fed&amp;refer=subscriptionsssrl&gt; .
&gt;
&gt; If you put SAP Enterprise Services into Apache code, a developer may
&gt; create a derivative work that is incompatible with the SAP Enterprise
&gt; Service license. For exampe, if they create commercial products (i.e.
&gt; for sale), they have to buy a license from SAP. I talked to Geir
&gt; Magnusson about it, and his opinion (and I don't think you need a lawyer
&gt; to confirm this) was that this was incompatible with the Apache license.
&gt;
&gt; So, in other words, Ethan is right. I would not put code that contains
&gt; SAP Enterprise Services into the Apache distribution. If you want to
&gt; work together on a widget that contains SAP code, you can do this on the
&gt; SAP Forge called SDN Code Exchange
&gt; &lt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16455&gt; . In other
&gt; words, you can safely develop a widget framework in Apache, but for the
&gt; concrete widget instance that interfaces with SAP, I would not put it
&gt; into Apache.
&gt;
&gt; Best,
&gt; Michael
&gt;
&gt; ________________________________
&gt;
&gt; From: Ethan Jewett [mailto:esjewett@gmail.com]
&gt; Sent: Friday, Dec 04, 2009 6:10 AM
&gt; To: esme-dev@incubator.apache.org
&gt; Subject: Re: UI widgets for ESME
&gt;
&gt;
&gt; That looks very interesting and I think it's a great idea. A couple
&gt; comments (sorry, it's been a busy week, so this is a bit off-the-cuff):
&gt;
&gt; 1. I'd like to echo Daniel's suggestion to pursue an existing widget
&gt; container/standard if we do this. To offer another option: Shindig is a
&gt; pretty mature implementation of the OpenSocial widget container
&gt; standard. (Oh, and it's an Apache project -
&gt; http://incubator.apache.org/shindig/ ;-)
&gt;
&gt; 2. I wonder if we might want to consider embedding *ESME* into a widget
&gt; platform (via the APIs) rather than embedding *widgets* into ESME. My
&gt; impression is that this might be a lot easier and may more closely align
&gt; with how ESME will be deployed (in the Enterprise) with a UI wrapper.
&gt;
&gt; 3. I'm skittish about putting code into ESME that interfaces with SAP
&gt; modules. My understanding of SAP's IP position is that code that
&gt; interfaces with SAP Enterprise Services contains SAP IP and cannot be
&gt; licensed under an Apache 2.0 license (or at least SAP reserves the right
&gt; to spread FUD on the topic). I'm not comfortable working on code that
&gt; does this or committing it to an Apache project until SAP clarifies its
&gt; position publicly and unequivocally. Because of this, I think we can
&gt; provide a framework and examples, but I think we should think twice
&gt; before providing an actual widget that interfaces with SAP as part of
&gt; the distribution.
&gt;
&gt; Ethan
&gt;
&gt;
&gt; On Thu, Dec 3, 2009 at 6:13 PM, Marcelo Pham &lt;marcelo@akibot.com&gt; wrote:
&gt;
&gt;
&gt; Â  Â  Â  Â Hi there,
&gt;
&gt; Â  Â  Â  Â I had a chat with Dick and he thought it would be good to share
&gt; this idea we had for Akibot with the ESME community:
&gt;
&gt; Â  Â  Â  Â General concept
&gt;
&gt; Â  Â  Â  Â 1. The idea is to include a "widget" area to ESME front end.
&gt; These widgets would be plug &amp; play components that help users from a
&gt; same group or department to see real time info, such as financials,
&gt; inventory maps, sales, etc. etc.
&gt; Â  Â  Â  Â In brief, we would be marrying business intelligence (widgets
&gt; showing relevant, summarized information in real time) with social media
&gt; (microblog), this would give the whole group a sense of total business
&gt; awareness (they would know exactly what's going on, what employees are
&gt; chatting about, issues (microblog), what's the most named item, the most
&gt; mentioned customer (tags), figures for sales, inventory (widgets))
&gt;
&gt; Â  Â  Â  Â 2. For example, the executive and sales groups would have a
&gt; widget in their microblog that would show real time information for
&gt; today's and YTD orders:
&gt;
&gt;
&gt;
&gt; Â  Â  Â  Â This widget would read data from the SD module and inform
&gt; everybody how sales are doing.
&gt;
&gt; Â  Â  Â  Â 3. We would start with widgets that read from SAP modules (SD,
&gt; FI, MM, etc.) and maybe after we could extend it to other ERP's (JD
&gt; Edwards, Mas500, Navision, etc) or other groupware apps (Salesforce,
&gt; Exchange, etc.)
&gt;
&gt; Â  Â  Â  Â Details
&gt;
&gt; Â  Â  Â  Â 4. If ESME can be skinnable (meaning to allow users to change
&gt; around the HTML of the front end) these widgets could be embeddable in
&gt; the form of an object, like:
&gt; Â  Â  Â  Â &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
&gt; codebase="http://widget.esme.us/?v=1.0" width="200" height="400"
&gt; align="middle"&gt;
&gt; Â  Â  Â  Â  Â  &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
&gt; Â  Â  Â  Â  Â  &lt;param name="movie" value="widget1.swf" /&gt;
&gt; Â  Â  Â  Â  Â  &lt;param name="quality" value="high" /&gt;
&gt; Â  Â  Â  Â  Â  &lt;param name="bgcolor" value="#ffffff" /&gt;
&gt;
&gt; Â  Â  Â  Â  Â  &lt;param name="feed_username" value="username" /&gt;
&gt; Â  Â  Â  Â  Â  &lt;param name="feed_password" value="12345abcd" /&gt;
&gt;
&gt; Â  Â  Â  Â  Â  &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff"
&gt; width="200" height="400" name="foo" align="middle"
&gt; allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
&gt; pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
&gt; Â  Â  Â  Â &lt;/object&gt;
&gt; Â  Â  Â  Â Or something like this but using JS.
&gt;
&gt; Â  Â  Â  Â 5. Widgets would be available to download from common open
&gt; repositories such as ESME website, Google code, etc. A widget would be
&gt; composed by a Flash or JS file to download, and a sample code to embed
&gt; into the HTML front end with instructions on how to customize it. We
&gt; will contribute with all the widgets we do and also help develop widgets
&gt; made by other members.
&gt;
&gt; Â  Â  Â  Â 6. Since these will be all behind-the-firewall installations,
&gt; there should not be many security issues, although we would include a
&gt; username/password to authenticate to the SAP feed
&gt;
&gt; Â  Â  Â  Â Open for discussion
&gt;
&gt; Â  Â  Â  Â 7. Embeddable code / format: we haven't decided what formats
&gt; will be the best (JS, Flash, both...)
&gt;
&gt; Â  Â  Â  Â 8. Connection / authentication: how to connect to the SAP feed
&gt; and how to authenticate to it
&gt;
&gt; Â  Â  Â  Â 9. Widget permissions: how to allow/hide widgets for different
&gt; groups (for example the sales widget should not be shown to the
&gt; purchasing group, etc.)
&gt;
&gt;
&gt; Â  Â  Â  Â What do you guys think?
&gt;
&gt;
&gt; Â  Â  Â  Â Good night,
&gt;
&gt;
&gt;
&gt; Â  Â  Â  Â Marcelo Pham
&gt; Â  Â  Â  Â Head Developer
&gt; Â  Â  Â  Â Akibot
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Getting started page in the wiki</title>
<author><name>=?iso-8859-1?Q?Anne_Kathrine_Petter=F8e?= &lt;akpetteroe@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c18C6F511-752A-4B7F-A2B2-9A6DF2E23628@gmail.com%3e"/>
<id>urn:uuid:%3c18C6F511-752A-4B7F-A2B2-9A6DF2E23628@gmail-com%3e</id>
<updated>2009-12-05T20:33:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I like idea of a getting started page - I will see if I get some time  
over the next weeks to fill it with content.
(most of it can be linked from other already existing pages)

/anne


On 5. des. 2009, at 18.46, Daniel Koller wrote:

&gt; ...I think it was just another Approach to fill content in the  
&gt; wiki... if we
&gt; have the information content-wise somewhere else already , we should  
&gt; not
&gt; keep it.
&gt;
&gt; Daniel
&gt;
&gt; On Sat, Dec 5, 2009 at 6:05 PM, Anne Kathrine Petterøe &lt;akpetteroe@gmail.com
&gt;&gt; wrote:
&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; I did a bit of wiki gardening today, especially around our  
&gt;&gt; installations
&gt;&gt; guides which were spread all over the place.
&gt;&gt; We now have one page for all installation guides:
&gt;&gt; http://cwiki.apache.org/confluence/display/ESME/ESME+Installation+Guides 
&gt;&gt; .
&gt;&gt;
&gt;&gt; While I was doing the gardening I stumbled across the "Getting  
&gt;&gt; Started"
&gt;&gt; page http://cwiki.apache.org/confluence/display/ESME/Getting+started,
&gt;&gt; which in it's current state more or less is a page full of links to  
&gt;&gt; pages
&gt;&gt; which aren't added yet. Should we still finish it?
&gt;&gt;
&gt;&gt; /Anne
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt; -- 
&gt; ---
&gt; Daniel Koller
&gt; Jahnstrasse 20
&gt; 80469 München * dakoller@googlemail.com



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ESME demo on Tuesday Dec 8th</title>
<author><name>Vassil Dichev &lt;vdichev@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cc7fc82820912051145g30f3ad09m8c4dbd9d6aedc7e2@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc7fc82820912051145g30f3ad09m8c4dbd9d6aedc7e2@mail-gmail-com%3e</id>
<updated>2009-12-05T19:45:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; The Stax instance will be used in a demo on this coming Tuesday Dec. 8th.
&gt; The demo will take place between 9h and 12h p.m. CET / 3h and 6h pm US East
&gt; time.
&gt;
&gt; Please don't overload the server during this time.

Or maybe we should, just to show off how much load it can take!

Just kidding- I wish you good luck. I think the timing is very
appropriate- just when ESME has a set of useful features and is
starting to stabilize.


</pre>
</div>
</content>
</entry>
<entry>
<title>ESME demo on Tuesday Dec 8th</title>
<author><name>=?iso-8859-1?Q?Anne_Kathrine_Petter=F8e?= &lt;akpetteroe@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c21F5614F-EF0D-4A05-85A7-4BD0225B01E6@gmail.com%3e"/>
<id>urn:uuid:%3c21F5614F-EF0D-4A05-85A7-4BD0225B01E6@gmail-com%3e</id>
<updated>2009-12-05T19:30:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everyone,

The Stax instance will be used in a demo on this coming Tuesday Dec.  
8th.
The demo will take place between 9h and 12h p.m. CET / 3h and 6h pm US  
East time.

Please don't overload the server during this time.

/Anne


</pre>
</div>
</content>
</entry>
<entry>
<title>Update to API2</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912051025ufeb99bbl92158cc194117eba@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912051025ufeb99bbl92158cc194117eba@mail-gmail-com%3e</id>
<updated>2009-12-05T18:25:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Last night I posted an update to the API2 so that it returns more
proper response conditions (Jira issue 137 -
https://issues.apache.org/jira/browse/ESME-137). The patch including
unit tests is attached to the issue. Please review and commit when
possible, or let me know if there are any issues.

I'm trying to be a bit more disciplined about creating Jira issues and
solving one problem per patch :-)

Ethan


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Getting started page in the wiki</title>
<author><name>Daniel Koller &lt;dakoller@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c2bca8c350912050946y11b0e1c5q1507a50c36eb01ad@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2bca8c350912050946y11b0e1c5q1507a50c36eb01ad@mail-gmail-com%3e</id>
<updated>2009-12-05T17:46:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
...I think it was just another Approach to fill content in the wiki... if we
have the information content-wise somewhere else already , we should not
keep it.

Daniel

On Sat, Dec 5, 2009 at 6:05 PM, Anne Kathrine Petterøe &lt;akpetteroe@gmail.com
&gt; wrote:

&gt; Hi,
&gt;
&gt; I did a bit of wiki gardening today, especially around our installations
&gt; guides which were spread all over the place.
&gt; We now have one page for all installation guides:
&gt; http://cwiki.apache.org/confluence/display/ESME/ESME+Installation+Guides.
&gt;
&gt; While I was doing the gardening I stumbled across the "Getting Started"
&gt; page http://cwiki.apache.org/confluence/display/ESME/Getting+started,
&gt; which in it's current state more or less is a page full of links to pages
&gt; which aren't added yet. Should we still finish it?
&gt;
&gt; /Anne
&gt;
&gt;


-- 
---
Daniel Koller
Jahnstrasse 20
80469 München * dakoller@googlemail.com


</pre>
</div>
</content>
</entry>
<entry>
<title>SAP Services in ESME (was: UI widgets for ESME)</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912050930o22661562m65b6ade36e51e5ed@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912050930o22661562m65b6ade36e51e5ed@mail-gmail-com%3e</id>
<updated>2009-12-05T17:30:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think this topic deserves a separate discussion. It is something we
probably need to address at some point, and I don't want to derail the
widgets discussion.

I was wrong to imply that SAP purposefully attempts to spread fear,
uncertainty, or doubt on this topic. It doesn't. However, there is a
lot of uncertainty and misalignment between SAP and the developer
community, which results in doubt and fear.

I disagree with Michael that a widget interfacing with an SAP
Enterprise Service necessarily falls under any SAP license
restriction. Such a widget would not need to include Enterprise
Services in any sense. It would simply need to take a URL pointing to
an arbitrary WSDL and it would need to make some assumptions about the
field names and structures of the service. Field names and structures
are information that SAP provides publicly, with no license
restrictions (as far as I can tell) at http://esworkplace.sap.com/.

However, as I mentioned, SAP's position on the IP around these
services is sufficiently uncertain and opaque that I would not be
comfortable including them in this project until SAP's lawyers
specifically address this use case. (It is not addressed in the
Netweaver Developer license agreement linked below, and developers who
develop against SAP Enterprise Services are not necessarily bound by
this license agreement.)

Do we have an overall approach or understanding on this issue that has
already been developed? If not, it might be worth discussing specific
scenarios and our comfort level with them.

Ethan

On Fri, Dec 4, 2009 at 10:23 PM, Bechauf, Michael
&lt;michael.bechauf@sap.com&gt; wrote:
&gt; There is no FUD about it; I think we've been quite transparent (or so I
&gt; hope) about our IP positions.
&gt;
&gt; SAP Enterprise Services need to be licensed, and there are a number of
&gt; provisions in those licenses that would restrict the free distribution
&gt; of code. Currently, there is no standalone license for SAP Enterprise
&gt; Services, but you only get them with SAP customer agreements, SAP
&gt; partner agreements, SAP NetWeaver developer subscriptions or the free
&gt; SAP NetWeaver Developer License. You can check out the license agreement
&gt; here
&gt; &lt;http://www.sdn.sap.com/irj/scn/shop/developmentpack?rid=/webcontent/uui
&gt; d/d07ab93b-1d0e-2b10-ed9e-8d35d34a2fed&amp;refer=subscriptionsssrl&gt; .
&gt;
&gt; If you put SAP Enterprise Services into Apache code, a developer may
&gt; create a derivative work that is incompatible with the SAP Enterprise
&gt; Service license. For exampe, if they create commercial products (i.e.
&gt; for sale), they have to buy a license from SAP. I talked to Geir
&gt; Magnusson about it, and his opinion (and I don't think you need a lawyer
&gt; to confirm this) was that this was incompatible with the Apache license.
&gt;
&gt; So, in other words, Ethan is right. I would not put code that contains
&gt; SAP Enterprise Services into the Apache distribution. If you want to
&gt; work together on a widget that contains SAP code, you can do this on the
&gt; SAP Forge called SDN Code Exchange
&gt; &lt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16455&gt; . In other
&gt; words, you can safely develop a widget framework in Apache, but for the
&gt; concrete widget instance that interfaces with SAP, I would not put it
&gt; into Apache.
&gt;
&gt; Best,
&gt; Michael
&gt;
&gt; ________________________________
&gt;
&gt; From: Ethan Jewett [mailto:esjewett@gmail.com]
&gt; Sent: Friday, Dec 04, 2009 6:10 AM
&gt; To: esme-dev@incubator.apache.org
&gt; Subject: Re: UI widgets for ESME
&gt;
&gt;
&gt; That looks very interesting and I think it's a great idea. A couple
&gt; comments (sorry, it's been a busy week, so this is a bit off-the-cuff):
&gt;
&gt; 1. I'd like to echo Daniel's suggestion to pursue an existing widget
&gt; container/standard if we do this. To offer another option: Shindig is a
&gt; pretty mature implementation of the OpenSocial widget container
&gt; standard. (Oh, and it's an Apache project -
&gt; http://incubator.apache.org/shindig/ ;-)
&gt;
&gt; 2. I wonder if we might want to consider embedding *ESME* into a widget
&gt; platform (via the APIs) rather than embedding *widgets* into ESME. My
&gt; impression is that this might be a lot easier and may more closely align
&gt; with how ESME will be deployed (in the Enterprise) with a UI wrapper.
&gt;
&gt; 3. I'm skittish about putting code into ESME that interfaces with SAP
&gt; modules. My understanding of SAP's IP position is that code that
&gt; interfaces with SAP Enterprise Services contains SAP IP and cannot be
&gt; licensed under an Apache 2.0 license (or at least SAP reserves the right
&gt; to spread FUD on the topic). I'm not comfortable working on code that
&gt; does this or committing it to an Apache project until SAP clarifies its
&gt; position publicly and unequivocally. Because of this, I think we can
&gt; provide a framework and examples, but I think we should think twice
&gt; before providing an actual widget that interfaces with SAP as part of
&gt; the distribution.
&gt;
&gt; Ethan
&gt;
&gt;
&gt; On Thu, Dec 3, 2009 at 6:13 PM, Marcelo Pham &lt;marcelo@akibot.com&gt; wrote:
&gt;
&gt;
&gt;        Hi there,
&gt;
&gt;        I had a chat with Dick and he thought it would be good to share
&gt; this idea we had for Akibot with the ESME community:
&gt;
&gt;        General concept
&gt;
&gt;        1. The idea is to include a "widget" area to ESME front end.
&gt; These widgets would be plug &amp; play components that help users from a
&gt; same group or department to see real time info, such as financials,
&gt; inventory maps, sales, etc. etc.
&gt;        In brief, we would be marrying business intelligence (widgets
&gt; showing relevant, summarized information in real time) with social media
&gt; (microblog), this would give the whole group a sense of total business
&gt; awareness (they would know exactly what's going on, what employees are
&gt; chatting about, issues (microblog), what's the most named item, the most
&gt; mentioned customer (tags), figures for sales, inventory (widgets))
&gt;
&gt;        2. For example, the executive and sales groups would have a
&gt; widget in their microblog that would show real time information for
&gt; today's and YTD orders:
&gt;
&gt;
&gt;
&gt;        This widget would read data from the SD module and inform
&gt; everybody how sales are doing.
&gt;
&gt;        3. We would start with widgets that read from SAP modules (SD,
&gt; FI, MM, etc.) and maybe after we could extend it to other ERP's (JD
&gt; Edwards, Mas500, Navision, etc) or other groupware apps (Salesforce,
&gt; Exchange, etc.)
&gt;
&gt;        Details
&gt;
&gt;        4. If ESME can be skinnable (meaning to allow users to change
&gt; around the HTML of the front end) these widgets could be embeddable in
&gt; the form of an object, like:
&gt;        &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
&gt; codebase="http://widget.esme.us/?v=1.0" width="200" height="400"
&gt; align="middle"&gt;
&gt;           &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
&gt;           &lt;param name="movie" value="widget1.swf" /&gt;
&gt;           &lt;param name="quality" value="high" /&gt;
&gt;           &lt;param name="bgcolor" value="#ffffff" /&gt;
&gt;
&gt;           &lt;param name="feed_username" value="username" /&gt;
&gt;           &lt;param name="feed_password" value="12345abcd" /&gt;
&gt;
&gt;           &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
&gt;            &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff"
&gt; width="200" height="400" name="foo" align="middle"
&gt; allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
&gt; pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
&gt;        &lt;/object&gt;
&gt;        Or something like this but using JS.
&gt;
&gt;        5. Widgets would be available to download from common open
&gt; repositories such as ESME website, Google code, etc. A widget would be
&gt; composed by a Flash or JS file to download, and a sample code to embed
&gt; into the HTML front end with instructions on how to customize it. We
&gt; will contribute with all the widgets we do and also help develop widgets
&gt; made by other members.
&gt;
&gt;        6. Since these will be all behind-the-firewall installations,
&gt; there should not be many security issues, although we would include a
&gt; username/password to authenticate to the SAP feed
&gt;
&gt;        Open for discussion
&gt;
&gt;        7. Embeddable code / format: we haven't decided what formats
&gt; will be the best (JS, Flash, both...)
&gt;
&gt;        8. Connection / authentication: how to connect to the SAP feed
&gt; and how to authenticate to it
&gt;
&gt;        9. Widget permissions: how to allow/hide widgets for different
&gt; groups (for example the sales widget should not be shown to the
&gt; purchasing group, etc.)
&gt;
&gt;
&gt;        What do you guys think?
&gt;
&gt;
&gt;        Good night,
&gt;
&gt;
&gt;
&gt;        Marcelo Pham
&gt;        Head Developer
&gt;        Akibot
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Getting started page in the wiki</title>
<author><name>=?iso-8859-1?Q?Anne_Kathrine_Petter=F8e?= &lt;akpetteroe@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cCA757366-81F2-413B-8247-DF4B0111910E@gmail.com%3e"/>
<id>urn:uuid:%3cCA757366-81F2-413B-8247-DF4B0111910E@gmail-com%3e</id>
<updated>2009-12-05T17:05:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I did a bit of wiki gardening today, especially around our  
installations guides which were spread all over the place.
We now have one page for all installation guides: http://cwiki.apache.org/confluence/display/ESME/ESME+Installation+Guides

.

While I was doing the gardening I stumbled across the "Getting  
Started" page http://cwiki.apache.org/confluence/display/ESME/Getting+started 
, which in it's current state more or less is a page full of links to  
pages which aren't added yet. Should we still finish it?

/Anne



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Twitter API broken?</title>
<author><name>Vassil Dichev &lt;vdichev@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cc7fc82820912050654j71373f92tfe5f4ead9cd6f4c1@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc7fc82820912050654j71373f92tfe5f4ead9cd6f4c1@mail-gmail-com%3e</id>
<updated>2009-12-05T14:54:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; When I tried sending a message from LaTwit on the iPhone using the twitter
&gt; API (not an action), I would just get a spinning ball. Eventually I just had
&gt; to stop the application from trying to send a message.
&gt; (I used the token as authentication)

Maybe it's time to get back to the Twitter API (there are also new methods).

I see the opposite to Dick's problem: I'm being authenticated no
matter what I provide as a password, or even with no password at all.
So there's room for writing some tests here, too (thanks to Ethan for
leading the way with RestAPI2... pardon, http-based API).


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Twitter API broken?</title>
<author><name>=?iso-8859-1?Q?Anne_Kathrine_Petter=F8e?= &lt;akpetteroe@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cC3F9B86E-23E0-4470-903B-2B1AE1F99A43@gmail.com%3e"/>
<id>urn:uuid:%3cC3F9B86E-23E0-4470-903B-2B1AE1F99A43@gmail-com%3e</id>
<updated>2009-12-05T14:38:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
When I tried sending a message from LaTwit on the iPhone using the  
twitter API (not an action), I would just get a spinning ball.  
Eventually I just had to stop the application from trying to send a  
message.
(I used the token as authentication)

/Anne

On 5. des. 2009, at 13.56, Vassil Dichev wrote:

&gt; Are you trying to send an update via an Action? For me it works  
&gt; using curl.
&gt;
&gt; When we created the Twitter API, there was no password authentication,
&gt; so I settled on the token- that's how it should work.
&gt;
&gt;
&gt; On Fri, Dec 4, 2009 at 12:09 PM, Richard Hirsch  
&gt; &lt;hirsch.dick@gmail.com&gt; wrote:
&gt;&gt; I've tried using the Twitter API to send a message and I'm getting a
&gt;&gt; strange error:
&gt;&gt;
&gt;&gt; INFO - Request /twitter/statuses/update.xml took 328 query
&gt;&gt; INFO - OK
&gt;&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt;&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;&gt;
&gt;&gt; Here is the action I'm using locally to the error (where bob is the
&gt;&gt; user and the password is 123456)
&gt;&gt;
&gt;&gt; http://bob:123456@localhost:8080/twitter/statuses/update.xml
&gt;&gt; status=%s
&gt;&gt;
&gt;&gt; When I use the token instead of the password (like this)
&gt;&gt;
&gt;&gt; http://bob:Q5PWWXVAJYIPG0EQXMSDPFRGCE2XVTQ0@localhost:8080/twitter/statuses/update.xml
&gt;&gt; status=%s
&gt;&gt;
&gt;&gt; I get this error:
&gt;&gt;
&gt;&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt;&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;&gt;
&gt;&gt; Anyone else having this problem?
&gt;&gt;
&gt;&gt; D.
&gt;&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Twitter API broken?</title>
<author><name>Vassil Dichev &lt;vdichev@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cc7fc82820912050456k15393ac8kb4d60f58cab4ecf6@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc7fc82820912050456k15393ac8kb4d60f58cab4ecf6@mail-gmail-com%3e</id>
<updated>2009-12-05T12:56:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Are you trying to send an update via an Action? For me it works using curl.

When we created the Twitter API, there was no password authentication,
so I settled on the token- that's how it should work.


On Fri, Dec 4, 2009 at 12:09 PM, Richard Hirsch &lt;hirsch.dick@gmail.com&gt; wrote:
&gt; I've tried using the Twitter API to send a message and I'm getting a
&gt; strange error:
&gt;
&gt; INFO - Request /twitter/statuses/update.xml took 328 query
&gt; INFO - OK
&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;
&gt; Here is the action I'm using locally to the error (where bob is the
&gt; user and the password is 123456)
&gt;
&gt; http://bob:123456@localhost:8080/twitter/statuses/update.xml
&gt; status=%s
&gt;
&gt; When I use the token instead of the password (like this)
&gt;
&gt; http://bob:Q5PWWXVAJYIPG0EQXMSDPFRGCE2XVTQ0@localhost:8080/twitter/statuses/update.xml
&gt; status=%s
&gt;
&gt; I get this error:
&gt;
&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;
&gt; Anyone else having this problem?
&gt;
&gt; D.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: UI widgets for ESME</title>
<author><name>&quot;Bechauf, Michael&quot; &lt;michael.bechauf@sap.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c06802A3D4BE62D449D366CE4A27D61400301170F@usphle16.phl.sap.corp%3e"/>
<id>urn:uuid:%3c06802A3D4BE62D449D366CE4A27D61400301170F@usphle16-phl-sap-corp%3e</id>
<updated>2009-12-05T04:23:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There is no FUD about it; I think we've been quite transparent (or so I
hope) about our IP positions. 
 
SAP Enterprise Services need to be licensed, and there are a number of
provisions in those licenses that would restrict the free distribution
of code. Currently, there is no standalone license for SAP Enterprise
Services, but you only get them with SAP customer agreements, SAP
partner agreements, SAP NetWeaver developer subscriptions or the free
SAP NetWeaver Developer License. You can check out the license agreement
here
&lt;http://www.sdn.sap.com/irj/scn/shop/developmentpack?rid=/webcontent/uui
d/d07ab93b-1d0e-2b10-ed9e-8d35d34a2fed&amp;refer=subscriptionsssrl&gt; .
 
If you put SAP Enterprise Services into Apache code, a developer may
create a derivative work that is incompatible with the SAP Enterprise
Service license. For exampe, if they create commercial products (i.e.
for sale), they have to buy a license from SAP. I talked to Geir
Magnusson about it, and his opinion (and I don't think you need a lawyer
to confirm this) was that this was incompatible with the Apache license.
 
So, in other words, Ethan is right. I would not put code that contains
SAP Enterprise Services into the Apache distribution. If you want to
work together on a widget that contains SAP code, you can do this on the
SAP Forge called SDN Code Exchange
&lt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16455&gt; . In other
words, you can safely develop a widget framework in Apache, but for the
concrete widget instance that interfaces with SAP, I would not put it
into Apache.
 
Best,
Michael

________________________________

From: Ethan Jewett [mailto:esjewett@gmail.com] 
Sent: Friday, Dec 04, 2009 6:10 AM
To: esme-dev@incubator.apache.org
Subject: Re: UI widgets for ESME


That looks very interesting and I think it's a great idea. A couple
comments (sorry, it's been a busy week, so this is a bit off-the-cuff): 

1. I'd like to echo Daniel's suggestion to pursue an existing widget
container/standard if we do this. To offer another option: Shindig is a
pretty mature implementation of the OpenSocial widget container
standard. (Oh, and it's an Apache project -
http://incubator.apache.org/shindig/ ;-)

2. I wonder if we might want to consider embedding *ESME* into a widget
platform (via the APIs) rather than embedding *widgets* into ESME. My
impression is that this might be a lot easier and may more closely align
with how ESME will be deployed (in the Enterprise) with a UI wrapper.

3. I'm skittish about putting code into ESME that interfaces with SAP
modules. My understanding of SAP's IP position is that code that
interfaces with SAP Enterprise Services contains SAP IP and cannot be
licensed under an Apache 2.0 license (or at least SAP reserves the right
to spread FUD on the topic). I'm not comfortable working on code that
does this or committing it to an Apache project until SAP clarifies its
position publicly and unequivocally. Because of this, I think we can
provide a framework and examples, but I think we should think twice
before providing an actual widget that interfaces with SAP as part of
the distribution.

Ethan


On Thu, Dec 3, 2009 at 6:13 PM, Marcelo Pham &lt;marcelo@akibot.com&gt; wrote:


	Hi there, 

	I had a chat with Dick and he thought it would be good to share
this idea we had for Akibot with the ESME community:

	General concept

	1. The idea is to include a "widget" area to ESME front end.
These widgets would be plug &amp; play components that help users from a
same group or department to see real time info, such as financials,
inventory maps, sales, etc. etc. 
	In brief, we would be marrying business intelligence (widgets
showing relevant, summarized information in real time) with social media
(microblog), this would give the whole group a sense of total business
awareness (they would know exactly what's going on, what employees are
chatting about, issues (microblog), what's the most named item, the most
mentioned customer (tags), figures for sales, inventory (widgets))

	2. For example, the executive and sales groups would have a
widget in their microblog that would show real time information for
today's and YTD orders:

	

	This widget would read data from the SD module and inform
everybody how sales are doing.

	3. We would start with widgets that read from SAP modules (SD,
FI, MM, etc.) and maybe after we could extend it to other ERP's (JD
Edwards, Mas500, Navision, etc) or other groupware apps (Salesforce,
Exchange, etc.)

	Details

	4. If ESME can be skinnable (meaning to allow users to change
around the HTML of the front end) these widgets could be embeddable in
the form of an object, like:
	&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://widget.esme.us/?v=1.0" width="200" height="400"
align="middle"&gt;
	   &lt;param name="allowScriptAccess" value="sameDomain" /&gt; 
	   &lt;param name="movie" value="widget1.swf" /&gt; 
	   &lt;param name="quality" value="high" /&gt;
	   &lt;param name="bgcolor" value="#ffffff" /&gt;
	
	   &lt;param name="feed_username" value="username" /&gt;
	   &lt;param name="feed_password" value="12345abcd" /&gt;
	
	   &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
	    &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff"
width="200" height="400" name="foo" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
	&lt;/object&gt;
	Or something like this but using JS.

	5. Widgets would be available to download from common open
repositories such as ESME website, Google code, etc. A widget would be
composed by a Flash or JS file to download, and a sample code to embed
into the HTML front end with instructions on how to customize it. We
will contribute with all the widgets we do and also help develop widgets
made by other members.   

	6. Since these will be all behind-the-firewall installations,
there should not be many security issues, although we would include a
username/password to authenticate to the SAP feed 
	 
	Open for discussion

	7. Embeddable code / format: we haven't decided what formats
will be the best (JS, Flash, both...) 

	8. Connection / authentication: how to connect to the SAP feed
and how to authenticate to it

	9. Widget permissions: how to allow/hide widgets for different
groups (for example the sales widget should not be shown to the
purchasing group, etc.) 


	What do you guys think?


	Good night,

	

	Marcelo Pham
	Head Developer
	Akibot

























</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912041052m732de355r473dc06a602662a6@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912041052m732de355r473dc06a602662a6@mail-gmail-com%3e</id>
<updated>2009-12-04T18:52:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Would that fix the issue with Hudson as well? I'll look into that a bit.

Ethan

On Fri, Dec 4, 2009 at 12:18 PM, David Pollak
&lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; On Fri, Dec 4, 2009 at 9:32 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt;
&gt;&gt; I'm not following.
&gt;&gt;
&gt;&gt; My local repo exactly matched the trunk branch as of when my email was
&gt;&gt; sent. I'd deleted my entire local repo and checked out from Apache SVN
&gt;&gt; multiple times while trying to debug, so any local changes should be
&gt;&gt; fairly well killed off :-)
&gt;&gt;
&gt;&gt; It's working fine at the moment for me.
&gt;&gt;
&gt;&gt; My concern is why Dick's build &amp; test aren't working. If he can't
&gt;&gt; build, none of my patches get checked in! ;-)
&gt;&gt;
&gt;
&gt; The problem is likely that the machine he's testing on doesn't grant
&gt; filesystem write access so the DB can't be accessed.  I'd suggest
&gt; configuring things for that maven machine to use the in-memory version of
&gt; H2.
&gt;
&gt;
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Ethan
&gt;&gt;
&gt;&gt; On Fri, Dec 4, 2009 at 11:17 AM, David Pollak
&gt;&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt;&gt; &gt; On Fri, Dec 4, 2009 at 5:35 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt;&gt; &gt;
&gt;&gt; &gt;&gt; I'm up to date on the latest revision and it seems to be working fine,
&gt;&gt; &gt;&gt; at least as far as the tests are concerned.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;
&gt;&gt; &gt; Ethan,
&gt;&gt; &gt;
&gt;&gt; &gt; You have code that is not part of the repo.  Please make sure you add
&gt;&gt; &gt; "import net.liftweb.common._" to each of the Scala files and all will be
&gt;&gt; &gt; good.
&gt;&gt; &gt;
&gt;&gt; &gt; Thanks,
&gt;&gt; &gt;
&gt;&gt; &gt; David
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Ethan
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; On Thu, Dec 3, 2009 at 5:01 PM, David Pollak
&gt;&gt; &gt;&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt;&gt; &gt;&gt; &gt; Fixes are up in the repo
&gt;&gt; &gt;&gt; &gt;
&gt;&gt; &gt;&gt; &gt; On Thu, Dec 3, 2009 at 2:15 PM, David Pollak
&gt;&gt; &gt;&gt; &gt; &lt;feeder.of.the.bears@gmail.com&gt;wrote:
&gt;&gt; &gt;&gt; &gt;
&gt;&gt; &gt;&gt; &gt;&gt; Okay,
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt; I reproduced the issue (I guess for some reason my git svn version
of
&gt;&gt; &gt;&gt; ESME
&gt;&gt; &gt;&gt; &gt;&gt; is not up to date... sigh).
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt; The issue is exactly as the error indicates.  The particular line
&gt;&gt; &gt;&gt; &gt;&gt; (User.scala: 64) is calling S.? outside of a request context.  This
&gt;&gt; &gt;&gt; means
&gt;&gt; &gt;&gt; &gt;&gt; there is no way to tell what the localization string should be
&gt;&gt; because
&gt;&gt; &gt;&gt; there
&gt;&gt; &gt;&gt; &gt;&gt; is no "S state".  The underlying cause is that the User is being
&gt;&gt; created
&gt;&gt; &gt;&gt; &gt;&gt; outside the scope of an HTTP request.  We need to do something
a tad
&gt;&gt; &gt;&gt; funky
&gt;&gt; &gt;&gt; &gt;&gt; with the initialization code.  I'll look into it.
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt; Thanks,
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt; David
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt;&gt; &gt;&gt; wrote:
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Hi all,
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean
test" in
&gt;&gt; &gt;&gt; &gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone
&gt;&gt; confirm?
&gt;&gt; &gt;&gt; &gt;&gt;&gt; We can then identify what check-in broke the build and fix
it.
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Failure is below, which seems to match the failure occurring
in
&gt;&gt; Hudson.
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Thanks,
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Ethan
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt;&gt; &gt;&gt; &gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException:
null;
&gt;&gt; &gt;&gt; &gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError:
null
&gt;&gt; &gt;&gt; &gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Method)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&gt;&gt; Method)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use
&gt;&gt; resource
&gt;&gt; &gt;&gt; &gt;&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt;&gt; &gt;&gt; &gt;&gt;&gt; initialized, such as during request processing. Did you call
S.?
&gt;&gt; from
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Boot?
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt;&gt; &gt;&gt; &gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt;&gt; &gt;&gt; &gt;&gt;&gt;        ... 19 more
&gt;&gt; &gt;&gt; &gt;&gt;&gt; [ERROR] There are test failures.
&gt;&gt; &gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;&gt; --
&gt;&gt; &gt;&gt; &gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; &gt;&gt; &gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; &gt;&gt; &gt;&gt; Follow me: http://twitter.com/dpp
&gt;&gt; &gt;&gt; &gt;&gt; Surf the harmonics
&gt;&gt; &gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; &gt;
&gt;&gt; &gt;&gt; &gt;
&gt;&gt; &gt;&gt; &gt;
&gt;&gt; &gt;&gt; &gt; --
&gt;&gt; &gt;&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; &gt;&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; &gt;&gt; &gt; Follow me: http://twitter.com/dpp
&gt;&gt; &gt;&gt; &gt; Surf the harmonics
&gt;&gt; &gt;&gt; &gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt; --
&gt;&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; &gt; Follow me: http://twitter.com/dpp
&gt;&gt; &gt; Surf the harmonics
&gt;&gt; &gt;
&gt;&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Lift, the simply functional web framework http://liftweb.net
&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; Follow me: http://twitter.com/dpp
&gt; Surf the harmonics
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912041018v19542802q2cc94a45395366ac@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912041018v19542802q2cc94a45395366ac@mail-gmail-com%3e</id>
<updated>2009-12-04T18:18:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 9:32 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:

&gt; I'm not following.
&gt;
&gt; My local repo exactly matched the trunk branch as of when my email was
&gt; sent. I'd deleted my entire local repo and checked out from Apache SVN
&gt; multiple times while trying to debug, so any local changes should be
&gt; fairly well killed off :-)
&gt;
&gt; It's working fine at the moment for me.
&gt;
&gt; My concern is why Dick's build &amp; test aren't working. If he can't
&gt; build, none of my patches get checked in! ;-)
&gt;

The problem is likely that the machine he's testing on doesn't grant
filesystem write access so the DB can't be accessed.  I'd suggest
configuring things for that maven machine to use the in-memory version of
H2.


&gt;
&gt; Thanks,
&gt; Ethan
&gt;
&gt; On Fri, Dec 4, 2009 at 11:17 AM, David Pollak
&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; &gt; On Fri, Dec 4, 2009 at 5:35 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt; &gt;
&gt; &gt;&gt; I'm up to date on the latest revision and it seems to be working fine,
&gt; &gt;&gt; at least as far as the tests are concerned.
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt; Ethan,
&gt; &gt;
&gt; &gt; You have code that is not part of the repo.  Please make sure you add
&gt; &gt; "import net.liftweb.common._" to each of the Scala files and all will be
&gt; &gt; good.
&gt; &gt;
&gt; &gt; Thanks,
&gt; &gt;
&gt; &gt; David
&gt; &gt;
&gt; &gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Ethan
&gt; &gt;&gt;
&gt; &gt;&gt; On Thu, Dec 3, 2009 at 5:01 PM, David Pollak
&gt; &gt;&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; &gt;&gt; &gt; Fixes are up in the repo
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; On Thu, Dec 3, 2009 at 2:15 PM, David Pollak
&gt; &gt;&gt; &gt; &lt;feeder.of.the.bears@gmail.com&gt;wrote:
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;&gt; Okay,
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; I reproduced the issue (I guess for some reason my git svn version
of
&gt; &gt;&gt; ESME
&gt; &gt;&gt; &gt;&gt; is not up to date... sigh).
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; The issue is exactly as the error indicates.  The particular line
&gt; &gt;&gt; &gt;&gt; (User.scala: 64) is calling S.? outside of a request context.  This
&gt; &gt;&gt; means
&gt; &gt;&gt; &gt;&gt; there is no way to tell what the localization string should be
&gt; because
&gt; &gt;&gt; there
&gt; &gt;&gt; &gt;&gt; is no "S state".  The underlying cause is that the User is being
&gt; created
&gt; &gt;&gt; &gt;&gt; outside the scope of an HTTP request.  We need to do something a tad
&gt; &gt;&gt; funky
&gt; &gt;&gt; &gt;&gt; with the initialization code.  I'll look into it.
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; Thanks,
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; David
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt; &gt;&gt; wrote:
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt;&gt; Hi all,
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt; &gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean test"
in
&gt; &gt;&gt; &gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone
&gt; confirm?
&gt; &gt;&gt; &gt;&gt;&gt; We can then identify what check-in broke the build and fix it.
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt; &gt;&gt;&gt; Failure is below, which seems to match the failure occurring in
&gt; Hudson.
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt; &gt;&gt;&gt; Thanks,
&gt; &gt;&gt; &gt;&gt;&gt; Ethan
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt; &gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt; &gt;&gt; &gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt; &gt;&gt; &gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt; &gt;&gt; &gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt; &gt;&gt; &gt;&gt;&gt; Method)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt; &gt;&gt; &gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&gt; Method)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; &gt;&gt; &gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt; &gt;&gt; &gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use
&gt; resource
&gt; &gt;&gt; &gt;&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt; &gt;&gt; &gt;&gt;&gt; initialized, such as during request processing. Did you call S.?
&gt; from
&gt; &gt;&gt; &gt;&gt;&gt; Boot?
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt; &gt;&gt; &gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt; &gt;&gt; &gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt; &gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt; &gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt; &gt;&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt; &gt;&gt; &gt;&gt;&gt;        ... 19 more
&gt; &gt;&gt; &gt;&gt;&gt; [ERROR] There are test failures.
&gt; &gt;&gt; &gt;&gt;&gt;
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; --
&gt; &gt;&gt; &gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt; &gt;&gt; &gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; &gt;&gt; &gt;&gt; Follow me: http://twitter.com/dpp
&gt; &gt;&gt; &gt;&gt; Surf the harmonics
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; --
&gt; &gt;&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt; &gt;&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; &gt;&gt; &gt; Follow me: http://twitter.com/dpp
&gt; &gt;&gt; &gt; Surf the harmonics
&gt; &gt;&gt; &gt;
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; --
&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; &gt; Follow me: http://twitter.com/dpp
&gt; &gt; Surf the harmonics
&gt; &gt;
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912040932x478f4cd2we817c580c8dd8e14@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912040932x478f4cd2we817c580c8dd8e14@mail-gmail-com%3e</id>
<updated>2009-12-04T17:32:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm not following.

My local repo exactly matched the trunk branch as of when my email was
sent. I'd deleted my entire local repo and checked out from Apache SVN
multiple times while trying to debug, so any local changes should be
fairly well killed off :-)

It's working fine at the moment for me.

My concern is why Dick's build &amp; test aren't working. If he can't
build, none of my patches get checked in! ;-)

Thanks,
Ethan

On Fri, Dec 4, 2009 at 11:17 AM, David Pollak
&lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; On Fri, Dec 4, 2009 at 5:35 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt;
&gt;&gt; I'm up to date on the latest revision and it seems to be working fine,
&gt;&gt; at least as far as the tests are concerned.
&gt;&gt;
&gt;
&gt; Ethan,
&gt;
&gt; You have code that is not part of the repo.  Please make sure you add
&gt; "import net.liftweb.common._" to each of the Scala files and all will be
&gt; good.
&gt;
&gt; Thanks,
&gt;
&gt; David
&gt;
&gt;
&gt;&gt;
&gt;&gt; Ethan
&gt;&gt;
&gt;&gt; On Thu, Dec 3, 2009 at 5:01 PM, David Pollak
&gt;&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt;&gt; &gt; Fixes are up in the repo
&gt;&gt; &gt;
&gt;&gt; &gt; On Thu, Dec 3, 2009 at 2:15 PM, David Pollak
&gt;&gt; &gt; &lt;feeder.of.the.bears@gmail.com&gt;wrote:
&gt;&gt; &gt;
&gt;&gt; &gt;&gt; Okay,
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I reproduced the issue (I guess for some reason my git svn version of
&gt;&gt; ESME
&gt;&gt; &gt;&gt; is not up to date... sigh).
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; The issue is exactly as the error indicates.  The particular line
&gt;&gt; &gt;&gt; (User.scala: 64) is calling S.? outside of a request context.  This
&gt;&gt; means
&gt;&gt; &gt;&gt; there is no way to tell what the localization string should be because
&gt;&gt; there
&gt;&gt; &gt;&gt; is no "S state".  The underlying cause is that the User is being created
&gt;&gt; &gt;&gt; outside the scope of an HTTP request.  We need to do something a tad
&gt;&gt; funky
&gt;&gt; &gt;&gt; with the initialization code.  I'll look into it.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Thanks,
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; David
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt;&gt; wrote:
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;&gt; Hi all,
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean test" in
&gt;&gt; &gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone confirm?
&gt;&gt; &gt;&gt;&gt; We can then identify what check-in broke the build and fix it.
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; Failure is below, which seems to match the failure occurring in Hudson.
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; Thanks,
&gt;&gt; &gt;&gt;&gt; Ethan
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt;&gt; &gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt;&gt; &gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt;&gt; &gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;&gt; &gt;&gt;&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt; &gt;&gt;&gt; Method)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;&gt; &gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;&gt; &gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt; &gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt;&gt; &gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use resource
&gt;&gt; &gt;&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt;&gt; &gt;&gt;&gt; initialized, such as during request processing. Did you call S.? from
&gt;&gt; &gt;&gt;&gt; Boot?
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt;&gt; &gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt;&gt; &gt;&gt;&gt;        ... 19 more
&gt;&gt; &gt;&gt;&gt; [ERROR] There are test failures.
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; --
&gt;&gt; &gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; &gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; &gt;&gt; Follow me: http://twitter.com/dpp
&gt;&gt; &gt;&gt; Surf the harmonics
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt; --
&gt;&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; &gt; Follow me: http://twitter.com/dpp
&gt;&gt; &gt; Surf the harmonics
&gt;&gt; &gt;
&gt;&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Lift, the simply functional web framework http://liftweb.net
&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; Follow me: http://twitter.com/dpp
&gt; Surf the harmonics
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912040917w77b6d0b0o51636af2d527e9c9@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912040917w77b6d0b0o51636af2d527e9c9@mail-gmail-com%3e</id>
<updated>2009-12-04T17:17:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 5:35 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:

&gt; I'm up to date on the latest revision and it seems to be working fine,
&gt; at least as far as the tests are concerned.
&gt;

Ethan,

You have code that is not part of the repo.  Please make sure you add
"import net.liftweb.common._" to each of the Scala files and all will be
good.

Thanks,

David


&gt;
&gt; Ethan
&gt;
&gt; On Thu, Dec 3, 2009 at 5:01 PM, David Pollak
&gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; &gt; Fixes are up in the repo
&gt; &gt;
&gt; &gt; On Thu, Dec 3, 2009 at 2:15 PM, David Pollak
&gt; &gt; &lt;feeder.of.the.bears@gmail.com&gt;wrote:
&gt; &gt;
&gt; &gt;&gt; Okay,
&gt; &gt;&gt;
&gt; &gt;&gt; I reproduced the issue (I guess for some reason my git svn version of
&gt; ESME
&gt; &gt;&gt; is not up to date... sigh).
&gt; &gt;&gt;
&gt; &gt;&gt; The issue is exactly as the error indicates.  The particular line
&gt; &gt;&gt; (User.scala: 64) is calling S.? outside of a request context.  This
&gt; means
&gt; &gt;&gt; there is no way to tell what the localization string should be because
&gt; there
&gt; &gt;&gt; is no "S state".  The underlying cause is that the User is being created
&gt; &gt;&gt; outside the scope of an HTTP request.  We need to do something a tad
&gt; funky
&gt; &gt;&gt; with the initialization code.  I'll look into it.
&gt; &gt;&gt;
&gt; &gt;&gt; Thanks,
&gt; &gt;&gt;
&gt; &gt;&gt; David
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt; wrote:
&gt; &gt;&gt;
&gt; &gt;&gt;&gt; Hi all,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean test" in
&gt; &gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone confirm?
&gt; &gt;&gt;&gt; We can then identify what check-in broke the build and fix it.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Failure is below, which seems to match the failure occurring in Hudson.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Thanks,
&gt; &gt;&gt;&gt; Ethan
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt; &gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt; &gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt; &gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt; &gt;&gt;&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt; &gt;&gt;&gt; Method)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt; &gt;&gt;&gt;        at
&gt; java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt; &gt;&gt;&gt;        at
&gt; org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt; &gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt; &gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; &gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt; &gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use resource
&gt; &gt;&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt; &gt;&gt;&gt; initialized, such as during request processing. Did you call S.? from
&gt; &gt;&gt;&gt; Boot?
&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt; &gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt; &gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt; &gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt; &gt;&gt;&gt;        at
&gt; net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt; &gt;&gt;&gt;        at
&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt; &gt;&gt;&gt;        at
&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt; &gt;&gt;&gt;        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt; &gt;&gt;&gt;        at org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt; &gt;&gt;&gt;        at
&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt; &gt;&gt;&gt;        ... 19 more
&gt; &gt;&gt;&gt; [ERROR] There are test failures.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; --
&gt; &gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt; &gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; &gt;&gt; Follow me: http://twitter.com/dpp
&gt; &gt;&gt; Surf the harmonics
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; --
&gt; &gt; Lift, the simply functional web framework http://liftweb.net
&gt; &gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; &gt; Follow me: http://twitter.com/dpp
&gt; &gt; Surf the harmonics
&gt; &gt;
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Problem with using S.? in RestAPI</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912040852j544fd641s14136747b45b76b5@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912040852j544fd641s14136747b45b76b5@mail-gmail-com%3e</id>
<updated>2009-12-04T16:52:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dick &amp; Co.,

Recently, we made it explicitly illegal to access S.? (and associated
methods) outside of the state scope.  The reason?  Because outside of S, you
don't know the locale and if you don't know the locale, then it's pointless
to try to access localized strings.

But, I can see where localization and "pulling strings out of the Scala" go
hand in hand.

Could one of you open a ticket at
http://github.com/dpp/liftweb/issues#listentitled "Non-scoped
localized strings" and link to this thread.

I (or some other member of the Lift committers) will break out the
localization into a separate module such that you can access to localization
stuff outside of the S scope as long as you present a locale (which is a
no-brainer if you're calling ? from User.

Thanks,

David

On Fri, Dec 4, 2009 at 12:31 AM, Richard Hirsch &lt;hirsch.dick@gmail.com&gt;wrote:

&gt; I know that David just fixed this error in the test suite but now we
&gt; have the same in the RestAPI.
&gt;
&gt; &lt;pre&gt;java.lang.IllegalStateException: Attempted to use resource
&gt; bundles outside of an initialized S scope. S only usable when
&gt; initialized, such as during request processing. Did you call S.? from
&gt; Boot?
&gt;        net.liftweb.http.S$.resourceBundles(S.scala:612)
&gt;        net.liftweb.http.S$.$qmark(S.scala:638)
&gt;        net.liftweb.http.S$.$qmark(S.scala:656)
&gt;        org.apache.esme.api.RestAPI$.sendMsg(RestAPI.scala:290)
&gt;
&gt;  org.apache.esme.api.RestAPI$$anonfun$sendMsgWithToken$1$$anonfun$apply$61$$anonfun$apply$62.apply(RestAPI.scala:285)
&gt;
&gt; Is there a way to fix this problem or should I delete all the S.? from
&gt; the Scala files that represent our various APIs?
&gt;
&gt;
&gt; D.
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: UI widgets for ESME</title>
<author><name>Markus Kohler &lt;markus.kohler@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c771905290912040622i3dc0e6cnd5b2006ddfd4d966@mail.gmail.com%3e"/>
<id>urn:uuid:%3c771905290912040622i3dc0e6cnd5b2006ddfd4d966@mail-gmail-com%3e</id>
<updated>2009-12-04T14:22:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,
Yes good idea!
As Ethan below suggests we should rather embed into a widget platform for
what has been described by Marcelo above.

I would like to go a bit further and suggest that* ESME should be able to
render certain URL's as widgets. *
E.g. instead of getting a message like "Can you please approve XYZ
http://somelink" you would get a message with widget being shown for what is
behind http://somelink.

This would be just a simple extension of the feature that some twitter
clients such as Brizzly already offer. Brizzly for example renders images
and video links automatically inline.

I believe this is especially a great idea for mobile devices, because
something like an simple approval could be done very quickly without
starting any application, from wherever you are.

Regards,
Markus
"The best way to predict the future is to invent it" -- Alan Kay


On Fri, Dec 4, 2009 at 3:09 PM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:

&gt; That looks very interesting and I think it's a great idea. A couple
&gt; comments (sorry, it's been a busy week, so this is a bit off-the-cuff):
&gt;
&gt; 1. I'd like to echo Daniel's suggestion to pursue an existing widget
&gt; container/standard if we do this. To offer another option: Shindig is a
&gt; pretty mature implementation of the OpenSocial widget container standard.
&gt; (Oh, and it's an Apache project - http://incubator.apache.org/shindig/ ;-)
&gt;
&gt; 2. I wonder if we might want to consider embedding *ESME* into a widget
&gt; platform (via the APIs) rather than embedding *widgets* into ESME. My
&gt; impression is that this might be a lot easier and may more closely align
&gt; with how ESME will be deployed (in the Enterprise) with a UI wrapper.
&gt;
&gt; 3. I'm skittish about putting code into ESME that interfaces with SAP
&gt; modules. My understanding of SAP's IP position is that code that interfaces
&gt; with SAP Enterprise Services contains SAP IP and cannot be licensed under an
&gt; Apache 2.0 license (or at least SAP reserves the right to spread FUD on the
&gt; topic). I'm not comfortable working on code that does this or committing it
&gt; to an Apache project until SAP clarifies its position publicly and
&gt; unequivocally. Because of this, I think we can provide a framework and
&gt; examples, but I think we should think twice before providing an actual
&gt; widget that interfaces with SAP as part of the distribution.
&gt;
&gt; Ethan
&gt;
&gt;
&gt; On Thu, Dec 3, 2009 at 6:13 PM, Marcelo Pham &lt;marcelo@akibot.com&gt; wrote:
&gt;
&gt;&gt; Hi there,
&gt;&gt;
&gt;&gt; I had a chat with Dick and he thought it would be good to share this idea
&gt;&gt; we had for Akibot with the ESME community:
&gt;&gt;
&gt;&gt; *General concept*
&gt;&gt;
&gt;&gt; 1. The idea is to include a "widget" area to ESME front end. These widgets
&gt;&gt; would be plug &amp; play components that help users from a same group or
&gt;&gt; department to see real time info, such as financials, inventory maps, sales,
&gt;&gt; etc. etc.
&gt;&gt; In brief, we would be marrying business intelligence (widgets showing
&gt;&gt; relevant, summarized information in real time) with social media
&gt;&gt; (microblog), this would give the whole group a sense of total business
&gt;&gt; awareness (they would know exactly what's going on, what employees are
&gt;&gt; chatting about, issues (microblog), what's the most named item, the most
&gt;&gt; mentioned customer (tags), figures for sales, inventory (widgets))
&gt;&gt;
&gt;&gt; 2. For example, the executive and sales groups would have a widget in
&gt;&gt; their microblog that would show real time information for today's and YTD
&gt;&gt; orders:
&gt;&gt;
&gt;&gt;
&gt;&gt; This widget would read data from the SD module and inform everybody how
&gt;&gt; sales are doing.
&gt;&gt;
&gt;&gt; 3. We would start with widgets that read from SAP modules (SD, FI, MM,
&gt;&gt; etc.) and maybe after we could extend it to other ERP's (JD Edwards, Mas500,
&gt;&gt; Navision, etc) or other groupware apps (Salesforce, Exchange, etc.)
&gt;&gt;
&gt;&gt; *Details*
&gt;&gt;
&gt;&gt; 4. If ESME can be skinnable (meaning to allow users to change around the
&gt;&gt; HTML of the front end) these widgets could be embeddable in the form of an
&gt;&gt; object, like:
&gt;&gt;
&gt;&gt; &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://widget.esme.us/?v=1.0"
width="200" height="400" align="middle"&gt;
&gt;&gt;    &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
&gt;&gt;    &lt;param name="movie" value="widget1.swf" /&gt;
&gt;&gt;    &lt;param name="quality" value="high" /&gt;
&gt;&gt;    &lt;param name="bgcolor" value="#ffffff" /&gt;
&gt;&gt;
&gt;&gt;    &lt;param name="feed_username" value="username" /&gt;
&gt;&gt;
&gt;&gt;    &lt;param name="feed_password" value="12345abcd" /&gt;
&gt;&gt;
&gt;&gt;    &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
&gt;&gt;
&gt;&gt;     &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff" width="200" height="400"
name="foo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
&gt;&gt;
&gt;&gt; &lt;/object&gt;
&gt;&gt;
&gt;&gt; Or something like this but using JS.
&gt;&gt;
&gt;&gt; 5. Widgets would be available to download from common open repositories
&gt;&gt; such as ESME website, Google code, etc. A widget would be composed by a
&gt;&gt; Flash or JS file to download, and a sample code to embed into the HTML front
&gt;&gt; end with instructions on how to customize it. We will contribute with all
&gt;&gt; the widgets we do and also help develop widgets made by other members.
&gt;&gt;
&gt;&gt; 6. Since these will be all behind-the-firewall installations, there should
&gt;&gt; not be many security issues, although we would include a username/password
&gt;&gt; to authenticate to the SAP feed
&gt;&gt;
&gt;&gt; *Open for discussion*
&gt;&gt;
&gt;&gt; 7. Embeddable code / format: we haven't decided what formats will be the
&gt;&gt; best (JS, Flash, both...)
&gt;&gt;
&gt;&gt; 8. Connection / authentication: how to connect to the SAP feed and how to
&gt;&gt; authenticate to it
&gt;&gt;
&gt;&gt; 9. Widget permissions: how to allow/hide widgets for different groups (for
&gt;&gt; example the sales widget should not be shown to the purchasing group, etc.)
&gt;&gt;
&gt;&gt;
&gt;&gt; What do you guys think?
&gt;&gt;
&gt;&gt;
&gt;&gt; Good night,
&gt;&gt;
&gt;&gt;
&gt;&gt; Marcelo Pham
&gt;&gt; Head Developer
&gt;&gt; Akibot
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: UI widgets for ESME</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912040609m25000744ge8eeab605ab8820d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912040609m25000744ge8eeab605ab8820d@mail-gmail-com%3e</id>
<updated>2009-12-04T14:09:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
An error occured while fetching this message, sorry !
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Problem with using S.? in RestAPI</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912040541w3bfb2d1cs33998f92a20b5570@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912040541w3bfb2d1cs33998f92a20b5570@mail-gmail-com%3e</id>
<updated>2009-12-04T13:41:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi (again) Dick,

The API tests are working fine for me at the moment. It looks to me
like there were changes to the way the API tests are initialized. Are
you on the most up to date revision? ("svn status")

Ethan

On Fri, Dec 4, 2009 at 6:44 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt; No, please don't delete them. They are central to the way the Apis
&gt; work. Either they were introduced in a recent checkin, in which case
&gt; just the offending change should be backed out, or the bug is
&gt; somewhere else.
&gt;
&gt; Ethan
&gt;
&gt; On Friday, December 4, 2009, Richard Hirsch &lt;hirsch.dick@gmail.com&gt; wrote:
&gt;&gt; I know that David just fixed this error in the test suite but now we
&gt;&gt; have the same in the RestAPI.
&gt;&gt;
&gt;&gt; &lt;pre&gt;java.lang.IllegalStateException: Attempted to use resource
&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt;&gt; initialized, such as during request processing. Did you call S.? from
&gt;&gt; Boot?
&gt;&gt;         net.liftweb.http.S$.resourceBundles(S.scala:612)
&gt;&gt;         net.liftweb.http.S$.$qmark(S.scala:638)
&gt;&gt;         net.liftweb.http.S$.$qmark(S.scala:656)
&gt;&gt;         org.apache.esme.api.RestAPI$.sendMsg(RestAPI.scala:290)
&gt;&gt;         org.apache.esme.api.RestAPI$$anonfun$sendMsgWithToken$1$$anonfun$apply$61$$anonfun$apply$62.apply(RestAPI.scala:285)
&gt;&gt;
&gt;&gt; Is there a way to fix this problem or should I delete all the S.? from
&gt;&gt; the Scala files that represent our various APIs?
&gt;&gt;
&gt;&gt;
&gt;&gt; D.
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912040535s5f3825b5w1a6115a98f1c5182@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912040535s5f3825b5w1a6115a98f1c5182@mail-gmail-com%3e</id>
<updated>2009-12-04T13:35:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm up to date on the latest revision and it seems to be working fine,
at least as far as the tests are concerned.

Ethan

On Thu, Dec 3, 2009 at 5:01 PM, David Pollak
&lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; Fixes are up in the repo
&gt;
&gt; On Thu, Dec 3, 2009 at 2:15 PM, David Pollak
&gt; &lt;feeder.of.the.bears@gmail.com&gt;wrote:
&gt;
&gt;&gt; Okay,
&gt;&gt;
&gt;&gt; I reproduced the issue (I guess for some reason my git svn version of ESME
&gt;&gt; is not up to date... sigh).
&gt;&gt;
&gt;&gt; The issue is exactly as the error indicates.  The particular line
&gt;&gt; (User.scala: 64) is calling S.? outside of a request context.  This means
&gt;&gt; there is no way to tell what the localization string should be because there
&gt;&gt; is no "S state".  The underlying cause is that the User is being created
&gt;&gt; outside the scope of an HTTP request.  We need to do something a tad funky
&gt;&gt; with the initialization code.  I'll look into it.
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt;
&gt;&gt; David
&gt;&gt;
&gt;&gt;
&gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt;&gt; Hi all,
&gt;&gt;&gt;
&gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean test" in
&gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone confirm?
&gt;&gt;&gt; We can then identify what check-in broke the build and fix it.
&gt;&gt;&gt;
&gt;&gt;&gt; Failure is below, which seems to match the failure occurring in Hudson.
&gt;&gt;&gt;
&gt;&gt;&gt; Thanks,
&gt;&gt;&gt; Ethan
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;&gt;&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt;&gt; Method)
&gt;&gt;&gt;        at
&gt;&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;&gt;&gt;        at
&gt;&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;&gt;&gt;        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;&gt;&gt;        at org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt;        at
&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt;        at
&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use resource
&gt;&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt;&gt;&gt; initialized, such as during request processing. Did you call S.? from
&gt;&gt;&gt; Boot?
&gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt;&gt;        at
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt;&gt;        at
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt;&gt;&gt;        at
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt;&gt;&gt;        at
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt;&gt;&gt;        at
&gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt;&gt;&gt;        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt;&gt;        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt;&gt;        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt;&gt;&gt;        at org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt;&gt;&gt;        at org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt;&gt;&gt;        ... 19 more
&gt;&gt;&gt; [ERROR] There are test failures.
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; Follow me: http://twitter.com/dpp
&gt;&gt; Surf the harmonics
&gt;&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Lift, the simply functional web framework http://liftweb.net
&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; Follow me: http://twitter.com/dpp
&gt; Surf the harmonics
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Problem with using S.? in RestAPI</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912040444sdfd3320vbc67f57c738489c1@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912040444sdfd3320vbc67f57c738489c1@mail-gmail-com%3e</id>
<updated>2009-12-04T12:44:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
No, please don't delete them. They are central to the way the Apis
work. Either they were introduced in a recent checkin, in which case
just the offending change should be backed out, or the bug is
somewhere else.

Ethan

On Friday, December 4, 2009, Richard Hirsch &lt;hirsch.dick@gmail.com&gt; wrote:
&gt; I know that David just fixed this error in the test suite but now we
&gt; have the same in the RestAPI.
&gt;
&gt; &lt;pre&gt;java.lang.IllegalStateException: Attempted to use resource
&gt; bundles outside of an initialized S scope. S only usable when
&gt; initialized, such as during request processing. Did you call S.? from
&gt; Boot?
&gt;         net.liftweb.http.S$.resourceBundles(S.scala:612)
&gt;         net.liftweb.http.S$.$qmark(S.scala:638)
&gt;         net.liftweb.http.S$.$qmark(S.scala:656)
&gt;         org.apache.esme.api.RestAPI$.sendMsg(RestAPI.scala:290)
&gt;         org.apache.esme.api.RestAPI$$anonfun$sendMsgWithToken$1$$anonfun$apply$61$$anonfun$apply$62.apply(RestAPI.scala:285)
&gt;
&gt; Is there a way to fix this problem or should I delete all the S.? from
&gt; the Scala files that represent our various APIs?
&gt;
&gt;
&gt; D.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Twitter API broken?</title>
<author><name>=?iso-8859-1?Q?Anne_Kathrine_Petter=F8e?= &lt;akpetteroe@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c7276C05F-BC41-4931-80EA-4E54CFE6DC4B@gmail.com%3e"/>
<id>urn:uuid:%3c7276C05F-BC41-4931-80EA-4E54CFE6DC4B@gmail-com%3e</id>
<updated>2009-12-04T12:09:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I just checked the twitter API from my iPhone.
I can receive/see messages in both the public and my timeline, but I  
cannot send any messages from LaTwit.

/Anne


On 4. des. 2009, at 11.49, Richard Hirsch wrote:

&gt; What is strange is that the old REST API is still working  ( I tried
&gt; using the old Javascript
&gt; http://code.google.com/p/esmeproject/wiki/PureJavascript_messaging_client 
&gt; ).
&gt;
&gt; D.
&gt;
&gt; On Fri, Dec 4, 2009 at 11:09 AM, Richard Hirsch  
&gt; &lt;hirsch.dick@gmail.com&gt; wrote:
&gt;&gt; I've tried using the Twitter API to send a message and I'm getting a
&gt;&gt; strange error:
&gt;&gt;
&gt;&gt; INFO - Request /twitter/statuses/update.xml took 328 query
&gt;&gt; INFO - OK
&gt;&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt;&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;&gt;
&gt;&gt; Here is the action I'm using locally to the error (where bob is the
&gt;&gt; user and the password is 123456)
&gt;&gt;
&gt;&gt; http://bob:123456@localhost:8080/twitter/statuses/update.xml
&gt;&gt; status=%s
&gt;&gt;
&gt;&gt; When I use the token instead of the password (like this)
&gt;&gt;
&gt;&gt; http://bob:Q5PWWXVAJYIPG0EQXMSDPFRGCE2XVTQ0@localhost:8080/twitter/statuses/update.xml
&gt;&gt; status=%s
&gt;&gt;
&gt;&gt; I get this error:
&gt;&gt;
&gt;&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt;&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;&gt;
&gt;&gt; Anyone else having this problem?
&gt;&gt;
&gt;&gt; D.
&gt;&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Twitter API broken?</title>
<author><name>Richard Hirsch &lt;hirsch.dick@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cfa2d9f450912040249t106ce260w9da89229ef141b1e@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfa2d9f450912040249t106ce260w9da89229ef141b1e@mail-gmail-com%3e</id>
<updated>2009-12-04T10:49:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
What is strange is that the old REST API is still working  ( I tried
using the old Javascript
http://code.google.com/p/esmeproject/wiki/PureJavascript_messaging_client).

D.

On Fri, Dec 4, 2009 at 11:09 AM, Richard Hirsch &lt;hirsch.dick@gmail.com&gt; wrote:
&gt; I've tried using the Twitter API to send a message and I'm getting a
&gt; strange error:
&gt;
&gt; INFO - Request /twitter/statuses/update.xml took 328 query
&gt; INFO - OK
&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;
&gt; Here is the action I'm using locally to the error (where bob is the
&gt; user and the password is 123456)
&gt;
&gt; http://bob:123456@localhost:8080/twitter/statuses/update.xml
&gt; status=%s
&gt;
&gt; When I use the token instead of the password (like this)
&gt;
&gt; http://bob:Q5PWWXVAJYIPG0EQXMSDPFRGCE2XVTQ0@localhost:8080/twitter/statuses/update.xml
&gt; status=%s
&gt;
&gt; I get this error:
&gt;
&gt; INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
&gt; failed&lt;/error&gt;&lt;/hash&gt;
&gt;
&gt; Anyone else having this problem?
&gt;
&gt; D.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Twitter API broken?</title>
<author><name>Richard Hirsch &lt;hirsch.dick@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cfa2d9f450912040209u1eee08bew435becfee26d658c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfa2d9f450912040209u1eee08bew435becfee26d658c@mail-gmail-com%3e</id>
<updated>2009-12-04T10:09:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I've tried using the Twitter API to send a message and I'm getting a
strange error:

INFO - Request /twitter/statuses/update.xml took 328 query
INFO - OK
INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
failed&lt;/error&gt;&lt;/hash&gt;

Here is the action I'm using locally to the error (where bob is the
user and the password is 123456)

http://bob:123456@localhost:8080/twitter/statuses/update.xml
status=%s

When I use the token instead of the password (like this)

http://bob:Q5PWWXVAJYIPG0EQXMSDPFRGCE2XVTQ0@localhost:8080/twitter/statuses/update.xml
status=%s

I get this error:

INFO - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;hash operation="statuses" success="true" &gt;&lt;error&gt;User authentication
failed&lt;/error&gt;&lt;/hash&gt;

Anyone else having this problem?

D.


</pre>
</div>
</content>
</entry>
<entry>
<title>Problem with using S.? in RestAPI</title>
<author><name>Richard Hirsch &lt;hirsch.dick@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cfa2d9f450912040031s77587523vb9ad8dfd6d29e561@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfa2d9f450912040031s77587523vb9ad8dfd6d29e561@mail-gmail-com%3e</id>
<updated>2009-12-04T08:31:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I know that David just fixed this error in the test suite but now we
have the same in the RestAPI.

&lt;pre&gt;java.lang.IllegalStateException: Attempted to use resource
bundles outside of an initialized S scope. S only usable when
initialized, such as during request processing. Did you call S.? from
Boot?
	net.liftweb.http.S$.resourceBundles(S.scala:612)
	net.liftweb.http.S$.$qmark(S.scala:638)
	net.liftweb.http.S$.$qmark(S.scala:656)
	org.apache.esme.api.RestAPI$.sendMsg(RestAPI.scala:290)
	org.apache.esme.api.RestAPI$$anonfun$sendMsgWithToken$1$$anonfun$apply$61$$anonfun$apply$62.apply(RestAPI.scala:285)

Is there a way to fix this problem or should I delete all the S.? from
the Scala files that represent our various APIs?


D.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: UI widgets for ESME</title>
<author><name>Daniel Koller &lt;dakoller@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c2bca8c350912032149s3b5ea61fsd5162ab13228f997@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2bca8c350912032149s3b5ea61fsd5162ab13228f997@mail-gmail-com%3e</id>
<updated>2009-12-04T05:49:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
An error occured while fetching this message, sorry !
</pre>
</div>
</content>
</entry>
<entry>
<title>UI widgets for ESME</title>
<author><name>Marcelo Pham &lt;marcelo@akibot.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3cD478F5D5-5364-4ABE-94A5-208D16C1AC39@akibot.com%3e"/>
<id>urn:uuid:%3cD478F5D5-5364-4ABE-94A5-208D16C1AC39@akibot-com%3e</id>
<updated>2009-12-04T00:13:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi there,

I had a chat with Dick and he thought it would be good to share this  
idea we had for Akibot with the ESME community:

General concept

1. The idea is to include a "widget" area to ESME front end. These  
widgets would be plug &amp; play components that help users from a same  
group or department to see real time info, such as financials,  
inventory maps, sales, etc. etc.
In brief, we would be marrying business intelligence (widgets showing  
relevant, summarized information in real time) with social media  
(microblog), this would give the whole group a sense of total business  
awareness (they would know exactly what's going on, what employees are  
chatting about, issues (microblog), what's the most named item, the  
most mentioned customer (tags), figures for sales, inventory (widgets))

2. For example, the executive and sales groups would have a widget in  
their microblog that would show real time information for today's and  
YTD orders:



This widget would read data from the SD module and inform everybody  
how sales are doing.

3. We would start with widgets that read from SAP modules (SD, FI, MM,  
etc.) and maybe after we could extend it to other ERP's (JD Edwards,  
Mas500, Navision, etc) or other groupware apps (Salesforce, Exchange,  
etc.)

Details

4. If ESME can be skinnable (meaning to allow users to change around  
the HTML of the front end) these widgets could be embeddable in the  
form of an object, like:
&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://widget.esme.us/?v=1.0

" width="200" height="400" align="middle"&gt;
    &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
    &lt;param name="movie" value="widget1.swf" /&gt;
    &lt;param name="quality" value="high" /&gt;
    &lt;param name="bgcolor" value="#ffffff" /&gt;
    &lt;param name="feed_username" value="username" /&gt;
    &lt;param name="feed_password" value="12345abcd" /&gt;
    &lt;param name="feed_url" value="http://10.1.1.10/SAPFeed/" /&gt;
     &lt;embed src="widget1.swf" quality="high" bgcolor="#ffffff"  
width="200" height="400" name="foo" align="middle"  
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"  
pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;
&lt;/object&gt;
Or something like this but using JS.

5. Widgets would be available to download from common open  
repositories such as ESME website, Google code, etc. A widget would be  
composed by a Flash or JS file to download, and a sample code to embed  
into the HTML front end with instructions on how to customize it. We  
will contribute with all the widgets we do and also help develop  
widgets made by other members.

6. Since these will be all behind-the-firewall installations, there  
should not be many security issues, although we would include a  
username/password to authenticate to the SAP feed

Open for discussion

7. Embeddable code / format: we haven't decided what formats will be  
the best (JS, Flash, both...)

8. Connection / authentication: how to connect to the SAP feed and how  
to authenticate to it

9. Widget permissions: how to allow/hide widgets for different groups  
(for example the sales widget should not be shown to the purchasing  
group, etc.)


What do you guys think?


Good night,


Marcelo Pham
Head Developer
Akibot























</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912031501t5898aa71o43500053bd8fa9fe@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912031501t5898aa71o43500053bd8fa9fe@mail-gmail-com%3e</id>
<updated>2009-12-03T23:01:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Fixes are up in the repo

On Thu, Dec 3, 2009 at 2:15 PM, David Pollak
&lt;feeder.of.the.bears@gmail.com&gt;wrote:

&gt; Okay,
&gt;
&gt; I reproduced the issue (I guess for some reason my git svn version of ESME
&gt; is not up to date... sigh).
&gt;
&gt; The issue is exactly as the error indicates.  The particular line
&gt; (User.scala: 64) is calling S.? outside of a request context.  This means
&gt; there is no way to tell what the localization string should be because there
&gt; is no "S state".  The underlying cause is that the User is being created
&gt; outside the scope of an HTTP request.  We need to do something a tad funky
&gt; with the initialization code.  I'll look into it.
&gt;
&gt; Thanks,
&gt;
&gt; David
&gt;
&gt;
&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:
&gt;
&gt;&gt; Hi all,
&gt;&gt;
&gt;&gt; Currently tests are failing to run for me with a "mvn clean test" in
&gt;&gt; the trunk server on the latest revision (886861). Can someone confirm?
&gt;&gt; We can then identify what check-in broke the build and fix it.
&gt;&gt;
&gt;&gt; Failure is below, which seems to match the failure occurring in Hudson.
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Ethan
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt;&gt; java.lang.ExceptionInInitializerError
&gt;&gt;        at
&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt; Method)
&gt;&gt;        at
&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;&gt;        at
&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;&gt;        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;&gt;        at
&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;&gt;        at org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;        at
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;        at
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use resource
&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt;&gt; initialized, such as during request processing. Did you call S.? from
&gt;&gt; Boot?
&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt;&gt;        at
&gt;&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt;&gt;        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt;        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt;        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt;&gt;        at org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt;&gt;        at
&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt;&gt;        at org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt;&gt;        ... 19 more
&gt;&gt; [ERROR] There are test failures.
&gt;&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Lift, the simply functional web framework http://liftweb.net
&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; Follow me: http://twitter.com/dpp
&gt; Surf the harmonics
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912031415u39a2f74av7c36647999845190@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912031415u39a2f74av7c36647999845190@mail-gmail-com%3e</id>
<updated>2009-12-03T22:15:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Okay,

I reproduced the issue (I guess for some reason my git svn version of ESME
is not up to date... sigh).

The issue is exactly as the error indicates.  The particular line
(User.scala: 64) is calling S.? outside of a request context.  This means
there is no way to tell what the localization string should be because there
is no "S state".  The underlying cause is that the User is being created
outside the scope of an HTTP request.  We need to do something a tad funky
with the initialization code.  I'll look into it.

Thanks,

David

On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:

&gt; Hi all,
&gt;
&gt; Currently tests are failing to run for me with a "mvn clean test" in
&gt; the trunk server on the latest revision (886861). Can someone confirm?
&gt; We can then identify what check-in broke the build and fix it.
&gt;
&gt; Failure is below, which seems to match the failure occurring in Hudson.
&gt;
&gt; Thanks,
&gt; Ethan
&gt;
&gt;
&gt;
&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt; java.lang.ExceptionInInitializerError
&gt;        at
&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt; Method)
&gt;        at
&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;        at
&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;        at
&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;        at org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;        at
&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;        at
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;        at
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;        at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;        at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;        at
&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;        at
&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt; Caused by: java.lang.IllegalStateException: Attempted to use resource
&gt; bundles outside of an initialized S scope. S only usable when
&gt; initialized, such as during request processing. Did you call S.? from
&gt; Boot?
&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt;        at
&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;        at
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;        at
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;        at scala.List.foreach(List.scala:841)
&gt;        at
&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt;        at
&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt;        at
&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt;        at net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt;        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt;        at org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt;        at org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt;        at org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt;        ... 19 more
&gt; [ERROR] There are test failures.
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912031245o23488b04w6b0e70d9129cfeb8@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912031245o23488b04w6b0e70d9129cfeb8@mail-gmail-com%3e</id>
<updated>2009-12-03T20:45:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Ethan,

Can you tar up the sources and email them to me privately?  I'd like to test
*exactly* what you're testing.

Also, please try doing a "mvn -U clean test"

Thanks,

David

On Thu, Dec 3, 2009 at 12:36 PM, Ethan Jewett &lt;esjewett@gmail.com&gt; wrote:

&gt; Another update ...
&gt;
&gt; If I check out all the way back to revision 885151 I can build fine
&gt; and it passes all unit tests. In revision 885333 I get tons of errors
&gt; during compilation, mostly having to do with the User.scala file.
&gt; (Errors below)
&gt;
&gt; If I move up to to revision 886910 (the current revision), I get the
&gt; error I sent originally during test execution, which does appear to
&gt; have something to do with the User.scala file and the S. expression.
&gt;
&gt; I'm not understanding how this can run successfully on one person's
&gt; system and not another. Scala version perhaps?
&gt;
&gt; Ethan
&gt;
&gt; Revision 885333 errors (during compilation):
&gt;
&gt; [INFO] Compiling 49 source files to
&gt; /Users/esjewett/svn_repos/esme/trunk/server/target/classes
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala:40:
&gt; error: not found: value view
&gt; [WARNING] import view._
&gt; [WARNING]        ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala:309:
&gt; error: missing parameter type for expanded function ((x0$1) =&gt; x0$1
&gt; match {
&gt; [WARNING]   case SessionWatcherInfo((sessions @ _)) =&gt; {
&gt; [WARNING]     Stats.getCounter("liftSessions").update(sessions.size);
&gt; [WARNING]     if (millis.$minus(tenMinutes).$greater(lastTime))
&gt; [WARNING]       {
&gt; [WARNING]         lastTime = millis;
&gt; [WARNING]         val rt = Runtime.getRuntime;
&gt; [WARNING]         rt.gc;
&gt; [WARNING]         val dateStr: String = timeNow.toString;
&gt; [WARNING]         Log.info("[MEMDEBUG] At ".$plus(dateStr).$plus("
&gt; Number of open sessions: ").$plus(sessions.size));
&gt; [WARNING]         Log.info("[MEMDEBUG] Free Memory:
&gt; ".$plus(pretty(rt.freeMemory)));
&gt; [WARNING]         Log.info("[MEMDEBUG] Total Memory:
&gt; ".$plus(pretty(rt.totalMemory)))
&gt; [WARNING]       }
&gt; [WARNING]   }
&gt; [WARNING] })
&gt; [WARNING]   protected def messageHandler = {
&gt; [WARNING]                                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/User.scala:45:
&gt; error: value view is not a member of package org.apache.esme
&gt; [WARNING] import org.apache.esme.view._
&gt; [WARNING]                        ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/Distributor.scala:50:
&gt; error: value findAll is not a member of object
&gt; org.apache.esme.model.User
&gt; [WARNING]         User.findAll.map(_.id.is).foreach(findOrCreateUser)
&gt; [WARNING]              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala:86:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]       case Some(followerId) =&gt;
&gt; User.find(followerId).map[String](_ nickname).openOr("N/A")
&gt; [WARNING]                                     ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala:90:
&gt; error: overloaded method value replace with alternatives
&gt; (java.lang.CharSequence,java.lang.CharSequence)java.lang.String &lt;and&gt;
&gt; (Char,Char)java.lang.String cannot be applied to
&gt; (java.lang.String,user.nickname.type)
&gt; [WARNING]     text.replace("%u", user.nickname).
&gt; [WARNING]          ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:230:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala:42:
&gt; error: type mismatch;
&gt; [WARNING]  found   : action.user.type (with underlying type object
&gt; action.user)
&gt; [WARNING]  required: Long
&gt; [WARNING]       val regularActor = new SchedulerActor(Distributor,
&gt; action.user, everySeconds, RegularReason(id))
&gt; [WARNING]                                                                 ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala:226:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object author extends MappedLongForeignKey(this, User) {
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala:88:
&gt; error: org.apache.esme.model.Message.create.author of type object
&gt; org.apache.esme.model.Message#author does not take parameters
&gt; [WARNING]       Message.create.author(user).
&gt; [WARNING]                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:94:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]         User.find(userId).
&gt; [WARNING]              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:100:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]         User.find(userId).
&gt; [WARNING]              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:125:
&gt; error: org.apache.esme.model.Message.create.author of type object
&gt; org.apache.esme.model.Message#author does not take parameters
&gt; [WARNING]         Message.create.author(userId).when(when).
&gt; [WARNING]                        ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Tracking.scala:58:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]     object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:183:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Tracking.user.type,Long)
&gt; [WARNING]             tracking = Tracking.findAll(By(Tracking.user,
&gt; userId),
&gt; [WARNING]                                         ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:189:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Action.user.type,Long)
&gt; [WARNING]             perform = Action.findAll(By(Action.user, userId),
&gt; [WARNING]                                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:68:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:52:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.Mailbox.user.type (with
&gt; underlying type object org.apache.esme.model.Mailbox.user)
&gt; [WARNING]  required: net.liftweb.mapper.IndexItem[?]
&gt; [WARNING]   override def dbIndexes = Index(user, message) ::
&gt; super.dbIndexes
&gt; [WARNING]                                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:210:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.user.type,Long)
&gt; [WARNING]                        By(Mailbox.user, userId)).foreach { m =&gt;
&gt; [WARNING]                        ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:235:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.user.type,Long)
&gt; [WARNING]                      By(Mailbox.user, userId)).isEmpty) {
&gt; [WARNING]                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:246:
&gt; error: org.apache.esme.model.Mailbox.create.user of type object
&gt; org.apache.esme.model.Mailbox#user does not take parameters
&gt; [WARNING]         val mb = Mailbox.create.user(userId).message(msg)
&gt; [WARNING]                                 ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:270:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]               User.find(userId).foreach( u =&gt;
&gt; [WARNING]                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AuthToken.scala:54:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:126:
&gt; error: value obj is not a member of object auth.user
&gt; [WARNING]         user &lt;- auth.user.obj
&gt; [WARNING]                           ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:153:
&gt; error: value findAll is not a member of object
&gt; org.apache.esme.model.User
&gt; [WARNING]       val users: NodeSeq = for (user &lt;- User.findAll) yield
&gt; userToXml(user)
&gt; [WARNING]                                                ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:164:
&gt; error: type mismatch;
&gt; [WARNING]  found   : user.id.type (with underlying type object user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]         val lst = Mailbox.mostRecentMessagesFor(user.id, num))
&gt; [WARNING]                                                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:230:
&gt; error: value is is not a member of object x$8.id
&gt; [WARNING]       for (user &lt;- calcUser.map(_.id.is) ?~
&gt; S.?("base_rest_api_err_param_not_found", "User");
&gt; [WARNING]                                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:207:
&gt; error: value findAll is not a member of object
&gt; org.apache.esme.model.User
&gt; [WARNING]   for (user &lt;- User.findAll) yield user.toXml
&gt; [WARNING]                     ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:249:
&gt; error: value obj is not a member of object auth.user
&gt; [WARNING]          user &lt;- auth.user.obj;
&gt; [WARNING]                            ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:284:
&gt; error: value can is not a member of object auth.user
&gt; [WARNING]          userId &lt;- auth.user.can;
&gt; [WARNING]                              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:324:
&gt; error: type mismatch;
&gt; [WARNING]  found   : user.id.type (with underlying type object user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]                val lst = Mailbox.mostRecentMessagesFor(user.id,
&gt; 40))
&gt; [WARNING]                                                             ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:337:
&gt; error: type mismatch;
&gt; [WARNING]  found   : user.id.type (with underlying type object user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]          val lst = Mailbox.mostRecentMessagesFor(user.id,
&gt; numMsgs).map(_._1))
&gt; [WARNING]                                                       ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:73:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object resentBy extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:63:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.resentBy.type,net.liftweb.common.Empty.type)
&gt; [WARNING]   val ToMe = NotBy(Mailbox.resentBy, Empty)
&gt; [WARNING]              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:68:
&gt; error: value obj is not a member of object auth.user
&gt; [WARNING]            u &lt;- auth.user.obj
&gt; [WARNING]                           ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:140:
&gt; error: value is is not a member of object x$3.author
&gt; [WARNING]         map(_.author.is).getOrElse(None),
&gt; [WARNING]                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:144:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]             User.find(msg.author).get.nickname
&gt; [WARNING]                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:165:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
&gt; [WARNING]       "statuses_count " -&gt; Message.count(By(Message.author,
&gt; user))
&gt; [WARNING]                                          ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:171:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
&gt; [WARNING]     val lastMsg = Message.findAll(By(Message.author, user),
&gt; [WARNING]                                   ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:182:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]     val msgUser = User.find(msg.author).get
&gt; [WARNING]                        ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:194:
&gt; error: type mismatch;
&gt; [WARNING]  found   : user.id.type (with underlying type object user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]         for ((msg, why, _) &lt;-
&gt; Mailbox.mostRecentMessagesFor(user.id, 20))
&gt; [WARNING]
&gt;  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:202:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
&gt; [WARNING]       Message.findAll(By(Message.author, user),
&gt; [WARNING]                       ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:219:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
&gt; [WARNING]       Message.findAll(By(Message.author, user),
&gt; [WARNING]                       ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:247:
&gt; error: org.apache.esme.model.Message.create.author of type object
&gt; org.apache.esme.model.Message#author does not take parameters
&gt; [WARNING]          msg &lt;- Message.create.author(user.id.is).when(millis).
&gt; [WARNING]                                ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:332:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.user.type,org.apache.esme.model.User)
&gt; [WARNING]                         By(Mailbox.user, user),
&gt; [WARNING]                         ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/external/Feed.scala:50:
&gt; error: type mismatch;
&gt; [WARNING]  found   : Feed.this.user.id.type (with underlying type
&gt; object Feed.this.user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]           if (user != null) {user.id} else 0,
&gt; [WARNING]                                   ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/external/TwitterFeed.scala:51:
&gt; error: type mismatch;
&gt; [WARNING]  found   : TwitterFeed.this.user.id.type (with underlying
&gt; type object TwitterFeed.this.user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]       user.id,
&gt; [WARNING]            ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:90:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object modifier extends MappedLongForeignKey(this,User)
&gt; [WARNING]                                                     ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:75:
&gt; error: this.modifier of type object AccessPool.this.modifier does not
&gt; take parameters
&gt; [WARNING]       Full(this.modifier(User.currentUser))
&gt; [WARNING]                 ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Privilege.scala:96:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:84:
&gt; error: model.Privilege.create.pool.apply(p.saveMe()).user of type
&gt; object org.apache.esme.model.Privilege#user does not take parameters
&gt; [WARNING]
&gt;
&gt; Privilege.create.pool(p.saveMe).user(user).permission(Permission.Admin).save
&gt; [WARNING]                                               ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:122:
&gt; error: value id is not a member of Any
&gt; [WARNING]       case Full(u)=&gt; Privilege.findAdminPools(u.id).map(
&gt; [WARNING]                                                 ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:180:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]       User.find(uid) match {
&gt; [WARNING]            ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:181:
&gt; error: value nickname is not a member of Any
&gt; [WARNING]         case Full(user) =&gt; &lt;span&gt;{user.nickname}&lt;/span&gt;
&gt; [WARNING]                                        ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:88:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object creator extends MappedLongForeignKey(this,User)
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:191:
&gt; error: type mismatch;
&gt; [WARNING]  found   : ap.creator.type (with underlying type object
&gt; ap.creator)
&gt; [WARNING]  required: Long
&gt; [WARNING]         "creator" -&gt; displayUserName(ap.creator),
&gt; [WARNING]                                         ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:217:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]                                                    "name" -&gt;
&gt; User.find(i.user).map(
&gt; [WARNING]
&gt; ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/ActionMgr.scala:78:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Action.user.type,&lt;error&gt;)
&gt; [WARNING]     Action.findAll(By(Action.user, user), By(Action.removed,
&gt; false),
&gt; [WARNING]                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/ActionMgr.scala:112:
&gt; error: model.Action.create.name.apply(name).user of type object
&gt; org.apache.esme.model.Action#user does not take parameters
&gt; [WARNING]       val toSave = Action.create.name(name).user(user)
&gt; [WARNING]                                             ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AuthMgr.scala:78:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.AuthToken.user.type,&lt;error&gt;)
&gt; [WARNING]     AuthToken.findAll(By(AuthToken.user, user),
&gt; [WARNING]                       ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AuthMgr.scala:107:
&gt; error: model.AuthToken.create.description.apply(x).user of type object
&gt; org.apache.esme.model.AuthToken#user does not take parameters
&gt; [WARNING]         case x =&gt;
&gt; AuthToken.create.description(x).user(user).saveMe
&gt; [WARNING]                                                   ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:74:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]       User.find(By(User.nickname, nickName)) match {
&gt; [WARNING]            ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:75:
&gt; error: type mismatch;
&gt; [WARNING]  found   : Any
&gt; [WARNING]  required: org.apache.esme.model.User
&gt; [WARNING]         case Full(u) =&gt; AtName(u)
&gt; [WARNING]                                ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:90:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]       User.find(By(User.nickname, name)) match {
&gt; [WARNING]            ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:91:
&gt; error: type mismatch;
&gt; [WARNING]  found   : Any
&gt; [WARNING]  required: org.apache.esme.model.User
&gt; [WARNING]         case Full(u) =&gt; ResenderName(u)
&gt; [WARNING]                                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:399:
&gt; error: type mismatch;
&gt; [WARNING]  found   : user.id.type (with underlying type object user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]       case ResenderName(user) =&gt; ResentAction(user.id)
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:407:
&gt; error: type mismatch;
&gt; [WARNING]  found   : user.id.type (with underlying type object user.id)
&gt; [WARNING]  required: Long
&gt; [WARNING]       case AtName(user) =&gt; AtUserAction(user.id)
&gt; [WARNING]                                              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:49:
&gt; error: value defaultValue is not a member of object
&gt; org.apache.esme.model.User.id
&gt; [WARNING]   val AnyResender = User.id.defaultValue
&gt; [WARNING]                             ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:80:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.resentBy.type,net.liftweb.common.Empty.type)
&gt; [WARNING]           case AnyResender =&gt; NotBy(Mailbox.resentBy, Empty)
&gt; [WARNING]                               ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:81:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.resentBy.type,Long)
&gt; [WARNING]           case id =&gt; By(Mailbox.resentBy, id)
&gt; [WARNING]                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:83:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.user.type,&lt;error&gt;)
&gt; [WARNING]         List(In(Message.id,Mailbox.message,By(Mailbox.user,
&gt; user), queryParam))
&gt; [WARNING]                                            ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:127:
&gt; error: value following is not a member of Any
&gt; [WARNING]       case Full(u) =&gt; u.following.map(u =&gt;
&gt; (u.id.is.toString, u.nickname.is) )
&gt; [WARNING]                         ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:133:
&gt; error: value id is not a member of Any
&gt; [WARNING]       case Full(u)=&gt; Privilege.findViewablePools(u.id).map(
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala:68:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Tracking.user.type,&lt;error&gt;)
&gt; [WARNING]     Tracking.findAll(By(Tracking.user, user),
&gt; By(Tracking.removed, false),
&gt; [WARNING]                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala:97:
&gt; error: model.Tracking.create.regex(x).user of type object
&gt; org.apache.esme.model.Tracking#user does not take parameters
&gt; [WARNING]         case x =&gt; Tracking.create.regex(x).user(user).saveMe
&gt; [WARNING]                                            ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:58:
&gt; error: value findAll is not a member of object
&gt; org.apache.esme.model.User
&gt; [WARNING]     val users = User.findAll(OrderBy(User.nickname, Ascending))
&gt; [WARNING]                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:76:
&gt; error: value is is not a member of object u.nickname
&gt; [WARNING]     &lt;a href={"/user/" + urlEncode(u.nickname.is
&gt; )}&gt;{u.niceName}&lt;/a&gt;
&gt; [WARNING]                                              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:82:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
&gt; [WARNING]     Message.findAll(By(Message.author, user),
&gt; OrderBy(Message.id, Descending), MaxRows(1)) match {
&gt; [WARNING]                     ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:84:
&gt; error: value getText is not a member of Any
&gt; [WARNING]       case msg :: _ =&gt; (msg.getText,
&gt; dateFormatter.format(msg.getWhen))
&gt; [WARNING]                             ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:84:
&gt; error: value getWhen is not a member of Any
&gt; [WARNING]       case msg :: _ =&gt; (msg.getText,
&gt; dateFormatter.format(msg.getWhen))
&gt; [WARNING]                                                               ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:45:
&gt; error: ap.creator of type object ap.creator does not take parameters
&gt; [WARNING]     ap.creator(User.currentUser)
&gt; [WARNING]        ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:88:
&gt; error: wrong number of arguments for constructor Object:
&gt; ()java.lang.Object
&gt; [WARNING]   object creator extends MappedLongForeignKey(this,User)
&gt; [WARNING]                          ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:90:
&gt; error: wrong number of arguments for constructor Object:
&gt; ()java.lang.Object
&gt; [WARNING]   object modifier extends MappedLongForeignKey(this,User)
&gt; [WARNING]                           ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:43:
&gt; error: type mismatch;
&gt; [WARNING]  found   : in.user.type (with underlying type object in.user)
&gt; [WARNING]  required: Long
&gt; [WARNING]     Distributor ! Distributor.UpdateTrackingFor(in.user,
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:108:
&gt; error: value is is not a member of object m.author
&gt; [WARNING]       (m, u, c, r) =&gt; m.author.is == userId
&gt; [WARNING]                                ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:198:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]         User.find(user) match {
&gt; [WARNING]              ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:206:
&gt; error: type mismatch;
&gt; [WARNING]  found   : Action.this.user.type (with underlying type
&gt; object Action.this.user)
&gt; [WARNING]  required: Long
&gt; [WARNING]                 Some(Distributor.UserCreatedMessage(user,
&gt; m.getText, m.tags, m.when, Empty, m.source, Full(m.replyTo), None))
&gt; [WARNING]                                                     ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:210:
&gt; error: type mismatch;
&gt; [WARNING]  found   : Any
&gt; [WARNING]  required: org.apache.esme.model.User
&gt; [WARNING]               case FetchAtom(_, _) =&gt; new AtomFeed(u,
&gt; url.url, urlSourcePrefix + url.uniqueId, 0, tags)
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:211:
&gt; error: type mismatch;
&gt; [WARNING]  found   : Any
&gt; [WARNING]  required: org.apache.esme.model.User
&gt; [WARNING]               case FetchRss(_, _) =&gt; new RssFeed(u, url.url,
&gt; urlSourcePrefix + url.uniqueId, 0, tags)
&gt; [WARNING]                                                  ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:230:
&gt; error: wrong number of arguments for constructor Object:
&gt; ()java.lang.Object
&gt; [WARNING]   object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                       ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AuthToken.scala:54:
&gt; error: wrong number of arguments for constructor Object:
&gt; ()java.lang.Object
&gt; [WARNING]   object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                       ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:42:
&gt; error: overloaded method value apply with alternatives [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
&gt;
&gt; net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&gt; &lt;and&gt; [O &lt;:
&gt; net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
&gt; (U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
&gt; (org.apache.esme.model.Mailbox.user.type,Long)
&gt; [WARNING]     val mb = findAll(By(user, userId), OrderBy(id, Descending),
&gt; [WARNING]                      ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:68:
&gt; error: wrong number of arguments for constructor Object:
&gt; ()java.lang.Object
&gt; [WARNING]   object user extends MappedLongForeignKey(this, User)
&gt; [WARNING]                       ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:71:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object directlyFrom extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                          ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:71:
&gt; error: wrong number of arguments for constructor Object:
&gt; ()java.lang.Object
&gt; [WARNING]   object directlyFrom extends MappedLongForeignKey(this, User)
&gt; [WARNING]                               ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:73:
&gt; error: wrong number of arguments for constructor Object:
&gt; ()java.lang.Object
&gt; [WARNING]   object resentBy extends MappedLongForeignKey(this, User)
&gt; [WARNING]                           ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:77:
&gt; error: value can is not a member of object Mailbox.this.directlyFrom
&gt; [WARNING]   viaTrack.can.map(TrackReason) or
&gt; directlyFrom.can.map(DirectReason)  or
&gt; [WARNING]                                                 ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:94:
&gt; error: value find is not a member of object org.apache.esme.model.User
&gt; [WARNING]     User.find(fromUserId).map(_.asJs) openOr JsNull
&gt; [WARNING]          ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/MessageTag.scala:42:
&gt; error: type mismatch;
&gt; [WARNING]  found   : org.apache.esme.model.User.type (with underlying
&gt; type object org.apache.esme.model.User)
&gt; [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
&gt; [WARNING]   object sentTo extends MappedLongForeignKey(this, User)
&gt; [WARNING]                                                    ^
&gt; [WARNING]
&gt; /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala:359:
&gt; error: MessageTag.create.message.apply(this).sentTo of type object
&gt; org.apache.esme.model.MessageTag#sentTo does not take parameters
&gt; [WARNING]     MessageTag.create.message(this).sentTo(sentTo).save
&gt; [WARNING]                                     ^
&gt; [WARNING] 196 errors found
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] BUILD FAILURE
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912031236g171a3cd9g82619770e7f372f2@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912031236g171a3cd9g82619770e7f372f2@mail-gmail-com%3e</id>
<updated>2009-12-03T20:36:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Another update ...

If I check out all the way back to revision 885151 I can build fine
and it passes all unit tests. In revision 885333 I get tons of errors
during compilation, mostly having to do with the User.scala file.
(Errors below)

If I move up to to revision 886910 (the current revision), I get the
error I sent originally during test execution, which does appear to
have something to do with the User.scala file and the S. expression.

I'm not understanding how this can run successfully on one person's
system and not another. Scala version perhaps?

Ethan

Revision 885333 errors (during compilation):

[INFO] Compiling 49 source files to
/Users/esjewett/svn_repos/esme/trunk/server/target/classes
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala:40:
error: not found: value view
[WARNING] import view._
[WARNING]        ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala:309:
error: missing parameter type for expanded function ((x0$1) =&gt; x0$1
match {
[WARNING]   case SessionWatcherInfo((sessions @ _)) =&gt; {
[WARNING]     Stats.getCounter("liftSessions").update(sessions.size);
[WARNING]     if (millis.$minus(tenMinutes).$greater(lastTime))
[WARNING]       {
[WARNING]         lastTime = millis;
[WARNING]         val rt = Runtime.getRuntime;
[WARNING]         rt.gc;
[WARNING]         val dateStr: String = timeNow.toString;
[WARNING]         Log.info("[MEMDEBUG] At ".$plus(dateStr).$plus("
Number of open sessions: ").$plus(sessions.size));
[WARNING]         Log.info("[MEMDEBUG] Free Memory:
".$plus(pretty(rt.freeMemory)));
[WARNING]         Log.info("[MEMDEBUG] Total Memory:
".$plus(pretty(rt.totalMemory)))
[WARNING]       }
[WARNING]   }
[WARNING] })
[WARNING]   protected def messageHandler = {
[WARNING]                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/User.scala:45:
error: value view is not a member of package org.apache.esme
[WARNING] import org.apache.esme.view._
[WARNING]                        ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/Distributor.scala:50:
error: value findAll is not a member of object
org.apache.esme.model.User
[WARNING]         User.findAll.map(_.id.is).foreach(findOrCreateUser)
[WARNING]              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala:86:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]       case Some(followerId) =&gt;
User.find(followerId).map[String](_ nickname).openOr("N/A")
[WARNING]                                     ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala:90:
error: overloaded method value replace with alternatives
(java.lang.CharSequence,java.lang.CharSequence)java.lang.String &lt;and&gt;
(Char,Char)java.lang.String cannot be applied to
(java.lang.String,user.nickname.type)
[WARNING]     text.replace("%u", user.nickname).
[WARNING]          ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:230:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object user extends MappedLongForeignKey(this, User)
[WARNING]                                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala:42:
error: type mismatch;
[WARNING]  found   : action.user.type (with underlying type object action.user)
[WARNING]  required: Long
[WARNING]       val regularActor = new SchedulerActor(Distributor,
action.user, everySeconds, RegularReason(id))
[WARNING]                                                                 ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala:226:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object author extends MappedLongForeignKey(this, User) {
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala:88:
error: org.apache.esme.model.Message.create.author of type object
org.apache.esme.model.Message#author does not take parameters
[WARNING]       Message.create.author(user).
[WARNING]                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:94:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]         User.find(userId).
[WARNING]              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:100:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]         User.find(userId).
[WARNING]              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:125:
error: org.apache.esme.model.Message.create.author of type object
org.apache.esme.model.Message#author does not take parameters
[WARNING]         Message.create.author(userId).when(when).
[WARNING]                        ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Tracking.scala:58:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]     object user extends MappedLongForeignKey(this, User)
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:183:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Tracking.user.type,Long)
[WARNING]             tracking = Tracking.findAll(By(Tracking.user, userId),
[WARNING]                                         ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:189:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Action.user.type,Long)
[WARNING]             perform = Action.findAll(By(Action.user, userId),
[WARNING]                                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:68:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object user extends MappedLongForeignKey(this, User)
[WARNING]                                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:52:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.Mailbox.user.type (with
underlying type object org.apache.esme.model.Mailbox.user)
[WARNING]  required: net.liftweb.mapper.IndexItem[?]
[WARNING]   override def dbIndexes = Index(user, message) :: super.dbIndexes
[WARNING]                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:210:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.user.type,Long)
[WARNING]                        By(Mailbox.user, userId)).foreach { m =&gt;
[WARNING]                        ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:235:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.user.type,Long)
[WARNING]                      By(Mailbox.user, userId)).isEmpty) {
[WARNING]                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:246:
error: org.apache.esme.model.Mailbox.create.user of type object
org.apache.esme.model.Mailbox#user does not take parameters
[WARNING]         val mb = Mailbox.create.user(userId).message(msg)
[WARNING]                                 ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:270:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]               User.find(userId).foreach( u =&gt;
[WARNING]                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AuthToken.scala:54:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object user extends MappedLongForeignKey(this, User)
[WARNING]                                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:126:
error: value obj is not a member of object auth.user
[WARNING]         user &lt;- auth.user.obj
[WARNING]                           ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:153:
error: value findAll is not a member of object
org.apache.esme.model.User
[WARNING]   	val users: NodeSeq = for (user &lt;- User.findAll) yield
userToXml(user)
[WARNING]                                                ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:164:
error: type mismatch;
[WARNING]  found   : user.id.type (with underlying type object user.id)
[WARNING]  required: Long
[WARNING]         val lst = Mailbox.mostRecentMessagesFor(user.id, num))
[WARNING]                                                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:230:
error: value is is not a member of object x$8.id
[WARNING]       for (user &lt;- calcUser.map(_.id.is) ?~
S.?("base_rest_api_err_param_not_found", "User");
[WARNING]                                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:207:
error: value findAll is not a member of object
org.apache.esme.model.User
[WARNING]   for (user &lt;- User.findAll) yield user.toXml
[WARNING]                     ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:249:
error: value obj is not a member of object auth.user
[WARNING]          user &lt;- auth.user.obj;
[WARNING]                            ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:284:
error: value can is not a member of object auth.user
[WARNING]          userId &lt;- auth.user.can;
[WARNING]                              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:324:
error: type mismatch;
[WARNING]  found   : user.id.type (with underlying type object user.id)
[WARNING]  required: Long
[WARNING]                val lst = Mailbox.mostRecentMessagesFor(user.id, 40))
[WARNING]                                                             ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:337:
error: type mismatch;
[WARNING]  found   : user.id.type (with underlying type object user.id)
[WARNING]  required: Long
[WARNING]          val lst = Mailbox.mostRecentMessagesFor(user.id,
numMsgs).map(_._1))
[WARNING]                                                       ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:73:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object resentBy extends MappedLongForeignKey(this, User)
[WARNING]                                                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:63:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.resentBy.type,net.liftweb.common.Empty.type)
[WARNING]   val ToMe = NotBy(Mailbox.resentBy, Empty)
[WARNING]              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:68:
error: value obj is not a member of object auth.user
[WARNING]            u &lt;- auth.user.obj
[WARNING]                           ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:140:
error: value is is not a member of object x$3.author
[WARNING]         map(_.author.is).getOrElse(None),
[WARNING]                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:144:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]             User.find(msg.author).get.nickname
[WARNING]                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:165:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
[WARNING]       "statuses_count " -&gt; Message.count(By(Message.author, user))
[WARNING]                                          ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:171:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
[WARNING]     val lastMsg = Message.findAll(By(Message.author, user),
[WARNING]                                   ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:182:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]     val msgUser = User.find(msg.author).get
[WARNING]                        ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:194:
error: type mismatch;
[WARNING]  found   : user.id.type (with underlying type object user.id)
[WARNING]  required: Long
[WARNING]         for ((msg, why, _) &lt;-
Mailbox.mostRecentMessagesFor(user.id, 20))
[WARNING]                                                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:202:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
[WARNING]       Message.findAll(By(Message.author, user),
[WARNING]                       ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:219:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
[WARNING]       Message.findAll(By(Message.author, user),
[WARNING]                       ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:247:
error: org.apache.esme.model.Message.create.author of type object
org.apache.esme.model.Message#author does not take parameters
[WARNING]          msg &lt;- Message.create.author(user.id.is).when(millis).
[WARNING]                                ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:332:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.user.type,org.apache.esme.model.User)
[WARNING]                         By(Mailbox.user, user),
[WARNING]                         ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/external/Feed.scala:50:
error: type mismatch;
[WARNING]  found   : Feed.this.user.id.type (with underlying type
object Feed.this.user.id)
[WARNING]  required: Long
[WARNING]           if (user != null) {user.id} else 0,
[WARNING]                                   ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/external/TwitterFeed.scala:51:
error: type mismatch;
[WARNING]  found   : TwitterFeed.this.user.id.type (with underlying
type object TwitterFeed.this.user.id)
[WARNING]  required: Long
[WARNING]       user.id,
[WARNING]            ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:90:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object modifier extends MappedLongForeignKey(this,User)
[WARNING]                                                     ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:75:
error: this.modifier of type object AccessPool.this.modifier does not
take parameters
[WARNING]       Full(this.modifier(User.currentUser))
[WARNING]                 ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Privilege.scala:96:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object user extends MappedLongForeignKey(this, User)
[WARNING]                                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:84:
error: model.Privilege.create.pool.apply(p.saveMe()).user of type
object org.apache.esme.model.Privilege#user does not take parameters
[WARNING]
Privilege.create.pool(p.saveMe).user(user).permission(Permission.Admin).save
[WARNING]                                               ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:122:
error: value id is not a member of Any
[WARNING]       case Full(u)=&gt; Privilege.findAdminPools(u.id).map(
[WARNING]                                                 ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:180:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]       User.find(uid) match {
[WARNING]            ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:181:
error: value nickname is not a member of Any
[WARNING]         case Full(user) =&gt; &lt;span&gt;{user.nickname}&lt;/span&gt;
[WARNING]                                        ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:88:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object creator extends MappedLongForeignKey(this,User)
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:191:
error: type mismatch;
[WARNING]  found   : ap.creator.type (with underlying type object ap.creator)
[WARNING]  required: Long
[WARNING]         "creator" -&gt; displayUserName(ap.creator),
[WARNING]                                         ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:217:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]                                                    "name" -&gt;
User.find(i.user).map(
[WARNING]                                                                   ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/ActionMgr.scala:78:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Action.user.type,&lt;error&gt;)
[WARNING]     Action.findAll(By(Action.user, user), By(Action.removed, false),
[WARNING]                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/ActionMgr.scala:112:
error: model.Action.create.name.apply(name).user of type object
org.apache.esme.model.Action#user does not take parameters
[WARNING]       val toSave = Action.create.name(name).user(user)
[WARNING]                                             ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AuthMgr.scala:78:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.AuthToken.user.type,&lt;error&gt;)
[WARNING]     AuthToken.findAll(By(AuthToken.user, user),
[WARNING]                       ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AuthMgr.scala:107:
error: model.AuthToken.create.description.apply(x).user of type object
org.apache.esme.model.AuthToken#user does not take parameters
[WARNING]         case x =&gt; AuthToken.create.description(x).user(user).saveMe
[WARNING]                                                   ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:74:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]       User.find(By(User.nickname, nickName)) match {
[WARNING]            ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:75:
error: type mismatch;
[WARNING]  found   : Any
[WARNING]  required: org.apache.esme.model.User
[WARNING]         case Full(u) =&gt; AtName(u)
[WARNING]                                ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:90:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]       User.find(By(User.nickname, name)) match {
[WARNING]            ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:91:
error: type mismatch;
[WARNING]  found   : Any
[WARNING]  required: org.apache.esme.model.User
[WARNING]         case Full(u) =&gt; ResenderName(u)
[WARNING]                                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:399:
error: type mismatch;
[WARNING]  found   : user.id.type (with underlying type object user.id)
[WARNING]  required: Long
[WARNING]       case ResenderName(user) =&gt; ResentAction(user.id)
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:407:
error: type mismatch;
[WARNING]  found   : user.id.type (with underlying type object user.id)
[WARNING]  required: Long
[WARNING]       case AtName(user) =&gt; AtUserAction(user.id)
[WARNING]                                              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:49:
error: value defaultValue is not a member of object
org.apache.esme.model.User.id
[WARNING]   val AnyResender = User.id.defaultValue
[WARNING]                             ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:80:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.resentBy.type,net.liftweb.common.Empty.type)
[WARNING]           case AnyResender =&gt; NotBy(Mailbox.resentBy, Empty)
[WARNING]                               ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:81:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.resentBy.type,Long)
[WARNING]           case id =&gt; By(Mailbox.resentBy, id)
[WARNING]                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:83:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.user.type,&lt;error&gt;)
[WARNING]         List(In(Message.id,Mailbox.message,By(Mailbox.user,
user), queryParam))
[WARNING]                                            ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:127:
error: value following is not a member of Any
[WARNING]       case Full(u) =&gt; u.following.map(u =&gt;
(u.id.is.toString, u.nickname.is) )
[WARNING]                         ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:133:
error: value id is not a member of Any
[WARNING]       case Full(u)=&gt; Privilege.findViewablePools(u.id).map(
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala:68:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Tracking.user.type,&lt;error&gt;)
[WARNING]     Tracking.findAll(By(Tracking.user, user),
By(Tracking.removed, false),
[WARNING]                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala:97:
error: model.Tracking.create.regex(x).user of type object
org.apache.esme.model.Tracking#user does not take parameters
[WARNING]         case x =&gt; Tracking.create.regex(x).user(user).saveMe
[WARNING]                                            ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:58:
error: value findAll is not a member of object
org.apache.esme.model.User
[WARNING]     val users = User.findAll(OrderBy(User.nickname, Ascending))
[WARNING]                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:76:
error: value is is not a member of object u.nickname
[WARNING]     &lt;a href={"/user/" + urlEncode(u.nickname.is)}&gt;{u.niceName}&lt;/a&gt;
[WARNING]                                              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:82:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
[WARNING]     Message.findAll(By(Message.author, user),
OrderBy(Message.id, Descending), MaxRows(1)) match {
[WARNING]                     ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:84:
error: value getText is not a member of Any
[WARNING]       case msg :: _ =&gt; (msg.getText,
dateFormatter.format(msg.getWhen))
[WARNING]                             ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:84:
error: value getWhen is not a member of Any
[WARNING]       case msg :: _ =&gt; (msg.getText,
dateFormatter.format(msg.getWhen))
[WARNING]                                                               ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:45:
error: ap.creator of type object ap.creator does not take parameters
[WARNING]     ap.creator(User.currentUser)
[WARNING]        ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:88:
error: wrong number of arguments for constructor Object:
()java.lang.Object
[WARNING]   object creator extends MappedLongForeignKey(this,User)
[WARNING]                          ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:90:
error: wrong number of arguments for constructor Object:
()java.lang.Object
[WARNING]   object modifier extends MappedLongForeignKey(this,User)
[WARNING]                           ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:43:
error: type mismatch;
[WARNING]  found   : in.user.type (with underlying type object in.user)
[WARNING]  required: Long
[WARNING]     Distributor ! Distributor.UpdateTrackingFor(in.user,
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:108:
error: value is is not a member of object m.author
[WARNING]       (m, u, c, r) =&gt; m.author.is == userId
[WARNING]                                ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:198:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]         User.find(user) match {
[WARNING]              ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:206:
error: type mismatch;
[WARNING]  found   : Action.this.user.type (with underlying type
object Action.this.user)
[WARNING]  required: Long
[WARNING]                 Some(Distributor.UserCreatedMessage(user,
m.getText, m.tags, m.when, Empty, m.source, Full(m.replyTo), None))
[WARNING]                                                     ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:210:
error: type mismatch;
[WARNING]  found   : Any
[WARNING]  required: org.apache.esme.model.User
[WARNING]               case FetchAtom(_, _) =&gt; new AtomFeed(u,
url.url, urlSourcePrefix + url.uniqueId, 0, tags)
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:211:
error: type mismatch;
[WARNING]  found   : Any
[WARNING]  required: org.apache.esme.model.User
[WARNING]               case FetchRss(_, _) =&gt; new RssFeed(u, url.url,
urlSourcePrefix + url.uniqueId, 0, tags)
[WARNING]                                                  ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:230:
error: wrong number of arguments for constructor Object:
()java.lang.Object
[WARNING]   object user extends MappedLongForeignKey(this, User)
[WARNING]                       ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AuthToken.scala:54:
error: wrong number of arguments for constructor Object:
()java.lang.Object
[WARNING]   object user extends MappedLongForeignKey(this, User)
[WARNING]                       ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:42:
error: overloaded method value apply with alternatives [O &lt;:
net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,Q &lt;:
net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
&lt;and&gt; [O &lt;: net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
(U) =&gt; T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
(org.apache.esme.model.Mailbox.user.type,Long)
[WARNING]     val mb = findAll(By(user, userId), OrderBy(id, Descending),
[WARNING]                      ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:68:
error: wrong number of arguments for constructor Object:
()java.lang.Object
[WARNING]   object user extends MappedLongForeignKey(this, User)
[WARNING]                       ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:71:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object directlyFrom extends MappedLongForeignKey(this, User)
[WARNING]                                                          ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:71:
error: wrong number of arguments for constructor Object:
()java.lang.Object
[WARNING]   object directlyFrom extends MappedLongForeignKey(this, User)
[WARNING]                               ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:73:
error: wrong number of arguments for constructor Object:
()java.lang.Object
[WARNING]   object resentBy extends MappedLongForeignKey(this, User)
[WARNING]                           ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:77:
error: value can is not a member of object Mailbox.this.directlyFrom
[WARNING]   viaTrack.can.map(TrackReason) or
directlyFrom.can.map(DirectReason)  or
[WARNING]                                                 ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:94:
error: value find is not a member of object org.apache.esme.model.User
[WARNING]     User.find(fromUserId).map(_.asJs) openOr JsNull
[WARNING]          ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/MessageTag.scala:42:
error: type mismatch;
[WARNING]  found   : org.apache.esme.model.User.type (with underlying
type object org.apache.esme.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
[WARNING]   object sentTo extends MappedLongForeignKey(this, User)
[WARNING]                                                    ^
[WARNING] /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala:359:
error: MessageTag.create.message.apply(this).sentTo of type object
org.apache.esme.model.MessageTag#sentTo does not take parameters
[WARNING]     MessageTag.create.message(this).sentTo(sentTo).save
[WARNING]                                     ^
[WARNING] 196 errors found
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>Ethan Jewett &lt;esjewett@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3c68f4a0e80912031159n34f30c41ic544a1ba6d3933b1@mail.gmail.com%3e"/>
<id>urn:uuid:%3c68f4a0e80912031159n34f30c41ic544a1ba6d3933b1@mail-gmail-com%3e</id>
<updated>2009-12-03T19:59:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Ah, I see. I was looking in the wrong part of the stack trace for the
error.  In any case, David pointed me towards the fact that my system
might be the issue. So I rebooted but I'm getting the same error:

"Caused by: java.lang.IllegalStateException: Attempted to use resource
bundles outside of an initialized S scope. S only usable when
initialized, such as during request processing. Did you call S.? from
Boot?"

I'll try backing up to an old revision and seeing if it works any
better for me. Not sure why it would work in some systems and not in
others...

Ethan

On Thu, Dec 3, 2009 at 2:27 PM, David Pollak
&lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; I just built with an anonymous user on a machine with no Postgres or
&gt; anything else.  "mvn clean test install" worked like a charm.  Are you
&gt; running another Maven command?
&gt;
&gt; On Thu, Dec 3, 2009 at 11:21 AM, Richard Hirsch &lt;hirsch.dick@gmail.com&gt;wrote:
&gt;
&gt;&gt; Sorry. I just checked the last Hudosn build (  ) and the exception is
&gt;&gt; different. It is the one we've had for a while.
&gt;&gt;
&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt;&gt; java.lang.ExceptionInInitializerError
&gt;&gt;        at
&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt; Method)
&gt;&gt;        at
&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;&gt;        at
&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;&gt;        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;&gt;        at
&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;&gt;        at org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;        at
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;        at
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;&gt;        at
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt;&gt; Caused by: java.lang.NullPointerException: Looking for Connection
&gt;&gt; Identifier ConnectionIdentifier(lift) but failed to find either a JNDI
&gt;&gt; data source with the name lift or a lift connection manager with the
&gt;&gt; correct name
&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.DB$$anonfun$3$$anonfun$apply$8.apply(DB.scala:102)
&gt;&gt;
&gt;&gt; Still Ethan is correct in saying that this other exception occures in
&gt;&gt; the build process. One reason may the use of S.? in the  User.scala
&gt;&gt; file. This was a change that I recently made.
&gt;&gt;
&gt;&gt;     at
&gt;&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;&gt;
&gt;&gt; D.
&gt;&gt;
&gt;&gt; On Thu, Dec 3, 2009 at 7:52 PM, Richard Hirsch &lt;hirsch.dick@gmail.com&gt;
&gt;&gt; wrote:
&gt;&gt; &gt; I had the same problem yesterday. Don't know where it came from -
&gt;&gt; &gt; since I didn't change the test files. I agree with Ethan that it is
&gt;&gt; &gt; the same problem in Hudson. I'd like to get it solved, because then we
&gt;&gt; &gt; can follow the tests in a "clean" environment that Hudson represents.
&gt;&gt; &gt;
&gt;&gt; &gt; D.
&gt;&gt; &gt;
&gt;&gt; &gt; On Thu, Dec 3, 2009 at 7:18 PM, David Pollak
&gt;&gt; &gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt;&gt; &gt;&gt; I just pulled the latest sources and did a build.  All works just fine.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Do you have something else running on port 8989?
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt;&gt; wrote:
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;&gt; Hi all,
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean test" in
&gt;&gt; &gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone confirm?
&gt;&gt; &gt;&gt;&gt; We can then identify what check-in broke the build and fix it.
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; Failure is below, which seems to match the failure occurring in Hudson.
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; Thanks,
&gt;&gt; &gt;&gt;&gt; Ethan
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt;&gt; &gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt;&gt; &gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt;&gt; &gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;&gt; &gt;&gt;&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt; &gt;&gt;&gt; Method)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;&gt; &gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;&gt; &gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt; &gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt;&gt; &gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use resource
&gt;&gt; &gt;&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt;&gt; &gt;&gt;&gt; initialized, such as during request processing. Did you call S.? from
&gt;&gt; &gt;&gt;&gt; Boot?
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt;&gt; &gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt;&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt;&gt; &gt;&gt;&gt;        at org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt;&gt; &gt;&gt;&gt;        at
&gt;&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt;&gt; &gt;&gt;&gt;        ... 19 more
&gt;&gt; &gt;&gt;&gt; [ERROR] There are test failures.
&gt;&gt; &gt;&gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; --
&gt;&gt; &gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt;&gt; &gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt;&gt; &gt;&gt; Follow me: http://twitter.com/dpp
&gt;&gt; &gt;&gt; Surf the harmonics
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;
&gt;&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Lift, the simply functional web framework http://liftweb.net
&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; Follow me: http://twitter.com/dpp
&gt; Surf the harmonics
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tests failing to run with &quot;mvn clean test&quot; - trunk/server	revision 886861</title>
<author><name>David Pollak &lt;feeder.of.the.bears@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/200912.mbox/%3ccdbebedf0912031127t3f307f76u1d97f50ad5400817@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccdbebedf0912031127t3f307f76u1d97f50ad5400817@mail-gmail-com%3e</id>
<updated>2009-12-03T19:27:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I just built with an anonymous user on a machine with no Postgres or
anything else.  "mvn clean test install" worked like a charm.  Are you
running another Maven command?

On Thu, Dec 3, 2009 at 11:21 AM, Richard Hirsch &lt;hirsch.dick@gmail.com&gt;wrote:

&gt; Sorry. I just checked the last Hudosn build (  ) and the exception is
&gt; different. It is the one we've had for a while.
&gt;
&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt; java.lang.ExceptionInInitializerError
&gt;        at
&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt; Method)
&gt;        at
&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt;        at
&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt;        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt;        at
&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt;        at org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt;        at
&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt;        at
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt;        at
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;        at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;        at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;        at
&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt;        at
&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt; Caused by: java.lang.NullPointerException: Looking for Connection
&gt; Identifier ConnectionIdentifier(lift) but failed to find either a JNDI
&gt; data source with the name lift or a lift connection manager with the
&gt; correct name
&gt;        at
&gt; net.liftweb.mapper.DB$$anonfun$3$$anonfun$apply$8.apply(DB.scala:102)
&gt;
&gt; Still Ethan is correct in saying that this other exception occures in
&gt; the build process. One reason may the use of S.? in the  User.scala
&gt; file. This was a change that I recently made.
&gt;
&gt;     at
&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt;
&gt; D.
&gt;
&gt; On Thu, Dec 3, 2009 at 7:52 PM, Richard Hirsch &lt;hirsch.dick@gmail.com&gt;
&gt; wrote:
&gt; &gt; I had the same problem yesterday. Don't know where it came from -
&gt; &gt; since I didn't change the test files. I agree with Ethan that it is
&gt; &gt; the same problem in Hudson. I'd like to get it solved, because then we
&gt; &gt; can follow the tests in a "clean" environment that Hudson represents.
&gt; &gt;
&gt; &gt; D.
&gt; &gt;
&gt; &gt; On Thu, Dec 3, 2009 at 7:18 PM, David Pollak
&gt; &gt; &lt;feeder.of.the.bears@gmail.com&gt; wrote:
&gt; &gt;&gt; I just pulled the latest sources and did a build.  All works just fine.
&gt; &gt;&gt;
&gt; &gt;&gt; Do you have something else running on port 8989?
&gt; &gt;&gt;
&gt; &gt;&gt; On Thu, Dec 3, 2009 at 9:49 AM, Ethan Jewett &lt;esjewett@gmail.com&gt;
&gt; wrote:
&gt; &gt;&gt;
&gt; &gt;&gt;&gt; Hi all,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Currently tests are failing to run for me with a "mvn clean test" in
&gt; &gt;&gt;&gt; the trunk server on the latest revision (886861). Can someone confirm?
&gt; &gt;&gt;&gt; We can then identify what check-in broke the build and fix it.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Failure is below, which seems to match the failure occurring in Hudson.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Thanks,
&gt; &gt;&gt;&gt; Ethan
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; 2009-12-03 12:45:51.137:INFO::Started SocketConnector@0.0.0.0:8989
&gt; &gt;&gt;&gt; org.apache.maven.surefire.booter.SurefireExecutionException: null;
&gt; &gt;&gt;&gt; nested exception is java.lang.ExceptionInInitializerError: null
&gt; &gt;&gt;&gt; java.lang.ExceptionInInitializerError
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; org.apache.esme.lib.MsgParserSpecsAsTest.&lt;init&gt;(MsgParseTest.scala:45)
&gt; &gt;&gt;&gt;        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt; &gt;&gt;&gt; Method)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&gt; &gt;&gt;&gt;        at
&gt; java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance0(Class.java:355)
&gt; &gt;&gt;&gt;        at java.lang.Class.newInstance(Class.java:308)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
&gt; &gt;&gt;&gt;        at
&gt; org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
&gt; &gt;&gt;&gt;        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
&gt; &gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; &gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
&gt; &gt;&gt;&gt; Caused by: java.lang.IllegalStateException: Attempted to use resource
&gt; &gt;&gt;&gt; bundles outside of an initialized S scope. S only usable when
&gt; &gt;&gt;&gt; initialized, such as during request processing. Did you call S.? from
&gt; &gt;&gt;&gt; Boot?
&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.resourceBundles(S.scala:611)
&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:637)
&gt; &gt;&gt;&gt;        at net.liftweb.http.S$.$qmark(S.scala:655)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; org.apache.esme.model.User$.org$apache$esme$model$User$$profileChanged(User.scala:64)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$$anonfun$1.apply(User.scala:50)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt;
&gt; net.liftweb.mapper.MetaMapper$$anonfun$eachField$2.apply(MetaMapper.scala:1177)
&gt; &gt;&gt;&gt;        at scala.List.foreach(List.scala:841)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$class.eachField(MetaMapper.scala:1177)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.MetaMapper$class.net
&gt; &gt;&gt;&gt; $liftweb$mapper$MetaMapper$$_afterSave(MetaMapper.scala:1190)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:706)
&gt; &gt;&gt;&gt;        at
&gt; &gt;&gt;&gt; net.liftweb.mapper.MetaMapper$$anonfun$15.apply(MetaMapper.scala:643)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$$anonfun$use$1.apply(DB.scala:424)
&gt; &gt;&gt;&gt;        at net.liftweb.util.DynoVar$class.run(ThreadGlobal.scala:91)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$currentConn$.run(DB.scala:411)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.DB$.use(DB.scala:421)
&gt; &gt;&gt;&gt;        at
&gt; net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:642)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User$.save(User.scala:49)
&gt; &gt;&gt;&gt;        at
&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt; &gt;&gt;&gt;        at
&gt; net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:88)
&gt; &gt;&gt;&gt;        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:67)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:54)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.runSafe(User.scala:181)
&gt; &gt;&gt;&gt;        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:87)
&gt; &gt;&gt;&gt;        at org.apache.esme.model.User.save(User.scala:181)
&gt; &gt;&gt;&gt;        at org.apache.esme.JettyTestServer$.start(JettySetup.scala:65)
&gt; &gt;&gt;&gt;        at
&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;init&gt;(MsgParseTest.scala:49)
&gt; &gt;&gt;&gt;        at
&gt; org.apache.esme.lib.MsgParserSpecs$.&lt;clinit&gt;(MsgParseTest.scala)
&gt; &gt;&gt;&gt;        ... 19 more
&gt; &gt;&gt;&gt; [ERROR] There are test failures.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; --
&gt; &gt;&gt; Lift, the simply functional web framework http://liftweb.net
&gt; &gt;&gt; Beginning Scala http://www.apress.com/book/view/1430219890
&gt; &gt;&gt; Follow me: http://twitter.com/dpp
&gt; &gt;&gt; Surf the harmonics
&gt; &gt;&gt;
&gt; &gt;
&gt;



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics


</pre>
</div>
</content>
</entry>
</feed>
