Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Releng problem with I-Build and M2


Hi Thomas,

I do local builds on my machine from time to time... I'll share what I used for the various properties. Hopefully, this will help.

eclipseBuilderDirectory - this is the directory of the org.eclipse.releng.basebuilder. You can get it from the base Eclipse project's CVS (dev.eclipse.org:/home/eclipse/org.eclipse.releng.basebuilder).

baseLocationRoot - this is the directory where Eclipse, EMF, GEF and JEM are extracted

baseLocation - this is really ${baseLocationRoot}/eclipse

buildDirectory - all WTP plugins (including test & performance plugins) are fetched and built here (inside ${buildDirectory}/plugins). This is also where the zip files are produced.

localDownloads - directory where all the pre-req (such as Tomcat) are downloaded

testDir - directory where the junit tests are extracted and run.

cloudscapeLib - the lib directory of Derby (for performance testing).

As for other properties, I don't remember using them. Here's a copy of my buildAll.xml, hope this helps...

############################################

#Sun Aug 08 16:17:03 EEST 2004
#buildType=S
#buildId=1.0M1
buildType=N

javacFailOnError=false
javacVerbose=true

eclipseBuilderDirectory=D\:/wtp_v10m2/_builds/org.eclipse.releng.basebuilder

baseLocation=D\:/wtp_v10m2/_builds/root/eclipse

bootclasspath=C\:/Java14/jre/lib/rt.jar

buildDirectory=D\:/wtp_v10m2/_builds/build

cvsRoot=/home/webtools
cvsServer=dev.eclipse.org
cvsProtocol=pserver
cvsUser=anonymous

ftpServer=127.0.0.1
ftpRemoteDirectory=/home/eteration/upload/drops
publishDirectory=D\:/wtp_v10m2/_builds/publish

localDownloads=D\:/wtp_v10m2/_builds/download

baseLocationRoot=D\:/wtp_v10m2/_builds/root

testDir=D\:/wtp_v10m2/_builds/test

cloudscapeLib=D\:/Cloudscape10.0/install/lib

cruiseDirectory=D\:/wtp_v10m2/_builds/cruise
cruiseTestDirectory=D\:/wtp_v10m2/_builds/test-result

############################################

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



Thomas Yip <tyip.os@xxxxxxxxx>
Sent by: wtp-dev-admin@xxxxxxxxxxx

02/18/2005 06:12 PM

Please respond to
wtp-dev

To
wtp-dev@xxxxxxxxxxx
cc
Subject
Re: [wtp-dev] Releng problem with I-Build and M2





Thank David.

My patch should certianly be simple. It should be a 5 liners of something.

I tried what you suggest (load the I-Build and checkout the plugins
that I intent to make changes). However, I got problem that some class
in my plugins cannot be found.. And, it makes me assume that this
apporach won't work. Sound like I need to try harder on that
direction...

Wait... Do you copy your WST plugin into your eclipse directory, and
import external plugin? Or, you import them all as "existing project"
in your webspace. I had the class not found problem with the first
approach.



In case follow developer who try to build the releng hit the same
problem, let me answer my previous question. I finally got around it.
It appears that I had some confusion on baseLocation, buildDirectory
and etc. Both dir need to be under baseLocationRoot... the doc only
say so about baseLocation.

I also hit another problem with eclipseBaseBuilder. Seem like it would
work only if I point to to a full Eclipse installation. I keep getting
error if I point it to the builder that checked out from the CVS...



Thomas Yip

On Thu, 17 Feb 2005 23:32:59 -0500, David M Williams
<david_williams@xxxxxxxxxx> wrote:
>  
> Sounds like the v20050210 tags were incorrect, or someone mistakenly "moved"
> one (which is unlikely, I think).
>  
> I can't be of much help, but that error message it typically caused by a
> project being listed in feature.xml but not map file (or, its tagged version
> in map file is wrong).
> All of which seems ok from casual glance. It seems a recent N-build worked
> ok, so your "head" build should work .. is that where you're seeing the
> error you listed?
>  
> But, I'm wondering why you're trying to do complete build to test a patch?
> Maybe its complex, but typcially, if you have an I-build (or even real
> recent N-build) as your PDE target, and only the plugin you're patching
> loaded from repository, you can test from dev. environment. That's certainly
> sufficient to submit as patch to a bugzilla ... unless its something real
> tricky or thread related, or something.
>  
> Hope this helps,
>  
> David
>  
>  
>  
>  
>  
>  Thomas Yip <tyip.os@xxxxxxxxx>
> Sent by: wtp-dev-admin@xxxxxxxxxxx
>
> 02/17/2005 03:57 PM
>  
> Please respond to
>  wtp-dev
>  
>  
> To wtp-dev@xxxxxxxxxxx
>  
> cc
>  
> Subject [wtp-dev] Releng problem with I-Build and M2
>  
>  
>  
>  
>  
> Hi,
>  
>  
>  I am hitting a problem in WTP (implemeting RunOnServer...). I am
>  trying to make a patch and test it.
>  
>  I would like to start with a I-Build or M2. So, I am trying to make a
>  release build.
>  
>  However, I hit the following build problem.
>  
>  
>  I was able to make a nightly build last Wednesday. So, I should have
>  properly configurated all the required JARs and buildAll.properties
>  etc.
>  
>  I tried to start with both HEAD and v20050210 of
>  org.eclipse.wtp.releng. And, HEAD version of baseBuilder and
>  eclipseBuilder. And, started from scratch again for a few times.
>  
>  
>       ....
>  
>      [java] generateScript:
>  
>      [java] BUILD FAILED
>      [java] D:\Release\wtp\org.eclipse.wtp.releng\buildAll.xml:86: The
>  following error occurred while executing this line:
>      [java] D:\Release\wtp\org.eclipse.wtp.releng\buildAll.xml:94: The
>  following error occurred while executing this line:
>      [java] D:\Release\wtp\org.eclipse.wtp.releng\build.xml:22: The
>  following error occurred while executing this line:
>      [java]
> D:\Release\wtp\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:22:
>  The following error occurre
>  d while executing this line:
>      [java]
> D:\Release\wtp\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:61:
>  The following error occurre
>  d while executing this line:
>      [java] D:\Release\wtp\org.eclipse.wtp.releng\wst\customTargets.xml:13:
>  The following error occurred while executing
>  this line:
>      [java]
> D:\Release\wtp\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:62:
>  org.eclipse.core.runtime.CoreException: Unable to find plug-in:
>  org.eclipse.wst.common.navigator.views_1.0.0. Please check the error
>  log for more details.
>  
>      [java] Total time: 16 seconds
>  
>  BUILD FAILED
>  D:\Release\wtp\org.eclipse.wtp.releng\cruise.xml:69: Java returned: 13
>  _______________________________________________
>  wtp-dev mailing list
>  wtp-dev@xxxxxxxxxxx
>  http://dev.eclipse.org/mailman/listinfo/wtp-dev
>  
>
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top