Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
9021
Description
Hello,
I think that the DefaultCompiler class assumes that we are in a Windows (\ separators ...) environment using Microsoft SDKs.
Here is a problematic extract of this class (near line 200):
String[] sDirTokens = sourceDirectory.split( "\\\\" );
String Now =sDirTokens[sDirTokens.length-3];
String frameWorkVer = ""+compilerContext.getCompilerRequirement().getFrameworkVersion();
String TempDir = "";
TempDir = System.getenv( "SystemRoot" )+ "\\Microsoft.NET\\Framework\\v2.0.50727
Temporary ASP.NET Files\\NPanday_Temp
"+Now;
//TempDir = System.getenv( "SystemRoot" )+ "\\Microsoft.NET\\Framework\\v2.0.50727
Temporary ASP.NET Files\\NPanday_Temp
TESTING";
Cedric,