Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2150 - development/main/transit/core/handler/src/main/net/dpml/transit/artifact

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2150 - development/main/transit/core/handler/src/main/net/dpml/transit/artifact
  • Date: Sat, 26 Mar 2005 15:22:16 -0500

Author: niclas AT hedhman.org
Date: Sat Mar 26 15:22:15 2005
New Revision: 2150

Modified:

development/main/transit/core/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
Log:
Can not assume that a file that exist is the same as the file requested.

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
Sat Mar 26 15:22:15 2005
@@ -192,8 +192,6 @@
String name = resolver.resolvePath( m_artifact );
File tempDir = new File( Transit.DPML_DATA, "temp" );
File destFile = new File( tempDir, name );
- if( destFile.exists() )
- return destFile;
File parent = destFile.getParentFile();
parent.mkdirs();
FileOutputStream output = new FileOutputStream( destFile );



  • svn commit: r2150 - development/main/transit/core/handler/src/main/net/dpml/transit/artifact, niclas, 03/26/2005

Archive powered by MHonArc 2.6.24.

Top of Page