ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: IvyDE - Is it possible to have it download sources & javadocs?
Date Thu, 12 Mar 2009 10:44:03 GMT
On jeudi 12 mars 2009 00:22:22 Kent Larsson wrote:
> Hm, now it works.  So I guess it was a synch which was needed, I
> really don't know why. Sorry for crying wolf! I'm happy now as this is
> a great feature!

Good to know it is working for you now. :)

> I have a follow up question. I still have an empty text field for
> every "Javadoc Location Path" in the libraries under "ivy.xml [*]" in
> Eclipse. While the "Location Path" for "Java source attachment" is
> filled in. So one is blank, the other is filled in. Is that normal and
> intended?

Actually IvyDE is setting the "Archive Path" of the "Javadoc in archive".
If nothing is set, it means that actually there no javadoc attached to your 
jar. Eclipse will still able to fill the javadoc view with that attached 
sources though.

Nicolas


>
> Best regards, Kent
>
> On Thu, Mar 12, 2009 at 12:13 AM, Kent Larsson <kent.larsson@gmail.com> 
wrote:
> > On Wed, Mar 11, 2009 at 4:30 PM, Nicolas Lalevée
> >
> > <nicolas.lalevee@hibnet.org> wrote:
> >> On mardi 10 mars 2009 18:27:49 Kent Larsson wrote:
> >>> Both of those JIRA issues are supposed to be fixed in the final
> >>> version, right? And I'm using the final version.
> >>>
> >>> Rod's suggestion got sources to download and integrate well with
> >>> Eclipse for me! :-)
> >>>
> >>> I'm still having problems with Javadoc! :-(
> >>>
> >>> The JIRA issues you mentioned Nicolas, aren't those supposed to be
> >>> fixed? I'm using the latest IvyDE which in turn is using the latest
> >>> Ivy, if I'm not mistaken.
> >>>
> >>> I'm including my ivy.xml and screenshots (heavily compressed) of the
> >>> relevant IvyDE configuration. Does anything look wrong?
> >>
> >> I don't have time yet to look into it.
> >> But do you have some ivysettings or you use the default configuration
> >> with the maven repo ?
> >
> > I use the default configuration.
> >
> >>> Has *anyone* here got Javadoc to work?
> >>
> >> I did after I fixed IVYDE-166
> >
> > Good to know. I might be running into some other bug.
> >
> >>> I think it was a really nice feature, as Javadoc is very important to
> >>> me getting it configured for me would be darn impressive and
> >>> immensiely useful (to all users I suppose as Javadoc is important when
> >>> dealing with libraries made by other people [and yourself]). I hope
> >>> it's not being removed.
> >>>
> >>> Has anyone got *any* more information on this? The IvyDE page doesn't
> >>> say anything and this mailing list is very quite regarding IvyDE & its
> >>> Javadoc-support.
> >>
> >> IvyDE does support javadoc attachment just like the source attachement.
> >> If not it is a bug like the one I fixed earlier.
> >>
> >> Nicolas
> >>
> >>> Best regards,
> >>> Kent
> >>>
> >>>
> >>> On Wed, Mar 4, 2009 at 1:48 PM, Nicolas Lalevée
> >>>
> >>> <nicolas.lalevee@hibnet.org> wrote:
> >>> > On mercredi 04 mars 2009 12:23:03 Kent Larsson wrote:
> >>> >> Hi Rod,
> >>> >>
> >>> >> Thanks for helping me out, I'll try your solution this Friday and
> >>> >> get back with results.
> >>> >>
> >>> >> About the possible bug. Is any of the IvyDE developers around?
The
> >>> >> documentation that's available for IvyDE is very sparse, it would
be
> >>> >> good to know if sources and javadocs are supposed to work? And
if
> >>> >> they do not, if they are meant to start working in a later release?
> >>> >> Any informative input from any of the developers would be nice,
> >>> >> please?
> >>> >
> >>> > For reference, here is the jira about javadoc attachment issue:
> >>> > https://issues.apache.org/jira/browse/IVYDE-166
> >>> >
> >>> > Rereading your problems about attachement, maybe you are hitting this
> >>> > issue: https://issues.apache.org/jira/browse/IVYDE-146
> >>> >
> >>> > Nicolas
> >>> >
> >>> >> Best regards, Kent
> >>> >>
> >>> >>
> >>> >> On Wed, Mar 4, 2009 at 12:06 AM, Rod Mackenzie
> >>> >>
> >>> >> <rod.n.mackenzie@googlemail.com> wrote:
> >>> >> > Hi Kent,
> >>> >> >
> >>> >> > I got this working by adding the following configurations
> >>> >> >
> >>> >> >        <conf name="sources"/>
> >>> >> >        <conf name="javadoc"/>
> >>> >> >
> >>> >> > Then added configuration mappings to the dependencies, I'm
still
> >>> >> > learning about Ivy so I don't know if there is a better way.
> >>> >> >        <dependency org="junit" name="junit" rev="${junit.version}"
> >>> >> >
> >>> >> > conf="test->default;sources->sources;javadoc->javadoc"/>
> >>> >> >
> >>> >> > One other thing I had to do was clean the Ivy cache. The source
> >>> >> > and javadocs configurations weren't  in the version of junit
ivy
> >>> >> > file in the cache. IvyDE wasn't much help resolving this as
it
> >>> >> > only gave a parse error when reading the Ivy file I had look
at
> >>> >> > the Ant output to see the problem.
> >>> >> >
> >>> >> > This should hopefully work but only for sources I think there
is a
> >>> >> > known bug with javadocs.
> >>> >> >
> >>> >> > regards,
> >>> >> > Rod
> >>> >> >
> >>> >> > 2009/3/3 Kent Larsson <kent.larsson@gmail.com>:
> >>> >> >> Hi,
> >>> >> >>
> >>> >> >> My question really is in the subject. I tried posting
earlier
> >>> >> >> about this issue, that time with screenshots of my settings,
but
> >>> >> >> I didn't have any luck in getting a response. So I'm trying
> >>> >> >> again. :-)
> >>> >> >>
> >>> >> >> My follow up question is how do I get it to integrate
sources and
> >>> >> >> javadocs in Eclipse?
> >>> >> >>
> >>> >> >> Here is my ivy.xml:
> >>> >> >>
> >>> >> >> <?xml version="1.0" encoding="UTF-8"?>
> >>> >> >> <ivy-module version="2.0"
> >>> >> >>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>> >> >>  xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas
> >>> >> >>/ivy .xs d"> <info
> >>> >> >>          organisation="net.mycompany"
> >>> >> >>          module="webcookie"
> >>> >> >>          status="integration"/>
> >>> >> >>        <configurations>
> >>> >> >>                <conf name="runtime" description=""
/>
> >>> >> >>                <conf name="compile" extends="runtime"
> >>> >> >> description="" /> </configurations>
> >>> >> >>        <dependencies>
> >>> >> >>                <dependency org="org.apache.wicket"
name="wicket"
> >>> >> >> rev="1.3.5" conf="runtime->runtime">
> >>> >> >>                        <exclude org="org.apache.portals.bridges"
> >>> >> >> module="portals-bridges-common"/> <exclude org="javax.portlet"
> >>> >> >> module="portlet-api"/> </dependency>
> >>> >> >>                <dependency org="org.apache.wicket"
> >>> >> >> name="wicket-spring-annot" rev="1.3.5" conf="runtime->default"/>
> >>> >> >>                <dependency org="org.slf4j"
name="slf4j-log4j12"
> >>> >> >> rev="1.5.6" conf="runtime->default"/>
> >>> >> >>                <dependency org="org.slf4j"
name="jcl-over-slf4j"
> >>> >> >> rev="1.5.6" conf="runtime->default"/>
> >>> >> >>                <dependency org="javax.servlet"
name="servlet-api"
> >>> >> >> rev="2.5" conf="compile->provided"/>
> >>> >> >>                <dependency org="org.springframework"
> >>> >> >> name="spring" rev="2.5.6" conf="runtime->runtime"/>
> >>> >> >>                <dependency org="mysql"
> >>> >> >> name="mysql-connector-java" rev="5.1.6" conf="runtime->default"/>
> >>> >> >>                <dependency org="org.hibernate"
> >>> >> >> name="hibernate-core" rev="3.3.1.GA"
> >>> >> >> conf="runtime->runtime,optional"/>
> >>> >> >>                <dependency org="org.hibernate"
> >>> >> >> name="hibernate-annotations" rev="3.4.0.GA"
> >>> >> >> conf="runtime->default"/> <exclude module="commons-logging"/>
> >>> >> >>        </dependencies>
> >>> >> >> </ivy-module>
> >>> >> >>
> >>> >> >> I don't use any ivysettings.xml and I use the default
settings
> >>> >> >> for IvyDE. Still no Javadoc or sources and I would really
like to
> >>> >> >> enable them. :-/
> >>> >> >>
> >>> >> >> Best regards, Kent


Mime
View raw message