Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Spring Roo Community Add-Ons

  1. #11
    Join Date
    Feb 2012
    Posts
    8

    Default

    Cullie, you might get more response if you

    a) publish this in the general forum (this thread is for announcing new add ons).
    b) Give people access to your source project folder so they can look at it.

  2. #12
    Join Date
    Apr 2012
    Posts
    3

    Default

    Hi there,

    just a quick note to tell you that I just release a "taggable" addon for Roo.

    It enable your domain objects to be marked with tags and add the following methods :

    void addTag(String tag);
    Set<String> getTags();
    List<Domain> findAllDomainsWithTag(String tag);


    You can check it at https://github.com/lbroudoux/spring-roo-addon-taggable

    By the way, is there any documentation explaining how to release an addon using GitHub ?
    (just like http://static.springsource.org/sprin...le-addons.html but
    using GitHub in place of Google code ?)

    Thanks,

  3. #13
    Join Date
    Jun 2008
    Location
    Philadelphia, PA, USA
    Posts
    212

    Default

    The OSGi part of Roo is sometimes difficult to work through. I believe your problem is only solved by creating a Roo wrapper add-on for your commons-io jar, or seeing if commons-io is already OSGi ready (see if the project v. 2.1 contains any OSGi info in the META-INF/MANIFEST.MF file). That would mean that your project requires another add-on to function properly.

    For another take, DBRE add-on requires the shell (i.e. user) to install a JDBC provider JAR, and if your Roo shell really needs commons-io then you have to install it yourself.

    Do you really need commons-io? What feature are you using of it? Keep in mind that Roo add-ons should be writing files transactionally using the FileManager bean (for regular files), the ProjectManager (for pom items). For example, to DbreOperationsImpl's use of the FileManager to completely write a file once the XML has been built:

    // Write out the updated POM
    fileManager.createOrUpdateTextFileIfRequired(pom,
    XmlUtils.nodeToString(document), false);



    The reason the base Roo add-ons work is that any of the operations that need external libraries have those libraries included in the pom configuration of Roo itself, or generate code and pom.xml elements / dependencies that make it possible for the installed code to run, but don't require a third-party library to do the install itself in the shell add-on. If you follow those rules you should be OK. Otherwise you'll have to provide information in the add-on documentation to inform the user of your third party JAR requirement.
    Ken Rimple
    Chariot Solutions
    email: krimple@chariotsolutions.com
    work: www.chariotsolutions.com/education
    personal: www.rimple.com

    Author: Spring Roo in Action (Manning)
    MEAP Site: manning.com/rimple

  4. #14
    Join Date
    Aug 2012
    Posts
    2

    Default

    Good morning,

    I am working with spring roo version "spring-roo-1.1.5.RELEASE" and version "spring-roo-1.2.2.RELEASE".

    We have a problem when we do reverse engeneering in our project, the first time we do it everything is ok,
    but after changing the DB, if we make reengineering then *Roo_Configurable aspects of the entities and primary keys are modified with the identifier 'id', for example:

    Originally:
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "COD_PERFINV")
    private BigDecimal Turhejsd.codPerfinv;

    and after we do reverse engineering:
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private Long Turhejsd.id;

    We think it is a ROO problem so we would like you to give us some tips to solve it
    Thank you very much. Best regards.

  5. #15
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    162

    Default

    Quote Originally Posted by msaornil View Post
    We have a problem when we do reverse engeneering in our project, the first time we do it everything is ok,
    but after changing the DB, if we make reengineering then *Roo_Configurable aspects of the entities and primary keys are modified with the identifier 'id'.
    Create an issue at https://jira.springsource.org/browse/ROO
    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

  6. #16
    Join Date
    Sep 2012
    Posts
    2

    Default

    I am trying to run the following command :
    database reverse engineer --package ~.model --schema PUBLIC and I get the following error:
    Spring Roo automatic add-on discovery service currently unavailable
    JDBC driver not available for 'org.apache.derby.jdbc.EmbeddedDriver'

    I have a problem here as the solutions I found out online were not working.
    Solution: download status
    download accept terms of use
    I do get a "DOWNLOAD CONSENT GRANTED" when I try to run download status.

    What Am I doing wrong. How do I enable the service? Please help.

  7. #17
    Join Date
    Jun 2008
    Location
    Philadelphia, PA, USA
    Posts
    212

    Default

    Try this now. The repository was unavailable and they have restored it. You can install the derby driver in your OSGi shell via this mechanism:

    Code:
    roo> addon search derby
    2 found, sorted by rank; T = trusted developer; R = Roo 1.2 compatible
    ID T R DESCRIPTION -------------------------------------------------------------
    01 Y Y 10.8.2.2_0001 Derby Client #jdbcdriver
           driverclass:org.apache.derby.jdbc.ClientDriver. This bundle wraps the...
    02 Y Y 10.8.2.2_0001 Derby #jdbcdriver
           driverclass:org.apache.derby.jdbc.EmbeddedDriver. This bundle wraps...
    
    roo> addon install id --searchResultId 02
    
    roo> database reverse...

    Quote Originally Posted by gln842003 View Post
    I am trying to run the following command :
    database reverse engineer --package ~.model --schema PUBLIC and I get the following error:
    Spring Roo automatic add-on discovery service currently unavailable
    JDBC driver not available for 'org.apache.derby.jdbc.EmbeddedDriver'

    I have a problem here as the solutions I found out online were not working.
    Solution: download status
    download accept terms of use
    I do get a "DOWNLOAD CONSENT GRANTED" when I try to run download status.

    What Am I doing wrong. How do I enable the service? Please help.
    Ken Rimple
    Chariot Solutions
    email: krimple@chariotsolutions.com
    work: www.chariotsolutions.com/education
    personal: www.rimple.com

    Author: Spring Roo in Action (Manning)
    MEAP Site: manning.com/rimple

  8. #18
    Join Date
    Sep 2012
    Posts
    2

    Unhappy It did not work

    Hi, Thanks a lot for your reply. I tried your solution. Please not output from ROO editor as below.
    The install was successful. After installation I ran the same command. But am still getting the same error. May be the downloaded addon is not installed properly. Is there a way I can check what are the installed addons ?

    I really appreciate your help... .

    Code:
      ____  ____  ____  
       / __ \/ __ \/ __ \ 
      / /_/ / / / / / / / 
     / _, _/ /_/ / /_/ /  
    /_/ |_|\____/\____/    1.2.2.RELEASE [rev 7d75659]
    
    
    Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER.
    roo> 
    required --database: The database to support; no default value
    
    required --provider: The persistence provider to support; no default value
    roo> persistence setup --database DERBY_EMBEDDED --provider HIBERNATE
    roo> 
    roo> 
    roo> database properties list 
    database.driverClassName = org.apache.derby.jdbc.EmbeddedDriver
    database.password = 
    database.url = jdbc:derby:MyDbTest;create=true
    database.username = 
    roo>database reverse engineer --package ~.domain --schema PUBLIC
    Located add-on that may offer this JDBC driver
    1 found, sorted by rank; T = trusted developer; R = Roo 1.2 compatible
    ID T R DESCRIPTION -------------------------------------------------------------
    01 Y Y 10.8.2.2_0001 Derby #jdbcdriver...
    --------------------------------------------------------------------------------
    [HINT] use 'addon info id --searchResultId ..' to see details about a search result
    [HINT] use 'addon install id --searchResultId ..' to install a specific search result, or
    [HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version
    JDBC driver not available for 'org.apache.derby.jdbc.EmbeddedDriver'
    roo> download status   
    
                   **** DOWNLOAD CONSENT GRANTED ****
    
    You have previously accepted the Spring User Agent Analysis (UAA) Terms of Use
    as displayed at http://www.springsource.org/uaa/terms_of_use. There is also a
    FAQ available at http://www.springsource.org/uaa/faq.
    
    This means that all Spring Roo download functions are enabled. All applicable
    add-on discovery and installation commands are fully enabled.
    
    If you'd like to change your mind and revoke your acceptance of the UAA Terms
    of Use (and in turn disable Spring Roo features such as add-on support), you
    may do so by typing 'download reject terms of use' and pressing ENTER.
    
    If you'd like to keep UAA enabled (and thus all Spring Roo features enabled)
    but look at the exact data Spring UAA is sending, please type 'download view'
    and press ENTER. You can also fine-tune the level of data that Spring UAA is
    sending using the 'download privacy level' command.
    
    Questions on Spring UAA? Please ask us on the Spring Roo Community Forum at
    http://forum.springsource.org/forumdisplay.php?f=67. We're happy to help.
    
    roo>addon search derby
    2 found, sorted by rank; T = trusted developer; R = Roo 1.2 compatible
    ID T R DESCRIPTION -------------------------------------------------------------
    01 Y Y 10.8.2.2_0001 Derby Client #jdbcdriver
           driverclass:org.apache.derby.jdbc.ClientDriver. This bundle wraps the...
    02 Y Y 10.8.2.2_0001 Derby #jdbcdriver
           driverclass:org.apache.derby.jdbc.EmbeddedDriver. This bundle wraps...
    --------------------------------------------------------------------------------
    [HINT] use 'addon info id --searchResultId ..' to see details about a search result
    [HINT] use 'addon install id --searchResultId ..' to install a specific search result, or
    [HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version
    roo> addon install id --searchResultId 02
    roo> Target resource(s):
    -------------------
       Spring Roo - Wrapping - derby (10.8.2.2_0001)
    
    Deploying...done.
    
    roo> 
    roo> database reverse engineer --package ~.domain --schema PUBLIC
    Located add-on that may offer this JDBC driver
    1 found, sorted by rank; T = trusted developer; R = Roo 1.2 compatible
    ID T R DESCRIPTION -------------------------------------------------------------
    01 Y Y 10.8.2.2_0001 Derby #jdbcdriver...
    --------------------------------------------------------------------------------
    [HINT] use 'addon info id --searchResultId ..' to see details about a search result
    [HINT] use 'addon install id --searchResultId ..' to install a specific search result, or
    [HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version
    JDBC driver not available for 'org.apache.derby.jdbc.EmbeddedDriver'
    roo>

  9. #19
    Join Date
    Oct 2012
    Posts
    1

    Default

    Hi all,

    just wanted to mention, that we created a Roo addon and a Maven plugin to support configuration and deployment of Roo-generated applications on SAP NetWeaver Cloud platform.

    More information can be found on the project’s website:

    http://sapnwcloudlabs.github.com/nwcloud-roo-addon/

    The addon and plugin are available under Apache Licence 2.0.

    Have fun exploring!

    Cheers,
    Michael

  10. #20
    Join Date
    Jun 2012
    Posts
    10

    Default SAP NetWeaver Gateway Connectivity Addon for Spring Roo

    Hello everybody,

    We want to announce the first release of the addon for connecting to SAP Gateway systems.
    The addon can be found here: http://sapnwcloudlabs.github.com/nwcloud-roo-gwaddon/ .

    It introduces 4 commands (each with various parameters), which help connect a roo-entity to a gateway-exposed entityset:

    gateway setup
    gateway define odata_endpoint
    gateway entity
    gateway field

    The addon is provided under Apache 2 License.

    Best regards,
    Radu

Posting Permissions

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