dev@glassfish.java.net

Which is the right domain.xml to update?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 23 Oct 2009 10:33:31 +0530

I have to add a -D property in domain.xml to add some felix
configuration information and I am not sure which one to use. I see the
following:

find . -name domain.xml | grep -v target | grep -v test
./core/kernel/src/main/resources/org/glassfish/embed/domain.xml
./admin/server-mgmt/src/main/resources/lib/templates/domain.xml
./packager/nucleus-base/lib/templates/domain.xml

The first one seem pretty obvious. but not the last two. I see people
changing the second one occasionally where as the last one is updated
pretty regularly. Can anyone comment when each of them is used?

Thanks,
Sahoo