Menu

#7 Running task throws an error

AntView_2.X
closed-fixed
General (21)
5
2002-08-14
2002-08-06
No

When trying to run any task with AntView I get the
following error in Eclipse error log:
"Cannot use classic compiler, as it is not available A
common solution is to set the environment variable
JAVA_HOME to your JDK directory."
JAVA_HOME is set properly. Built-in Ant support works
fine.

Exception:
D:\Projects\SBTrade\src\ua\kiev\softline\build.xml:13:
Cannot use classic compiler, as it is not available A
common solution is to set the environment variable
JAVA_HOME to your jdk directory.
at
org.apache.tools.ant.taskdefs.compilers.Javac12.execut
e(Javac12.java:96)
at
org.apache.tools.ant.taskdefs.Javac.execute
(Javac.java:557)
at org.apache.tools.ant.Task.perform
(Task.java:217)
at org.apache.tools.ant.Target.execute
(Target.java:184)
at org.apache.tools.ant.Target.performTasks
(Target.java:202)
at org.apache.tools.ant.Project.executeTarget
(Project.java:601)
at org.apache.tools.ant.taskdefs.Ant.execute
(Ant.java:266)
at org.apache.tools.ant.Task.perform
(Task.java:217)
at org.apache.tools.ant.Target.execute
(Target.java:184)
at org.apache.tools.ant.Target.performTasks
(Target.java:202)
at org.apache.tools.ant.Project.executeTarget
(Project.java:601)
at
com.r2tech.eclipse.antview.actions.RunAction.run
(RunAction.java:61)
at
org.eclipse.jface.action.Action.runWithEvent
(Action.java:749)
at
org.eclipse.jface.action.ActionContributionItem.handleWi
dgetSelection(ActionContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWi
dgetEvent(ActionContributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionLi
stener.handleEvent(ActionContributionItem.java:47)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:827)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:1529)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:1291)
at
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1177)
at org.eclipse.ui.internal.Workbench.run
(Workbench.java:1160)
at
org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:775)
at org.eclipse.core.boot.BootLoader.run
(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native
Method)
at org.eclipse.core.launcher.Main.basicRun
(Main.java:248)
at org.eclipse.core.launcher.Main.run
(Main.java:698)
at org.eclipse.core.launcher.Main.main
(Main.java:534)

Discussion

  • Roscoe Rush

    Roscoe Rush - 2002-08-14
    • status: open --> closed-fixed
     
  • Roscoe Rush

    Roscoe Rush - 2002-08-14

    Logged In: YES
    user_id=398209

    Antview plugin release 2.2.5 using Eclipse Ant Core classes
    to execute targets. Please also see the FAQ from the project
    home page on setting the build.compiler property.

     

Log in to post a comment.

MongoDB Logo MongoDB