-
1. Re: Embedded and Bootstrap Development
manuel.chinea Oct 26, 2009 11:32 AM (in response to alrubinger)Hi there,
I have been interested in JbossAS code recently and found this surfing the project pages. I'll like to get involved in this, but i don't know where to start (i already have checked out the code of Embedded, Bootstrap and AS and saw a little bit of it). Could you give some advice on where to start?. Thnxs. -
2. Re: Embedded and Bootstrap Development
alrubinger Oct 26, 2009 11:44 AM (in response to alrubinger)Hi Manuel:
Absolutely. I'm "ALR" on IRC #jboss-dev @ Freenode. We'll get you running the unit tests to start, then find some issues for you to dig in.
S,
ALR -
3. Re: Embedded and Bootstrap Development
alrubinger Oct 26, 2009 11:46 AM (in response to alrubinger)Some base instructions:
http://www.jboss.org/community/docs/DOC-14137
S,
ALR -
4. Re: Embedded and Bootstrap Development
manuel.chinea Oct 27, 2009 1:40 PM (in response to alrubinger)Hi ALR:
I was able to download and compile the code. I had some trouble with the maven version requisite (i had installed 2.2.1, but in the project there is this [2.0.9,2.1) maven version requirement. Changed the range to [2.0.9,2.2.1] and worked fine). I also ran the tests succesfully. I haven't looked the code in detail, though. I'll be checking the code and issue tracker soon. Any advice will be helpful. Thnxs. -
5. Re: Embedded and Bootstrap Development
alrubinger Oct 27, 2009 1:48 PM (in response to alrubinger)Cool. The reason for the Maven lockdown is because there were dependency resolution differences between 2.0.8 and 2.0.9, and I haven't yet had a chance to certify anything greater worked reliably.
-
6. Re: Embedded and Bootstrap Development
alrubinger Oct 28, 2009 5:01 PM (in response to alrubinger)Manuel:
If you'd like to dig in on an easier task, check out:
https://jira.jboss.org/jira/browse/JBBOOT-115
No pressure, I'll take it if you can't have a look within the next couple of days (AS team needs it).
Development instructions for the bootstrap project are linked from :
http://www.jboss.org/community/wiki/JBossBootstrap
So we'd just need a fix and a unit test to prove its validity.
S,
ALR -
7. Re: Embedded and Bootstrap Development
manuel.chinea Oct 28, 2009 5:22 PM (in response to alrubinger)Hi ALR,
I'll checkout the code and see it tonight. Is there any Eclipse templates, code formatter preferences you use in the project?.
Thnxs. -
8. Re: Embedded and Bootstrap Development
alrubinger Oct 28, 2009 5:52 PM (in response to alrubinger)Yep, send me an email and I'll attach 'em to you.
-
9. Re: Embedded and Bootstrap Development
manuel.chinea Oct 29, 2009 7:59 AM (in response to alrubinger)ALR,
i checked out the code last night and saw it. Also saw the jira issue and its dependency. If i undestand correctly, the sub-projects arde divided this way: bootstrap-api, bootstrap-spi and bootstrap-impl, and the depend from one another in this way: impl depends on spi, spi depends on api. Also, each one of them is spplitted in base, as and mc (as depends on mc, mc on base).
Now, the bug. checking the class BasicJBossASServerConfig, i see no reference to any server object. I also see BasicJBossASServerConfig has this annotation @ManagementObject(name = "jboss.system:type=ServerConfig"...). The closest "server" class i found is AbstractJBossASServerBase, which has this annotation @ManagementObject(name = AbstractJBossASServerBase.NAME_MANAGEMENT_OBJECT...). Now, i should use some lookup mechanism to get the server object in the config (1), or simply put a reference to the "server" object? (2) (i don't want to break any architectural or design decision here). If (1) is the answer, what would be the correct mechanism?. (or a third one, (1) + (2) using annotations?). -
10. Re: Embedded and Bootstrap Development
alrubinger Oct 29, 2009 10:37 AM (in response to alrubinger)You don't need to lookup the ASServer from the config. If you take a look at the logic for reporting the version in the server, you should be able to use the same mechanism to report from the config.
So far as the tests, you might find a bunch of useful version information stuff to extend within impl-as.
S,
ALR -
11. Re: Embedded and Bootstrap Development
alrubinger Oct 30, 2009 12:47 PM (in response to alrubinger)So I had to resolve JBBOOT-115 to meet a deadline. You can look at my (one of a few possible) solution by checking the SVN commit linked from the JIRA.
S,
ALR -
12. Re: Embedded and Bootstrap Development
manuel.chinea Oct 30, 2009 2:14 PM (in response to alrubinger)Hi ALR,
sorry, i have had a rough couple of days here at work. I'll look at the fix this weekend.