Naming conflicts in spring projects

2 views
Skip to first unread message

bitli

unread,
Mar 26, 2010, 10:01:25 AM3/26/10
to ivyroundup
Hello,
The Spring ivy file

http://ivyroundup.googlecode.com/svn/trunk/repo/modules/org.springframework/spring/3.0.1/ivy.xml

create jars named asm, ... etc (without the usual spring- prefix).

But other jars have the same name (typically asm), and this may create
conflicts, especially when we put the jars in the WEB-INF/lib
directory of a war. Although we cannot guarantee that there will be no
conflict, would it not be more reliable and clearer to rename the
libraries using 'spring-' prefix, considering that this is the common
practice?

-- bilti

Archie Cobbs

unread,
Mar 26, 2010, 10:06:37 AM3/26/10
to ivyro...@googlegroups.com
The correct solution is to not use degenerate filename patterns when retrieving your artifacts. Otherwise you're only sweeping the problem under the rug.

See this wiki page for more discussion:

    http://code.google.com/p/ivyroundup/wiki/HowToConfigureIvy#Retrieval_Patterns

-Archie


--
You received this message because you are subscribed to the Google Groups "ivyroundup" group.
To post to this group, send email to ivyro...@googlegroups.com.
To unsubscribe from this group, send email to ivyroundup+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ivyroundup?hl=en.




--
Archie L. Cobbs

bitli

unread,
Mar 26, 2010, 10:14:31 AM3/26/10
to ivyroundup
Rights, this was something I overlooked during some changes. Thanks
very much for the prompt answer.

On Mar 26, 3:06 pm, Archie Cobbs <archie.co...@gmail.com> wrote:
> The correct solution is to not use degenerate filename patterns when
> retrieving your artifacts. Otherwise you're only sweeping the problem under
> the rug.
>
> See this wiki page for more discussion:
>

> http://code.google.com/p/ivyroundup/wiki/HowToConfigureIvy#Retrieval_...


>
> -Archie
>
>
>
> On Fri, Mar 26, 2010 at 9:01 AM, bitli <jmlug...@gmail.com> wrote:
> > Hello,
> > The Spring ivy file
>

> >http://ivyroundup.googlecode.com/svn/trunk/repo/modules/org.springfra...


>
> > create jars named asm, ... etc (without the usual spring- prefix).
>
> > But other jars have the same name (typically asm), and this may create
> > conflicts, especially when we put the jars in the WEB-INF/lib
> > directory of a war. Although we cannot guarantee that there will be no
> > conflict, would it not be more reliable and clearer to rename the
> > libraries using 'spring-' prefix, considering that this is the common
> > practice?
>
> > -- bilti
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ivyroundup" group.
> > To post to this group, send email to ivyro...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > ivyroundup+...@googlegroups.com<ivyroundup%2Bunsu...@googlegroups.com>

Reply all
Reply to author
Forward
0 new messages