Hello, Right now I have three seperate packages. Project Project-test Project-Actions Is it possible in P7 to have something like this Project ---Â Â Tests ----Â Actions and if so, how to I make it work,
Yes, you can :) (But I would recommend it doing it with tests) Usually, what you do is to create your package âProjectâ and then inside that package you can add the tags âtestâ and âActionsâ, But now you already have three packages, and you want to move, for example âProject-Actionsâ into âProjectâ. To do this you need to select âProject-Actionâ and with right click select the option âextrasâ in your context menu. From there, you need to select âdemote to package with tagâ. This will move all Project-Action package into âProjectâ package, âActionâ tag. Cheers, Esteban
On 27 Nov 2018, at 09:33, Roelof Wobben <r.wobben@home.nl> wrote:
Hello,
Right now I have three seperate packages.
Project Project-test Project-Actions
Is it possible in P7 to have something like this
Project --- Tests ---- Actions
and if so, how to I make it work,
Thanks, So better is leave it this way. So three seperate packages as I understand you well. Roelof Op 27-11-2018 om 10:47 schreef Esteban Lorenzano:
Yes, you can :) (But I would recommend it doing it with tests)
Usually, what you do is to create your package âProjectâ and then inside that package you can add the tags âtestâ and âActionsâ,
But now you already have three packages, and you want to move, for example âProject-Actionsâ into âProjectâ. To do this you need to select âProject-Actionâ and with right click select the option âextrasâ in your context menu. From there, you need to select âdemote to package with tagâ. This will move all Project-Action package into âProjectâ package, âActionâ tag.
Cheers, Esteban
On 27 Nov 2018, at 09:33, Roelof Wobben <r.wobben@home.nl> wrote:
Hello,
Right now I have three seperate packages.
Project Project-test Project-Actions
Is it possible in P7 to have something like this
Project --- Tests ---- Actions
and if so, how to I make it work,
On 27 Nov 2018, at 15:03, Roelof Wobben <r.wobben@home.nl> wrote:
Thanks,
So better is leave it this way. So three seperate packages as I understand you well.
I just said I would keep âtestsâ separated. The rest I do not have any opinion :) Esteban
Roelof
Op 27-11-2018 om 10:47 schreef Esteban Lorenzano:
Yes, you can :) (But I would recommend it doing it with tests)
Usually, what you do is to create your package âProjectâ and then inside that package you can add the tags âtestâ and âActionsâ,
But now you already have three packages, and you want to move, for example âProject-Actionsâ into âProjectâ. To do this you need to select âProject-Actionâ and with right click select the option âextrasâ in your context menu. From there, you need to select âdemote to package with tagâ. This will move all Project-Action package into âProjectâ package, âActionâ tag.
Cheers, Esteban
On 27 Nov 2018, at 09:33, Roelof Wobben <r.wobben@home.nl> wrote:
Hello,
Right now I have three seperate packages.
Project Project-test Project-Actions
Is it possible in P7 to have something like this
Project --- Tests ---- Actions
and if so, how to I make it work,
The main benefit of using separate packages instead of tags is that you can choose what to load. That's why MyPackage-Test is best kept separate, because when other project is loading your project, they don't need to load such package (which can speed up dependency loading and makes for smaller images). As changing it in either direction is usually simple, don't worry about not using the "right" style. Peter On Tue, Nov 27, 2018 at 3:36 PM Esteban Lorenzano <estebanlm@gmail.com> wrote:
On 27 Nov 2018, at 15:03, Roelof Wobben <r.wobben@home.nl> wrote:
Thanks,
So better is leave it this way. So three seperate packages as I understand you well.
I just said I would keep âtestsâ separated. The rest I do not have any opinion :)
Esteban
Roelof
Op 27-11-2018 om 10:47 schreef Esteban Lorenzano:
Yes, you can :) (But I would recommend it doing it with tests)
Usually, what you do is to create your package âProjectâ and then
inside that package you can add the tags âtestâ and âActionsâ,
But now you already have three packages, and you want to move, for
example âProject-Actionsâ into âProjectâ. To do this you need to select âProject-Actionâ and with right click select the option âextrasâ in your context menu. From there, you need to select âdemote to package with tagâ. This will move all Project-Action package into âProjectâ package, âActionâ tag.
Cheers, Esteban
On 27 Nov 2018, at 09:33, Roelof Wobben <r.wobben@home.nl> wrote:
Hello,
Right now I have three seperate packages.
Project Project-test Project-Actions
Is it possible in P7 to have something like this
Project --- Tests ---- Actions
and if so, how to I make it work,
Peter Uhnak wrote
That's why MyPackage-Test is best kept separate, because when other project is loading your project, they don't need to load such package
Just to give another angle, while everything said in this thread is true, I typically start with a monolithic package + sub tags and only split the package if forced to. I view premature splitting as similar to premature optimization. There is a cost of increased complication with dependencies and related management. ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
participants (4)
-
Esteban Lorenzano -
Peter Uhnak -
Roelof Wobben -
Sean P. DeNigris