This one time, at band camp, Verhagen, Tjeerd said:
VT>He Guru Bruce,
VT>
VT>
VT>The PDF 'castor xml source code generator User document' improvements:
VT>-----------------------------------------------------------------------
VT>general
VT>- Remove all the 'extra' newlines from the code / propertie examples.
VT>- Add a chapter how to use the source generator with Ant and a property
VT> file! Where Ant is in fact the standard building tool.
VT>
VT>
VT>paragraph 2.1 Usage
VT>- Handy that the extra packages needed in your classpath are not mentioned
VT> at least you can search again to find out how it is working.
VT> Include the package names and the url's where to find them!
VT>
VT>
VT>paragraph 2.2 Source Generator Options
VT>- How to use the properties file? This stupid newbie didn't get it to work.
VT> In the examples the name is also differned (I just saw, see also below)!
VT> Nice that command line option to tell castor, where the property file
VT> can be found.
VT> Handy that the following command line options can't be included in the
VT> property file (or at least it's not explained):
VT> - lineseperator
VT> - types
VT> - f
VT> - nodesc
VT> - nomarshall
VT> - testable
VT>
VT>
VT>paragraph 2.2.3.3 Setting up a super class
VT>- Make a reference / example of JDO implementing this:
VT>
VT>----------------------------------------------------------------------------
VT>----
VT> package org.organisation.project;
VT>
VT>
VT> import org.exolab.castor.jdo.TimeStampable;
VT>
VT>
VT> public abstract class JDOBaseClass implements TimeStampable {
VT> private long timestamp = TimeStampable.NO_TIMESTAMP;
VT>
VT>
VT> public long jdoGetTimeStamp() {
VT> return timestamp;
VT> }
VT> public void jdoSetTimeStamp(long timestamp) {
VT> this.timestamp = timestamp;
VT> }
VT>
VT> }
VT>
VT>----------------------------------------------------------------------------
VT>----
VT>- And reference it also to long transations. Maybe even add a 'Tip' that
VT>this
VT> technic can be used for web applications!
VT>
VT>
VT>
VT>
VT>castor v0.9.3.9
VT>---------------
VT>- In the castor v0.9.3.9 distribution, the presentions HTML pages are not
VT>included
VT> only the images (directory '\doc\ora-mar-2k').
VT>
VT>- examples.zip
VT> - Here the property file 'castor.properties' for the sourcegenerator is
VT>called
VT> differend then in the User document 'castorbuilder.properties'
VT>(paragraph
VT> 2.2 && 2.2.3).
VT>
VT>
VT>The newbie again
Tjeerd,
These are all great suggestions. I generally work more on the Castor JDO
side than I do on the Castor XML side. Some of the things that you've
eluded to in your messages reference the areas where Castor JDO and
Castor XML overlap. Hopefully Arnaud and/or Keith will see your comments
regarding Castor XML. I will do my best to use your suggestions for the
Castor JDO side.
Thanks again.
Bruce
--
perl -e 'print unpack("u44", "\?0G)U8V4\@4VYY9&5R\"F)R=6-E0&)S;GED97(N;W)G\"\@\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev