Re: [m2] xml editors - little off topic

2005-09-07 Thread Andy Glick

Ashley Williams wrote:
I've mentioned in a previous post that I'm slightly fed up with  editing 
xml files, even with a fancy editor. I though I might knock  up a 
stylesheet that will enable me to write a short hand for example:


project
modelVersion 4.0.0
groupId com.acme
dependencies
dependency
groupId servletapi
dependency
groupId ejbapi


In other words tabs are important and should map nicely to begin and  
end tags. With a little magic the one-one map would mean I don't even  
need to keep a separate file since it's just a view on an existing  xml 
file.


Question is: has anyone had this idea before and where can I download  it?

Thanks
AW


Ashley, way off topic dude! ;-)

AFAIK are many efforts at producing markup more minimal than XML. I remember 
reading an article some years ago that listed between 4 and 6 different 
candidates, with a short discussion concerning each. Just looked for and 
couldn't identify or locate anything that looked similar, but try googling for 
YAML and then stand back.  There are parsers and integrations for at least 
perl, python and ruby. This is not a recommendation, just a suggestion about a 
starting point.

Good luck


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] xml editors - little off topic

2005-09-07 Thread Jesse McConnell
the apt documentation mechanism is an implemention of this basic idea I 
think...

http://maven.apache.org/maven2/apt-format.html

jesse

On 9/7/05, Andy Glick <[EMAIL PROTECTED]> wrote:
> 
> Ashley Williams wrote:
> > I've mentioned in a previous post that I'm slightly fed up with editing
> > xml files, even with a fancy editor. I though I might knock up a
> > stylesheet that will enable me to write a short hand for example:
> >
> > project
> > modelVersion 4.0.0
> > groupId com.acme
> > dependencies
> > dependency
> > groupId servletapi
> > dependency
> > groupId ejbapi
> >
> >
> > In other words tabs are important and should map nicely to begin and
> > end tags. With a little magic the one-one map would mean I don't even
> > need to keep a separate file since it's just a view on an existing xml
> > file.
> >
> > Question is: has anyone had this idea before and where can I download 
> it?
> >
> > Thanks
> > AW
> 
> Ashley, way off topic dude! ;-)
> 
> AFAIK are many efforts at producing markup more minimal than XML. I 
> remember reading an article some years ago that listed between 4 and 6 
> different candidates, with a short discussion concerning each. Just looked 
> for and couldn't identify or locate anything that looked similar, but try 
> googling for YAML and then stand back. There are parsers and integrations 
> for at least perl, python and ruby. This is not a recommendation, just a 
> suggestion about a starting point.
> 
> Good luck
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
jesse mcconnell


Re: [m2] xml editors - little off topic

2005-09-08 Thread Ashley Williams
Good pointer - look forward to reading the docs when I get a moment.  
Had a quick scan, but I don't think it will help me xmlwise, but it  
will take the drudgery out of a few other tasks.



On 7 Sep 2005, at 21:00, Jesse McConnell wrote:

the apt documentation mechanism is an implemention of this basic  
idea I

think...

http://maven.apache.org/maven2/apt-format.html

jesse

On 9/7/05, Andy Glick <[EMAIL PROTECTED]> wrote:



Ashley Williams wrote:

I've mentioned in a previous post that I'm slightly fed up with  
editing

xml files, even with a fancy editor. I though I might knock up a
stylesheet that will enable me to write a short hand for example:

project
modelVersion 4.0.0
groupId com.acme
dependencies
dependency
groupId servletapi
dependency
groupId ejbapi


In other words tabs are important and should map nicely to begin and
end tags. With a little magic the one-one map would mean I don't  
even
need to keep a separate file since it's just a view on an  
existing xml

file.

Question is: has anyone had this idea before and where can I  
download



it?



Thanks
AW



Ashley, way off topic dude! ;-)

AFAIK are many efforts at producing markup more minimal than XML. I
remember reading an article some years ago that listed between 4  
and 6
different candidates, with a short discussion concerning each.  
Just looked
for and couldn't identify or locate anything that looked similar,  
but try
googling for YAML and then stand back. There are parsers and  
integrations
for at least perl, python and ruby. This is not a recommendation,  
just a

suggestion about a starting point.

Good luck


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
jesse mcconnell




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] xml editors - little off topic

2005-09-08 Thread Trygve Laugstøl
On Wed, Sep 07, 2005 at 05:23:22PM +0100, Ashley Williams wrote:
> I've mentioned in a previous post that I'm slightly fed up with  
> editing xml files, even with a fancy editor. I though I might knock  
> up a stylesheet that will enable me to write a short hand for example:
> 
> project
> modelVersion 4.0.0
> groupId com.acme
> dependencies
> dependency
> groupId servletapi
> dependency
> groupId ejbapi
> 
> 
> In other words tabs are important and should map nicely to begin and  
> end tags. With a little magic the one-one map would mean I don't even  
> need to keep a separate file since it's just a view on an existing  
> xml file.

A alternative solution to this is to use the very rich metadata we have
about the Maven model and generate Swing forms and then create a pretty
simple tool to mix this all together. We already generate XML readers and
writers for the model so marshalling and unmarshalling the objects is
already taken care of. With a little more glue the Maven project builder
and validator could be put into the mix aswell.

Note that the MevenIDE guys might have similar thoughs as they already
have a visual editor for the Maven model.

If this is of interest to anyone speak up and we can talk about the
details.

--
Trygve


signature.asc
Description: Digital signature