Changeset 3252
- Timestamp:
- 04/22/11 10:56:55
- Files:
-
- trunk/build/quickstart/linux/bw (modified) (8 diffs)
- trunk/build/quickstart/windows/bw.bat (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/quickstart/linux/bw
r3237 r3252 40 40 echo " deployed application. ACTION may be one of" 41 41 echo " -updateall Does an svn update of all projects" 42 echo " -reindex runs the indexer directly out of the quickstart bedework"43 echo " dist directory to rebuild the lucene indexes"44 42 echo " -zoneinfo builds zoneinfo data for the timezones server" 45 echo " requires -version and -tzdata parameters. NOTE: build depends on glib2" 43 echo " requires -version and -tzdata parameters. " 44 echo " NOTE: build depends on glib2 and only works on Linux/Unix" 46 45 echo " -buildwebcache builds webcache" 47 46 echo " -deploywebcache deploys webcache" … … 69 68 echo " target Ant target to execute" 70 69 echo "" 71 echo " PROJECT optionally defines the package to build and is none or more of" 70 echo " PROJECT optionally defines the package to build and is one of" 71 echo " the core, ancillary or experimental targets below:" 72 echo "" 73 echo " Core projects: required for a functioning system" 74 echo " -bwxml Target is for the Bedework XML schemas build" 75 echo " (usually built automatically be dependent projects" 76 echo " -carddav Target is for the CardDAV build" 77 echo " -carddav deploy-addrbook To deploy the Javascript Addressbook client." 78 echo " -tzsvr Target is for the timezones server build" 79 echo " Ancillary projects: not required" 72 80 echo " -bwtools Target is for the Bedework tools build" 73 echo " -bwxml Target is for the Bedework XML schemas build"74 81 echo " -caldavTest Target is for the CalDAV Test build" 75 echo " -carddav Target is for the CardDAV build" 82 echo " -monitor Target is for the bedework monitor application" 83 echo " -testsuite Target is for the bedework test suite" 84 echo " Experimental projects: no guarantees" 85 echo " -catdav Target is for the CatDAV build" 76 86 echo " -client Target is for the bedework client application build" 77 87 echo " -exsynch Target is for the Exchange synch build" 78 echo " -monitor Target is for the bedework monitor application"79 88 echo " -naming Target is for the abstract naming api" 80 echo " -testsuite Target is for the bedework test suite"81 echo " -tzsvr Target is for the timezones server build"82 89 echo " The default is a calendar build" 83 echo ""84 echo " -carddav deploy-addrbook To deploy the Javascript Addressbook client."85 90 echo "" 86 91 echo " Invokes ant to build or deploy the Bedework system. Uses a configuration" … … 123 128 } 124 129 125 # ----------------------------------------------------------------------------126 # Reindex the data127 # ----------------------------------------------------------------------------128 actionReindex() {129 INDEXER=$QUICKSTART_HOME/bedework/dist/temp/shellscr/indexer130 131 if [ ! -d "$INDEXER" ] ; then132 errorUsage "The indexer directory $INDEXER does not exist. You probably need to do a rebuild."133 fi134 135 cd $INDEXER136 chmod +x bwrun137 ./bwrun reindex-nostart -user admin -indexlocprefix ../../../../../138 139 exit 0140 }141 142 130 usageZoneinfo() { 143 131 echo "" … … 268 256 bwxml= 269 257 bwtools= 270 carddav=271 258 caldav= 272 259 caldavTest= 260 carddav= 261 catdav= 273 262 client= 274 263 exsynch= … … 292 281 fi 293 282 294 if [ "$1" = "-reindex" ] ; then295 actionReindex296 fi297 298 283 if [ "$1" = "-zoneinfo" ] ; then 299 284 actionZoneinfo $* … … 388 373 shift 389 374 ;; 375 -caldav) 376 caldav="yes" 377 pkgdefault= 378 shift 379 ;; 380 -caldavTest) 381 caldavTest="yes" 382 pkgdefault= 383 shift 384 ;; 390 385 -carddav) 391 386 carddav="yes" … … 393 388 shift 394 389 ;; 395 -caldav) 396 caldav="yes" 397 pkgdefault= 398 shift 399 ;; 400 -caldavTest) 401 caldavTest="yes" 390 -catdav) 391 catdav="yes" 402 392 pkgdefault= 403 393 shift … … 499 489 fi 500 490 491 if [ "$catdav" != "" ] ; then 492 cd $QUICKSTART_HOME/catdav 493 fi 494 501 495 if [ "$client" != "" ] ; then 502 496 cd $QUICKSTART_HOME/bwclient trunk/build/quickstart/windows/bw.bat
r3202 r3252 179 179 GOTO:EOF 180 180 181 :reindex182 ECHO Calling the reindexer183 SET INDEXER=%QUICKSTART_HOME%\bedework\dist\temp\shellscr\indexer184 185 if exist %INDEXER% goto indexerok186 ECHO The indexer directory %INDEXER% does not exist. You probably need to do a rebuild.187 GOTO:EOF188 189 :indexerok190 cd %INDEXER%191 bwrun.bat reindex-nostart -user admin -indexlocprefix ..\..\..\..\..\192 193 GOTO:EOF194 195 181 :zoneinfo 196 182 ECHO zoneinfo target is not supported on Windows … … 294 280 IF "%1" == "-offline" GOTO offline 295 281 IF "%1" == "-updateall" GOTO updateall 296 IF "%1" == "-reindex" GOTO reindex297 282 IF "%1" == "-zoneinfo" GOTO zoneinfo 298 283 IF "%1" == "-buildwebcache" GOTO buildwebcache … … 329 314 ECHO deployed application. ACTION may be one of 330 315 ECHO -updateall Does an svn update of all projects" 331 ECHO -reindex runs the indexer directly out of the quickstart bedework332 ECHO dist directory to rebuild the lucene indexes333 316 REM Don't support zoneinfo command on Windows for now 334 317 REM ECHO -zoneinfo - builds zoneinfo data for the timezones server … … 351 334 ECHO target Ant target to execute (e.g. "start") 352 335 ECHO. 353 ECHO. 354 ECHO. 355 ECHO PROJECT optionally defines the package to build and is none or more of 336 ECHO PROJECT optionally defines the package to build and is one of 337 ECHO the core, ancillary or experimental targets below: 338 ECHO. 339 ECHO Core projects: required for a functioning system 356 340 ECHO -bwxml Target is for the Bedework XML schemas build 341 ECHO (usually built automatically be dependent projects 357 342 ECHO -carddav Target is for the CardDAV build 343 ECHO -carddav deploy-addrbook To deploy the Javascript Addressbook client. 344 ECHO -tzsvr Target is for the timezones server build 345 ECHO Ancillary projects: not required 346 ECHO -monitor Target is for the bedework monitor application 347 ECHO Experimental projects: no guarantees 348 ECHO -client Target is for the bedework client application build 358 349 ECHO -exsynch Target is for the Exchange synch build 359 ECHO -client Target is for the bedework client application build360 ECHO -monitor Target is for the bedework monitor application361 350 ECHO -naming Target is for the abstract naming api 362 ECHO -tzsvr Target is for the timezones server build363 351 ECHO The default is a calendar build 364 352 ECHO.
