JDev 10.1.3.3.0.4157: Where is JAVAC compiler output?
659361Feb 2 2009 — edited Feb 6 2009I built an Ant script for a project in JDeveloper, and when I run the "compile" target, it compiles a bunch of classes and then I get a "BUILD FAILED" error.
I'm not sure where to look for the "compiler error output" referenced in the error, so I don't know how to diagnose the problem.
Thanks,
Jonathan
Here are the build.properties:
javac.debug=on
oracle.home=../../../JDeveloper_10_1_3_3/
output.dir=classes
javac.deprecation=on
javac.nowarn=off
Here is the compile target that's causing the error:
<target name="compile" description="Compile Java source files" depends="init">
<javac destdir="${output.dir}" classpathref="classpath"
debug="${javac.debug}" nowarn="${javac.nowarn}"
deprecation="${javac.deprecation}" encoding="Cp1252" source="1.5"
target="1.5">
<src path="src"/>
</javac>
</target>
Here's the error in the Apache Ant log:
BUILD FAILED
D:\Siebel_POC\Model\build.xml:426: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
Total time: 49 seconds
Edited by: user1993443 on Feb 2, 2009 9:52 AM