Author: hibou
Date: Mon Aug 11 08:48:15 2008
New Revision: 684784

URL: http://svn.apache.org/viewvc?rev=684784&view=rev
Log:
IVYDE-106 : test project that show that every type is retrieved

Added:
    ant/ivy/ivyde/trunk/test/retrieve/   (with props)
    ant/ivy/ivyde/trunk/test/retrieve/.classpath
    ant/ivy/ivyde/trunk/test/retrieve/.project
    ant/ivy/ivyde/trunk/test/retrieve/ivy.xml   (with props)
    ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml   (with props)
    ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml   (with props)
    ant/ivy/ivyde/trunk/test/retrieve/src/

Propchange: ant/ivy/ivyde/trunk/test/retrieve/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Aug 11 08:48:15 2008
@@ -0,0 +1,6 @@
+bin
+lib
+lib-ant
+work-ivy
+apache-ivy-2.0.0-beta2-bin.zip
+

Added: ant/ivy/ivyde/trunk/test/retrieve/.classpath
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/retrieve/.classpath?rev=684784&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/retrieve/.classpath (added)
+++ ant/ivy/ivyde/trunk/test/retrieve/.classpath Mon Aug 11 08:48:15 2008
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+       <classpathentry kind="con" 
path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?ivyXmlPath=ivy.xml&amp;confs=*&amp;ivySettingsPath=file%3A%2F%2F.%2Fivysettings.xml&amp;acceptedTypes=jar&amp;sourceTypes=source&amp;javadocTypes=javadoc&amp;sourceSuffixes=-source%2C-sources%2C-src&amp;javadocSuffixes=-javadoc%2C-javadocs%2C-doc%2C-docs&amp;doRetrieve=true&amp;retrievePattern=lib%2F%5Bartifact%5D-%5Btype%5D.%5Bext%5D&amp;retrieveSync=true&amp;alphaOrder=false&amp;resolveInWorkspace=false"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>

Added: ant/ivy/ivyde/trunk/test/retrieve/.project
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/retrieve/.project?rev=684784&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/retrieve/.project (added)
+++ ant/ivy/ivyde/trunk/test/retrieve/.project Mon Aug 11 08:48:15 2008
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>ivydetest-retrieve</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>

Added: ant/ivy/ivyde/trunk/test/retrieve/ivy.xml
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/retrieve/ivy.xml?rev=684784&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/retrieve/ivy.xml (added)
+++ ant/ivy/ivyde/trunk/test/retrieve/ivy.xml Mon Aug 11 08:48:15 2008
@@ -0,0 +1,30 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<ivy-module version="1.0"> 
+       <info organisation="org.apache.ivyde" module="ivytest-retrieve">
+               <description>
+               </description>
+       </info>
+       <configurations>
+               <conf name="default" />
+       </configurations>
+       <dependencies>
+               <dependency org="myorg" name="mymodule" rev="1.1" 
conf="default" />
+       </dependencies>
+</ivy-module>

Propchange: ant/ivy/ivyde/trunk/test/retrieve/ivy.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/ivyde/trunk/test/retrieve/ivy.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/ivyde/trunk/test/retrieve/ivy.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml?rev=684784&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml (added)
+++ ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml Mon Aug 11 08:48:15 2008
@@ -0,0 +1,10 @@
+<ivysettings>
+    <caches defaultCacheDir="${ivy.settings.dir}/../cache-fakerepo" 
useOrigin="true" />
+    <settings defaultResolver="fakerepo" checkUpToDate="false" />
+    <resolvers>
+        <filesystem name="fakerepo">
+            <ivy 
pattern="${ivy.settings.dir}/../fakerepo/[organisation]/[module]/ivy-[revision].xml"/>
+            <artifact 
pattern="${ivy.settings.dir}/../fakerepo/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
+        </filesystem>
+    </resolvers>
+</ivysettings>

Propchange: ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/ivyde/trunk/test/retrieve/ivysettings.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml?rev=684784&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml (added)
+++ ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml Mon Aug 11 08:48:15 2008
@@ -0,0 +1,32 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<project xmlns:ivy="antlib:org.apache.ivy.ant">
+
+    <target name="get-ivy">
+        <get 
src="http://apache.org/dist/ant/ivy/2.0.0-beta2/apache-ivy-2.0.0-beta2-bin.zip"; 
usetimestamp="true" dest="apache-ivy-2.0.0-beta2-bin.zip" />
+        <mkdir dir="work-ivy" />
+        <unzip overwrite="true" src="apache-ivy-2.0.0-beta2-bin.zip" 
dest="work-ivy" />
+    </target>
+
+    <target name="retrieve">
+        <taskdef resource="org/apache/ivy/ant/antlib.xml" 
uri="antlib:org.apache.ivy.ant" 
classpath="work-ivy/apache-ivy-2.0.0-beta2/ivy-2.0.0-beta2.jar" />
+        <ivy:settings file="ivysettings.xml" />
+        <ivy:retrieve file="ivy.xml" 
pattern="lib-ant/[artifact]-[revision].[ext]" conf="default" type="jar" 
sync="true" />
+    </target>
+</project>

Propchange: ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/ivyde/trunk/test/retrieve/retrieve.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml


Reply via email to