Skip to main content

[Glassfish embedded] How do I build gf embedded 3.1?

3 replies [Last post]
andersaab
Offline
Joined: 2009-12-22
Points: 0

Hi guys
I decided to download and build GF 3.1 in order to debug some issues we have. Checkout of source code went fine, building with maven is another story.. But finally, after a lot of trial and error, I have managed to get both the ejb-container project and the glassfish-embedded-all project built.

I tried adding some log statements and sysout in order to trace what whas going on, but no matter what I do, the changes in ejb-container won't get picked up by the glassfish-embedded-all project.

This project and its build process is a lot more complex than the projects I have been involved in, so I'm probably missing some steps.. I have also noticed that the project uses HK2, which I haven't used before.

So, how can I make a change in the ejb-container project (/ejb/ejb-container) and propagate it to the glassfish-embedded-all project (/extras/embedded/all)?

Any help would greatly appreciated! :)

Regards, Anders

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sirajg
Offline
Joined: 2006-02-01
Points: 0

After building the ejb container, build the v3/packager module. Then build extras/embedded/all. That should propagate the ejb changes to the embedded all jar.

andersaab
Offline
Joined: 2009-12-22
Points: 0

That did the trick!! Perfect, thanks for helping.

-Anders

Alexis Moussine-Pouchkine

Could you use the implanted mode (i.e. glassfish/lib/embedded/glassfish-embedded-static-shell.jar) for starters?
Otherwise, are you explicitly rebuilding the glassfish-embedded-all.jar artifact?

We should probably add a paragraph to http://wikis.sun.com/display/glassfish/V3FullBuildInstructions to document the embedded part.
CC'ing Jane and Siraj.

-Alexis

On 14 sept. 2010, at 12:54, glassfish@javadesktop.org wrote:

> Hi guys
> I decided to download and build GF 3.1 in order to debug some issues we have. Checkout of source code went fine, building with maven is another story.. But finally, after a lot of trial and error, I have managed to get both the ejb-container project and the glassfish-embedded-all project built.
>
> I tried adding some log statements and sysout in order to trace what whas going on, but no matter what I do, the changes in ejb-container won't get picked up by the glassfish-embedded-all project.
>
> This project and its build process is a lot more complex than the projects I have been involved in, so I'm probably missing some steps.. I have also noticed that the project uses HK2, which I haven't used before.
>
> So, how can I make a change in the ejb-container project (/ejb/ejb-container) and propagate it to the glassfish-embedded-all project (/extras/embedded/all)?
>
> Any help would greatly appreciated! :)
>
> Regards, Anders
> [Message sent by forum member 'andersaab']
>
> http://forums.java.net/jive/thread.jspa?messageID=482706
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net