maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: maven/src/plugins-build/word2html/src/plugin-resources word2html.vbs
Date Sun, 29 Jun 2003 13:39:03 GMT
dion        2003/06/29 06:39:03

  Modified:    src/plugins-build/word2html/src/plugin-resources
                        word2html.vbs
  Log:
  Fully resolve file names so that reactored builds with .. in the path are handled correctly
  
  Revision  Changes    Path
  1.4       +8 -7      maven/src/plugins-build/word2html/src/plugin-resources/word2html.vbs
  
  Index: word2html.vbs
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/word2html/src/plugin-resources/word2html.vbs,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- word2html.vbs	18 Jun 2003 06:39:54 -0000	1.3
  +++ word2html.vbs	29 Jun 2003 13:39:02 -0000	1.4
  @@ -44,18 +44,19 @@
   On Error Resume Next
   
   HTMLFormat = 8
  +' work out the directory structure for the input file
  +Set FileSys = WScript.CreateObject("Scripting.FileSystemObject")
  +
   ' Fully Qualified File name
  -inputFile=WScript.Arguments(0)
  +inputFile=FileSys.GetAbsolutePathName(WScript.Arguments(0))
   ' Directory to place results in
  -outputDir=WScript.Arguments(1)
  +outputDir=FileSys.GetAbsolutePathName(WScript.Arguments(1))
   ' base directory for the input file
  -basedir = WScript.Arguments(2)
  -' work out the directory structure for the input file
  -Set FileSys = WScript.CreateObject("Scripting.FileSystemObject")
  +basedir = FileSys.GetAbsolutePathName(WScript.Arguments(2))
   
   outputFile = CreateOutputDirectories(basedir, inputFile, outputDir) & "\" & _
       FileSys.GetBaseName(inputFile) & ".html"
  -
  +    
   Set obj = WScript.CreateObject("Word.Application")
   
   obj.Visible = FALSE
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message