ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joris wijlens" <joriswijl...@gmail.com>
Subject Re: IvyDE build failure when running resolve
Date Sun, 28 Oct 2007 21:05:25 GMT
Xavier,

Thanks for the reply I tried it and it now works. Two little issues that i
had to resolve:

   1. I had to point the ivy home to the .ivy2 dir instead of the .ivy
   directory in my user home.
   2. After that the xml validation of the ivy.xml failed when running
   resolve, The exclude for Junit causes it. below are the logging and the ivy
   file.

Buildfile: C:\workspaceplugins\ivyde\build.xml
download-ivy:
      [get] Getting: http://www.jayasoft.org/downloads/ivy/1.4/ivy-1.4.jar
      [get] To: C:\Documents and Settings\Joris\.ivy2\jars\ivy.jar
      [get] Not modified - so not downloaded
init-ivy:
init:
prepare:
resolve:
[ivy:retrieve] :: Ivy 1.4 - 20061009124215 :: http://ivy.jayasoft.org/ ::
[ivy:retrieve] no configuration file found, using default...
[ivy:retrieve] :: configuring :: url =
jar:file:/C:/Documents%20and%20Settings/Joris/.ivy2/jars/ivy.jar!/fr/jayasoft/ivy/conf/ivyconf.xml
[ivy:retrieve] :: resolving dependencies :: [ apache | ivyde | working@wa01]
[ivy:retrieve] confs: [default, ant]
[ivy:retrieve] found [ apache | commons-logging | 1.0.4 ] in public
[ivy:retrieve] :: resolution report ::
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   2   |   0   |   0   |   0   ||   1   |   0   |
|        ant       |   1   |   0   |   0   |   0   ||   0   |   0   |
---------------------------------------------------------------------
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] problem while listing resources in
http://ivyrep.jayasoft.org/apache/ivy with public: class
java.io.FileNotFoundException http://www.jaya.free.fr/ivyrep/apache/ivy
[ivy:retrieve] problem while listing resources in
http://www.ibiblio.org/maven/ivy/jars with public: class
java.io.FileNotFoundException http://www.ibiblio.org/maven/ivy/jars/
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: [ apache | ivy | latest.integration ]: [xml parsing:
C:\Documents and
Settings\Joris\.ivy2\local\apache\ivy\2.0.0-beta1-local-20071028220220\ivys\ivy.xml:48:60:
cvc-complex-type.2.4.a: Invalid content was found starting with element
'exclude'. One of '{"":dependency}' is expected. in C:\Documents and
Settings\Joris\.ivy2\local\apache\ivy\2.0.0-beta1-local-20071028220220\ivys\ivy.xml
[ivy:retrieve] ]
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
C:\workspaceplugins\ivyde\build.xml:85: impossible to resolve dependencies:
resolve failed - see output for details

Total time: 2 seconds



<ivy-module version="1.0">
    <info organisation="apache" module="ivy" revision="
2.0.0-beta1-local-20071028135103" status="integration"
publication="20071028135105"/>
    <configurations>
        <conf name="core" description="only ivy core, without ant tasks and
any dependencies"/>
        <conf name="httpclient" extends="core" description="core + optional
httpclient for better http handling"/>
        <conf name="oro" extends="core" description="to use optional glob
matcher"/>
        <conf name="vfs" extends="core" description="core + optional
VirtualFileSystem(VFS) support"/>
        <conf name="sftp" extends="core" description="core + optional SFTP
support"/>
        <conf name="standalone" extends="core" description="to launch in
standalone mode (from command line)"/>
        <conf name="default" description="full ivy with all dependencies"/>
        <conf name="test" description="dependencies used for junit testing
ivy" visibility="private"/>
    </configurations>
    <publications>
        <artifact name="ivy" type="jar" conf="default"/>
        <artifact name="ivy-core" type="jar" conf="core"/>
    </publications>
    <dependencies>
        <dependency org="ant" name="ant" rev="1.6" conf="default"/>
        <dependency org="commons-httpclient" name="commons-httpclient" rev="
3.0" conf="default,httpclient->runtime,master"/>
        <dependency org="commons-cli" name="commons-cli" rev="1.0"
conf="default,standalone->runtime,master"/>
        <dependency org="oro" name="oro" rev="2.0.8"
conf="default,oro->default"/>
        <dependency org="commons-vfs" name="commons-vfs" rev="1.0"
conf="default,vfs->default"/>
        <dependency org="jsch" name="jsch" rev="0.1.25"
conf="default,sftp->default"/>

        <!-- Test dependencies -->
        <dependency org="junit" name="junit" rev="3.8.2"
conf="test->default"/>
        <dependency org="commons-lang" name="commons-lang" rev="2.3"
conf="test->default"/>

        <!-- Global exclude for junit -->
        <exclude org="junit" module="junit" conf="core,default"/>
    </dependencies>
</ivy-module>



2007/10/27, Xavier Hanin <xavier.hanin@gmail.com>:
>
> On 10/26/07, Joris wijlens <joriswijlens@gmail.com> wrote:
> >
> > Hi,
> >
> > I would like to nose around in the source code of ivyde. But
> > http://ant.apache.org/ivy/downloads/latest/ is not reachable this causes
> > the
> > resolve task to fail I think. Is this being fixed or is there a
> > workaround?
>
>
> Indeed, we have to fix this... As a workaround, I suggest you checkout Ivy
> itself and run "ant publish-local". And to develop IvyDE you will need
> IvyDE
> installed (we should do something about that, and support development
> without IvyDE as we did for Ivy), I suggest using a recent version, for
> instance the more recent you will find here:
> http://www.xoocode.org/downloads/tools/
>
> This is not an official version, but for development it should be ok.
>
> Is there any documentation about how to get started?
>
>
> Nope, sorry about that. You can find pretty good documentation about
> eclipse
> plugin development on the net, a good starting point is the plugin.xmlwhich
> let you start another eclipse instance in debug mode with IvyDE. IvyDE
> code
> is not very complex, the main part is the classpath container code located
> in the IvyClasspathContainer class.
>
> HTH,
>
> Xavier
>
> --
> > Thanks anyway,
> >
> > Joris Wijlens
> >
> > Tel. 06-28419140
> >
>
>
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://ant.apache.org/ivy/
> http://www.xoocode.org/
>



-- 
Met vriendelijke groet,

Joris Wijlens

Tel. 06-28419140

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message