-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For the simplest example, I copied the examples directory over to a temp
directory and renamed my examples directory (leaving the examples
directory let everything work off the examples descriptor file). Then I
made the following changes:
CalculatorMain:
~ Example file has this line:
~ Registry registry = ExampleUtils.buildRegistry("examples.xml");
~ New file:
~ Registry registry = RegistryBuilder.constructDefaultRegistry();
This worked identically after copying
examples/src/descriptor/examples.xml to examples/target/classes/META-INF
and renaming to hivemodule.xml
Two things ExampleUtils.buildRegistry(String) shows:
~ Module descriptor not named "hivemodule.xml"
~ Module descriptor not in META-INF directory on classpath.
If this isn't a complete answer, let me know. I'm going to put this back
on the Wiki if it is (as to a beginner "how-to" on different descriptor
files)
Brian
Jamie Orchard-Hays wrote:
| Actually, that's the part I want to know about. What's the standard file
| layout? Does the location of the descriptor need to be specified if the
| layout is standard?
|
|
|
|
| On Feb 4, 2005, at 4:28 PM, Brian K. Wallace wrote:
|
| I may be mistaken, but I believe the "non-standard setup" refers to the
| layout of files, not the configuration/implementation. This impacts
| finding the descriptor (utilizing the PROJECT_ROOT system property) and
| building the registry. Aside from that, the configuration/code looks
| 'default'.
|
| Jamie Orchard-Hays wrote:
| | What is the absolute minimal sort of code/configuration one needs for a
| | default style hivemind use? The calculator example says it uses a
| | non-standard setup so it won't interfere with tests...
| |
| | ---------------------------------------------------------------------
| | To unsubscribe, e-mail: [EMAIL PROTECTED]
| | For additional commands, e-mail: [EMAIL PROTECTED]
| |
| |
| |
|>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|>
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
iD8DBQFCBFSpaCoPKRow/gARAnqkAJ9Pd3oBZiyWWA4VRyThgGeNy/KD9gCfeb4T
+rp7HbFvrf8D9PEKuLv7a5Q=
=8BNz
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]