dev@glassfish.java.net

Re: lopsidedness of domaindir usage?

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 11 Sep 2008 15:25:13 -0700

Looks nice.

I gave up on the NetBeans 6.1 XML editor after it kept corrupting the
XML by inserting extraneous stuff. I'll try again with 6.5.

Lloyd

On Sep 11, 2008, at 2:42 PM, Ludovic Champenois wrote:

> Kedar Mhaswade wrote:
>>
>>
>> Lloyd Chambers wrote:
>>> Ludo,
>>>
>>> AFAIK, we are *not* making domain.xml a public interface, at least
>>> that was Kedar's view.
>>
>> Users defeat everything when it comes to a text configuration file.
>> So, like it or not, domain.xml, its structure, elements etc. has
>> become
>> our public interface. Nothing can fight with editing the text file
>> in users'
>> favorite text editor. We can't say we won't support it if you ever
>> edited
>> the file by hand, no let's not go there.
>>
>> Situation would have been better if we had a "slick" editor/API for
>> domain.xml
>> (and possibly other files in domain) *without* a running server.
> I guess you are not using an IDE to open domain.xml for GlassFish v1
> or v2 (dtd based).
>
> our NetBeans plugin register all the GlassFish dtds/schema so you
> can get inline xml code completion
> depending on the cursor position as well as xml validation and xml
> check (last 2 icons of the xml editor toolbar in NetBeans).
>
> Same for Eclipse as you can see in the attached images.
>
> Ludo
> <
> ishot
> -20
> .png
> >
> <
> ishot
> -21
> .png
> >
> <
> ishot
> -22
> .png
> >
> <
> ishot
> -24
> .png
> >---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net