You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Mathieu Anquetin <ma...@gmail.com> on 2009/08/19 11:05:36 UTC
Ivy "exclude"s
Hello,
I am currently working on ivy.xml (in particular its schema) to provide an
ECORE model of it. My goal is to provide a graphical editor for ivy files
and improve validation thanks to MDD and hand it to IvyDE if it sounds
intrersting.
But, I am confronted to a weird issue. There are currently two different
"exclude" tags. I understand they have not the same purpose, but they are
exactly the same in their description except the name/artifact attribute.
So, this is my question : Could it be possible to retain just one attribute
name, thus modifying the XSD and parsing ? Should I post an issue and
provide a patch for the XML parsing ?
Thank you in advance for your answers,
Mathieu Anquetin
Re: Ivy "exclude"s
Posted by Mathieu Anquetin <ma...@gmail.com>.
Hello,
Thanks for the answer. I was just proposing this as a simplification for
comprehension and mostly for coherence. But I completely understand the
question of backward compatibility, I am the first one to blame a tool that
drastically changes version to version... Nevertheless, I am pretty sure
that EMF can handle a little complexity and that will be a little more
challenging after all...
I will let you know if I come up with something interesting and if you think
it can help IvyDE development.
Mathieu
2009/8/19 Xavier Hanin <xa...@gmail.com>
> On Wed, Aug 19, 2009 at 11:05, Mathieu Anquetin
> <ma...@gmail.com>wrote:
>
> > Hello,
> >
> > I am currently working on ivy.xml (in particular its schema) to provide
> an
> > ECORE model of it. My goal is to provide a graphical editor for ivy files
> > and improve validation thanks to MDD and hand it to IvyDE if it sounds
> > intrersting.
> >
> > But, I am confronted to a weird issue. There are currently two different
> > "exclude" tags. I understand they have not the same purpose, but they are
> > exactly the same in their description except the name/artifact attribute.
> > So, this is my question : Could it be possible to retain just one
> attribute
> > name, thus modifying the XSD and parsing ? Should I post an issue and
> > provide a patch for the XML parsing ?
>
> Hello Mathieu,
> I think one of the exclude tag is for artifact exclusion inside a
> dependency
> tag, while the other is for module wide excludes. Changing the xsd of
> ivy.xml is not something that can be done easily: many people rely on Ivy
> stability, and Ivy provides backward compatibility in ivy.xml format since
> very early versions (0.9 I think). Is ECORE too limited to handle an xsd
> where the same tag can appear with different constraints depending on its
> parent?
>
> Xavier
> --
> Xavier Hanin - 4SH France - http://www.4sh.fr/
> BordeauxJUG creator & leader - http://www.bordeauxjug.org/
> Apache Ivy Creator - http://ant.apache.org/ivy/
>
Re: Ivy "exclude"s
Posted by Xavier Hanin <xa...@gmail.com>.
On Wed, Aug 19, 2009 at 11:05, Mathieu Anquetin
<ma...@gmail.com>wrote:
> Hello,
>
> I am currently working on ivy.xml (in particular its schema) to provide an
> ECORE model of it. My goal is to provide a graphical editor for ivy files
> and improve validation thanks to MDD and hand it to IvyDE if it sounds
> intrersting.
>
> But, I am confronted to a weird issue. There are currently two different
> "exclude" tags. I understand they have not the same purpose, but they are
> exactly the same in their description except the name/artifact attribute.
> So, this is my question : Could it be possible to retain just one attribute
> name, thus modifying the XSD and parsing ? Should I post an issue and
> provide a patch for the XML parsing ?
Hello Mathieu,
I think one of the exclude tag is for artifact exclusion inside a dependency
tag, while the other is for module wide excludes. Changing the xsd of
ivy.xml is not something that can be done easily: many people rely on Ivy
stability, and Ivy provides backward compatibility in ivy.xml format since
very early versions (0.9 I think). Is ECORE too limited to handle an xsd
where the same tag can appear with different constraints depending on its
parent?
Xavier
--
Xavier Hanin - 4SH France - http://www.4sh.fr/
BordeauxJUG creator & leader - http://www.bordeauxjug.org/
Apache Ivy Creator - http://ant.apache.org/ivy/
Re: Ivy "exclude"s
Posted by Mathieu Anquetin <ma...@gmail.com>.
I just remarked that the same occurs for the configurations of conflict
managers. The problem is though a little different because the "conflicts"
section is now deprecated. But my questions are the same for this new
problem.
2009/8/19 Mathieu Anquetin <ma...@gmail.com>
> Hello,
>
> I am currently working on ivy.xml (in particular its schema) to provide an
> ECORE model of it. My goal is to provide a graphical editor for ivy files
> and improve validation thanks to MDD and hand it to IvyDE if it sounds
> intrersting.
>
> But, I am confronted to a weird issue. There are currently two different
> "exclude" tags. I understand they have not the same purpose, but they are
> exactly the same in their description except the name/artifact attribute.
> So, this is my question : Could it be possible to retain just one attribute
> name, thus modifying the XSD and parsing ? Should I post an issue and
> provide a patch for the XML parsing ?
>
> Thank you in advance for your answers,
> Mathieu Anquetin
>
--
Mathieu ANQUETIN
Elève ingénieur ENSEEIHT promotion 2009
3ème année Informatique et Mathématiques Appliquées - Option Logiciel
Mobile : +33 (0)6 28 67 11 11
E-Mail : Mathieu.Anquetin@gmail.com
AW: Ivy "exclude"s
Posted by Ja...@rzf.fin-nrw.de.
>Please remove me from this subscription.
>
>Thank You Niamath Khan
You could unsubscribe yourself just by sending an email:
http://ant.apache.org/mail.html
If you have problems, please read the paragraph "How to unsubscribe your old email address"
After checking that, please ask again.
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Ivy "exclude"s
Posted by Niamath Khan <ni...@yahoo.com>.
Please remove me from this subscription.
Thank You Niamath Khan
________________________________
From: Mathieu Anquetin <ma...@gmail.com>
To: dev@ant.apache.org
Sent: Wednesday, August 19, 2009 2:05:36 AM
Subject: Ivy "exclude"s
Hello,
I am currently working on ivy.xml (in particular its schema) to provide an
ECORE model of it. My goal is to provide a graphical editor for ivy files
and improve validation thanks to MDD and hand it to IvyDE if it sounds
intrersting.
But, I am confronted to a weird issue. There are currently two different
"exclude" tags. I understand they have not the same purpose, but they are
exactly the same in their description except the name/artifact attribute.
So, this is my question : Could it be possible to retain just one attribute
name, thus modifying the XSD and parsing ? Should I post an issue and
provide a patch for the XML parsing ?
Thank you in advance for your answers,
Mathieu Anquetin