ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@anyware-tech.com>
Subject Re: Can I download Javadoc and Source using Ivy and let IvyDE configure it automatically in Eclipse for me?
Date Wed, 21 Jan 2009 08:48:40 GMT
On mercredi 21 janvier 2009 09:11:27 Kent Larsson wrote:
> Ah! :-) Now I think I get it! Sorry for being confused, this is quite new
> to me still. Thanks for enlightening me!
>
> You said wait for a few days, so I guess both Ivy and IvyDE is arriving at
> 2.0.0 then. That's great news as I'm about to unleash both upon at least
> one other person in the organization, then hopefully s(he) will be able to
> use the stable versions from the get go.
>
> One last question as you seem to know this very well. Is the Ivy.jar built
> into IvyDE? (I saw that Ivy was available as a plug in for Eclipse too from
> the same update site where I got IvyDE. Maybe I got it as a dependency of
> IvyDE but as a separate entity?)

Exactly, Ivy is a dependency of IvyDE. So as soon as Ivy 2.0.0.final will be 
deployed on the updatesite, the released version of IvyDE (2.0.0.beta1) will 
use it.

Nicolas


>
> Best regards, Kent
>
> On Tue, Jan 20, 2009 at 7:26 PM, Becheanu, Daniel <dbecheanu@cars.com>wrote:
> > I am sorry for the confusion but I think the latest IVYDE published
> > version is (2.0.0.beta1)
> >
> > The latest IYY is 2.0.0-rc2. The fix I was talking about is in IVYDE and
> > will solve the javadoc/source attachments in eclipse.
> > This fix is not incorporated into IVYDE version 2.0.0.beta1.
> >
> > Daniel
> >
> > -----Original Message-----
> > From: Kent Larsson
> > [mailto:kent.larsson@gmail.com<https://mail.google.com/mail?view=cm&tf=0&
> >to=kent.larsson@gmail.com> ]
> > Sent: Tuesday, January 20, 2009 11:41 AM
> > To:
> > ivy-user@ant.apache.org<https://mail.google.com/mail?view=cm&tf=0&to=ivy-
> >user@ant.apache.org> Subject: Re: Can I download Javadoc and Source using
> > Ivy and let IvyDE configure it automatically in Eclipse for me?
> >
> > Hi,
> >
> > I have now upgraded to 2.0.0-rc2 and my project compiles (the problem I
> > had was my fault) and it works as it did with the earlier versions. I
> > still get no JavaDoc or source files, it would be nice to get them and
> > have them configured for me by IvyDE. Do I need to change my ivy.xml to
> > get it working?
> >
> > And if I do, is there a way to separate where JAR files and JavaDoc and
> > source files end up in my project?
> >
> > Best regards, Kent
> >
> >
> > On Tue, Jan 20, 2009 at 3:54 PM, Becheanu, Daniel
> > <dbecheanu@cars.com<https://mail.google.com/mail?view=cm&tf=0&to=dbechean
> >u@cars.com>
> >
> > >wrote:
> > >
> > > Oh... I think there is a fix in main line for fixing the source
> > > attachments.
> > > But unfortunate that fix is not in  2.0.0.beta1( the version available
> > > on update site).
> > >
> > > http://issues.apache.org/jira/browse/IVYDE-146
> > >
> > > You can build it from source, or you can wait for few days for a new
> >
> > build.
> >
> > > ( I think is going to happen after the ivy 2.0 release)
> > >
> > > Daniel
> > >
> > >
> > > -----Original Message-----
> > > From: Kent Larsson
> > > [mailto:kent.larsson@gmail.com<https://mail.google.com/mail?view=cm&tf=
> > >0&to=kent.larsson@gmail.com>
> >
> > <https://mail.google.com/mail?view=cm&tf=0&to=kent.larsson@gmail.com>
> >
> > > ]
> > > Sent: Tuesday, January 20, 2009 4:28 AM
> > > To:
> > > ivy-user@ant.apache.org<https://mail.google.com/mail?view=cm&tf=0&to=iv
> > >y-user@ant.apache.org>
> >
> > <https://mail.google.com/mail?view=cm&tf=0&to=ivy-user@ant.apache.org>
> >
> > > Subject: Re: Can I download Javadoc and Source using Ivy and let IvyDE
> > > configure it automatically in Eclipse for me?
> > >
> > > Maybe I should also add that I'm using 2.0.0-beta1 as I had problems
> > > with 2.0.0-rc2. I don't know if that has something to do with it.
> > >
> > > On Tue, Jan 20, 2009 at 9:12 AM, Kent Larsson
> > > <kent.larsson@gmail.com<https://mail.google.com/mail?view=cm&tf=0&to=ke
> > >nt.larsson@gmail.com>
> >
> > <https://mail.google.com/mail?view=cm&tf=0&to=kent.larsson@gmail.com>
> >
> > > >wrote:
> > > >
> > > > Hm, it doesn't seem that way. If anyone has any suggestions I would
> > >
> > > really
> > >
> > > > appreciate it!
> > > >
> > > >
> > > >
> > > > My ivy.xml currently looks like this
> > > >
> > > > <ivy-module version="2.0">
> > > >     <info
> > > >       organisation="net.mycompany"
> > > >       module="myproject"
> > > >       status="integration"/>
> > > >     <configurations>
> > > >         <conf name="runtime" description="" />
> > > >         <conf name="compile" extends="runtime" description="" />
> > > >     <!--
> > > >         <conf name="test" extends="compile" description="" />
> > > >     -->
> > > >     </configurations>
> > > >     <dependencies>
> > > >         <dependency org="org.apache.wicket" name="wicket" rev="1.3.5"
> > > > conf="runtime->default">
> > > >             <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="javax.servlet" name="servlet-api" rev="2.3"
> > > > conf="compile->default"/>
> > > >         <dependency org="org.springframework" name="spring"
> > > > rev="2.5.6" conf="runtime->default"/>
> > > >     <!--
> > > >         <dependency org="junit" name="junit" rev="3.8.2"
> > > > conf="test->default"/>
> > > >     -->
> > > >     </dependencies>
> > > > </ivy-module>
> > > >
> > > >
> > > >
> > > > And my ~/.ivy2/cache (I use the default location) looks like this (no
> > > > JavaDoc nor source files):
> > > >
> > > > .
> > > >
> > > > |-- avalon-framework
> > > > |   `-- avalon-framework
> > > > |
> > > > |       |-- ivy-4.1.3.xml
> > > > |       |-- ivydata-4.1.3.properties
> > > > |
> > > > |       `-- poms
> > > > |           `-- avalon-framework.original-4.1.3.pom
> > > > |-- cglib
> > > > |   `-- cglib-nodep
> > > > |
> > > > |       |-- ivy-2.1_3.xml
> > > > |       |-- ivydata-2.1_3.properties
> > > > |       |-- jars
> > > > |       |   `-- cglib-nodep-2.1_3.jar
> > > > |
> > > > |       `-- poms
> > > > |           `-- cglib-nodep.original-2.1_3.pom
> > > > |-- commons-logging
> > > > |   `-- commons-logging
> > > > |
> > > > |       |-- ivy-1.1.1.xml
> > > > |       |-- ivy-1.1.1.xml.original
> > > > |       |-- ivy-1.1.xml
> > > > |       |-- ivydata-1.1.1.properties
> > > > |       |-- ivydata-1.1.properties
> > > > |       |-- jars
> > > > |       |   `-- commons-logging-1.1.1.jar
> > > > |
> > > > |       `-- poms
> > > > |
> > > > |           |-- commons-logging.original-1.1.1.pom
> > > > |
> > > > |           `-- commons-logging.original-1.1.pom
> > > > |-- easymock
> > > > |   `-- easymock
> > > > |
> > > > |       |-- ivy-1.2_Java1.3.xml
> > > > |       |-- ivydata-1.2_Java1.3.properties
> > > > |       |-- jars
> > > > |       |   `-- easymock-1.2_Java1.3.jar
> > > > |
> > > > |       `-- poms
> > > > |           `-- easymock.original-1.2_Java1.3.pom
> > > > |-- ivy-report-graph.xsl
> > > > |-- ivy-report.css
> > > > |-- ivy-report.xsl
> > > > |-- javax.servlet
> > > > |   `-- servlet-api
> > > > |
> > > > |       |-- ivy-2.3.xml
> > > > |       |-- ivydata-2.3.properties
> > > > |       |-- jars
> > > > |       |   `-- servlet-api-2.3.jar
> > > > |
> > > > |       `-- poms
> > > > |           `-- servlet-api.original-2.3.pom
> > > > |-- junit
> > > > |   `-- junit
> > > > |
> > > > |       |-- ivy-3.8.1.xml
> > > > |       |-- ivydata-3.8.1.properties
> > > > |       |-- jars
> > > > |       |   `-- junit-3.8.1.jar
> > > > |
> > > > |       `-- poms
> > > > |           `-- junit.original-3.8.1.pom
> > > > |-- log4j
> > > > |   `-- log4j
> > > > |
> > > > |       |-- ivy-1.2.12.xml
> > > > |       |-- ivy-1.2.14.xml
> > > > |       |-- ivydata-1.2.12.properties
> > > > |       |-- ivydata-1.2.14.properties
> > > > |       |-- jars
> > > > |       |   `-- log4j-1.2.14.jar
> > > > |
> > > > |       `-- poms
> > > > |
> > > > |           |-- log4j.original-1.2.12.pom
> > > > |
> > > > |           `-- log4j.original-1.2.14.pom
> > > > |-- logkit
> > > > |   `-- logkit
> > > > |
> > > > |       |-- ivy-1.0.1.xml
> > > > |       |-- ivydata-1.0.1.properties
> > > > |
> > > > |       `-- poms
> > > > |           `-- logkit.original-1.0.1.pom
> > > > |-- net.mycompany-myproject-compile.xml
> > > > |-- net.mycompany-myproject-runtime.xml
> > > > |-- org.apache
> > > > |   `-- apache
> > > > |
> > > > |       |-- ivy-4.xml
> > > > |       |-- ivy-4.xml.original
> > > > |
> > > > |       `-- ivydata-4.properties
> > > > |-- org.apache.commons
> > > > |   `-- commons-parent
> > > > |
> > > > |       |-- ivy-5.xml
> > > > |       |-- ivy-5.xml.original
> > > > |
> > > > |       `-- ivydata-5.properties
> > > > |-- org.apache.wicket
> > > > |
> > > > |   |-- wicket
> > > > |   |
> > > > |   |   |-- ivy-1.3.5.xml
> > > > |   |   |-- ivydata-1.3.5.properties
> > > > |   |   |-- jars
> > > > |   |   |   `-- wicket-1.3.5.jar
> > > > |   |
> > > > |   |   `-- poms
> > > > |   |       `-- wicket.original-1.3.5.pom
> > > > |   |-- wicket-ioc
> > > > |   |
> > > > |   |   |-- ivy-1.3.5.xml
> > > > |   |   |-- ivydata-1.3.5.properties
> > > > |   |   |-- jars
> > > > |   |   |   `-- wicket-ioc-1.3.5.jar
> > > > |   |
> > > > |   |   `-- poms
> > > > |   |       `-- wicket-ioc.original-1.3.5.pom
> > > > |   |-- wicket-spring
> > > > |   |
> > > > |   |   |-- ivy-1.3.5.xml
> > > > |   |   |-- ivydata-1.3.5.properties
> > > > |   |   |-- jars
> > > > |   |   |   `-- wicket-spring-1.3.5.jar
> > > > |   |
> > > > |   |   `-- poms
> > > > |   |       `-- wicket-spring.original-1.3.5.pom
> > > > |
> > > > |   `-- wicket-spring-annot
> > > > |
> > > > |       |-- ivy-1.3.5.xml
> > > > |       |-- ivydata-1.3.5.properties
> > > > |       |-- jars
> > > > |       |   `-- wicket-spring-annot-1.3.5.jar
> > > > |
> > > > |       `-- poms
> > > > |           `-- wicket-spring-annot.original-1.3.5.pom
> > > > |-- org.slf4j
> > > > |
> > > > |   |-- slf4j-api
> > > > |   |
> > > > |   |   |-- ivy-1.4.2.xml
> > > > |   |   |-- ivy-1.4.2.xml.original
> > > > |   |   |-- ivy-1.5.6.xml
> > > > |   |   |-- ivydata-1.4.2.properties
> > > > |   |   |-- ivydata-1.5.6.properties
> > > > |   |   |-- jars
> > > > |   |   |   `-- slf4j-api-1.5.6.jar
> > > > |   |
> > > > |   |   `-- poms
> > > > |   |       `-- slf4j-api.original-1.5.6.pom
> > > > |   |-- slf4j-log4j12
> > > > |   |
> > > > |   |   |-- ivy-1.5.6.xml
> > > > |   |   |-- ivydata-1.5.6.properties
> > > > |   |   |-- jars
> > > > |   |   |   `-- slf4j-log4j12-1.5.6.jar
> > > > |   |
> > > > |   |   `-- poms
> > > > |   |       `-- slf4j-log4j12.original-1.5.6.pom
> > > > |
> > > > |   `-- slf4j-parent
> > > > |
> > > > |       |-- ivy-1.4.2.xml
> > > > |       |-- ivy-1.4.2.xml.original
> > > > |
> > > > |       `-- ivydata-1.4.2.properties
> > > > |-- org.springframework
> > > > |   `-- spring
> > > > |
> > > > |       |-- ivy-2.0.xml
> > > > |       |-- ivy-2.5.6.xml
> > > > |       |-- ivy-2.5.6.xml.original
> > > > |       |-- ivydata-2.0.properties
> > > > |       |-- ivydata-2.5.6.properties
> > > > |       |-- jars
> > > > |       |   `-- spring-2.5.6.jar
> > > > |
> > > > |       `-- poms
> > > > |
> > > > |           |-- spring.original-2.0.pom
> > > > |
> > > > |           `-- spring.original-2.5.6.pom
> > > > |-- resolved-net.mycompany-myproject-working@rat.properties
> > > >
> > > > `-- resolved-net.mycompany-myproject-working@rat.xml
> > > >
> > > > 59 directories, 88 files
> > > >
> > > >
> > > >
> > > >
> > > > On Mon, Jan 19, 2009 at 11:52 PM, Becheanu, Daniel
> > > > <dbecheanu@cars.com<https://mail.google.com/mail?view=cm&tf=0&to=dbec
> > > >heanu@cars.com>
> >
> > <https://mail.google.com/mail?view=cm&tf=0&to=dbecheanu@cars.com>
> >
> > > <https://mail.google.com/mail?view=cm&tf=0&to=dbecheanu@cars.com>
> > >
> > > > > wrote:
> > > >>
> > > >> I think that is done by IVYDE by default( is downloading
> > >
> > > javadocs/sources
> > >
> > > >> into your .cache directory and links the jar files with
> > > >> correspondent javadoc/src)
> > > >>
> > > >> Daniel
> > > >>
> > > >> -----Original Message-----
> > > >> From: Kent Larsson
> > > >> [mailto:kent.larsson@gmail.com<https://mail.google.com/mail?view=cm&
> > > >>tf=0&to=kent.larsson@gmail.com>
> >
> > <https://mail.google.com/mail?view=cm&tf=0&to=kent.larsson@gmail.com>
> >
> > > <https://mail.google.com/mail?view=cm&tf=0&to=kent.larsson@gmail.com>
> > >
> > > >> ]
> > > >> Sent: Monday, January 19, 2009 4:28 PM
> > > >> To:
> > > >> ivy-user@ant.apache.org<https://mail.google.com/mail?view=cm&tf=0&to
> > > >>=ivy-user@ant.apache.org>
> >
> > <https://mail.google.com/mail?view=cm&tf=0&to=ivy-user@ant.apache.org>
> >
> > > <https://mail.google.com/mail?view=cm&tf=0&to=ivy-user@ant.apache.org>
> > >
> > > >> Subject: Can I download Javadoc and Source using Ivy and let IvyDE
> > > >> configure it automatically in Eclipse for me?
> > > >>
> > > >> Hi,
> > > >>
> > > >> It would be really nice if I could have Ivy download Javadoc and
> >
> > Source
> >
> > > >> for
> > > >> the dependencies that have those published and let IveDE configure
> > > >> it
> > >
> > > for
> > >
> > > >> me
> > > >> in Eclipse. Is that possible? And if it is, where should I turn for
> > > >> information?
> > > >>
> > > >> If it is possible, do you download .JAR as well as JavaDoc and
> > > >> Source files
> > > >> into lib/conf/... (or where you choose to have the dependencies) all
> > >
> > > mixed
> > >
> > > >> together?
> > > >>
> > > >> Best regards, Kent


Mime
View raw message