Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 48209 invoked from network); 14 Dec 2010 16:29:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 16:29:40 -0000 Received: (qmail 32784 invoked by uid 500); 14 Dec 2010 16:29:40 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 32745 invoked by uid 500); 14 Dec 2010 16:29:40 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 32668 invoked by uid 99); 14 Dec 2010 16:29:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 16:29:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 16:29:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 72B2C2388C10; Tue, 14 Dec 2010 16:28:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1049146 [9/19] - in /ant/ivy/core/trunk: ./ src/etc/checkstyle/ src/etc/license/ src/example/build-a-ivy-repository/ src/example/build-a-ivy-repository/settings/ src/example/chained-resolvers/ src/example/chained-resolvers/chainedresolvers... Date: Tue, 14 Dec 2010 16:28:36 -0000 To: notifications@ant.apache.org From: hibou@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101214162845.72B2C2388C10@eris.apache.org> Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/descriptor/DefaultDependencyDescriptorTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/descriptor/DefaultDependencyDescriptorTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/id/ModuleIdTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/id/ModuleIdTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/id/ModuleRevisionIdTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/id/ModuleRevisionIdTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/id/ModuleRulesTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/module/id/ModuleRulesTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEngineTest.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEngineTest.java?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEngineTest.java (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEngineTest.java Tue Dec 14 16:28:01 2010 @@ -1,143 +1,143 @@ -/* - * 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.ivy.core.publish; - -import java.io.File; -import java.io.IOException; -import java.text.ParseException; -import java.util.Arrays; - -import junit.framework.TestCase; - -import org.apache.ivy.core.event.EventManager; -import org.apache.ivy.core.module.descriptor.Artifact; -import org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor; -import org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor; -import org.apache.ivy.core.module.id.ModuleRevisionId; -import org.apache.ivy.core.resolve.ResolveData; -import org.apache.ivy.core.resolve.ResolveEngine; -import org.apache.ivy.core.resolve.ResolveOptions; -import org.apache.ivy.core.resolve.ResolvedModuleRevision; -import org.apache.ivy.core.settings.IvySettings; -import org.apache.ivy.core.sort.SortEngine; -import org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorWriter; -import org.apache.ivy.plugins.resolver.FileSystemResolver; -import org.apache.ivy.util.FileUtil; - -public class PublishEngineTest extends TestCase { - protected void setUp() throws Exception { - System.setProperty("ivy.cache.dir", new File("build/test/publish/cache").getAbsolutePath()); - FileUtil.forceDelete(new File("build/test/publish")); - } - protected void tearDown() throws Exception { - FileUtil.forceDelete(new File("build/test/publish")); - } - - public void testAtomicity() throws Exception { - IvySettings settings = new IvySettings(); - final PublishEngine engine = new PublishEngine(settings, new EventManager()); - final int[] counter = new int[] {0}; - - final DefaultModuleDescriptor md = DefaultModuleDescriptor - .newDefaultInstance(ModuleRevisionId.parse("#A;1.0")); - final FileSystemResolver resolver = new FileSystemResolver() { - public void publish(Artifact artifact, File src, boolean overwrite) throws IOException { - super.publish(artifact, src, overwrite); - synchronized (PublishEngineTest.this) { - counter[0] ++; - } - sleepSilently(50); - synchronized (PublishEngineTest.this) { - counter[0] ++; - } - } - }; - resolver.setName("test"); - resolver.setSettings(settings); - String publishRepoDir = new File("build/test/publish/repo").getAbsolutePath(); - resolver.addIvyPattern(publishRepoDir + "/[module]/[revision]/[artifact].[ext]"); - resolver.addArtifactPattern(publishRepoDir + "/[module]/[revision]/[artifact].[ext]"); - - FileUtil.copy( - new File("test/repositories/1/org1/mod1.1/jars/mod1.1-1.0.jar"), - new File("build/test/publish/module/A.jar"), null); - XmlModuleDescriptorWriter.write(md, new File("build/test/publish/module/ivy.xml")); - - resolveAndAssertNotFound(settings, resolver, "#A;latest.integration", "before publishing"); - - // run publish asynchronously - new Thread() { - public void run() { - try { - engine.publish( - md, - Arrays.asList(new String[] {"build/test/publish/module/[artifact].[ext]"}), - resolver, - new PublishOptions().setSrcIvyPattern("build/test/publish/module/[artifact].[ext]")); - synchronized (PublishEngineTest.this) { - counter[0] ++; - } - } catch (IOException e) { - throw new RuntimeException(e); - } - } - }.start(); - - while(true) { - sleepSilently(5); - synchronized (this) { - if (counter[0] == 5) { - break; - } else if (counter[0] < 4) { - resolveAndAssertNotFound(settings, resolver, - "#A;latest.integration", "after "+(counter[0] / 2)+" artifacts published"); - } - } - } - resolveAndAssertFound(settings, resolver, "#A;1.0"); - } - private void resolveAndAssertNotFound( - IvySettings settings, FileSystemResolver resolver, String module, String context) - throws ParseException { - ResolvedModuleRevision rmr = resolveModule(settings, resolver, module); - assertNull("module found " + context + ". module="+rmr, rmr); - } - - private void resolveAndAssertFound( - IvySettings settings, FileSystemResolver resolver, String module) - throws ParseException { - ResolvedModuleRevision rmr = resolveModule(settings, resolver, module); - assertNotNull(rmr); - assertEquals(module, rmr.getId().toString()); - } - private ResolvedModuleRevision resolveModule( - IvySettings settings, FileSystemResolver resolver, String module) - throws ParseException { - return resolver.getDependency( - new DefaultDependencyDescriptor(ModuleRevisionId.parse(module), false), - new ResolveData( - new ResolveEngine(settings, new EventManager(), new SortEngine(settings)), - new ResolveOptions())); - } - private void sleepSilently(int timeout) { - try { - Thread.sleep(timeout); - } catch (InterruptedException e) { - } - } -} +/* + * 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.ivy.core.publish; + +import java.io.File; +import java.io.IOException; +import java.text.ParseException; +import java.util.Arrays; + +import junit.framework.TestCase; + +import org.apache.ivy.core.event.EventManager; +import org.apache.ivy.core.module.descriptor.Artifact; +import org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor; +import org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor; +import org.apache.ivy.core.module.id.ModuleRevisionId; +import org.apache.ivy.core.resolve.ResolveData; +import org.apache.ivy.core.resolve.ResolveEngine; +import org.apache.ivy.core.resolve.ResolveOptions; +import org.apache.ivy.core.resolve.ResolvedModuleRevision; +import org.apache.ivy.core.settings.IvySettings; +import org.apache.ivy.core.sort.SortEngine; +import org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorWriter; +import org.apache.ivy.plugins.resolver.FileSystemResolver; +import org.apache.ivy.util.FileUtil; + +public class PublishEngineTest extends TestCase { + protected void setUp() throws Exception { + System.setProperty("ivy.cache.dir", new File("build/test/publish/cache").getAbsolutePath()); + FileUtil.forceDelete(new File("build/test/publish")); + } + protected void tearDown() throws Exception { + FileUtil.forceDelete(new File("build/test/publish")); + } + + public void testAtomicity() throws Exception { + IvySettings settings = new IvySettings(); + final PublishEngine engine = new PublishEngine(settings, new EventManager()); + final int[] counter = new int[] {0}; + + final DefaultModuleDescriptor md = DefaultModuleDescriptor + .newDefaultInstance(ModuleRevisionId.parse("#A;1.0")); + final FileSystemResolver resolver = new FileSystemResolver() { + public void publish(Artifact artifact, File src, boolean overwrite) throws IOException { + super.publish(artifact, src, overwrite); + synchronized (PublishEngineTest.this) { + counter[0] ++; + } + sleepSilently(50); + synchronized (PublishEngineTest.this) { + counter[0] ++; + } + } + }; + resolver.setName("test"); + resolver.setSettings(settings); + String publishRepoDir = new File("build/test/publish/repo").getAbsolutePath(); + resolver.addIvyPattern(publishRepoDir + "/[module]/[revision]/[artifact].[ext]"); + resolver.addArtifactPattern(publishRepoDir + "/[module]/[revision]/[artifact].[ext]"); + + FileUtil.copy( + new File("test/repositories/1/org1/mod1.1/jars/mod1.1-1.0.jar"), + new File("build/test/publish/module/A.jar"), null); + XmlModuleDescriptorWriter.write(md, new File("build/test/publish/module/ivy.xml")); + + resolveAndAssertNotFound(settings, resolver, "#A;latest.integration", "before publishing"); + + // run publish asynchronously + new Thread() { + public void run() { + try { + engine.publish( + md, + Arrays.asList(new String[] {"build/test/publish/module/[artifact].[ext]"}), + resolver, + new PublishOptions().setSrcIvyPattern("build/test/publish/module/[artifact].[ext]")); + synchronized (PublishEngineTest.this) { + counter[0] ++; + } + } catch (IOException e) { + throw new RuntimeException(e); + } + } + }.start(); + + while(true) { + sleepSilently(5); + synchronized (this) { + if (counter[0] == 5) { + break; + } else if (counter[0] < 4) { + resolveAndAssertNotFound(settings, resolver, + "#A;latest.integration", "after "+(counter[0] / 2)+" artifacts published"); + } + } + } + resolveAndAssertFound(settings, resolver, "#A;1.0"); + } + private void resolveAndAssertNotFound( + IvySettings settings, FileSystemResolver resolver, String module, String context) + throws ParseException { + ResolvedModuleRevision rmr = resolveModule(settings, resolver, module); + assertNull("module found " + context + ". module="+rmr, rmr); + } + + private void resolveAndAssertFound( + IvySettings settings, FileSystemResolver resolver, String module) + throws ParseException { + ResolvedModuleRevision rmr = resolveModule(settings, resolver, module); + assertNotNull(rmr); + assertEquals(module, rmr.getId().toString()); + } + private ResolvedModuleRevision resolveModule( + IvySettings settings, FileSystemResolver resolver, String module) + throws ParseException { + return resolver.getDependency( + new DefaultDependencyDescriptor(ModuleRevisionId.parse(module), false), + new ResolveData( + new ResolveEngine(settings, new EventManager(), new SortEngine(settings)), + new ResolveOptions())); + } + private void sleepSilently(int timeout) { + try { + Thread.sleep(timeout); + } catch (InterruptedException e) { + } + } +} Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEngineTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEngineTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEventsTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/PublishEventsTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/ivy-1.0-dev.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/ivy-1.0-dev.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/ivysettings-publisheventstest.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/publish/ivysettings-publisheventstest.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/repository/RepositoryManagementEngineTest.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/repository/RepositoryManagementEngineTest.java?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/repository/RepositoryManagementEngineTest.java (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/repository/RepositoryManagementEngineTest.java Tue Dec 14 16:28:01 2010 @@ -1,68 +1,68 @@ -/* - * 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.ivy.core.repository; - -import junit.framework.TestCase; - -import org.apache.ivy.TestFixture; -import org.apache.ivy.TestHelper; -import org.apache.ivy.core.event.EventManager; -import org.apache.ivy.core.resolve.ResolveEngine; -import org.apache.ivy.core.search.SearchEngine; -import org.apache.ivy.core.settings.IvySettings; -import org.apache.ivy.core.sort.SortEngine; - -public class RepositoryManagementEngineTest extends TestCase { - private RepositoryManagementEngine repository; - private TestFixture fixture; - - protected void setUp() throws Exception { - fixture = new TestFixture(); - IvySettings settings = fixture.getSettings(); - repository = new RepositoryManagementEngine(settings, new SearchEngine(settings), - new ResolveEngine(settings, new EventManager(), new SortEngine(settings))); - } - - protected void tearDown() throws Exception { - fixture.clean(); - } - - public void testLoad() throws Exception { - fixture - .addMD("o1#A;1").addMD("o1#A;2").addMD("o1#A;3") - .addMD("o1#B;1").addMD("o1#B;2->o1#A;2") - .addMD("o2#C;1->{o1#B;1 o1#A;1}") - .init(); - - repository.load(); - assertEquals(3, repository.getModuleIdsNumber()); - assertEquals(6, repository.getRevisionsNumber()); - } - - public void testOrphans() throws Exception { - fixture - .addMD("o1#A;1").addMD("o1#A;2").addMD("o1#A;3") - .addMD("o1#B;1").addMD("o1#B;2->o1#A;2") - .addMD("o2#C;1->{o1#B;1 o1#A;1}") - .init(); - - repository.load(); - repository.analyze(); - TestHelper.assertModuleRevisionIds("o1#A;3 o1#B;2 o2#C;1", repository.getOrphans()); - } -} +/* + * 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.ivy.core.repository; + +import junit.framework.TestCase; + +import org.apache.ivy.TestFixture; +import org.apache.ivy.TestHelper; +import org.apache.ivy.core.event.EventManager; +import org.apache.ivy.core.resolve.ResolveEngine; +import org.apache.ivy.core.search.SearchEngine; +import org.apache.ivy.core.settings.IvySettings; +import org.apache.ivy.core.sort.SortEngine; + +public class RepositoryManagementEngineTest extends TestCase { + private RepositoryManagementEngine repository; + private TestFixture fixture; + + protected void setUp() throws Exception { + fixture = new TestFixture(); + IvySettings settings = fixture.getSettings(); + repository = new RepositoryManagementEngine(settings, new SearchEngine(settings), + new ResolveEngine(settings, new EventManager(), new SortEngine(settings))); + } + + protected void tearDown() throws Exception { + fixture.clean(); + } + + public void testLoad() throws Exception { + fixture + .addMD("o1#A;1").addMD("o1#A;2").addMD("o1#A;3") + .addMD("o1#B;1").addMD("o1#B;2->o1#A;2") + .addMD("o2#C;1->{o1#B;1 o1#A;1}") + .init(); + + repository.load(); + assertEquals(3, repository.getModuleIdsNumber()); + assertEquals(6, repository.getRevisionsNumber()); + } + + public void testOrphans() throws Exception { + fixture + .addMD("o1#A;1").addMD("o1#A;2").addMD("o1#A;3") + .addMD("o1#B;1").addMD("o1#B;2->o1#A;2") + .addMD("o2#C;1->{o1#B;1 o1#A;1}") + .init(); + + repository.load(); + repository.analyze(); + TestHelper.assertModuleRevisionIds("o1#A;3 o1#B;2 o2#C;1", repository.getOrphans()); + } +} Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/repository/RepositoryManagementEngineTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/repository/RepositoryManagementEngineTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveEngineTest.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveEngineTest.java?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveEngineTest.java (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveEngineTest.java Tue Dec 14 16:28:01 2010 @@ -1,100 +1,100 @@ -/* - * 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.ivy.core.resolve; - -import java.io.File; -import java.util.Date; - -import junit.framework.TestCase; - -import org.apache.ivy.Ivy; -import org.apache.ivy.core.cache.ArtifactOrigin; -import org.apache.ivy.core.module.descriptor.Artifact; -import org.apache.ivy.core.module.descriptor.DefaultArtifact; -import org.apache.ivy.core.module.id.ModuleRevisionId; -import org.apache.ivy.core.report.ArtifactDownloadReport; -import org.apache.ivy.core.report.DownloadStatus; -import org.apache.ivy.core.report.ResolveReport; -import org.apache.ivy.util.CacheCleaner; - -public class ResolveEngineTest extends TestCase { - - private Ivy ivy; - - private File cache; - - protected void setUp() throws Exception { - cache = new File("build/cache"); - System.setProperty("ivy.cache.dir", cache.getAbsolutePath()); - createCache(); - - ivy = Ivy.newInstance(); - ivy.configure(new File("test/repositories/ivysettings.xml")); - } - - protected void tearDown() throws Exception { - CacheCleaner.deleteDir(cache); - } - - public void testInlineResolveWithNonExistingModule() throws Exception { - ResolveEngine engine = new ResolveEngine(ivy.getSettings(), - ivy.getEventManager(), ivy.getSortEngine()); - - ResolveOptions options = new ResolveOptions(); - options.setConfs(new String[] {"*"}); - - ModuleRevisionId mRevId = ModuleRevisionId.newInstance("org1XX", "mod1.0XX", "1.0XX"); - ResolveReport report = engine.resolve(mRevId, options, true); - - assertNotNull("The ResolveReport may never be null", report); - assertTrue(report.hasError()); - } - - public void testLocateThenDownload() throws Exception { - ResolveEngine engine = new ResolveEngine(ivy.getSettings(), - ivy.getEventManager(), ivy.getSortEngine()); - - testLocateThenDownload( - engine, - DefaultArtifact.newIvyArtifact(ModuleRevisionId.parse("org1#mod1.1;1.0"), new Date()), - new File("test/repositories/1/org1/mod1.1/ivys/ivy-1.0.xml")); - testLocateThenDownload( - engine, - new DefaultArtifact(ModuleRevisionId.parse("org1#mod1.1;1.0"), new Date(), "mod1.1", "jar", "jar"), - new File("test/repositories/1/org1/mod1.1/jars/mod1.1-1.0.jar")); - } - - private void testLocateThenDownload(ResolveEngine engine, Artifact artifact, File artifactFile) { - ArtifactOrigin origin = engine.locate(artifact); - assertNotNull(origin); - assertTrue(origin.isLocal()); - assertEquals( - artifactFile.getAbsolutePath(), - new File(origin.getLocation()).getAbsolutePath()); - - ArtifactDownloadReport r = engine.download(origin, new DownloadOptions()); - assertNotNull(r); - assertEquals(DownloadStatus.SUCCESSFUL, r.getDownloadStatus()); - assertNotNull(r.getLocalFile()); - assertTrue(r.getLocalFile().exists()); - } - - private void createCache() { - cache.mkdirs(); - } -} +/* + * 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.ivy.core.resolve; + +import java.io.File; +import java.util.Date; + +import junit.framework.TestCase; + +import org.apache.ivy.Ivy; +import org.apache.ivy.core.cache.ArtifactOrigin; +import org.apache.ivy.core.module.descriptor.Artifact; +import org.apache.ivy.core.module.descriptor.DefaultArtifact; +import org.apache.ivy.core.module.id.ModuleRevisionId; +import org.apache.ivy.core.report.ArtifactDownloadReport; +import org.apache.ivy.core.report.DownloadStatus; +import org.apache.ivy.core.report.ResolveReport; +import org.apache.ivy.util.CacheCleaner; + +public class ResolveEngineTest extends TestCase { + + private Ivy ivy; + + private File cache; + + protected void setUp() throws Exception { + cache = new File("build/cache"); + System.setProperty("ivy.cache.dir", cache.getAbsolutePath()); + createCache(); + + ivy = Ivy.newInstance(); + ivy.configure(new File("test/repositories/ivysettings.xml")); + } + + protected void tearDown() throws Exception { + CacheCleaner.deleteDir(cache); + } + + public void testInlineResolveWithNonExistingModule() throws Exception { + ResolveEngine engine = new ResolveEngine(ivy.getSettings(), + ivy.getEventManager(), ivy.getSortEngine()); + + ResolveOptions options = new ResolveOptions(); + options.setConfs(new String[] {"*"}); + + ModuleRevisionId mRevId = ModuleRevisionId.newInstance("org1XX", "mod1.0XX", "1.0XX"); + ResolveReport report = engine.resolve(mRevId, options, true); + + assertNotNull("The ResolveReport may never be null", report); + assertTrue(report.hasError()); + } + + public void testLocateThenDownload() throws Exception { + ResolveEngine engine = new ResolveEngine(ivy.getSettings(), + ivy.getEventManager(), ivy.getSortEngine()); + + testLocateThenDownload( + engine, + DefaultArtifact.newIvyArtifact(ModuleRevisionId.parse("org1#mod1.1;1.0"), new Date()), + new File("test/repositories/1/org1/mod1.1/ivys/ivy-1.0.xml")); + testLocateThenDownload( + engine, + new DefaultArtifact(ModuleRevisionId.parse("org1#mod1.1;1.0"), new Date(), "mod1.1", "jar", "jar"), + new File("test/repositories/1/org1/mod1.1/jars/mod1.1-1.0.jar")); + } + + private void testLocateThenDownload(ResolveEngine engine, Artifact artifact, File artifactFile) { + ArtifactOrigin origin = engine.locate(artifact); + assertNotNull(origin); + assertTrue(origin.isLocal()); + assertEquals( + artifactFile.getAbsolutePath(), + new File(origin.getLocation()).getAbsolutePath()); + + ArtifactDownloadReport r = engine.download(origin, new DownloadOptions()); + assertNotNull(r); + assertEquals(DownloadStatus.SUCCESSFUL, r.getDownloadStatus()); + assertNotNull(r.getLocalFile()); + assertTrue(r.getLocalFile().exists()); + } + + private void createCache() { + cache.mkdirs(); + } +} Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveEngineTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveEngineTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveEngineTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/badcacheconf.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/badcacheconf.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/dualchainresolverconf.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/dualchainresolverconf.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-1178.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-1178.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-1178.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-1178.xml Tue Dec 14 16:28:01 2010 @@ -1,28 +1,28 @@ - - - - - - - - - - - + + + + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-1178.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-1178.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-1178.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-148.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-148.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-148b.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-148b.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-182.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-182.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-198.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-198.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-214.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-214.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-218.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-218.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-225.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-225.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-56.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-56.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-590.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-590.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-590.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-590.xml Tue Dec 14 16:28:01 2010 @@ -1,29 +1,29 @@ - - - - - - - - - - - - + + + + + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-590.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-590.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-590.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-874.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-874.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-874.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-874.xml Tue Dec 14 16:28:01 2010 @@ -1,36 +1,36 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-874.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-874.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-874.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-956.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-956.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-956.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-956.xml Tue Dec 14 16:28:01 2010 @@ -1,25 +1,25 @@ - - - - - - - - + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-956.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-956.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-956.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-999.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-999.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-999.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-999.xml Tue Dec 14 16:28:01 2010 @@ -1,26 +1,26 @@ - - - - - - - - - + + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-999.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-999.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-999.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-dualchainresolver.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-dualchainresolver.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies.xml Tue Dec 14 16:28:01 2010 @@ -1,40 +1,40 @@ - - - - - - - - - TESTA -- Hello World Library - <a href='http://coretech.caecorp.cae.com/clearspace/tags/testa_releasenotes'>Release Notes</a> - - - - - - - - - - - - - - + + + + + + + + + TESTA -- Hello World Library - <a href='http://coretech.caecorp.cae.com/clearspace/tags/testa_releasenotes'>Release Notes</a> + + + + + + + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies2.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies2.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies2.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies2.xml Tue Dec 14 16:28:01 2010 @@ -1,40 +1,40 @@ - - - - - - - - - TESTA -- Hello World Library - <a href='http://coretech.caecorp.cae.com/clearspace/tags/testa_releasenotes'>Release Notes</a> - - - - - - - - - - - - - - + + + + + + + + + TESTA -- Hello World Library - <a href='http://coretech.caecorp.cae.com/clearspace/tags/testa_releasenotes'>Release Notes</a> + + + + + + + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies2.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies2.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-multipledependencies2.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-ns.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att-ns.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att2.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att2.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att3.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-att3.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-attrib-forced-dependencies.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-attrib-forced-dependencies.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-attrib-forced-dependencies.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-attrib-forced-dependencies.xml Tue Dec 14 16:28:01 2010 @@ -1,40 +1,40 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-attrib-forced-dependencies.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-attrib-forced-dependencies.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-extra-attrib-forced-dependencies.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-latestreleased.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-latestreleased.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-sources-and-javadoc-auto.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-sources-and-javadoc-auto.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-sources.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-sources.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-src.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-src.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-src.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-src.xml Tue Dec 14 16:28:01 2010 @@ -1,24 +1,24 @@ - - - - - - - + + + + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-src.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-src.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-m2-with-src.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2-1.5.xml URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2-1.5.xml?rev=1049146&r1=1049145&r2=1049146&view=diff ============================================================================== --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2-1.5.xml (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2-1.5.xml Tue Dec 14 16:28:01 2010 @@ -1,26 +1,26 @@ - - - - + + + + Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2-1.5.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2-1.5.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2-1.5.xml ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Dec 14 16:28:01 2010 @@ -1 +1 @@ -text/plain +text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-mod1.2.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace2.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace2.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace3.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace3.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace4.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-namespace4.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-other.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ivy-other.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/search/SearchTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/ConfigureTest.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/ConfigureTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain