Hi..
I have made emma code coverage through
ant.
when i try to do "ant -buildfile emma.build.xml compile" im getting couple of build fail error
1) When i set javac fork=" yes" In my emma.build.xml file im getting following error
compile:
[javac] Compiling 99 source files to C:\MDA\Source\out
BUILD FAILED
C:\MDA\cruisecontrol-bin-2.8.4\emma.build.xml:108: Error running C:\Program File
s\Java\jdk1.6.0_21\bin\javac.exe compiler
**my JAVA_HOME and ANT_HOME are working properly
2) When i set javac fork="off" im getting following error
[javac] ^
[javac] C:\EX\security\DaoAuthenticationProviderTest.java:40: annotation type not applicable to this kind of declaration
[javac] @Ignore
[javac] ^
[javac] Note: C:\EX\Logger.java us
es or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 9 errors
BUILD FAILED
C:\EX\cruisecontrol-bin-2.8.4\emma.build.xml:108: Compile failed; see the compiler error output for details.
Total time: 16 seconds
C:\EX\cruisecontrol-bin-2.8.4>
Can any one try to help me?