RE: Help with overriding a plugin!!!! PLEASE URGENT

"Russell Simpkins" <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <001b01c4647c$80c06030$6401a8c0@somejebf26j53v>
Use the java element.  I use it to generate all sorts of stuff, SQL
files, XST templates you name it.
 
You can run your templates like this.
 
<middlegen appname="${name}" prefsdir="${src.dir}" gui="${gui}"
databaseurl="${database.url}"
initialContextFactory="${java.naming.factory.initial}"
providerURL="${java.naming.provider.url}"
datasourceJNDIName="${name}.database" driver="${database.driver}"
username="${database.userid}" password="${database.password}"
schema="${database.schema}">
            <java name="updatejsp" package="${project-package}.${name}"
destination="${build.html.dir}">
                <fileproducer template=”xyz.vm"
destination="${build.html.dir} " filename="update{0}.jsp"/>
            </java>
        </middlegen>
 
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Juliano
Gomes
Sent: Monday, July 05, 2004 11:06 AM
To: [email protected]
Subject: [Middlegen-user] Help with overriding a plugin!!!! PLEASE
URGENT
 
Hey guys, I need some help here...
 
Well, I have to generate some struts code, but not in the middlegen way,
I´m using middlegen to overide some existing plugins, I´ve created my
own plugins, they´re form.vm and action.vm
 
So I use fileproducer to change all defaults plugins in middlegen to
point to my new ones...
 
The point is, I don´t want middlegen generating all action classes like
DELETE, INSERT, NEW... and others... because all these actions I´ve done
it to one plugin... ACTION.VM has these methods...
 
So I read my DB and generate my tableNameAction only, I dont wan´t that
middle generates for me classes like tableNameDeleteAction and stuff....
 
I tried to substitute files in struts-plugin.jar , but It didn´t work
....
 
Can you members of this list help me out please ?? I have to follow some
pattern´s in my job.... I´d be very greatfull...
 
Thank´s a lot people!
 
------------------------------------------------------------------------
------------------------------------- 
Juliano Zandoná Gomes
IT GoldTower - Desenvolvimento de Sistemas

E-mail:     [email protected]
Web Site: http://www.goldtower.com.br
Endereço: R. Dr. Pamphilo d'Assumpção, nº 511 - Parolin
Phone:    +55 (41) 3022-8117 
------------------------------------------------------------------------
-------------------------------------
image001.jpg (image/jpeg, 4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.