notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1815 - development/main/home/transit/handler/src/main/net/dpml/transit/artifact
- From: mcconnell AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1815 - development/main/home/transit/handler/src/main/net/dpml/transit/artifact
- Date: Fri, 18 Feb 2005 13:03:29 +0100
Author: mcconnell
Date: Fri Feb 18 13:03:28 2005
New Revision: 1815
Modified:
development/main/home/transit/handler/src/main/net/dpml/transit/artifact/SecuredTransitContext.java
Log:
fix a bug concerning the locations where the packaged default resources are
unpacked to
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 13:03:28 2005
@@ -373,6 +373,7 @@
//
File authority = new File( transitDir, "authority" );
+ File hosts = new File( authority, "hosts" );
try
{
@@ -383,13 +384,13 @@
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" ) );
+ classloader, "transit/authority/hosts/local.host", new
File( hosts, "local.host" ) );
ResourceHelper.unpack(
- classloader,
"transit/authority/hosts/repository.dpml.net.host", new File( authority,
"repository.dpml.net.host" ) );
+ classloader,
"transit/authority/hosts/repository.dpml.net.host", new File( hosts,
"repository.dpml.net.host" ) );
ResourceHelper.unpack(
- classloader,
"transit/authority/hosts/www.ibiblio.org.host", new File( authority,
"www.ibiblio.org.host" ) );
+ classloader,
"transit/authority/hosts/www.ibiblio.org.host", new File( hosts,
"www.ibiblio.org.host" ) );
ResourceHelper.unpack(
- classloader,
"transit/authority/hosts/www.apache.org.host", new File( authority,
"www.apache.org.host" ) );
+ classloader,
"transit/authority/hosts/www.apache.org.host", new File( hosts,
"www.apache.org.host" ) );
if( monitor.isTraceEnabled() )
{
- svn commit: r1815 - development/main/home/transit/handler/src/main/net/dpml/transit/artifact, mcconnell, 02/18/2005
Archive powered by MHonArc 2.6.24.