incubator-depot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <aj...@trysybase.com>
Subject Re: how to build?
Date Fri, 14 May 2004 16:28:41 GMT
You are mixing with an odd crowd, so expect odd. ;-)

Since Gump is our friend, we tend to let it do building via antworks & we
let it set the classpath. When developing we (at least I) simply have three
projects in Eclipse (becareful w/ subclipse, the Eclipse SVN plug-in, I've
had woes with it) and Eclipse figures it out. I've struggled with the ant
inside Eclipse (I suspect it is older) but command line depot runs.

Further, I've manually set the CLASSPATH to the build directories for the
three projects, then run the builds (it works). [Nick has a personal Gump
set-up that ought help him do this, but that isn't as easy for newbies as
I'd like, so I don't advise it.]

For testing, I do similarly, I have a depotenv.bat (see below). I tend to
like to use projects from CVS HEAD, but in doing so I've stumbled onto VFS
problems. You might just add jars.

I hope that helps. Thanks for digging in. Keep the feedback coming.

regards,

Adam

#
# DEPOTENV
#
set CLASSPATH=.

#set SVN_EDITOR=vi

set JUNIT_HOME=F:\apps\sforge\junit3.8.1

set WORK=F:\data\OSS

set DEPOT_COMMON=%WORK%\depot-common
set CLASSPATH=%CLASSPATH%;%DEPOT_COMMON%\build\ide\eclipse\

set DEPOT_VERSION=%WORK%\depot-version
set CLASSPATH=%CLASSPATH%;%DEPOT_VERSION%\build\ide\eclipse\

set DEPOT_UPDATE=%WORK%\depot-update
set CLASSPATH=%CLASSPATH%;%DEPOT_UPDATE%\build\ide\eclipse\

set DEPOT_VERSION=%WORK%\depot-version
set CLASSPATH=%CLASSPATH%;%DEPOT_VERSION%\build\ide\eclipse\

set CODEC=%WORK%\commons-codec
set CLASSPATH=%CLASSPATH%;%CODEC%\build\ide\eclipse\

# VFS has some woes...
#set VFS=%WORK%\commons-vfs
#set CLASSPATH=%CLASSPATH%;%VFS%\build\ide\eclipse\

set REGEXP=%WORK%\jakarta-regexp
set CLASSPATH=%CLASSPATH%;%REGEXP%\build\ide\eclipse\

set HTTP=%WORK%\commons-httpclient
set CLASSPATH=%CLASSPATH%;%HTTP%\build\ide\eclipse\

set LOGGING=%WORK%\commons-logging
set CLASSPATH=%CLASSPATH%;%LOGGING%\build\ide\eclipse\

set REGEXP=%WORK%\jakarta-regexp
set CLASSPATH=%CLASSPATH%;%REGEXP%\build\ide\eclipse\

cd %DEPOT_UPDATE%


Mime
View raw message