Results 1 to 5 of 5

Thread: Reverse Engineering with MySQL

  1. #1
    Join Date
    Aug 2011
    Posts
    3

    Default 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. #2
    Join Date
    Aug 2011
    Posts
    3

    Default

    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.

  3. #3
    Join Date
    Dec 2005
    Posts
    929

    Default

    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 "..."
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  4. #4
    Join Date
    Aug 2011
    Posts
    3

    Default

    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

  5. #5
    Join Date
    Dec 2005
    Posts
    929

    Default

    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
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •