On 6/29/07, John Gill <[EMAIL PROTECTED]> wrote:
That's a very clever trick Frank. Why didn't I think of that?
Neither did I :-) It's the power of a community, hundreds of brains are much better than one :-) Xavier On 6/29/07, Frank Kemmer <[EMAIL PROTECTED]> wrote:
> > On 6/28/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: > > John is right, the source artifact must have the same name as the > artifact > > itself ATM, so the only way to make it work is to checkout the IvyDE > sources > > from svn, hack in the IvyClasspathContainer source and make it work for > you. > > If you find a generic enough way to declare how to associate a jar with > a > > source artifact, we'll be happy to integrate a patch :-) > > > > > > > And then the ivy file has this inside it: > > > > > <artifact name="library" type="jar" ext="jar" /> > > > > > <artifact name="library.src" type="source" ext="jar" /> > > for me the following worked (I think only the artifact name has to be > the same, the extension can be different): > > <artifact name="library" type="jar" ext="jar" /> > <artifact name="library" type="source" ext="src.jar" /> > > With this setting mylib.src.jar will be accepted as valid source > attachment for mylib.jar. > > My 2 cents ... > > Frank > -- Regards, John Gill
-- Xavier Hanin - Independent Java Consultant Creator of Ivy, xooki and xoocode.org More about me: http://xhab.blogspot.com/
