Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » ant not picking up JDTCompilerAdapter
ant not picking up JDTCompilerAdapter [message #197091] Sun, 27 February 2005 15:41 Go to next message
Eclipse UserFriend
Originally posted by: dhall_sumant.hotmail.com

Hi,

I am using Eclipse 3.0.1. I am trying to compile some java classes using
the Ant plugin. When I run the ant build.xml, I get the following message:

BUILD FAILED: build.xml:23: Compiler Adapter
'org.eclipse.jdt.core.JDTCompilerAdapter' can't be found.

I added the 'org.eclipse.jdt.core.JDTCompilerAdapter' jar file to the ant
runtime classpath properties under
Window->Preferences->Ant->Runtime->Classpath->Ant Home entries (Default).
I selected "Add external Jars"

When I run the build file now, the message is:

BUILD FAILED: build.xml:23: Cannot find the JDT compiler

Can someone please let me know how to fix the error?

thanks in advance,
Sumant
Re: ant not picking up JDTCompilerAdapter [message #197099 is a reply to message #197091] Sun, 27 February 2005 16:06 Go to previous messageGo to next message
Eclipse UserFriend
To run the JDTCompiler outside of Eclipse you will need to add the two JARs
to the Ant runtime classpath:
jdtCompilerAdapter.jar and the jdtcore.jar

HTH
Darins

"Sumant Dhall" <dhall_sumant@hotmail.com> wrote in message
news:cvtbai$3qr$1@www.eclipse.org...
>
> Hi,
>
> I am using Eclipse 3.0.1. I am trying to compile some java classes using
> the Ant plugin. When I run the ant build.xml, I get the following message:
>
> BUILD FAILED: build.xml:23: Compiler Adapter
> 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be found.
>
> I added the 'org.eclipse.jdt.core.JDTCompilerAdapter' jar file to the ant
> runtime classpath properties under
> Window->Preferences->Ant->Runtime->Classpath->Ant Home entries (Default).
> I selected "Add external Jars"
>
> When I run the build file now, the message is:
>
> BUILD FAILED: build.xml:23: Cannot find the JDT compiler
>
> Can someone please let me know how to fix the error?
>
> thanks in advance,
> Sumant
>
>
>
>
Re: ant not picking up JDTCompilerAdapter [message #197206 is a reply to message #197099] Tue, 01 March 2005 01:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dhall_sumant.hotmail.com

Thanks Darin! It works now.

Darin Swanson wrote:

> To run the JDTCompiler outside of Eclipse you will need to add the two JARs
> to the Ant runtime classpath:
> jdtCompilerAdapter.jar and the jdtcore.jar

> HTH
> Darins

> "Sumant Dhall" <dhall_sumant@hotmail.com> wrote in message
> news:cvtbai$3qr$1@www.eclipse.org...
>>
>> Hi,
>>
>> I am using Eclipse 3.0.1. I am trying to compile some java classes using
>> the Ant plugin. When I run the ant build.xml, I get the following message:
>>
>> BUILD FAILED: build.xml:23: Compiler Adapter
>> 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be found.
>>
>> I added the 'org.eclipse.jdt.core.JDTCompilerAdapter' jar file to the ant
>> runtime classpath properties under
>> Window->Preferences->Ant->Runtime->Classpath->Ant Home entries (Default).
>> I selected "Add external Jars"
>>
>> When I run the build file now, the message is:
>>
>> BUILD FAILED: build.xml:23: Cannot find the JDT compiler
>>
>> Can someone please let me know how to fix the error?
>>
>> thanks in advance,
>> Sumant
>>
>>
>>
>>
Re: ant not picking up JDTCompilerAdapter [message #221987 is a reply to message #197091] Mon, 09 January 2006 19:26 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

I'm using Eclipse 3.2 M4, and am running into a similar problem : I'm trying
to deploy a plugin using the export wizard.
The following error pops out :

file:C:/Work/Merlin/Project/Implementation/org.eclipse.emf.c odegen.jeteditor
/build.xml:127: Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'
can't be found.

The Ant runtime path contains the following entry :
C:/Work/Merlin/Eclipse/configuration/org.eclipse.osgi/bundle s/145/1/.cp/jdtC
ompilerAdapter.jar.
Adding the org.eclipse.jdt.core_3.2.0.v_631.jar to the Ant runtime path
doesn't help.

There is nothing in the error log.

I'm really running out of ideas :( can someone please help me ?

Thanks in advance.

Joel.


"Sumant Dhall" <dhall_sumant@hotmail.com> a
Re: ant not picking up JDTCompilerAdapter [message #222075 is a reply to message #221987] Thu, 12 January 2006 08:57 Go to previous message
Eclipse UserFriend
Hello,

Just a little precision on this topic : I'm using JRE 1.5, and the plugin
was initially made with Eclipse 3.1.
Thanks in advance for any help/pointers, sorry if this is a silly question.

Bests,

Joel.

"Joel Cheuoua" <jcheuoua@wanadoo.fr> wrote in message
news:dpuv00$22h$1@utils.eclipse.org...
> Hello,
>
> I'm using Eclipse 3.2 M4, and am running into a similar problem : I'm
> trying
> to deploy a plugin using the export wizard.
> The following error pops out :
>
> file:C:/Work/Merlin/Project/Implementation/org.eclipse.emf.c odegen.jeteditor
> /build.xml:127: Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'
> can't be found.
>
> The Ant runtime path contains the following entry :
> C:/Work/Merlin/Eclipse/configuration/org.eclipse.osgi/bundle s/145/1/.cp/jdtC
> ompilerAdapter.jar.
> Adding the org.eclipse.jdt.core_3.2.0.v_631.jar to the Ant runtime path
> doesn't help.
>
> There is nothing in the error log.
>
> I'm really running out of ideas :( can someone please help me ?
>
> Thanks in advance.
>
> Joel.
>
>
> "Sumant Dhall" <dhall_sumant@hotmail.com> a
Previous Topic:PDT export - build classpath problem
Next Topic:Migrating from JDOM
Goto Forum:
  


Current Time: Sun May 04 08:32:55 EDT 2025

Powered by FUDForum. Page generated in 0.03238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top