These are chat archives for bitmaker-software/tomee-cli

17th
Mar 2015
Hildeberto Mendonça
@htmfilho
Mar 17 2015 12:44
Hello!
Daniel Cunha
@danielsoro
Mar 17 2015 12:44
Hello @htmfilho
Hildeberto Mendonça
@htmfilho
Mar 17 2015 12:44
Why do you need the function core/-main :smile:
Daniel Cunha
@danielsoro
Mar 17 2015 12:46
When executed the lein install, I received that: Warning: The Main-Class specified does not exist within the jar. It may not be executable as expected. A gen-class directive may be missing in the namespace which contains the main method
Hildeberto Mendonça
@htmfilho
Mar 17 2015 12:47
You can remove the line :main ^:skip-aot tomee-cli.core from the file project.clj
Daniel Cunha
@danielsoro
Mar 17 2015 12:48
But.. I didn't see difference with main method or not.
Hildeberto Mendonça
@htmfilho
Mar 17 2015 12:48
Since tomee-cli uses the repl directly, it doesn't need a main function.
Daniel Cunha
@danielsoro
Mar 17 2015 12:49
Yup. Anyway, My push with main function is wrong. I didn't want push it.
Hildeberto Mendonça
@htmfilho
Mar 17 2015 12:49
The main function is used to execute the app all alone, without the repl.
Ok. So, if you remove the line :main ^:skip-aot tomee-cli.core from the file project.clj you will solve the warning ;-)
Daniel Cunha
@danielsoro
Mar 17 2015 12:51
I know. For now, really, no make sense to have it.
I'll do.
Hildeberto Mendonça
@htmfilho
Mar 17 2015 12:51
Btw, just sent a new pr.
See you later
Daniel Cunha
@danielsoro
Mar 17 2015 13:20

Hey @htmfilho, isn't true: tomee-cli.core=> (deploy "[path-to-war/ear-file]")

Ear files isn't deployed in webapp, ear files is depoyed in tomee-dir/apps dir. The folder not exist? Yes, you need create and put the ear there. For now, I think that we need to have focus only in webprofile and jaxrs distribution, because all implementations is equal and TomEE is certificated only for webprofile. WDYT!?

Hildeberto Mendonça
@htmfilho
Mar 17 2015 13:25
Do you want me to remove the deployment of ear files?
Daniel Cunha
@danielsoro
Mar 17 2015 13:29
@htmfilho for now, yes. We can move that issue (ear/full profile) for next milestone. :)
Please, fix your PR and I'll merge it.
Hildeberto Mendonça
@htmfilho
Mar 17 2015 13:33
ok
Daniel Cunha
@danielsoro
Mar 17 2015 13:56
I merged.
needs change nothing.
Hildeberto Mendonça
@htmfilho
Mar 17 2015 13:57
Already?!
Daniel Cunha
@danielsoro
Mar 17 2015 13:57
I didn't see that you put ear in correct path.
Hildeberto Mendonça
@htmfilho
Mar 17 2015 13:58
Anyway, I have to create the folder if it doesn't exist.
Daniel Cunha
@danielsoro
Mar 17 2015 13:58
So, that's OK!
Hildeberto Mendonça
@htmfilho
Mar 17 2015 13:59
I will do it in the evening.
Hildeberto Mendonça
@htmfilho
Mar 17 2015 22:41
Terminei o deploy e o undeploy. Tu continua lá nas configurações ou quer uma força?
Daniel Cunha
@danielsoro
Mar 17 2015 22:43
What!?
Hehehe!
ok!
Hildeberto Mendonça
@htmfilho
Mar 17 2015 22:46
???
Poruguês? :D
Diz ai macho.
Daniel Cunha
@danielsoro
Mar 17 2015 22:48
Estou terminando uma parte dos resources aqui. Aí os outros vão ser muito mais rápido.
Após terminar isto, acho que em 1 semana, já vamos ter o nosso primeiro milestone. :D
Hehehe!
Clojure! <3
Nice! Travis result: passed! :)
Já está funcionando. Só preparando o teste para fazer o push. :)
Hildeberto Mendonça
@htmfilho
Mar 17 2015 22:52
Cool! So you go ahead with the resources configurations then.
Daniel Cunha
@danielsoro
Mar 17 2015 22:52
Yup! :D
Hildeberto Mendonça
@htmfilho
Mar 17 2015 22:53
What about a function to download and unzip tomee?
Daniel Cunha
@danielsoro
Mar 17 2015 22:53
+1
Hildeberto Mendonça
@htmfilho
Mar 17 2015 22:53
Ok. Going to do that then.
Daniel Cunha
@danielsoro
Mar 17 2015 22:54
nice!
Create an issue, please!
Hildeberto Mendonça
@htmfilho
Mar 17 2015 22:55
Something like (install-tomee "1.7.1" "/path/to/desired/location")
Daniel Cunha
@danielsoro
Mar 17 2015 23:16
Maybe like (install-tomee "version" "distribution" "path")
So cool:

08:15:54 (develop) ~/git/tomee-cli$ lein test

lein test tomee-cli.configuration.mail-resource-test

lein test tomee-cli.resources-test

lein test tomee-cli.utils-test

Ran 8 tests containing 16 assertions.
0 failures, 0 errors.