You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2001/06/04 14:48:06 UTC
cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/launcher Main.java
donaldp 01/06/04 05:48:06
Modified: proposal/myrmidon/src/java/org/apache/myrmidon/launcher
Main.java
Log:
update main to use new embeddor.
Revision Changes Path
1.6 +3 -1 jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/launcher/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/launcher/Main.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Main.java 2001/06/03 05:03:16 1.5
+++ Main.java 2001/06/04 12:48:05 1.6
@@ -79,7 +79,7 @@
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 @@
continue;
}
+ file = file.getCanonicalFile();
+
urlList.add( file.toURL() );
}