Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1811 - in development/main/home/transit/handler: etc/setup/authority src/main/net/dpml/transit/artifact

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1811 - in development/main/home/transit/handler: etc/setup/authority src/main/net/dpml/transit/artifact
  • Date: Fri, 18 Feb 2005 10:34:41 +0100

Author: mcconnell
Date: Fri Feb 18 10:34:40 2005
New Revision: 1811

Added:
development/main/home/transit/handler/etc/setup/authority/hosts.xml.example
- copied, changed from r1808,
development/main/home/transit/handler/etc/setup/authority/hosts.xml
Removed:
development/main/home/transit/handler/etc/setup/authority/hosts.xml
Modified:

development/main/home/transit/handler/src/main/net/dpml/transit/artifact/SecuredTransitContext.java
Log:
remove host.xml from the standard setup but provide host.xml.example as part
of the defult distribution

Copied:
development/main/home/transit/handler/etc/setup/authority/hosts.xml.example
(from r1808,
development/main/home/transit/handler/etc/setup/authority/hosts.xml)
==============================================================================
--- development/main/home/transit/handler/etc/setup/authority/hosts.xml
(original)
+++
development/main/home/transit/handler/etc/setup/authority/hosts.xml.example
Fri Feb 18 10:34:40 2005
@@ -2,24 +2,18 @@

<hosts>

+ <!-- examples of custom host defintions -->
+
<!--
- <host dir="${dpml.system}/local">
- <priority>20</priority>
+ <host dir="${dpml.system}/my-shared-repository">
+ <priority>30</priority>
<trusted>true</trusted>
<policy>timestamp</policy>
</host>

- <host href="http://repository.dpml.net/classic";>
+ <host href="http://repository.osm.net";>
<priority>40</priority>
</host>
-
- <host href="http://www.ibiblio.org/maven";>
- <priority>70</priority>
- </host>
-
- <host href="http://www.apache.org/dist/java-repository";>
- <priority>100</priority>
- </host>
-->

</hosts>

Modified:
development/main/home/transit/handler/src/main/net/dpml/transit/artifact/SecuredTransitContext.java
==============================================================================
---
development/main/home/transit/handler/src/main/net/dpml/transit/artifact/SecuredTransitContext.java
(original)
+++
development/main/home/transit/handler/src/main/net/dpml/transit/artifact/SecuredTransitContext.java
Fri Feb 18 10:34:40 2005
@@ -380,7 +380,7 @@
ClassLoader classloader = Transit.class.getClassLoader();
ResourceHelper.unpack( classloader, "transit/" +
AUTHORITY_FILENAME, artifactAuthFile );
ResourceHelper.unpack( classloader,
"transit/authority/cache.properties", new File( authority, "cache.properties"
) );
- ResourceHelper.unpack( classloader,
"transit/authority/hosts.xml", new File( authority, "hosts.xml" ) );
+ ResourceHelper.unpack( classloader,
"transit/authority/hosts.xml.example", new File( authority,
"hosts.xml.example" ) );
ResourceHelper.unpack( classloader,
"transit/authority/transit.properties", new File( authority,
"transit.properties" ) );
ResourceHelper.unpack(
classloader, "transit/authority/hosts/local.host", new
File( authority, "hosts/local.host" ) );



  • svn commit: r1811 - in development/main/home/transit/handler: etc/setup/authority src/main/net/dpml/transit/artifact, mcconnell, 02/18/2005

Archive powered by MHonArc 2.6.24.

Top of Page