Re: Entity modeler's SQL generation doesn't work with NSJarBundle Frameworks

From: Greg Brown (gsbrow..mich.edu)
Date: Fri Mar 27 2009 - 16:47:20 EDT

  • Next message: David LeBer: "Wonder D2W Templates"

    Bug still there; I must have made a mistake ( working on two
    systems), I just updated Eclipse 3.4+

    Eclipse 3.4
         http://webobjects.mdimension.com/wolips/nightly
         http://download.eclipse.org/tools/mylyn/update/e3.4
         http://download.eclipse.org/tools/mylyn/update/extras
         http://subclipse.tigris.org/update_1.4.x
          http://m2eclipse.sonatype.org/update/
         http://findbugs.cs.umd.edu/eclipse
         http://beust.com/eclipse

    And it is still there. It says:

    java.lang.IllegalArgumentException: Unable to read either 'jar:file:/
    Volumes/OS9User/gbrown/.m2/repository/wonder/core/ERPrototypes/5.0.0-
    SNAPSHOT/ERPrototypes-5.0.0-SNAPSHOT.jar!/Resources/
    erprototypes.eomodeld//index.eomodeld' or 'jar:file:/Volumes/OS9User/
    gbrown/.m2/repository/wonder/core/ERPrototypes/5.0.0-SNAPSHOT/
    ERPrototypes-5.0.0-SNAPSHOT.jar!/Resources/erprototypes.eomodeld//
    eomodel.plist
            at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:800)
            at com.webobjects.eoaccess.EOModelGroup.addModelWithPathURL
    (EOModelGroup.java:498)
            at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator.<init>
    (EOFSQLGenerator.java:121)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance
    (NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
    (DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            at
    org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.sqlGene
    rator(EOFSQLGeneratorFactory.java:36)
            at
    org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql
    (GenerateSQLDialog.java:297)
            at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run
    (GenerateSQLDialog.java:279)
            at java.lang.Thread.run(Thread.java:613)

    And, of coarse it works if I add the ERPrototypes framework directory
    to the classpath, or just pet the fluffy bunny.

    On Mar 26, 2009, at 5:05 PM, Mr. G Brown wrote:

    > I switched from 3.4.5700 to 3.4.5708 nightly; it seems to work now.
    >
    > How stable is nightly? how far behind is stable?
    >
    > Well, at least with nightly, I may find new bugs, as opposed to
    > ones everybody knows about.
    >
    > On Mar 26, 2009, at 1:52 PM, Mike Schrag wrote:
    >
    >>>>> Summary: It seems like something is having a hard time reading
    >>>>> the NSJarBundle ERPrototype when it goes to generate SQL.
    >>>
    >>> I am stuck on an older stable, as I can't upgrade, when I try I
    >>> get the below mess, maybe I should try nightly, (what could go
    >>> wrong?) :
    >> "older stable" = lots can go wrong ... if you're on an old stable
    >> and don't have the new classpath stuff, then you're in for a bit
    >> of a conversion ride.
    >>
    >> ms
    >>
    >
    >
    > Mr. G Brown
    > gsbrow..mich.edu
    >
    >
    >

    Greg Brown
    gsbrow..mich.edu



    This archive was generated by hypermail 2.0.0 : Fri Mar 27 2009 - 16:48:51 EDT