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:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> 
> iD8DBQFCBFpuaCoPKRow/gARAt9eAJ9Sr+p1Zk0JNMk3+IHWJKvCbdTzsACg+Ar2
> TJ0WzD0SM+ul4LUMBjVvzA8=
> =gQ4G
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to