<target name="linkcheck">
<!-- finally, publish the help files -->
<javac srcdir="utils" destdir="utils" includes="HelpLinksChecker.java"/>
- <java fork="true" dir="help" classpath="utils" classname="HelpLinksChecker" failonerror="true">
- <arg file="help"/>
+ <java fork="true" dir="${helpDir}" classpath="utils" classname="HelpLinksChecker" failonerror="true">
+ <arg file="${helpDir}"/>
<arg value="-nointernet"/>
</java>
</target>
void checkLinks(String helpDirectoryPath) throws IOException
{
System.out.println("Checking help file links");
- File helpFolder = new File(helpDirectoryPath);
+ File helpFolder = new File(helpDirectoryPath).getCanonicalFile();
if (!helpFolder.exists())
{
System.out.println("Can't find " + helpDirectoryPath);