getting “Class not found: org.eclipse.ajdt.core.ant.AJDT_AjcCompilerAdapter” in eclipse 3.8

StackOverflow https://stackoverflow.com/questions/11593410

  •  22-06-2021
  •  | 
  •  

Domanda

i have been successfully using ajdt in conjunction with pde headless build in eclipse 3.6. i have the following entries in project's build.properties:

compilerAdapter=org.eclipse.ajdt.core.ant.AJDT_AjcCompilerAdapter
sourceFileExtensions=*.java, *.aj

however, once i switched to eclipse 3.8, i have been getting the following stack during my ant-based pde headless build:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\productBuild\productBuild.xml:43: The following error occurred while executing this line:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\build.xml:105: The following error occurred while executing this line:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\templates\headless-build\customTargets.xml:12: The following error occurred while executing his line:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\productBuild\allElements.xml:20: The following error occurred while executing this line:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\genericTargets.xml:119: The following error occurred while executing this line:

[java] c:\eclipse3.8\plugins\org.eclipse.pde.build_3.8.0.v20120523-1555\scripts\genericTargets.xml:129: The following error occurred while executing this line:

[java] c:\MyApp\temp\compile.org.eclipse.pde.build.container.feature.xml:4: The following error occurred while executing this line:

[java] c:\MyApp\temp\plugins\com.foo.myplugin\build.xml:176: The following error occurred while executing this line:

[java] c:\MyApp\temp\plugins\com.foo.myplugin\build.xml:122: Class not found: org.eclipse.ajdt.core.ant.AJDT_AjcCompilerAdapter

please help me. thank you for your time!

È stato utile?

Soluzione

It is possible that AJDT is not installed in your build eclipse. It needs to be around in order for the AJDT_AjcCompilerAdapter class to be found.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top