Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-47

Missing Framework checks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • Maven Plugins
    • 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,

      Attachments

        Activity

          People

            Unassigned Unassigned
            mimil Cédric Pronzato
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: