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


For what it's worth, I'm running the build successfully on my machine without Derby.

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/03/2005 02:24 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 Jeffrey,

Thank you for the suggestions.

While it probably does not matter that my build folder is e:\wtp_build.  
I just associated to my e drive using subst for the case.

I have trouble finding this derby distribution from
:pserver:anonymous@xxxxxxxxxxxxxxx:/home/cvs/zrheclipse.
Not sure if this apache plugin is what you have in mind.  I downloaded
the apache derby eclipse plugin and unzip to my build root folder.  But,
it probably not critical for my problem anyway since it is optional.

All other steps that you suggested are confirmed.  However, still get
the same error.

Thank you again for your help,
Justin

Jeffrey Liu wrote:

>
> Hi Justin,
>
> Not sure this will help or not, but I'll post it anyways. Here's how I
> do local builds:
>
> 1. Create the build root folder (I always use *D:\wtp_build*)
> 2. Optional. Unzip the Derby distribution into the build root folder.
> Only needed for performance.
> 3. Put the *org.eclipse.releng.basebuilder *project into the build
> root folder. You can get this project from Eclipse CVS HEAD branch.
> 4. Put *releng *and *releng.builder *into the build root folder. Get
> this from WTP CVS HEAD branch.
> 5. Open *D:\wtp_build\releng.builder\scripts\buildAll.properties* in a
> text editor. Change the value of the *build.home* property to
> *D\:/wtp_build*. Change the value of the *buildType* property to *I*.
> Save.
> 6. Open *D:\wtp_build\releng\maps\build.cfg* in a text editor.
> Uncomment the following properties:
>
> baseos=win32
> basews=win32
> basearch=x86
>
> Save.
> 7. Open up a command prompt and navigate to the
> *D:\wtp_build\releng.builder\scripts* directory and run *ant -f
> cruise.xml*.
>
> Thanks,
>
> Jeffrey Liu
> IBM Rational Software - Performance Analyst
> IBM Toronto Lab.
> 8200 Warden Ave. Markham, Ontario, L6G 1C7
> Internal mail: D3/R8V/8200/MKM (D3-268)
> T/L: 969 3531
> Tel: (905) 413 3531
> Fax: (905) 413 4920
> jeffliu@xxxxxxxxxx
>
>
>
> *Lawrence Mandel/Toronto/IBM@IBMCA*
> Sent by: wtp-releng-bounces@xxxxxxxxxxx
>
> 08/03/2005 01:29 AM
> 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 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" deleted by Jeffrey
> Liu/Toronto/IBM] _______________________________________________
> 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


Back to the top