# HG changeset patch # User Claus Gittinger # Date 1255534416 -7200 # Node ID e55f439814631245890d60005a87627f2ef530a1 # Parent 285fa261cbcb8817da668a26f5be0cc1fd862786 *** empty log message *** diff -r 285fa261cbcb -r e55f43981463 ProjectBuilder.st --- a/ProjectBuilder.st Wed Oct 14 13:43:27 2009 +0200 +++ b/ProjectBuilder.st Wed Oct 14 17:33:36 2009 +0200 @@ -17,14 +17,36 @@ self new package:'stx:projects/helloWorldApp'; build +! + +example2 + |builder| + + Smalltalk loadPackage:'stx:clients/Demos/foxCalcApplication' asAutoloaded:true. + + builder := self new. + builder package:'stx:clients/Demos/foxCalcApplication'. + builder build. + + UserPreferences fileBrowserClass openOnDirectory:builder packageBuildDirectory. ! ! !ProjectBuilder methodsFor:'accessing'! +buildDirectory + ^ buildDirectory +! + package:aPackageIDOrSymbol package := aPackageIDOrSymbol asPackageId. ! +packageBuildDirectory + "the directoray, where the deployable binary is created (xxxSetup.exe)" + + ^ buildDirectory / (package asPackageId module) / (package asPackageId directory) +! + projectDefinitionClass:something projectDefinitionClass := something. ! !