Discussion:
[Middlegen-user] generated javadoc general remarks
Gregory Joseph
2003-03-03 14:41:05 UTC
Permalink
Hi,

I am using middlegen-2.0-b1, and have 3 remarks regarding the generated
metacode/javadoc:
- at class level, i have @weblogic.data-source-name, although i don't use the
weblogic plugin in my ant script
- at method level, in the get methods, i have @todo support
OracleClob,OracleBlob on WLS, which is kind of annoying too, since i don't
really care about this ;)
- at method level, in the set methods, the @param tag is incorrect: it
specifies the return type instead of the parameter name (ie for a method
signed "public abstract String setFoo(String s)", it should be "@param foo
the new foo value" but it is "@param java.lang.String the new foo value".


Any comment about theses "issues"? :)
Also, any plans on integrating jboss specific tags? (since i like to use the
jboss-feature of db creation at deploy time, but using middlegen as i do now
doesn't allow me to do that)


Cheers

greg
Aslak Hellesøy
2003-03-04 03:37:20 UTC
Permalink
Hi Greg,

All of them very valid issues. Could you make one RFE for each issue on
SourceForge so I don't forget it?
-----Original Message-----
Joseph
Sent: 3. mars 2003 17:34
Subject: [Middlegen-user] generated javadoc general remarks
Hi,
I am using middlegen-2.0-b1, and have 3 remarks regarding the generated
don't use the
weblogic plugin in my ant script
OracleClob,OracleBlob on WLS, which is kind of annoying too, since i don't
really care about this ;)
specifies the return type instead of the parameter name (ie for a method
Any comment about theses "issues"? :)
Also, any plans on integrating jboss specific tags? (since i like
to use the
jboss-feature of db creation at deploy time, but using middlegen
as i do now
doesn't allow me to do that)
What do you mean with jboss specific tags? What tags? Could you be more
specific?

Cheers,
Aslak
Cheers
greg
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Gregory Joseph
2003-03-04 14:22:17 UTC
Permalink
Hi Aslak,

I'd actually have 2 other remarks/questions now:
- why is there no possibility (at least from what I understand from the vm
files) to include code/comments for every getter or setter method in
generated entity beans? I was expecting to be able to have a template like
cmp20-ALL-ALL-mutator-comments.vm that would allow me to insert some comments
in every setter method of all my beans, or
cmp20-flights-ALL-accessor-comments.vm that would allow me to have some
comment in every getter method of the FlightBean.
(This would actually be useful for generating the jboss tags I mentionned
before)
- where/how can I know all 'objects' available in the velocity context for
my custom templates?

About the jboss tags i mentionned, they are xdoclet tags specific to jboss,
like
* @jboss.jdbc-type type="VARCHAR"
* @jboss.sql-type type="varchar(16)"
* @jboss.persistence not-null
which allows me to deploy my beans and have the tables generated by jboss
itself automatically. I assume this would be rather easy to implement in
middlegen?

Cheers,


greg

ps: i will enter the rfe's asap (tonight or tomorrow)

-----Original Message-----
From: Aslak Hellesøy [mailto:***@netcom.no]
Sent: mardi 4 mars 2003 1:45
To: middlegen-***@lists.sourceforge.net
Subject: RE: [Middlegen-user] generated javadoc general remarks


Hi Greg,

All of them very valid issues. Could you make one RFE for each issue on
SourceForge so I don't forget it?
-----Original Message-----
Joseph
Sent: 3. mars 2003 17:34
Subject: [Middlegen-user] generated javadoc general remarks
Hi,
I am using middlegen-2.0-b1, and have 3 remarks regarding the generated
don't use the
weblogic plugin in my ant script
OracleClob,OracleBlob on WLS, which is kind of annoying too, since i don't
really care about this ;)
specifies the return type instead of the parameter name (ie for a method
Any comment about theses "issues"? :)
Also, any plans on integrating jboss specific tags? (since i like
to use the
jboss-feature of db creation at deploy time, but using middlegen
as i do now
doesn't allow me to do that)
What do you mean with jboss specific tags? What tags? Could you be more
specific?

Cheers,
Aslak
Cheers
greg
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com

Loading...