Browse Source

update main to use new embeddor.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269101 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
05f3d6bc8e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/launcher/Main.java

+ 3
- 1
proposal/myrmidon/src/java/org/apache/myrmidon/launcher/Main.java View File

@@ -79,7 +79,7 @@ public final class Main

for( int i = 0; i < contents.length; i++ )
{
final File file = contents[ i ];
File file = contents[ i ];

if( !file.isFile() || !file.canRead() )
{
@@ -94,6 +94,8 @@ public final class Main
continue;
}

file = file.getCanonicalFile();
urlList.add( file.toURL() );
}



Loading…
Cancel
Save