ANT install on Windows has errors
Brought to you by:
jeugenepace
C:\Program Files\doctorj-5.0.0>ant install
Buildfile: build.xml
compile:
jarfile:
[mkdir] Created dir: C:\Program Files\doctorj-5.0.0\lib
[jar] Building jar: C:\Program
Files\doctorj-5.0.0\lib\doctorj.jar
install:
[mkdir] Created dir: C:\tmp\drjtgt\usr\bin
[mkdir] Created dir: C:\tmp\drjtgt\usr\share\doctorj
[mkdir] Created dir: C:\tmp\drjtgt\usr\share\man\man1
[exec] cp: cannot create regular file
`/tmp/drjtgt/usr/bin': No such file or directory
[exec] Result: 1
[copy] Copying 3 files to
C:\tmp\drjtgt\usr\share\doctorj
[copy] Copying 1 file to
C:\tmp\drjtgt\usr\share\doctorj
[copy] Copying 1 file to
C:\tmp\drjtgt\usr\share\man\man1
Logged In: YES
user_id=316860
I'll take a look at this. Now this is using the "cp" command, as an
executable, because the copy task in Ant doesn't retain the permissions of
the original copy. Of course, this is moot, since I assume that the doctorj file
should be a .bat file on Windows, not the shell script "doctorj".