ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r815307 - in /ant/ivy/ivyde/trunk/test: launch-dependency/ launch-dependency/src/ launch-dependency/src/org/ launch-dependency/src/org/apache/ launch-dependency/src/org/apache/ivyde/ launch-dependency/src/org/apache/ivyde/test/ launch-depen...
Date Tue, 15 Sep 2009 13:03:48 GMT
Author: hibou
Date: Tue Sep 15 13:03:47 2009
New Revision: 815307

URL: http://svn.apache.org/viewvc?rev=815307&view=rev
Log:
Add some test projects to reproduce IVYDE-193

Added:
    ant/ivy/ivyde/trunk/test/launch-dependency/   (with props)
    ant/ivy/ivyde/trunk/test/launch-dependency/.classpath
    ant/ivy/ivyde/trunk/test/launch-dependency/.project
    ant/ivy/ivyde/trunk/test/launch-dependency/ivy.xml   (with props)
    ant/ivy/ivyde/trunk/test/launch-dependency/src/
    ant/ivy/ivyde/trunk/test/launch-dependency/src/org/
    ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/
    ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/
    ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/
    ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/
    ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/
    ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java
  (with props)
    ant/ivy/ivyde/trunk/test/launch-main/   (with props)
    ant/ivy/ivyde/trunk/test/launch-main/.classpath
    ant/ivy/ivyde/trunk/test/launch-main/.project
    ant/ivy/ivyde/trunk/test/launch-main/ivy.xml   (with props)
    ant/ivy/ivyde/trunk/test/launch-main/src/
    ant/ivy/ivyde/trunk/test/launch-main/src/org/
    ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/
    ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/
    ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/
    ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/launch/
    ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/launch/main/
    ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/launch/main/Test.java 
 (with props)

Propchange: ant/ivy/ivyde/trunk/test/launch-dependency/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Sep 15 13:03:47 2009
@@ -0,0 +1,2 @@
+bin
+

Added: ant/ivy/ivyde/trunk/test/launch-dependency/.classpath
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-dependency/.classpath?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-dependency/.classpath (added)
+++ ant/ivy/ivyde/trunk/test/launch-dependency/.classpath Tue Sep 15 13:03:47 2009
@@ -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;doRetrieve=false&amp;retrievePattern=lib%2F%5Bconf%5D%2F%5Bartifact%5D.%5Bext%5D&amp;retrieveSync=false&amp;retrieveConfs=*&amp;retrieveTypes=*&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;alphaOrder=false&amp;resolveInWorkspace=true"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Added: ant/ivy/ivyde/trunk/test/launch-dependency/.project
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-dependency/.project?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-dependency/.project (added)
+++ ant/ivy/ivyde/trunk/test/launch-dependency/.project Tue Sep 15 13:03:47 2009
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>ivydetest-launch-dependency</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/launch-dependency/ivy.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-dependency/ivy.xml?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-dependency/ivy.xml (added)
+++ ant/ivy/ivyde/trunk/test/launch-dependency/ivy.xml Tue Sep 15 13:03:47 2009
@@ -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.    
+-->
+<ivy-module version="1.0">
+    <info organisation="org.apache.ivyde" module="ivytest-launch-dependency">
+        <description>
+            Project being the dependency upon the project in which the launch will occur
+        </description>
+    </info>
+    <configurations>
+        <conf name="default" />
+        <conf name="test" />
+    </configurations>
+    <dependencies>
+        <dependency org="junit" name="junit" rev="3.8.2" conf="test->default" />
+    </dependencies>
+</ivy-module>

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

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

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

Added: ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java
(added)
+++ ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java
Tue Sep 15 13:03:47 2009
@@ -0,0 +1,25 @@
+/*
+ *  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.launch.dependency;
+
+public class HelloworldGetter {
+
+    public String get() {
+        return "hello world";
+    }
+}

Propchange: ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/ivyde/trunk/test/launch-dependency/src/org/apache/ivyde/test/launch/dependency/HelloworldGetter.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/ivyde/trunk/test/launch-main/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Sep 15 13:03:47 2009
@@ -0,0 +1,2 @@
+bin
+

Added: ant/ivy/ivyde/trunk/test/launch-main/.classpath
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-main/.classpath?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-main/.classpath (added)
+++ ant/ivy/ivyde/trunk/test/launch-main/.classpath Tue Sep 15 13:03:47 2009
@@ -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;doRetrieve=false&amp;retrievePattern=lib%2F%5Bconf%5D%2F%5Bartifact%5D.%5Bext%5D&amp;retrieveSync=false&amp;retrieveConfs=*&amp;retrieveTypes=*&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;alphaOrder=false&amp;resolveInWorkspace=true"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Added: ant/ivy/ivyde/trunk/test/launch-main/.project
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-main/.project?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-main/.project (added)
+++ ant/ivy/ivyde/trunk/test/launch-main/.project Tue Sep 15 13:03:47 2009
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>ivydetest-launch-main</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/launch-main/ivy.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-main/ivy.xml?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-main/ivy.xml (added)
+++ ant/ivy/ivyde/trunk/test/launch-main/ivy.xml Tue Sep 15 13:03:47 2009
@@ -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-launch-main">
+        <description>
+            Project using the resolve in workspace and in which we will test the Eclipse
java launcher
+        </description>
+    </info>
+    <configurations>
+        <conf name="default" />
+    </configurations>
+    <dependencies>
+        <dependency org="org.apache.ivyde" name="ivytest-launch-dependency" rev="latest.integration"
conf="default->default" />
+    </dependencies>
+</ivy-module>

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

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

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

Added: ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/launch/main/Test.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/launch/main/Test.java?rev=815307&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/launch/main/Test.java (added)
+++ ant/ivy/ivyde/trunk/test/launch-main/src/org/apache/ivyde/test/launch/main/Test.java Tue
Sep 15 13:03:47 2009
@@ -0,0 +1,34 @@
+/*
+ *  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.launch.main;
+
+import org.apache.ivyde.test.launch.dependency.HelloworldGetter;
+
+public class Test {
+
+    public static void main(String[] args) {
+        HelloworldGetter helloworldGetter = new HelloworldGetter();
+        System.out.println(helloworldGetter.get());
+        try {
+            Class.forName("junit.framework.Assert");
+            System.out.println("junit.framework.Assert found : KO");
+        } catch (ClassNotFoundException e) {
+            System.out.println("junit.framework.Assert not found : OK");
+        }
+    }
+}

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

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

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



Mime
View raw message