Announcement Announcement Module
Collapse
No announcement yet.
Reverse Engineering with MySQL Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reverse Engineering with MySQL

    Hi;
    I'm trying to do Reverse Engineering with a MySQL Database, but after run the
    Reverse Engineering script I get the error related with the MySQl driver Installed,
    then I run the script addon install id --searchResultId 01 and I get the following
    messages:

    roo> Target resource(s):
    -------------------
    Spring Roo - Wrapping - mysql-connector-java (5.1.17.0020)

    Required resource(s):
    ---------------------
    slf4j-api (1.6.1)
    slf4j-nop (1.6.1)

    Deploying...done.

    But when I re-execute the database reverse engineering script I get the same error as before.
    I'm using the STS with eclipse Helios with 1.1.5.RELEASE [rev d3a68c3].

    Any suggestion will be appreciated .

  • #2
    I tried the following:


    osgi start --url http://s3browse.springsource.com/bro....1.17.0020.jar

    And I get the following error:
    java.util.zip.ZipException: error in opening zip file
    Bundle ID http://s3browse.springsource.com/bro....1.17.0020.jar is invalid.

    Comment


    • #3
      Just tried installing the driver and it works ok:

      Code:
      roo> addon install id --searchResultId 1
      Target resource(s):
      -------------------
         Spring Roo - Wrapping - mysql-connector-java (5.1.17.0020)
      
      Deploying...done.
      
      Successfully installed add-on: Spring Roo - Wrapping - mysql-connector-java [version: 5.1.17.0020]
      [Hint] Please consider rating this add-on with the following command:
      [Hint] addon feedback bundle --bundleSymbolicName org.springframework.roo.wrapping.mysql-connector-java --rating ... --comment "..."

      Comment


      • #4
        Hi Alan;
        I tried yours advice but we still have an error:

        addon install id --searchResultId 1
        To install an addon a valid bundle ID is required
        Thanks

        Comment


        • #5
          I presumed you had a bundle ID presented to you first. Otherwise you should try with the bundle symbol name:
          Code:
          addon install bundle --bundleSymbolicName org.springframework.roo.wrapping.mysql-connector-java

          Comment

          Working...
          X