Coder Social home page Coder Social logo

tomee-cli's People

Contributors

bitdeli-chef avatar danielsoro avatar gitter-badger avatar htmfilho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tomee-cli's Issues

Defining initialization parameters

To properly configure tomme-cli to use a specific TomEE installation, we could pass parameters to tomee-cli in the command line in order to make it aware of a TomEE installation. The problem is that it would require typing huge command lines. A better solution would be to create a configuration file where we could put all the configuration inside and load it at initialization time. This way, the user can keep using very simple command lines to perform their repetitive work.

The configuration file could support multiple server configurations, so the user could switch from a configuration to another by simply calling (switch-to :dev) or (switch-to :test) or (switch-to :demo), where :dev, :test and :demo are three different TomEE configurations.

When script not have execution permission the tomee-cli return error.

tomee-cli.core=> (start)

IOException error=13, Permission denied  java.lang.UNIXProcess.forkAndExec (UNIXProcess.java:-2)
tomee-cli.core=> 

The startup/shutdown/version should have execution permission: chmod +x ****.sh
In Wildfly we had a problem similar with aesh [ https://github.com/aeshell/aesh/commit/dd93f4bec242fa802013ed4a4bf13d1129bb4ebc ]
Maybe we can doing something like this, try set the file as executable before to call it.

Support for easy datasource configuration by vendor.

Support to configure database by vendor, like:

(add-new-datasource-resource :mysql)
(add-new-datasource-resource :oracle)
(add-new-datasource-resource :sql)
(add-new-datasource-resource :...)

This case the TomEE-CLI automatically download the drive and put in TOMEE_HOME/lib and configure the resource.

The user doesn't need to pass jdbc-driver and jdbc-url, the TomEE-CLI should need to receive only the port (has a default value case the user doesn't pass), database-name, username and password.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.