NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Extending Netbeans Code Generation

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
okmich



Joined: 15 Jun 2012
Posts: 1

PostPosted: Fri Jun 15, 2012 10:19 pm    Post subject: Extending Netbeans Code Generation Reply with quote

Hello Guys,

I hope I am asking this question in the right place?
How can I get a resource on how to extends Netbeans Code generation mechanism?
I have tried google but the best I see is on code completion and not code generation.
Currently netbeans can code-generate entities from databases, stateless session beans from entities, a full swing app from database, and jsf pages from entities. But I want to create my own templates based on my own libraries by extending the mechanism to have my own plugin.
I have tried searching for the templates in the first place but could not find them.

Any clue, please?

Regards
Back to top
Gary Greenberg
Posted via mailing list.





PostPosted: Mon Jun 18, 2012 2:07 am    Post subject: Extending Netbeans Code Generation Reply with quote

Look up freemarker code generation.
On 6/15/2012 3:19 PM, okmich wrote:
Quote:
Hello Guys,

I hope I am asking this question in the right place?
How can I get a resource on how to extends Netbeans Code generation mechanism?
I have tried google but the best I see is on code completion and not code generation.
Currently netbeans can code-generate entities from databases, stateless session beans from entities, a full swing app from database, and jsf pages from entities. But I want to create my own templates based on my own libraries by extending the mechanism to have my own plugin.
I have tried searching for the templates in the first place but could not find them.

Any clue, please?

Regards
Back to top
Geertjan Wielenga
Posted via mailing list.





PostPosted: Mon Jun 18, 2012 4:25 am    Post subject: Extending Netbeans Code Generation Reply with quote

On 06/16/2012 12:19 AM, okmich wrote:
Quote:
Hello Guys,

I hope I am asking this question in the right place?
How can I get a resource on how to extends Netbeans Code generation mechanism?
I have tried google but the best I see is on code completion and not code generation.
Currently netbeans can code-generate entities from databases, stateless session beans from entities, a full swing app from database, and jsf pages from entities. But I want to create my own templates based on my own libraries by extending the mechanism to have my own plugin.
I have tried searching for the templates in the first place but could not find them.

Any clue, please?

Regards




http://platform.netbeans.org/tutorials/nbm-code-generator.html

Gj
Back to top
emiddio-frontier
Posted via mailing list.





PostPosted: Mon Jun 18, 2012 1:35 pm    Post subject: Extending Netbeans Code Generation Reply with quote

ask nbdev group; this is nbusers
-Gary

----- Original Message -----
From: "okmich" <address-removed>
To: <address-removed>
Sent: Friday, June 15, 2012 3:19 PM
Subject: [nbusers] Extending Netbeans Code Generation


Hello Guys,

I hope I am asking this question in the right place?
How can I get a resource on how to extends Netbeans Code generation
mechanism?
I have tried google but the best I see is on code completion and not code
generation.
Currently netbeans can code-generate entities from databases, stateless
session beans from entities, a full swing app from database, and jsf pages
from entities. But I want to create my own templates based on my own
libraries by extending the mechanism to have my own plugin.
I have tried searching for the templates in the first place but could not
find them.

Any clue, please?

Regards
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo