equal
deleted
inserted
replaced
15 Smalltalk loadPackage:'stx:projects/helloWorldApp' asAutoloaded:true. |
15 Smalltalk loadPackage:'stx:projects/helloWorldApp' asAutoloaded:true. |
16 |
16 |
17 self new |
17 self new |
18 package:'stx:projects/helloWorldApp'; |
18 package:'stx:projects/helloWorldApp'; |
19 build |
19 build |
|
20 ! |
|
21 |
|
22 example2 |
|
23 |builder| |
|
24 |
|
25 Smalltalk loadPackage:'stx:clients/Demos/foxCalcApplication' asAutoloaded:true. |
|
26 |
|
27 builder := self new. |
|
28 builder package:'stx:clients/Demos/foxCalcApplication'. |
|
29 builder build. |
|
30 |
|
31 UserPreferences fileBrowserClass openOnDirectory:builder packageBuildDirectory. |
20 ! ! |
32 ! ! |
21 |
33 |
22 !ProjectBuilder methodsFor:'accessing'! |
34 !ProjectBuilder methodsFor:'accessing'! |
|
35 |
|
36 buildDirectory |
|
37 ^ buildDirectory |
|
38 ! |
23 |
39 |
24 package:aPackageIDOrSymbol |
40 package:aPackageIDOrSymbol |
25 package := aPackageIDOrSymbol asPackageId. |
41 package := aPackageIDOrSymbol asPackageId. |
|
42 ! |
|
43 |
|
44 packageBuildDirectory |
|
45 "the directoray, where the deployable binary is created (xxxSetup.exe)" |
|
46 |
|
47 ^ buildDirectory / (package asPackageId module) / (package asPackageId directory) |
26 ! |
48 ! |
27 |
49 |
28 projectDefinitionClass:something |
50 projectDefinitionClass:something |
29 projectDefinitionClass := something. |
51 projectDefinitionClass := something. |
30 ! ! |
52 ! ! |