Correct me if I'm wrong, but wont this only work for direct dependencies. If a dependency has a transitive dependency and the dependency's ivy file does not contain this same fix then no source/javadoc. It seems to me that ivyde should be able to request the source/javadoc artifact without having to modify all the ivy.xml's
Kent Larsson-3 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? > > Has *anyone* here got Javadoc to work? Is it a present 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. > > Best regards, > Kent > > > On Wed, Mar 4, 2009 at 1:48 PM, Nicolas Lalevée > <[email protected]> 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 >>> >>> <[email protected]> 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 <[email protected]>: >>> >> 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 >> >> > > <?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.xsd"> > <info > organisation="net.mycompany" > module="webcookie" > status="integration"/> > <configurations> > <conf name="runtime" description="" /> > <conf name="compile" extends="runtime" description="" /> > <conf name="foride" extends="compile"/> > </configurations> > <dependencies> > <dependency org="org.apache.wicket" name="wicket" rev="1.3.5" > conf="runtime->runtime;foride->sources,javadoc"> > <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;foride->sources,javadoc"/> > <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.5.6" > conf="runtime->default;foride->sources,javadoc"/> > <dependency org="org.slf4j" name="jcl-over-slf4j" rev="1.5.6" > conf="runtime->default;foride->sources,javadoc"/> > <dependency org="javax.servlet" name="servlet-api" rev="2.5" > conf="compile->provided;foride->sources,javadoc"/> > <dependency org="org.springframework" name="spring" rev="2.5.6" > conf="runtime->runtime;foride->sources,javadoc"/> > <dependency org="mysql" name="mysql-connector-java" rev="5.1.6" > conf="runtime->default;foride->sources,javadoc"/> > <dependency org="org.hibernate" name="hibernate-core" > rev="3.3.1.GA" > conf="runtime->runtime,optional;foride->sources,javadoc"/> > <dependency org="org.hibernate" name="hibernate-annotations" > rev="3.4.0.GA" conf="runtime->default;foride->sources,javadoc"/> > <!-- Jakarta CL is re-directed to Simple logging for Java and > should > never be used. --> > <exclude module="commons-logging"/> > </dependencies> > </ivy-module> > > > -- View this message in context: http://www.nabble.com/IvyDE---Is-it-possible-to-have-it-download-sources---javadocs--tp22318492p23477695.html Sent from the ivy-user mailing list archive at Nabble.com.
