Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » Ant script wrapper plugin - javac fails only in real deployment
Ant script wrapper plugin - javac fails only in real deployment [message #34803] Wed, 17 May 2006 14:00
Eclipse User
Originally posted by: alexsani.gmail.com

I'm wrapping an existing ANT script with a tooling plugin that invokes it
from a popupMenu objectContribution.

In a runtime workbench, it all runs fine.

When deploying via Export -> deployable plugins and features, and
launching action from the eclipse IDE with the deployed plugin, I get a
compile error when invoking javac.

This is likely a classpath problem, as the same code compiles fine when
this build is run within the runtime workbench. I'm using an ant property
to set the axis.home, and using this path to create the classpath used in
the <javac>.

How do I get to the compiler output to figure out what the error is? Where
does this get logged? Any way to get it to show up on the eclipse console
or eclipse logging mechanism?


org.eclipse.core.runtime.CoreException[1]:
C:\eclipse-SDK-3.2RC1\configuration\org.eclipse.osgi\bundles \116\1\.cp\ant\ws-client-build.xml:112:
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.j ava: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.ja va:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185 )
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:40)
at
org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:106 8)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:706)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:457)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:356)
Previous Topic:ant deprecation warnings
Next Topic:How to configure a ftp CVS Repository ?
Goto Forum:
  


Current Time: Sat Aug 23 09:27:57 EDT 2014

Powered by FUDForum. Page generated in 0.01541 seconds