That is not hard-coded, its saying to use the profile "default" as defined by
the ProfileKey.
You can edit any profile, not just the running one. There won't alway be an active
profile as you can run the the profile service in a minimal kernel to edit a profile
repository without an active jboss server instance.
I can see a need to obtain the current profile when the profile service is running in the
server. This method should really return the active ProfileKey.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012086#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...