-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project loading sequence and dependencies - how to correctly manage them in JfP and/or Rowan? #217
Comments
Hi @tukanos,
Can you attach the stack? That will help us determine in which product the problem lies. |
Hi @ericwinger , Ah, that completely slipped my mind. The stack: |
@tukanos, please take a look at the project RowanSample9V3 - spec_0002. In that project, conditional attributes that can be set in the load spec at load time to control whether or not tests will be loaded. You can see that the Also notice that the Core component, unconditionally references the Tests component, where the I should warn you that the configuration implementation is schedule to be revamped for 3.0 ... currently specifying complex conditional expressions is more complicated than they need to be :) I won't deprecate the configure implementation anytime soon and won't until there is a way to convert to the new implementation ... |
Thank you @dalehenrich for explaining. I'll have to process it and think about it. One question concerning conditionals. What does |
If a component has a #condition, then the packages in the component will be loaded if the condition is present in the #conditionalAttributes of the load spec. When I referred to "changing the components structure" elsewhere, part of the work will be to use conditional expressions "attached to a package". This approach should make things much easier to work with and understand (I hope) ... |
Hi @ericwinger , @dalehenrich ,
Again I'm unsure what project (Rowan, JfP or projects/libraries) is having a bug. Feel free to assign it to correct project.
The issue
BitmapCharacterSet-Core
package using BitmapCharacterSet-Core spec. It loads correctly.BitmapCharacterSet-Tests
package using BitmapCharacterSet-Tests spec afterwards the load ends with an error:a MessageNotUnderstood occurred (error 2010), a UndefinedObject does not understand
.I wanted to load the
...Core
package first and then the...Tests
package.A way to load both components
If I revisit either
BitmapCharacterSet-
Core
or-
Tests
and edit thecomponentNames
as following:It loads both Packages.
Trying to find a different solution
Now why I tried to separate the
Core
andTests
packages? On production environment I would like theCore
loaded. On testing or development environment you want to haveTests
too with the possibility to add tests if new bug was found.I have tried to understand both Rowan specification and Specification_v2.0.0. I ended up rather confused.
For the first specification contains
RwProjectCompoundConfiguration
andRwProjectLoadConfiguration
(the latter kind of reminds me ofbaseline(s)
). Looks different from the current version as I'm usingRwProjectSpecificationV2
andRwLoadSpecificationV2
and no configuration yet.The second Specification_v2.0.0 contained some code which I could not find in current Rowan version. For example, the
RwConfigurationDefinition
. The closes match wasRwConfiguration
- is it the same class or not hard to say.How does it suppose to work now?
The text was updated successfully, but these errors were encountered: