-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defining initialization parameters #2
Comments
I think this issue can be closed after implementing the solution with the environment variable TOMEE_HOME. |
-1 We need fix it completely. I think that this configuration file needs to have some informations like: We can switch the environment with file name, like: dev.properites (switch-to :dev) Maybe we can set the default path for configuration, like: |
Maybe we can define a record for this case and change it when switch-to is called.
WDYT!? |
I think this issue should be out of the milestone. There are too many questions to be answered. Maybe, we can allocate it for the next release, when we can finally get some feedback from users. I think we should write the basics and add only what the users ask for later on. It's a way to be sure that every single functionally is effectively used. Just my 2 cents :-) |
👍 |
@htmfilho |
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.
The text was updated successfully, but these errors were encountered: