Using the following

*build.xml:*
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:ivy="antlib:org.apache.ivy.ant" name="test" 
default="resolve">
<target name="resolve" description="--> resolve dependencies">
<ivy:retrieve sync="true" type="jar"/>
</target>
</project>

*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.xsd"; 
xmlns:m="http://ant.apache.org/ivy/maven";>
<info organisation="pt.ipb" module="test" status="release" />
<dependencies>
<dependency org="com.google.gwt" name="gwt-user" rev="2.3.0" />
<dependency org="com.google.gwt" name="gwt-servlet" rev="2.3.0" />
<dependency org="com.google.gwt" name="gwt-dev" rev="2.3.0" />
<dependency org="javax.validation" name="validation-api" rev="1.0.0.GA">
<artifact name="validation-api"/>
<artifact name="validation-api" m:classifier="sources"/>
</dependency>
</dependencies>
</ivy-module>

[fsousa@nostradamus ivy-test]$ ant
Buildfile: /home/fsousa/ivy-test/build.xml

resolve:
[ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ 
::
[ivy:retrieve] :: loading settings :: url = 
jar:file:/opt/apache-ant-1.8.2/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: pt.ipb#test;working@nostradamus
[ivy:retrieve] confs: [default]
[ivy:retrieve] found com.google.gwt#gwt-user;2.3.0 in public
[ivy:retrieve] found com.google.gwt#gwt-servlet;2.3.0 in public
[ivy:retrieve] found com.google.gwt#gwt-dev;2.3.0 in public
[ivy:retrieve] found javax.validation#validation-api;1.0.0.GA in public
[ivy:retrieve] :: resolution report :: resolve 199ms :: artifacts dl 16ms
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   4   |   0   |   0   |   0   ||   11  |   0   |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: pt.ipb#test [sync]
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 5 already retrieved (0kB/9ms)

BUILD SUCCESSFUL
Total time: 0 seconds

[fsousa@nostradamus ivy-test]$ ls -l lib 
total 44076
-rw-rw-r-- 1 fsousa fsousa 28046854 May  3 16:02 gwt-dev-2.3.0.jar
-rw-rw-r-- 1 fsousa fsousa  5004997 May  3 16:04 gwt-servlet-2.3.0.jar
-rw-rw-r-- 1 fsousa fsousa 11962987 May  3 16:03 gwt-user-2.3.0.jar
-rw-rw-r-- 1 fsousa fsousa    47433 Feb 25  2010 validation-api-1.0.0.GA.jar
-rw-rw-r-- 1 fsousa fsousa    65220 Feb 25  2010 
validation-api-1.0.0.GA-sources.jar

As you can see, I'm getting all the jars needed. The same happens with 
IvyDE.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to