Browse Source

Use URLs directly

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271773 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
24ad9997f2
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      proposal/myrmidon/src/make/org/apache/myrmidon/build/AntDocSubTask.java

+ 2
- 3
proposal/myrmidon/src/make/org/apache/myrmidon/build/AntDocSubTask.java View File

@@ -33,9 +33,8 @@ public class AntDocSubTask
public AntDocSubTask()
{
setDestinationFile( GENERATED_FILE_NAME );
final String templateFile =
getClass().getResource( DEFAULT_TEMPLATE_FILE ).getFile();
setTemplateFile( new File( templateFile ) );
final URL resource = getClass().getResource( DEFAULT_TEMPLATE_FILE );
setTemplateURL( resource );

final TemplateSubTask.ExtentTypes extent = new TemplateSubTask.ExtentTypes();
extent.setValue( "hierarchy" );


Loading…
Cancel
Save