Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] WTP Build error, Could not create task or type of type: eclipse.fetch


Hi Justin,

Everything you posted looks fine to me. I'm using the same OS, runtime version, and Ant version.

I'm fishing here but did you extract org.eclipse.wtp.basebuilder and org.eclipse.wtp.eclipsebuilder from head and place them in E:\WTP_Build?

Lawrence Mandel

Software Developer
IBM Rational Software
Phone: 905 - 413 - 3814   Fax: 905 - 413 - 4920
lmandel@xxxxxxxxxx



Yung-chang Chen <yung-chang.chen@xxxxxxxxxx>
Sent by: wtp-releng-bounces@xxxxxxxxxxx

08/02/2005 07:08 PM

Please respond to
Webtools releng discussion list

To
Webtools releng discussion list <wtp-releng@xxxxxxxxxxx>
cc
Subject
Re: [wtp-releng] WTP Build error,        Could not create task or type of        type: eclipse.fetch





Hi Lawrence,

Thank you very much for replying my message.

At beginning, I tried to follow the document "WTP Builds" but ran into
an error by doing "ant -f cruise.xml test".  I investigated the problem
and found a thread similar to my error in releng mail archive.  The
suggestion was to check the required tools listed in WTP Builds doc.  I
was trying to verify my tools as close as possible but still having
problems.  That was why I tried to run the buildAll.xml directly.

The followings are more details and stack traces I got by running "ant
-debug -f cruise.xml".  The complete output is attached and I apology if
this is not desired.  I simply hope that I am not missing any critical
information for finding the problem here.

The values for baseos, basearch, and basews are listed below and they
seem okay.

...
Execute:Java13CommandLauncher: Executing
'E:\DevKits\Java\j2sdk1.4.2_08\jre\bin\java.exe' with arguments:
'-Dosgi.ws=win32'
'-Dosgi.os=win32'
'-Dosgi.arch=x86'
'-Dbasews=win32'
'-Dbaseos=win32'
'-Dbasearch=x86'
'-Dbuild.home=E:\WTP_Build'
'-DbuildType=N'
'-DjavacDebugInfo=on'
'-classpath'
'E:\WTP_Build\org.eclipse.releng.basebuilder\startup.jar'
'org.eclipse.core.launcher.Main'
'-application'
'org.eclipse.ant.core.antRunner'
'-buildfile'
'buildAll.xml'
'build'

The ' characters around the executable and arguments are not part of the
command.

BUILD FAILED
E:\WTP_Build\releng.builder\scripts\cruise.xml:80: Java returned: 13
       at org.apache.tools.ant.taskdefs.Java.execute(Java.java:86)
       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.executeTarget(Project.java:1214)
       ...

Any idea about what could went wrong?

BTW, the followings are some basic env. setups.
   OS: windows xp
   java version "1.4.2_08"
   Apache Ant version 1.6.2 compiled on July 16 2004

Sorry for the long post and thank you again for your help,
Justin
Oracle

Lawrence Mandel wrote:

>
> Hi Justin,
>
> I had the same problem running the build from buildAll.xml. Using
> cruise.xml worked for me. What trouble are you having with cruise.xml?
> There are some properties you need to set, most notably baseos,
> basews, and basearch.
>
> Lawrence Mandel
>
> Software Developer
> IBM Rational Software
> Phone: 905 - 413 - 3814   Fax: 905 - 413 - 4920
> lmandel@xxxxxxxxxx
>
>
> *Yung-chang Chen <yung-chang.chen@xxxxxxxxxx>*
> Sent by: wtp-releng-bounces@xxxxxxxxxxx
>
> 07/27/2005 04:13 PM
> Please respond to
> Webtools releng discussion list
>
>
>                  
> To
>                  wtp-releng@xxxxxxxxxxx
> cc
>                  
> Subject
>                  [wtp-releng] WTP Build error,        Could not create task or type of
> type: eclipse.fetch
>
>
>
>                  
>
>
>
>
>
> Hi,
>
> I have trouble running "ant -f cruise.xml" in the WTP Builds document.  
> Instead, I am running the buildAll.xml directly.
>
> The followings are the directory structure for building WTP.
>   e:\tmp\wtp_build\  (base build directory)
>   e:\tmp\wtp_build\org.eclipse.releng.basebuilder\
>   e:\tmp\wtp_build\org.eclipse.releng.eclipsebuilder\
>   e:\tmp\wtp_build\org.eclipse.wtp.releng\
>   e:\tmp\wtp_build\releng\
>   e:\tmp\wtp_build\releng.builder\
>
> Then, do the followings.
>   e:\tmp\wtp_build\releng.builder\scripts> ant -f buildAll.xml build
>
> It seems miss dependency jar file(s) and have the following errors.
> Just wondering if missing jar file(s) is the problem.  What are they and
> where should I put them if that is the case.
> If not the missing dependecny, what is the problem and how should I
> resolve it?
>
> BTW, the Ant version I am using is 1.6.2 and the system is windows XP.
>
> Thank you very much,
> Justin
> Oracle
>
> -----------------------
> ...
> fetchElement:
>
> BUILD FAILED
> E:\WTP_Build\releng.builder\scripts\buildall.xml:203: The following
> error occurred while executing this line:
> E:\WTP_Build\releng.builder\scripts\build.xml:22: The following error
> occurred while executing this line:
> E:\WTP_Build\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:22:
>
> The following error occurred while executing this line:
> E:\WTP_Build\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:50:
>
> The following error occurred while executing this line:
> E:\WTP_Build\releng.builder\components\wst\customTargets.xml:13: The
> following error occurred while executing this line:
> E:\WTP_Build\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:34:
>
> Could not create task or type of type: eclipse.fetch.
>
> Ant could not find the task or a class this task relies upon.
>
> ...
> -----------------------
>
>
> _______________________________________________
> wtp-releng mailing list
> wtp-releng@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/wtp-releng
>
>------------------------------------------------------------------------
>
>_______________________________________________
>wtp-releng mailing list
>wtp-releng@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/wtp-releng
>  
>
_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng

Attachment: WTP_BuildError.zip.rename
Description: Binary data


Back to the top