-
2. Re: Add my own libs as dependencies to another projects on JBoss 7
jaabax Oct 27, 2011 3:44 PM (in response to jaikiran)so creating my libs as modules is the only way?
-
3. Re: Add my own libs as dependencies to another projects on JBoss 7
jaabax Nov 8, 2011 2:09 PM (in response to jaabax)any help?
-
4. Re: Add my own libs as dependencies to another projects on JBoss 7
alesj Nov 8, 2011 2:19 PM (in response to jaabax)any help?
What's the issue with making it a module?
Or you can modify some existing, by adding this jar; e.g. javax.api or something.
Or add it as system? (similar to what we do with Byteman afaik -- see standalone.conf)
But I would consider both of these hacks. ;-)
-
5. Re: Add my own libs as dependencies to another projects on JBoss 7
jaabax Nov 9, 2011 8:33 AM (in response to alesj)hi Ales
thanks for your reply
I have some doubts on create modules for JBoss 7
first ones
myLib-core.jar uses classes from myLib-utils.jar
both JARs should stay in the same module folder (e.g. JBOSS_HOME/modules/path/to/module/main/)?
in this case, should I configure my modules like org/hibernate/main/ modules?
is there a place where I can check all available modules after start JBoss 7 (to check if my modules were started correctly with the server)?
thanks a lot!
-
6. Re: Add my own libs as dependencies to another projects on JBoss 7
alesj Nov 9, 2011 8:48 AM (in response to jaabax)myLib-core.jar uses classes from myLib-utils.jar
both JARs should stay in the same module folder (e.g. JBOSS_HOME/modules/path/to/module/main/)?
in this case, should I configure my modules like org/hibernate/main/ modules?
I would say try it and see what fits you best.
is there a place where I can check all available modules after start JBoss 7 (to check if my modules were started correctly with the server)?
I guess you could try to load the module and some class from it,
which would mean the module is up and running.
See ModuleLoader on how to load modules.