-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
As my time is currently spent learning more of the details, I've moved "making it easier for new users" to the top of my list. (after the 100% devotion to work and reclamation of the rest of my life, of course) That said, I've reorganized the examples and am currently integrating the reorganization into the rest of the build (so it will still be possible from the top level to 'push a button' and have everything built as it is now). When I get this step done, I'll be posting the resulting structure back for feedback/inclusion.
Howard Lewis Ship wrote: | Breaking it into smaller pieces is another good idea. It just a | matter of prioritizing time! | | | On Fri, 04 Feb 2005 23:32:30 -0600, Brian K. Wallace | <[EMAIL PROTECTED]> wrote: | | Per a question on the user list as to "what's different" with regard to | loading the Examples registry, I'd like to get your input on adding a | target to the examples build.xml as well as adding another class to the | examples: | | Proposed addition to build.xml: | | ~ <target name="run-calculator-default" | ~ description="Execute the Calculator example using default registry | creation."> | ~ <copy file="src/descriptor/META-INF/examples.xml" | tofile="target/classes/META-INF/hivemodule.xml"/> | ~ <java classname="org.apache.hivemind.examples.CalculatorMainDefault"> | ~ <classpath refid="runtime.classpath"/> | ~ <arg line="28 4.75"/> | ~ </java> | ~ <delete dir="target/classes/META-INF"/> | ~ </target> | | Adding a copy of CalculatorMain as CalculatorMainDefault which changes | the registry creation line to: | ~ Registry registry = RegistryBuilder.constructDefaultRegistry(); | | The current methodology is good in that, for the developer, it shows how | to load a registry from a non-standard filename and location. I believe | this addition would also help show how it's done with the descriptor | named 'hivemodule.xml' in the META-INF directory on the classpath (the | 'default'). | | If this addition is alright, I'll create an issue and attach the patch. | [also going to post the summation of changes to the Wiki] | | Brian
- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32)
iD8DBQFCC+ppaCoPKRow/gARAkwvAJ4+DEmDtmlZvxOd7YtHj0wjlroZZACdFHqn 2Zow86KOn/Fo6LvSEYnJ5Rc= =O9mN -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]