--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/specs/baseline.rbspec Sun May 22 00:32:07 2016 +0100
@@ -0,0 +1,197 @@
+load 'baseline.deps.rake'
+
+project :'stx:repositories' do
+
+ # Hack for core developers..."
+ case USER
+ when 'jv' # Jan Vrany
+ user = 'vranyj1'
+ when 'm' # Marcel Hlopko
+ user = 'hlopkmar'
+ when 'roztocidlo' # Jan Kurs HTPC
+ user = 'kursjan'
+ else
+ user = USER
+ end
+
+ # Hack for JV :-)
+
+ if USER == 'jv'
+ swing_baseline_url = ":ext:vrany@dialin.exept.de/cvs/stx"
+ else
+ swing_baseline_url = ":ext:#{user}@swing.fit.cvut.cz/var/local/cvs"
+ end
+
+ repository :'swing:baseline' do
+ type :cvs
+ url swing_baseline_url
+ end
+
+ repository :'swing' do
+ type :svn
+ url "https://#{user}@swing.fit.cvut.cz/svn"
+ end
+
+ repository :'swing:hgsvn' do
+ type :hgsvn
+ url "https://#{user}@swing.fit.cvut.cz/svn"
+ end
+
+ repository :'swing:hg' do
+ type :hg
+ # url "https://#{user}@swing.fit.cvut.cz/hg"
+ url "ssh://#{user}@swing.fit.cvut.cz//var/local/hg"
+ end
+
+ repository :'swing:private' do
+ type :svn
+ url "svn+ssh://#{user}@192.168.12.2/svn"
+ end
+
+ repository :'swing:private:hg' do
+ type :hg
+ url "ssh://#{user}@192.168.12.2//hg"
+ end
+
+ repository :'swing:private:cvs' do
+ type :cvs
+ url ":ext:#{user}@192.168.12.2/cvs"
+ end
+
+ repository :'bitbucket:janvrany' do
+ type :hg
+ url "https://bitbucket.org/janvrany"
+ separator '-'
+ end
+end
+
+project :'stx:baseline' do
+
+ import :'stx:repositories'
+
+ repository :'swing:baseline'
+ package "stx:libbasic"
+ package "stx:goodies/refactoryBrowser/helpers"
+ package "stx:goodies/refactoryBrowser/parser"
+ package "stx:libbasic2"
+ package "stx:libcomp"
+ package "stx:libcompat"
+ package "stx:libview"
+ package "stx:libbasic3"
+ package "stx:libdb"
+ package "stx:libdb/libodbc"
+ package "stx:libdb/libsqlite"
+ package "stx:libview2"
+ package "stx:libboss"
+ package "stx:goodies/refactoryBrowser/changes"
+ package "stx:libwidg"
+ package "stx:libhtml"
+ package "stx:libwidg2"
+ package "stx:libui"
+ package "stx:libview3"
+ package "stx:libwidg3"
+ package "stx:libtool"
+ package "stx:libjavascript"
+ package "stx:goodies/refactoryBrowser/refactoring"
+ package "stx:goodies/refactoryBrowser/lint"
+ package "stx:goodies/refactoryBrowser/browser"
+ package "stx:libtool2"
+ package "stx:goodies/libdbase" if not win32?
+
+ application 'stx:projects/smalltalk'
+
+ tasks do
+
+ task :'checkout:buildtools' => [ BUILD_DIR / 'stx' / "rules",
+ BUILD_DIR / 'stx' / "configurations",
+ BUILD_DIR / 'stx' / "support",
+ BUILD_DIR / 'stx' / "stc",
+ BUILD_DIR / 'stx' / "librun",
+ BUILD_DIR / 'stx' / "RELEASE",
+ # needed by applications for *.rc stuff
+ BUILD_DIR / 'stx' / 'projects' / 'smalltalk',
+ # documentation
+ BUILD_DIR / 'stx' / 'doc' / 'online' / 'english',
+ BUILD_DIR / 'stx' / 'doc' / 'online' / 'pictures',
+ BUILD_DIR / 'stx' / 'doc' / 'online' / 'icons',
+ # various icons (country flags etc)
+ BUILD_DIR / 'stx' / 'goodies' / 'bitmaps'
+ ]
+
+ file BUILD_DIR / 'stx' / 'rules' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/rules'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'RELEASE' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/RELEASE'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'configurations' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/configurations'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'doc' / 'online' / 'english' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/doc/online/english'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'doc' / 'online' / 'pictures' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/doc/online/pictures'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'doc' / 'online' / 'icons' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/doc/online/icons'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'goodies' / 'bitmaps' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/goodies/bitmaps'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'support' => BUILD_DIR do | t |
+ checkout :'swing:baseline', 'stx/support'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'stc' => BUILD_DIR do | t |
+ checkout :'swing:private', 'stx/stc'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'librun' => BUILD_DIR do | t |
+ checkout :'swing:private', 'stx/librun'
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ file BUILD_DIR / 'stx' / 'projects' / 'smalltalk' do | t |
+ app = project.application
+ repo = :'swing:baseline'
+ branch = nil
+ if (app.name == 'stx:projects/smalltalk' )
+ repo = app.repository
+ branch = app.branch
+ end
+ checkout repo, 'stx/projects/smalltalk', :branch => branch
+ # the clear is here to avoid multiple checkouts
+ t.clear()
+ end
+
+ end
+
+end
+