Hi!
The prefs file is simply used to store middlegen settings from the last
run. The syntax is maybe not documented to well.. The best way to see the
syntax is to run middlegen, make some changes in the GUI, and check out
the generated prefs file.
The Hibernate plugin has a separate section for meta-information in the
GUI. Take a look and see if that covers your needs.
If you have more advanced needs, the quickest way is usually to get the
source from cvs and modify the hibernate.vm template.
.eivind
On Sun, 13 Nov 2005, David wrote:
I can understand you are interested in them but first explain us what
your goal is?
I just want to know the syntax in order to use it properly. On my case I just want to
know if is possilbe to add on the java and class definition meta information
(<meta> elements), such as comments, etc. In order to obtain such meta
information on the generated *.hbm.xml file.
I was looking on the source code and I am a fraid, such property doesn't exist,
the method setPrefsValue from PreferenceAware class is used just for inserting
the properties that are documented on the documentation.
Any way if middlegen provides the possibity of configuring the output process
using such files, this syntax should be public.
It is curios, but on this mailing list it is frecuently that when people ask
something, people replay them with another question (typical habit from people
of Galicia (Spain) ). I think my question was very clear.
Thanks,
David
P.D.: I was looking on the maling list archive and some person ask for the same
question, the answer was the same: a list of other question, without the
answer, Is it a secret syntax?????, :-)
Regards, Wouter
David wrote:
Dear Members,
I would like to get information about the syntax of such files. I am
interesting on Hibernate Pluging.
Thanks, in advance,
David
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
middlegen-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/middlegen-user