ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1049146 [3/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 GMT
Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/RepositoryCacheManager.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/RepositoryCacheManager.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/RepositoryCacheManager.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/RepositoryCacheManager.java Tue Dec 14 16:28:01 2010
@@ -1,168 +1,168 @@
-/*
- *  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.cache;
-
-import java.text.ParseException;
-
-import org.apache.ivy.core.module.descriptor.Artifact;
-import org.apache.ivy.core.module.descriptor.DependencyDescriptor;
-import org.apache.ivy.core.module.descriptor.ModuleDescriptor;
-import org.apache.ivy.core.module.id.ModuleRevisionId;
-import org.apache.ivy.core.report.ArtifactDownloadReport;
-import org.apache.ivy.core.resolve.ResolvedModuleRevision;
-import org.apache.ivy.plugins.repository.ArtifactResourceResolver;
-import org.apache.ivy.plugins.repository.ResourceDownloader;
-import org.apache.ivy.plugins.resolver.DependencyResolver;
-import org.apache.ivy.plugins.resolver.util.ResolvedResource;
-
-public interface RepositoryCacheManager {
-
-    /**
-     * Returns the name of the repository cache manager.
-     * @return the name of the repository cache manager.
-     */
-    public abstract String getName();
-
-    /**
-     * Saves the information of which resolvers were used to resolve a module (both for metadata and
-     * artifact), so that this info can be loaded later (even after a jvm restart) for the use of
-     * {@link #findModuleInCache(DependencyDescriptor, CacheMetadataOptions, String)}.
-     * 
-     * @param md
-     *            the module descriptor resolved
-     * @param metadataResolverName
-     *            metadata resolver name
-     * @param artifactResolverName
-     *            artifact resolver name
-     */
-    public abstract void saveResolvers(
-            ModuleDescriptor descriptor, String metadataResolverName, String artifactResolverName);
-
-    /**
-     * Returns the artifact origin of the given artifact as saved in this cache.
-     * <p>
-     * If the origin is unknown, the returned ArtifactOrigin instance will return true when 
-     * {@link ArtifactOrigin#isUnknown(ArtifactOrigin)} is called.
-     * 
-     * @param artifact
-     *            the artifact for which the saved artifact origin should be returned.
-     * @return the artifact origin of the given artifact as saved in this cache
-     */
-    public abstract ArtifactOrigin getSavedArtifactOrigin(Artifact artifact);
-
-    /**
-     * Search a module descriptor in cache for a mrid
-     * 
-     * @param dd
-     *            the dependency descriptor identifying the module to search
-     * @param requestedRevisionId
-     *            the requested dependency module revision id identifying the module to search
-     * @param options
-     *            options on how caching should be handled
-     * @param expectedResolver
-     *            the resolver with which the md in cache must have been resolved to be returned,
-     *            null if this doesn't matter
-     * @return the ResolvedModuleRevision corresponding to the module found, null if none correct
-     *         has been found in cache
-     */
-    public abstract ResolvedModuleRevision findModuleInCache(
-            DependencyDescriptor dd, ModuleRevisionId requestedRevisionId, 
-            CacheMetadataOptions options, String expectedResolver);
-    
-    /**
-     * Downloads an artifact to this cache.
-     * 
-     * @param artifact
-     *            the artifact to download
-     * @param resourceResolver
-     *            a resource resolver to use if the artifact needs to be resolved to a Resource for
-     *            downloading
-     * @param resourceDownloader
-     *            a resource downloader to use if actual download of the resource is needed
-     * @param options
-     *            a set of options to adjust the download 
-     * @return a report indicating how the download was performed
-     */
-    public abstract ArtifactDownloadReport download(
-            Artifact artifact, 
-            ArtifactResourceResolver resourceResolver, 
-            ResourceDownloader resourceDownloader, 
-            CacheDownloadOptions options);
-
-    /**
-     * Caches an original module descriptor.
-     * <p>
-     * After this call, the original module descriptor file (with no modification nor conversion)
-     * should be available as a local file.
-     * </p>
-     * 
-     * @param resolver
-     *            the dependency resolver from which the cache request comes from
-     * @param orginalMetadataRef
-     *            a resolved resource pointing to the remote original module descriptor
-     * @param dd
-     *            the dependency descriptor for which the module descriptor should be cached
-     * @param requestedMetadataArtifact
-     *            the module descriptor artifact as requested originally
-     * @param downloader
-     *            a ResourceDownloader able to download the original module descriptor resource if
-     *            required by this cache implementation
-     * @param options
-     *            options to apply to cache this module descriptor
-     * @return a {@link ResolvedModuleRevision} representing the local cached module descriptor, or
-     *         null if it failed
-     * @throws ParseException
-     *             if an exception occurred while parsing the module descriptor
-     */
-    public ResolvedModuleRevision cacheModuleDescriptor(DependencyResolver resolver,
-            ResolvedResource orginalMetadataRef, DependencyDescriptor dd, 
-            Artifact requestedMetadataArtifact,  ResourceDownloader downloader, 
-            CacheMetadataOptions options) throws ParseException;
-
-    /**
-     * Stores a standardized version of an original module descriptor in the cache for later use.
-     * 
-     * @param resolver
-     *            the dependency resolver from which the cache request comes from
-     * @param orginalMetadataRef
-     *            a resolved resource pointing to the remote original module descriptor
-     * @param requestedMetadataArtifact
-     *            the module descriptor artifact as requested originally
-     * @param rmr
-     *            the {@link ResolvedModuleRevision} representing the local cached module descriptor
-     * @param writer
-     *            a {@link ModuleDescriptorWriter} able to write the module descriptor to a stream.
-     */
-    public void originalToCachedModuleDescriptor(DependencyResolver resolver,
-            ResolvedResource orginalMetadataRef, Artifact requestedMetadataArtifact,
-            ResolvedModuleRevision rmr, ModuleDescriptorWriter writer);
-    
-    /**
-     * Cleans the whole cache.
-     */
-    public void clean();
-
-    /**
-     * Caches a dynamic revision constraint resolution.
-     * 
-     * @param dynamicMrid the dynamic module revision id
-     * @param revision the resolved revision
-     */
-    public void saveResolvedRevision(ModuleRevisionId dynamicMrid, String revision);
-    
-}
+/*
+ *  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.cache;
+
+import java.text.ParseException;
+
+import org.apache.ivy.core.module.descriptor.Artifact;
+import org.apache.ivy.core.module.descriptor.DependencyDescriptor;
+import org.apache.ivy.core.module.descriptor.ModuleDescriptor;
+import org.apache.ivy.core.module.id.ModuleRevisionId;
+import org.apache.ivy.core.report.ArtifactDownloadReport;
+import org.apache.ivy.core.resolve.ResolvedModuleRevision;
+import org.apache.ivy.plugins.repository.ArtifactResourceResolver;
+import org.apache.ivy.plugins.repository.ResourceDownloader;
+import org.apache.ivy.plugins.resolver.DependencyResolver;
+import org.apache.ivy.plugins.resolver.util.ResolvedResource;
+
+public interface RepositoryCacheManager {
+
+    /**
+     * Returns the name of the repository cache manager.
+     * @return the name of the repository cache manager.
+     */
+    public abstract String getName();
+
+    /**
+     * Saves the information of which resolvers were used to resolve a module (both for metadata and
+     * artifact), so that this info can be loaded later (even after a jvm restart) for the use of
+     * {@link #findModuleInCache(DependencyDescriptor, CacheMetadataOptions, String)}.
+     * 
+     * @param md
+     *            the module descriptor resolved
+     * @param metadataResolverName
+     *            metadata resolver name
+     * @param artifactResolverName
+     *            artifact resolver name
+     */
+    public abstract void saveResolvers(
+            ModuleDescriptor descriptor, String metadataResolverName, String artifactResolverName);
+
+    /**
+     * Returns the artifact origin of the given artifact as saved in this cache.
+     * <p>
+     * If the origin is unknown, the returned ArtifactOrigin instance will return true when 
+     * {@link ArtifactOrigin#isUnknown(ArtifactOrigin)} is called.
+     * 
+     * @param artifact
+     *            the artifact for which the saved artifact origin should be returned.
+     * @return the artifact origin of the given artifact as saved in this cache
+     */
+    public abstract ArtifactOrigin getSavedArtifactOrigin(Artifact artifact);
+
+    /**
+     * Search a module descriptor in cache for a mrid
+     * 
+     * @param dd
+     *            the dependency descriptor identifying the module to search
+     * @param requestedRevisionId
+     *            the requested dependency module revision id identifying the module to search
+     * @param options
+     *            options on how caching should be handled
+     * @param expectedResolver
+     *            the resolver with which the md in cache must have been resolved to be returned,
+     *            null if this doesn't matter
+     * @return the ResolvedModuleRevision corresponding to the module found, null if none correct
+     *         has been found in cache
+     */
+    public abstract ResolvedModuleRevision findModuleInCache(
+            DependencyDescriptor dd, ModuleRevisionId requestedRevisionId, 
+            CacheMetadataOptions options, String expectedResolver);
+    
+    /**
+     * Downloads an artifact to this cache.
+     * 
+     * @param artifact
+     *            the artifact to download
+     * @param resourceResolver
+     *            a resource resolver to use if the artifact needs to be resolved to a Resource for
+     *            downloading
+     * @param resourceDownloader
+     *            a resource downloader to use if actual download of the resource is needed
+     * @param options
+     *            a set of options to adjust the download 
+     * @return a report indicating how the download was performed
+     */
+    public abstract ArtifactDownloadReport download(
+            Artifact artifact, 
+            ArtifactResourceResolver resourceResolver, 
+            ResourceDownloader resourceDownloader, 
+            CacheDownloadOptions options);
+
+    /**
+     * Caches an original module descriptor.
+     * <p>
+     * After this call, the original module descriptor file (with no modification nor conversion)
+     * should be available as a local file.
+     * </p>
+     * 
+     * @param resolver
+     *            the dependency resolver from which the cache request comes from
+     * @param orginalMetadataRef
+     *            a resolved resource pointing to the remote original module descriptor
+     * @param dd
+     *            the dependency descriptor for which the module descriptor should be cached
+     * @param requestedMetadataArtifact
+     *            the module descriptor artifact as requested originally
+     * @param downloader
+     *            a ResourceDownloader able to download the original module descriptor resource if
+     *            required by this cache implementation
+     * @param options
+     *            options to apply to cache this module descriptor
+     * @return a {@link ResolvedModuleRevision} representing the local cached module descriptor, or
+     *         null if it failed
+     * @throws ParseException
+     *             if an exception occurred while parsing the module descriptor
+     */
+    public ResolvedModuleRevision cacheModuleDescriptor(DependencyResolver resolver,
+            ResolvedResource orginalMetadataRef, DependencyDescriptor dd, 
+            Artifact requestedMetadataArtifact,  ResourceDownloader downloader, 
+            CacheMetadataOptions options) throws ParseException;
+
+    /**
+     * Stores a standardized version of an original module descriptor in the cache for later use.
+     * 
+     * @param resolver
+     *            the dependency resolver from which the cache request comes from
+     * @param orginalMetadataRef
+     *            a resolved resource pointing to the remote original module descriptor
+     * @param requestedMetadataArtifact
+     *            the module descriptor artifact as requested originally
+     * @param rmr
+     *            the {@link ResolvedModuleRevision} representing the local cached module descriptor
+     * @param writer
+     *            a {@link ModuleDescriptorWriter} able to write the module descriptor to a stream.
+     */
+    public void originalToCachedModuleDescriptor(DependencyResolver resolver,
+            ResolvedResource orginalMetadataRef, Artifact requestedMetadataArtifact,
+            ResolvedModuleRevision rmr, ModuleDescriptorWriter writer);
+    
+    /**
+     * Cleans the whole cache.
+     */
+    public void clean();
+
+    /**
+     * Caches a dynamic revision constraint resolution.
+     * 
+     * @param dynamicMrid the dynamic module revision id
+     * @param revision the resolved revision
+     */
+    public void saveResolvedRevision(ModuleRevisionId dynamicMrid, String revision);
+    
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/RepositoryCacheManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/RepositoryCacheManager.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ResolutionCacheManager.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ResolutionCacheManager.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ResolutionCacheManager.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ResolutionCacheManager.java Tue Dec 14 16:28:01 2010
@@ -1,39 +1,39 @@
-/*
- *  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.cache;
-
-import java.io.File;
-
-import org.apache.ivy.core.module.id.ModuleRevisionId;
-
-public interface ResolutionCacheManager {
-    public abstract File getResolutionCacheRoot();
-    
-    public abstract File getResolvedIvyFileInCache(ModuleRevisionId mrid);
-
-    public abstract File getResolvedIvyPropertiesInCache(ModuleRevisionId mrid);
-
-    public abstract File getConfigurationResolveReportInCache(String resolveId, String conf);
-
-    public abstract File[] getConfigurationResolveReportsInCache(final String resolveId);
-    
-    /**
-     * Cleans the whole cache.
-     */
-    public void clean();
-}
+/*
+ *  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.cache;
+
+import java.io.File;
+
+import org.apache.ivy.core.module.id.ModuleRevisionId;
+
+public interface ResolutionCacheManager {
+    public abstract File getResolutionCacheRoot();
+    
+    public abstract File getResolvedIvyFileInCache(ModuleRevisionId mrid);
+
+    public abstract File getResolvedIvyPropertiesInCache(ModuleRevisionId mrid);
+
+    public abstract File getConfigurationResolveReportInCache(String resolveId, String conf);
+
+    public abstract File[] getConfigurationResolveReportsInCache(final String resolveId);
+    
+    /**
+     * Cleans the whole cache.
+     */
+    public void clean();
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ResolutionCacheManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ResolutionCacheManager.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngine.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngine.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngineSettings.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngineSettings.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DefaultPublishingDRResolver.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DefaultPublishingDRResolver.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DeliverEngine.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DeliverEngine.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DeliverEngineSettings.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DeliverEngineSettings.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DeliverOptions.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/DeliverOptions.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/PublishingDependencyRevisionResolver.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/deliver/PublishingDependencyRevisionResolver.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/EventManager.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/EventManager.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/FilteredIvyListener.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/FilteredIvyListener.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/IvyEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/IvyEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/IvyEventFilter.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/IvyEventFilter.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/IvyListener.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/IvyListener.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/DownloadEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/DownloadEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/EndArtifactDownloadEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/EndArtifactDownloadEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/NeedArtifactEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/NeedArtifactEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/PrepareDownloadEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/PrepareDownloadEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/StartArtifactDownloadEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/StartArtifactDownloadEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/publish/EndArtifactPublishEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/publish/EndArtifactPublishEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/publish/PublishEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/publish/PublishEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/publish/StartArtifactPublishEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/publish/StartArtifactPublishEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/ResolveDependencyEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/ResolveDependencyEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/ResolveEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/ResolveEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/StartResolveDependencyEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/StartResolveDependencyEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/StartResolveEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/StartResolveEvent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveArtifactEvent.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveArtifactEvent.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveArtifactEvent.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveArtifactEvent.java Tue Dec 14 16:28:01 2010
@@ -1,31 +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.
- *
- */
-package org.apache.ivy.core.event.retrieve;
-
-import java.io.File;
-
-import org.apache.ivy.core.report.ArtifactDownloadReport;
-
-public class EndRetrieveArtifactEvent extends RetrieveArtifactEvent {
-    public static final String NAME = "post-retrieve-artifact";
-
-    public EndRetrieveArtifactEvent(
-            ArtifactDownloadReport report, File destFile) {
-        super(NAME, report, destFile);
-    }
-}
+/*
+ *  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.event.retrieve;
+
+import java.io.File;
+
+import org.apache.ivy.core.report.ArtifactDownloadReport;
+
+public class EndRetrieveArtifactEvent extends RetrieveArtifactEvent {
+    public static final String NAME = "post-retrieve-artifact";
+
+    public EndRetrieveArtifactEvent(
+            ArtifactDownloadReport report, File destFile) {
+        super(NAME, report, destFile);
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveArtifactEvent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveArtifactEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveEvent.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveEvent.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveEvent.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveEvent.java Tue Dec 14 16:28:01 2010
@@ -1,83 +1,83 @@
-/*
- *  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.event.retrieve;
-
-import org.apache.ivy.core.module.id.ModuleRevisionId;
-import org.apache.ivy.core.retrieve.RetrieveOptions;
-
-public class EndRetrieveEvent extends RetrieveEvent {
-    public static final String NAME = "post-retrieve";
-
-    private long duration;
-
-    private int nbCopied;
-
-    private int nbUpToDate;
-
-    private long totalCopiedSize;
-
-    public EndRetrieveEvent(ModuleRevisionId mrid, String[] confs, long elapsedTime,
-            int targetsCopied, int targetsUpToDate, long totalCopiedSize, RetrieveOptions options) {
-        super(NAME, mrid, confs, options);
-
-        this.duration = elapsedTime;
-        this.nbCopied = targetsCopied;
-        this.nbUpToDate = targetsUpToDate;
-        this.totalCopiedSize = totalCopiedSize;
-        addAttribute("duration", String.valueOf(elapsedTime));
-        addAttribute("size", String.valueOf(totalCopiedSize));
-        addAttribute("nbCopied", String.valueOf(targetsCopied));
-        addAttribute("nbUptodate", String.valueOf(targetsUpToDate));
-    }
-
-    /**
-     * Duration of the retrieve operation, in ms.
-     * 
-     * @return Duration of the retrieve operation, in ms.
-     */
-    public long getDuration() {
-        return duration;
-    }
-
-    /**
-     * Number of artifacts which were copied (or symlinked) during the retrieve
-     * 
-     * @return Number of artifacts which were copied during the retrieve.
-     */
-    public int getNbCopied() {
-        return nbCopied;
-    }
-
-    /**
-     * Number of artifacts which were not copied since they were already present and up to date.
-     * 
-     * @return Number of artifacts which were not copied since they were already present and up to
-     *         date.
-     */
-    public int getNbUpToDate() {
-        return nbUpToDate;
-    }
-    
-    /**
-     * Total size of all copied (or symlinked) artifacts, in bytes.
-     * @return Total size of all copied (or symlinked) artifacts, in bytes.
-     */
-    public long getTotalCopiedSize() {
-        return totalCopiedSize;
-    }
-}
+/*
+ *  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.event.retrieve;
+
+import org.apache.ivy.core.module.id.ModuleRevisionId;
+import org.apache.ivy.core.retrieve.RetrieveOptions;
+
+public class EndRetrieveEvent extends RetrieveEvent {
+    public static final String NAME = "post-retrieve";
+
+    private long duration;
+
+    private int nbCopied;
+
+    private int nbUpToDate;
+
+    private long totalCopiedSize;
+
+    public EndRetrieveEvent(ModuleRevisionId mrid, String[] confs, long elapsedTime,
+            int targetsCopied, int targetsUpToDate, long totalCopiedSize, RetrieveOptions options) {
+        super(NAME, mrid, confs, options);
+
+        this.duration = elapsedTime;
+        this.nbCopied = targetsCopied;
+        this.nbUpToDate = targetsUpToDate;
+        this.totalCopiedSize = totalCopiedSize;
+        addAttribute("duration", String.valueOf(elapsedTime));
+        addAttribute("size", String.valueOf(totalCopiedSize));
+        addAttribute("nbCopied", String.valueOf(targetsCopied));
+        addAttribute("nbUptodate", String.valueOf(targetsUpToDate));
+    }
+
+    /**
+     * Duration of the retrieve operation, in ms.
+     * 
+     * @return Duration of the retrieve operation, in ms.
+     */
+    public long getDuration() {
+        return duration;
+    }
+
+    /**
+     * Number of artifacts which were copied (or symlinked) during the retrieve
+     * 
+     * @return Number of artifacts which were copied during the retrieve.
+     */
+    public int getNbCopied() {
+        return nbCopied;
+    }
+
+    /**
+     * Number of artifacts which were not copied since they were already present and up to date.
+     * 
+     * @return Number of artifacts which were not copied since they were already present and up to
+     *         date.
+     */
+    public int getNbUpToDate() {
+        return nbUpToDate;
+    }
+    
+    /**
+     * Total size of all copied (or symlinked) artifacts, in bytes.
+     * @return Total size of all copied (or symlinked) artifacts, in bytes.
+     */
+    public long getTotalCopiedSize() {
+        return totalCopiedSize;
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveEvent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/EndRetrieveEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveArtifactEvent.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveArtifactEvent.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveArtifactEvent.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveArtifactEvent.java Tue Dec 14 16:28:01 2010
@@ -1,57 +1,57 @@
-/*
- *  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.event.retrieve;
-
-import java.io.File;
-
-import org.apache.ivy.core.event.IvyEvent;
-import org.apache.ivy.core.module.descriptor.Artifact;
-import org.apache.ivy.core.report.ArtifactDownloadReport;
-
-public class RetrieveArtifactEvent extends IvyEvent {
-    private ArtifactDownloadReport report;
-
-    private File destFile;
-
-    public RetrieveArtifactEvent(
-            String name,
-            ArtifactDownloadReport report, File destFile) {
-        super(name);
-        addArtifactAttributes(report.getArtifact());
-        
-        this.report = report;
-        this.destFile = destFile;
-        addAttribute("from", report.getLocalFile().getAbsolutePath());
-        addAttribute("to", destFile.getAbsolutePath());
-        addAttribute("size", String.valueOf(destFile.length()));        
-    }
-
-    protected void addArtifactAttributes(Artifact artifact) {
-        addMridAttributes(artifact.getModuleRevisionId());
-        addAttributes(artifact.getAttributes());
-        addAttribute("metadata", String.valueOf(artifact.isMetadata()));
-    }
-    
-    public File getDestFile() {
-        return destFile;
-    }
-    
-    public ArtifactDownloadReport getReport() {
-        return report;
-    }
-}
+/*
+ *  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.event.retrieve;
+
+import java.io.File;
+
+import org.apache.ivy.core.event.IvyEvent;
+import org.apache.ivy.core.module.descriptor.Artifact;
+import org.apache.ivy.core.report.ArtifactDownloadReport;
+
+public class RetrieveArtifactEvent extends IvyEvent {
+    private ArtifactDownloadReport report;
+
+    private File destFile;
+
+    public RetrieveArtifactEvent(
+            String name,
+            ArtifactDownloadReport report, File destFile) {
+        super(name);
+        addArtifactAttributes(report.getArtifact());
+        
+        this.report = report;
+        this.destFile = destFile;
+        addAttribute("from", report.getLocalFile().getAbsolutePath());
+        addAttribute("to", destFile.getAbsolutePath());
+        addAttribute("size", String.valueOf(destFile.length()));        
+    }
+
+    protected void addArtifactAttributes(Artifact artifact) {
+        addMridAttributes(artifact.getModuleRevisionId());
+        addAttributes(artifact.getAttributes());
+        addAttribute("metadata", String.valueOf(artifact.isMetadata()));
+    }
+    
+    public File getDestFile() {
+        return destFile;
+    }
+    
+    public ArtifactDownloadReport getReport() {
+        return report;
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveArtifactEvent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveArtifactEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveEvent.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveEvent.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveEvent.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveEvent.java Tue Dec 14 16:28:01 2010
@@ -1,46 +1,46 @@
-/*
- *  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.event.retrieve;
-
-import org.apache.ivy.core.event.IvyEvent;
-import org.apache.ivy.core.module.id.ModuleRevisionId;
-import org.apache.ivy.core.retrieve.RetrieveOptions;
-
-public class RetrieveEvent extends IvyEvent {
-    private ModuleRevisionId mrid;
-    private RetrieveOptions options;
-
-    protected RetrieveEvent(String name, ModuleRevisionId mrid, 
-            String[] confs, RetrieveOptions options) {
-        super(name);
-        this.mrid = mrid;
-        addMridAttributes(mrid);
-        addConfsAttribute(confs);
-        addAttribute("symlink", String.valueOf(options.isMakeSymlinks()));
-        addAttribute("sync", String.valueOf(options.isSync()));
-        this.options = options;
-    }
-
-    public ModuleRevisionId getModuleRevisionId() {
-        return mrid;
-    }
-    
-    public RetrieveOptions getOptions() {
-        return options;
-    }
-}
+/*
+ *  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.event.retrieve;
+
+import org.apache.ivy.core.event.IvyEvent;
+import org.apache.ivy.core.module.id.ModuleRevisionId;
+import org.apache.ivy.core.retrieve.RetrieveOptions;
+
+public class RetrieveEvent extends IvyEvent {
+    private ModuleRevisionId mrid;
+    private RetrieveOptions options;
+
+    protected RetrieveEvent(String name, ModuleRevisionId mrid, 
+            String[] confs, RetrieveOptions options) {
+        super(name);
+        this.mrid = mrid;
+        addMridAttributes(mrid);
+        addConfsAttribute(confs);
+        addAttribute("symlink", String.valueOf(options.isMakeSymlinks()));
+        addAttribute("sync", String.valueOf(options.isSync()));
+        this.options = options;
+    }
+
+    public ModuleRevisionId getModuleRevisionId() {
+        return mrid;
+    }
+    
+    public RetrieveOptions getOptions() {
+        return options;
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveEvent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/RetrieveEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveArtifactEvent.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveArtifactEvent.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveArtifactEvent.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveArtifactEvent.java Tue Dec 14 16:28:01 2010
@@ -1,31 +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.
- *
- */
-package org.apache.ivy.core.event.retrieve;
-
-import java.io.File;
-
-import org.apache.ivy.core.report.ArtifactDownloadReport;
-
-public class StartRetrieveArtifactEvent extends RetrieveArtifactEvent {
-    public static final String NAME = "pre-retrieve-artifact";
-
-    public StartRetrieveArtifactEvent(
-            ArtifactDownloadReport report, File destFile) {
-        super(NAME, report, destFile);
-    }
-}
+/*
+ *  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.event.retrieve;
+
+import java.io.File;
+
+import org.apache.ivy.core.report.ArtifactDownloadReport;
+
+public class StartRetrieveArtifactEvent extends RetrieveArtifactEvent {
+    public static final String NAME = "pre-retrieve-artifact";
+
+    public StartRetrieveArtifactEvent(
+            ArtifactDownloadReport report, File destFile) {
+        super(NAME, report, destFile);
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveArtifactEvent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveArtifactEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveEvent.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveEvent.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveEvent.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveEvent.java Tue Dec 14 16:28:01 2010
@@ -1,29 +1,29 @@
-/*
- *  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.event.retrieve;
-
-import org.apache.ivy.core.module.id.ModuleRevisionId;
-import org.apache.ivy.core.retrieve.RetrieveOptions;
-
-public class StartRetrieveEvent extends RetrieveEvent {
-    public static final String NAME = "pre-retrieve";
-
-    public StartRetrieveEvent(ModuleRevisionId mrid, String[] confs, RetrieveOptions options) {
-        super(NAME, mrid, confs, options);
-    }
-}
+/*
+ *  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.event.retrieve;
+
+import org.apache.ivy.core.module.id.ModuleRevisionId;
+import org.apache.ivy.core.retrieve.RetrieveOptions;
+
+public class StartRetrieveEvent extends RetrieveEvent {
+    public static final String NAME = "pre-retrieve";
+
+    public StartRetrieveEvent(ModuleRevisionId mrid, String[] confs, RetrieveOptions options) {
+        super(NAME, mrid, confs, options);
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveEvent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/retrieve/StartRetrieveEvent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/install/InstallEngine.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/install/InstallEngine.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/install/InstallEngineSettings.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/install/InstallEngineSettings.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/install/InstallOptions.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/AbstractArtifact.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/AbstractArtifact.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/AbstractIncludeExcludeRule.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/AbstractIncludeExcludeRule.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/Artifact.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/Artifact.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/Configuration.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/Configuration.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationAware.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationAware.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationGroup.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationGroup.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationGroup.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationGroup.java Tue Dec 14 16:28:01 2010
@@ -1,72 +1,72 @@
-/*
- *  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.module.descriptor;
-
-import java.util.Iterator;
-import java.util.Map;
-
-/**
- * A configuration which is actually a group of several configurations.
- */
-public class ConfigurationGroup extends Configuration {
-
-    private final Map/*<String, Configuration>*/ members;
-
-    public ConfigurationGroup(String confName, Map /*<String, Configuration>*/ members) {
-        super(confName);
-        this.members = members;
-    }
-
-    /**
-     * Returns the list of configurations' names this object is a group of.
-     * <p>
-     * This list is built from the configuration name, if some of these configuration names have
-     * actually not been recognized in the module, they will be <code>null</code> when accessed from
-     * {@link #getIntersectedConfiguration(String)}.
-     * </p>
-     * 
-     * @return the list of configurations' names this object is an intersection of.
-     */
-    public String[] getMembersConfigurationNames() {
-        return (String[]) members.keySet()
-                    .toArray(new String[members.size()]);
-    }
-
-    /**
-     * Returns the {@link Configuration} object for the given conf name, or
-     * <code>null</code> if the given conf name is not part of this group or if this conf
-     * name isn't defined in the module in which this group has been built.
-     * 
-     * @param confName
-     *            the name of the configuration to return.
-     * @return the member {@link Configuration} object for the given conf name
-     */
-    public Configuration getMemberConfiguration(String confName) {
-        return (Configuration) members.get(confName);
-    }
-    
-    public Visibility getVisibility() {
-        for (Iterator it = members.values().iterator(); it.hasNext();) {
-            Configuration c = (Configuration) it.next();
-            if (c != null && Visibility.PRIVATE.equals(c.getVisibility())) {
-                return Visibility.PRIVATE;
-            }
-        }
-        return Visibility.PUBLIC;
-    }
-}
+/*
+ *  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.module.descriptor;
+
+import java.util.Iterator;
+import java.util.Map;
+
+/**
+ * A configuration which is actually a group of several configurations.
+ */
+public class ConfigurationGroup extends Configuration {
+
+    private final Map/*<String, Configuration>*/ members;
+
+    public ConfigurationGroup(String confName, Map /*<String, Configuration>*/ members) {
+        super(confName);
+        this.members = members;
+    }
+
+    /**
+     * Returns the list of configurations' names this object is a group of.
+     * <p>
+     * This list is built from the configuration name, if some of these configuration names have
+     * actually not been recognized in the module, they will be <code>null</code> when accessed from
+     * {@link #getIntersectedConfiguration(String)}.
+     * </p>
+     * 
+     * @return the list of configurations' names this object is an intersection of.
+     */
+    public String[] getMembersConfigurationNames() {
+        return (String[]) members.keySet()
+                    .toArray(new String[members.size()]);
+    }
+
+    /**
+     * Returns the {@link Configuration} object for the given conf name, or
+     * <code>null</code> if the given conf name is not part of this group or if this conf
+     * name isn't defined in the module in which this group has been built.
+     * 
+     * @param confName
+     *            the name of the configuration to return.
+     * @return the member {@link Configuration} object for the given conf name
+     */
+    public Configuration getMemberConfiguration(String confName) {
+        return (Configuration) members.get(confName);
+    }
+    
+    public Visibility getVisibility() {
+        for (Iterator it = members.values().iterator(); it.hasNext();) {
+            Configuration c = (Configuration) it.next();
+            if (c != null && Visibility.PRIVATE.equals(c.getVisibility())) {
+                return Visibility.PRIVATE;
+            }
+        }
+        return Visibility.PUBLIC;
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationGroup.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationGroup.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationIntersection.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationIntersection.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationIntersection.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationIntersection.java Tue Dec 14 16:28:01 2010
@@ -1,72 +1,72 @@
-/*
- *  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.module.descriptor;
-
-import java.util.Iterator;
-import java.util.Map;
-
-/**
- * A configuration which is actually the intersection of several configurations.
- */
-public class ConfigurationIntersection extends Configuration {
-
-    private final Map/*<String, Configuration>*/ intersectedConfs;
-
-    public ConfigurationIntersection(String confName, Map /*<String, Configuration>*/ intersectedConfs) {
-        super(confName);
-        this.intersectedConfs = intersectedConfs;
-    }
-
-    /**
-     * Returns the list of configurations' names this object is an intersection of.
-     * <p>
-     * This list is built from the configuration name, if some of these configuration names have
-     * actually not been recognized in the module, they will be <code>null</code> when accessed from
-     * {@link #getIntersectedConfiguration(String)}.
-     * </p>
-     * 
-     * @return the list of configurations' names this object is an intersection of.
-     */
-    public String[] getIntersectedConfigurationNames() {
-        return (String[]) intersectedConfs.keySet()
-                    .toArray(new String[intersectedConfs.size()]);
-    }
-
-    /**
-     * Returns the intersected {@link Configuration} object for the given conf name, or
-     * <code>null</code> if the given conf name is not part of this intersection or if this conf
-     * name isn't defined in the module in which this intersection has been built.
-     * 
-     * @param confName
-     *            the name of the configuration to return.
-     * @return the intersected {@link Configuration} object for the given conf name
-     */
-    public Configuration getIntersectedConfiguration(String confName) {
-        return (Configuration) intersectedConfs.get(confName);
-    }
-    
-    public Visibility getVisibility() {
-        for (Iterator it = intersectedConfs.values().iterator(); it.hasNext();) {
-            Configuration c = (Configuration) it.next();
-            if (c != null && Visibility.PRIVATE.equals(c.getVisibility())) {
-                return Visibility.PRIVATE;
-            }
-        }
-        return Visibility.PUBLIC;
-    }
-}
+/*
+ *  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.module.descriptor;
+
+import java.util.Iterator;
+import java.util.Map;
+
+/**
+ * A configuration which is actually the intersection of several configurations.
+ */
+public class ConfigurationIntersection extends Configuration {
+
+    private final Map/*<String, Configuration>*/ intersectedConfs;
+
+    public ConfigurationIntersection(String confName, Map /*<String, Configuration>*/ intersectedConfs) {
+        super(confName);
+        this.intersectedConfs = intersectedConfs;
+    }
+
+    /**
+     * Returns the list of configurations' names this object is an intersection of.
+     * <p>
+     * This list is built from the configuration name, if some of these configuration names have
+     * actually not been recognized in the module, they will be <code>null</code> when accessed from
+     * {@link #getIntersectedConfiguration(String)}.
+     * </p>
+     * 
+     * @return the list of configurations' names this object is an intersection of.
+     */
+    public String[] getIntersectedConfigurationNames() {
+        return (String[]) intersectedConfs.keySet()
+                    .toArray(new String[intersectedConfs.size()]);
+    }
+
+    /**
+     * Returns the intersected {@link Configuration} object for the given conf name, or
+     * <code>null</code> if the given conf name is not part of this intersection or if this conf
+     * name isn't defined in the module in which this intersection has been built.
+     * 
+     * @param confName
+     *            the name of the configuration to return.
+     * @return the intersected {@link Configuration} object for the given conf name
+     */
+    public Configuration getIntersectedConfiguration(String confName) {
+        return (Configuration) intersectedConfs.get(confName);
+    }
+    
+    public Visibility getVisibility() {
+        for (Iterator it = intersectedConfs.values().iterator(); it.hasNext();) {
+            Configuration c = (Configuration) it.next();
+            if (c != null && Visibility.PRIVATE.equals(c.getVisibility())) {
+                return Visibility.PRIVATE;
+            }
+        }
+        return Visibility.PUBLIC;
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationIntersection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ConfigurationIntersection.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultArtifact.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultArtifact.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultDependencyArtifactDescriptor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultDependencyArtifactDescriptor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultDependencyDescriptor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultDependencyDescriptor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExcludeRule.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExcludeRule.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java?rev=1049146&r1=1049145&r2=1049146&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java Tue Dec 14 16:28:01 2010
@@ -1,79 +1,79 @@
-/*
- *  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.module.descriptor;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.ivy.core.module.id.ModuleRevisionId;
-
-public class DefaultExtendsDescriptor implements ExtendsDescriptor {
-
-    private ModuleRevisionId parentRevisionId;
-    private ModuleRevisionId resolvedParentRevisionId;
-    private String location;
-    private List extendsTypes;
-
-    public DefaultExtendsDescriptor(ModuleRevisionId parentRevisionId,
-                                    ModuleRevisionId resolvedParentRevisionId,
-                                    String location, String[] types) {
-        this.parentRevisionId = parentRevisionId;
-        this.resolvedParentRevisionId = resolvedParentRevisionId;
-        this.location = location;
-        this.extendsTypes = new ArrayList(types.length);
-        for (int i = 0; i < types.length; ++i) {
-            extendsTypes.add(types[i]);
-        }
-    }
-
-    public ModuleRevisionId getParentRevisionId() {
-        return parentRevisionId;
-    }
-
-    public ModuleRevisionId getResolvedParentRevisionId() {
-        return resolvedParentRevisionId;
-    }
-
-    public String getLocation() {
-        return location;
-    }
-
-    public String[] getExtendsTypes() {
-        return (String[]) extendsTypes.toArray(new String[extendsTypes.size()]);
-    }
-
-    public boolean isAllInherited() {
-        return extendsTypes.contains("all");
-    }
-
-    public boolean isInfoInherited() {
-        return isAllInherited() || extendsTypes.contains("info");
-    }
-
-    public boolean isDescriptionInherited() {
-        return isAllInherited() || extendsTypes.contains("description");
-    }
-
-    public boolean areConfigurationsInherited() {
-        return isAllInherited() || extendsTypes.contains("configurations");
-    }
-
-    public boolean areDependenciesInherited() {
-        return isAllInherited() || extendsTypes.contains("dependencies");
-    }
-}
+/*
+ *  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.module.descriptor;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.ivy.core.module.id.ModuleRevisionId;
+
+public class DefaultExtendsDescriptor implements ExtendsDescriptor {
+
+    private ModuleRevisionId parentRevisionId;
+    private ModuleRevisionId resolvedParentRevisionId;
+    private String location;
+    private List extendsTypes;
+
+    public DefaultExtendsDescriptor(ModuleRevisionId parentRevisionId,
+                                    ModuleRevisionId resolvedParentRevisionId,
+                                    String location, String[] types) {
+        this.parentRevisionId = parentRevisionId;
+        this.resolvedParentRevisionId = resolvedParentRevisionId;
+        this.location = location;
+        this.extendsTypes = new ArrayList(types.length);
+        for (int i = 0; i < types.length; ++i) {
+            extendsTypes.add(types[i]);
+        }
+    }
+
+    public ModuleRevisionId getParentRevisionId() {
+        return parentRevisionId;
+    }
+
+    public ModuleRevisionId getResolvedParentRevisionId() {
+        return resolvedParentRevisionId;
+    }
+
+    public String getLocation() {
+        return location;
+    }
+
+    public String[] getExtendsTypes() {
+        return (String[]) extendsTypes.toArray(new String[extendsTypes.size()]);
+    }
+
+    public boolean isAllInherited() {
+        return extendsTypes.contains("all");
+    }
+
+    public boolean isInfoInherited() {
+        return isAllInherited() || extendsTypes.contains("info");
+    }
+
+    public boolean isDescriptionInherited() {
+        return isAllInherited() || extendsTypes.contains("description");
+    }
+
+    public boolean areConfigurationsInherited() {
+        return isAllInherited() || extendsTypes.contains("configurations");
+    }
+
+    public boolean areDependenciesInherited() {
+        return isAllInherited() || extendsTypes.contains("dependencies");
+    }
+}

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultExtendsDescriptor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultIncludeRule.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultIncludeRule.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DependencyArtifactDescriptor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DependencyArtifactDescriptor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DependencyDescriptor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DependencyDescriptor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DependencyDescriptorMediator.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ExcludeRule.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/ExcludeRule.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message