Author: hibou
Date: Mon Nov 10 03:38:12 2008
New Revision: 712647

URL: http://svn.apache.org/viewvc?rev=712647&view=rev
Log:
IVYDE-128: add a test project to show how to retrieve sources when using a 
maven repo

Added:
    ant/ivy/ivyde/trunk/test/maven-sources/   (with props)
    ant/ivy/ivyde/trunk/test/maven-sources/.classpath
    ant/ivy/ivyde/trunk/test/maven-sources/.project
    ant/ivy/ivyde/trunk/test/maven-sources/ivy.xml   (with props)
    ant/ivy/ivyde/trunk/test/maven-sources/src/
    ant/ivy/ivyde/trunk/test/maven-sources/src/org/
    ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/
    ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/
    ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/
    ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java  
 (with props)

Propchange: ant/ivy/ivyde/trunk/test/maven-sources/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Nov 10 03:38:12 2008
@@ -0,0 +1 @@
+bin

Added: ant/ivy/ivyde/trunk/test/maven-sources/.classpath
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/maven-sources/.classpath?rev=712647&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/maven-sources/.classpath (added)
+++ ant/ivy/ivyde/trunk/test/maven-sources/.classpath Mon Nov 10 03:38:12 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=&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=false&amp;retrievePattern=lib%2F%5Bconf%5D%2F%5Bartifact%5D.%5Bext%5D&amp;retrieveSync=false&amp;alphaOrder=false&amp;resolveInWorkspace=false"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>

Added: ant/ivy/ivyde/trunk/test/maven-sources/.project
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/maven-sources/.project?rev=712647&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/maven-sources/.project (added)
+++ ant/ivy/ivyde/trunk/test/maven-sources/.project Mon Nov 10 03:38:12 2008
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>ivydetest-maven-sources</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/maven-sources/ivy.xml
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/maven-sources/ivy.xml?rev=712647&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/maven-sources/ivy.xml (added)
+++ ant/ivy/ivyde/trunk/test/maven-sources/ivy.xml Mon Nov 10 03:38:12 2008
@@ -0,0 +1,31 @@
+<!--
+   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-maven-sources">
+        <description>
+            Project with a dependency commons-collections in a maven repo, and 
try to get the sources
+        </description>
+    </info>
+    <configurations>
+        <conf name="default" />
+    </configurations>
+    <dependencies>
+        <dependency org="commons-collections" name="commons-collections" 
rev="3.2" conf="default->default,sources" />
+    </dependencies>
+</ivy-module>

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

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

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

Added: 
ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java?rev=712647&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java 
(added)
+++ ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java 
Mon Nov 10 03:38:12 2008
@@ -0,0 +1,28 @@
+/*
+ *  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.
+ *
+ */
+package org.apache.ivyde.test;
+
+import org.apache.commons.collections.CollectionUtils;
+
+public class Test {
+
+       public static void main(String[] args) {
+               CollectionUtils.isEmpty(null);
+       }
+
+}

Propchange: 
ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: 
ant/ivy/ivyde/trunk/test/maven-sources/src/org/apache/ivyde/test/Test.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain


Reply via email to