Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse and Doja
Eclipse and Doja [message #43272] Wed, 30 March 2005 03:44 Go to next message
Eclipse User
Originally posted by: trong.macatung.com

Hello all,

I'm try to install plugin of Doja in eclipse and test with Hello World
example.
Doja plug in => installed
Ant run => error occur :

BUILD FAILED: C:\eclipse\workspace\HelloWorldTest\build.xml:4: Could not
create task or type of type: eclipse.convertPath.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual

solutions are to read the manual pages then download and

install needed JAR files, or fix the build file:

- You have misspelt 'eclipse.convertPath'.

Fix: check your spelling.

- The task needs an external JAR file to execute

and this is not found at the right place in the classpath.

Fix: check the documentation for dependencies.

Fix: declare the task.

- The task is an Ant optional task and the JAR file and/or libraries

implementing the functionality were not found at the time you

yourself built your installation of Ant from the Ant sources.

Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the

task and make sure it contains more than merely a META-INF/MANIFEST.MF.

If all it contains is the manifest, then rebuild Ant with the needed

libraries present in ${ant.home}/lib/optional/ , or alternatively,

download a pre-built release version from apache.org

- The build file was written for a later version of Ant

Fix: upgrade to at least the latest release version of Ant

- The task is not an Ant core or optional task

and needs to be declared using <taskdef>.

- You are attempting to use a task defined using

<presetdef> or <macrodef> but have spelt wrong or not

defined it at the point of use

Remember that for JAR files to be visible to Ant tasks implemented

in ANT_HOME/lib, the files must be in the same directory or on the

classpath

Please neither file bug reports on this problem, nor email the

Ant mailing lists, until all of these causes have been explored,

as this is not an Ant bug.

Total time: 609 milliseconds



Please let me know what should I do to test this ?

Thanks.
Re: Eclipse and Doja [message #45052 is a reply to message #43272] Fri, 01 April 2005 02:49 Go to previous messageGo to next message
Eclipse User
Originally posted by: trong.macatung.com

Hi all,

I found how to solve this => External Tool setup => JRE => choose run in the
same JRE as the workspace

It could pass this error but there's another error :

Buildfile: C:\eclipse30\workspace\HelloWorld\build.xml

init:

dist:

[exec] Error preverifying class HelloWorld

[exec] Class loading error: Illegal constant pool index

BUILD FAILED: C:\eclipse30\workspace\HelloWorld\build.xml:38: exec returned:
1

Total time: 1 second

Any ideas ?

Thanks

Trong ho




"Trong Ho Van" <trong@macatung.com> wrote in message
news:d2dou2$6js$1@news.eclipse.org...
> Hello all,
>
> I'm try to install plugin of Doja in eclipse and test with Hello World
> example.
> Doja plug in => installed
> Ant run => error occur :
>
> BUILD FAILED: C:\eclipse\workspace\HelloWorldTest\build.xml:4: Could not
> create task or type of type: eclipse.convertPath.
>
> Ant could not find the task or a class this task relies upon.
>
> This is common and has a number of causes; the usual
>
> solutions are to read the manual pages then download and
>
> install needed JAR files, or fix the build file:
>
> - You have misspelt 'eclipse.convertPath'.
>
> Fix: check your spelling.
>
> - The task needs an external JAR file to execute
>
> and this is not found at the right place in the classpath.
>
> Fix: check the documentation for dependencies.
>
> Fix: declare the task.
>
> - The task is an Ant optional task and the JAR file and/or libraries
>
> implementing the functionality were not found at the time you
>
> yourself built your installation of Ant from the Ant sources.
>
> Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
>
> task and make sure it contains more than merely a META-INF/MANIFEST.MF.
>
> If all it contains is the manifest, then rebuild Ant with the needed
>
> libraries present in ${ant.home}/lib/optional/ , or alternatively,
>
> download a pre-built release version from apache.org
>
> - The build file was written for a later version of Ant
>
> Fix: upgrade to at least the latest release version of Ant
>
> - The task is not an Ant core or optional task
>
> and needs to be declared using <taskdef>.
>
> - You are attempting to use a task defined using
>
> <presetdef> or <macrodef> but have spelt wrong or not
>
> defined it at the point of use
>
> Remember that for JAR files to be visible to Ant tasks implemented
>
> in ANT_HOME/lib, the files must be in the same directory or on the
>
> classpath
>
> Please neither file bug reports on this problem, nor email the
>
> Ant mailing lists, until all of these causes have been explored,
>
> as this is not an Ant bug.
>
> Total time: 609 milliseconds
>
>
>
> Please let me know what should I do to test this ?
>
> Thanks.
>
>
Re: Eclipse and Doja [message #45066 is a reply to message #45052] Fri, 01 April 2005 03:05 Go to previous message
Eclipse User
Originally posted by: trong.macatung.com

I found an option could let eclipse run this :
Window - options - Java - compiler - Compliance and classfile -> change to
generate .class file compatibility = 1.1

Any ways,
Thanks for this news

"Trong Ho Van" <trong@macatung.com> wrote in message
news:d2iuhr$9k8$1@news.eclipse.org...
> Hi all,
>
> I found how to solve this => External Tool setup => JRE => choose run in
the
> same JRE as the workspace
>
> It could pass this error but there's another error :
>
> Buildfile: C:\eclipse30\workspace\HelloWorld\build.xml
>
> init:
>
> dist:
>
> [exec] Error preverifying class HelloWorld
>
> [exec] Class loading error: Illegal constant pool index
>
> BUILD FAILED: C:\eclipse30\workspace\HelloWorld\build.xml:38: exec
returned:
> 1
>
> Total time: 1 second
>
> Any ideas ?
>
> Thanks
>
> Trong ho
>
>
>
>
> "Trong Ho Van" <trong@macatung.com> wrote in message
> news:d2dou2$6js$1@news.eclipse.org...
> > Hello all,
> >
> > I'm try to install plugin of Doja in eclipse and test with Hello World
> > example.
> > Doja plug in => installed
> > Ant run => error occur :
> >
> > BUILD FAILED: C:\eclipse\workspace\HelloWorldTest\build.xml:4: Could not
> > create task or type of type: eclipse.convertPath.
> >
> > Ant could not find the task or a class this task relies upon.
> >
> > This is common and has a number of causes; the usual
> >
> > solutions are to read the manual pages then download and
> >
> > install needed JAR files, or fix the build file:
> >
> > - You have misspelt 'eclipse.convertPath'.
> >
> > Fix: check your spelling.
> >
> > - The task needs an external JAR file to execute
> >
> > and this is not found at the right place in the classpath.
> >
> > Fix: check the documentation for dependencies.
> >
> > Fix: declare the task.
> >
> > - The task is an Ant optional task and the JAR file and/or libraries
> >
> > implementing the functionality were not found at the time you
> >
> > yourself built your installation of Ant from the Ant sources.
> >
> > Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
> >
> > task and make sure it contains more than merely a META-INF/MANIFEST.MF.
> >
> > If all it contains is the manifest, then rebuild Ant with the needed
> >
> > libraries present in ${ant.home}/lib/optional/ , or alternatively,
> >
> > download a pre-built release version from apache.org
> >
> > - The build file was written for a later version of Ant
> >
> > Fix: upgrade to at least the latest release version of Ant
> >
> > - The task is not an Ant core or optional task
> >
> > and needs to be declared using <taskdef>.
> >
> > - You are attempting to use a task defined using
> >
> > <presetdef> or <macrodef> but have spelt wrong or not
> >
> > defined it at the point of use
> >
> > Remember that for JAR files to be visible to Ant tasks implemented
> >
> > in ANT_HOME/lib, the files must be in the same directory or on the
> >
> > classpath
> >
> > Please neither file bug reports on this problem, nor email the
> >
> > Ant mailing lists, until all of these causes have been explored,
> >
> > as this is not an Ant bug.
> >
> > Total time: 609 milliseconds
> >
> >
> >
> > Please let me know what should I do to test this ?
> >
> > Thanks.
> >
> >
>
>
Previous Topic:Could not find framework msg when trying to launch Eclipse
Next Topic:Where can I find swt-win32-3064.dll source?
Goto Forum:
  


Current Time: Mon Jul 28 02:34:41 EDT 2014

Powered by FUDForum. Page generated in 0.02550 seconds