Re: ROP project restructuring suggestion [Was: ROP server side exception]

From: Marcel (emmpeege..mail.com)
Date: Sat Jul 22 2006 - 23:54:17 EDT

  • Next message: Kevin Duffey: "Re: CayenneModeler plugin environment"

    Ok I'll get on to that. Nice work tracking that bug down.

    Marcel

    Andrus Adamchik wrote:
    > Marcel,
    >
    > May I suggest a few ideas regarding the project structure. This will
    > make the entire thing cleaner, separating client and server code, and
    > will also make it possible to run (and debug!) the server straight
    > from Eclipse using JettyLauncher plugin without having to deploy to
    > Tomcat.
    >
    > * create a separate Eclipse project called "rop-browser-server" that
    > depends on "rop-browser"
    > * move server classes to the server project and remove "excludes" from
    > the client src folder
    > * move the server jars to the server project
    > * in the server project create a folder that mimics the structure of a
    > deployed web application, e.g. "webapp/WEB-INF"
    > * move "web.xml" to WEB-INF.
    >
    > You may have noticed that I am suggesting the structure used in
    > 3t-example project :-) I had to do something like that locally to
    > trace that Hessian bug.
    >
    > Andrus
    >
    >
    > On Jul 22, 2006, at 11:19 PM, Andrus Adamchik wrote:
    >
    >> This is a Hessian bug. It converts Floats into Doubles. I am not sure
    >> why you haven't seen it before though. For now I suggest remapping
    >> the price as Double, and in the meantime I'll work on a generic
    >> solution.
    >>
    >> Andrus
    >>
    >>
    >>
    >> On Jul 22, 2006, at 10:21 PM, Andrus Adamchik wrote:
    >>
    >>> Now I can reproduce it. Let me investigate.
    >>>
    >>>
    >>> On Jul 22, 2006, at 10:18 PM, Marcel wrote:
    >>>
    >>>> My instructions weren't quite right. I don't get the exception when
    >>>> I run the same query again in the same instance, but if I relaunch
    >>>> the viewer and run the query I get the exception. Could you try the
    >>>> steps below again, except instead of just closing the diagram close
    >>>> the instance of Eclipse?
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Sat Jul 22 2006 - 23:54:47 EDT