Re: M2 problems
"Mykel Alvis" <[email protected]> Mon, 26 Jun 2006 12:42:14 -0500
| Newsgroups | gmane.comp.java.ejb.middlegen.user |
|---|---|
| Message-ID | <[email protected]> |
--===============1956076790== Content-Type: multipart/alternative; boundary="----=_Part_19164_18255004.1151343734022" ------=_Part_19164_18255004.1151343734022 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey eivindw, Were you somehow trying to use markup to parse source files to do the generation? As I said, I'm very much a middlegen novice, and I can't really see how to do that but I'm always willing to listen. As I see it, the way to make the middlegen plugin work is to make a configuraiton section that mirrors the interior section of the ant task. That probably sounds pedantic, but if there's not an easy way to transfer the settings, it'll be a bit more difficult. I'm still reading through the documentation and working with the examples to see what else it might need to do. My xml ant-task wrapper works fine, by the way, but any changes in the configuraiton (table defs, etc) requires a whole new plugin. Maybe that's not such a bad thing, but it prevents people from using a generic plugin stored in a central repo. Mykel On 6/26/06, [email protected] <[email protected]> wrote: > > Hi again! > > I looked at the stuff I did on the M2 plugin. Started something based on > the XDoclet plugin, but it doesn't seem to work with the latest M2 > version. Nothing worth committing yet at least. > > The way I see it, the Middlegen plugin for M2 should need a minimal set of > configuration. With as much defaults as possible, with the option to > override of course. > > Let ut know if you come up with something that works, or need help > figuring stuff out.. > > .eivindw > > > Cool! > > > > I'll be happy to help, but I'll be honest. I have skills with maven > (and > > java) and little experience with middlegen. > > > > Right now, my primary contract is managing builds for a large J2EE app > > that > > does a number of middlegen calls midstream. I've been working on an ant > > plugin that wraps the middlegen ant task. I'm about 50% done (I > > think...), > > as I have the build that I'm looking for, but to specify the > sub-elements > > you have to make a whole new plugin (with your <table, <many..., etc > > elements). Obviously, this isn't the optimal solution but seems to be > > what's going to get me by this week. :) > > > > I seem able to check out the middlegen code from CVS from home. If > > there's > > something I can do or look at, let me know. This would be a good > > opportunity for me to get to know middlegen better and help keep my > > managers > > off my back at the same time. :) > > > > Mykel > > > > On 6/23/06, [email protected] <[email protected]> wrote: > >> > >> Hi! > >> > >> I've started working on an M2 plugin, but haven't committed anything to > >> cvs yet. As far as I can remember, there was a problem with the > >> dependency > >> loading in early versions of M2. Since the dependency to the db driver > >> has > >> to be given in the projects pom, not the M2 plugin pom.. But think that > >> can be solved easier now with the latest M2 release. > >> > >> I will take a look at it during this weekend, and commit to cvs what I > >> have so far.. Appreciate any help to get this completed. > >> > >> CVS and mailing list archives are handled by sourceforge. > >> > >> .eivindw > >> > >> > I can't seem to find any documentation on the m2 middlegen plugin. > >> Does > >> > it > >> > exist? Is it just a repurposed m1 plugin? Is there documentation > for > >> the > >> > m2 plugin? > >> > > >> > The archives for this list appear to be defunct, as does the maven > >> site > >> > for > >> > boss. I also can't get to the source tree for middlegen using CVS, > >> > although > >> > that's potentially (but unlikely) a connectivity problem on my end. > >> > > >> > Anyone have any data they can share with me re: the m2 middlegen > >> plugin? > >> > > >> > -- > >> > > >> > Never wear anything that panics the cat. -- P. J. O'Rourke > >> > Using Tomcat but need to do more? Need to support web services, > >> security? > >> > Get stuff done quickly with pre-integrated technology to make your > job > >> > easier > >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> > _______________________________________________ > >> > middlegen-user mailing list > >> > [email protected] > >> > https://lists.sourceforge.net/lists/listinfo/middlegen-user > >> > > >> > >> > >> > >> Using Tomcat but need to do more? Need to support web services, > >> security? > >> Get stuff done quickly with pre-integrated technology to make your job > >> easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> middlegen-user mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/middlegen-user > >> > > > > > > > > -- > > > > Never wear anything that panics the cat. -- P. J. O'Rourke > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > middlegen-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > middlegen-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > -- Never wear anything that panics the cat. -- P. J. O'Rourke ------=_Part_19164_18255004.1151343734022 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey eivindw,<br>Were you somehow trying to use markup to parse source files to do the generation? As I said, I'm very much a middlegen novice, and I can't really see how to do that but I'm always willing to listen.<br><br> As I see it, the way to make the middlegen plugin work is to make a configuraiton section that mirrors the interior section of the ant task. That probably sounds pedantic, but if there's not an easy way to transfer the settings, it'll be a bit more difficult. I'm still reading through the documentation and working with the examples to see what else it might need to do. <br><br>My xml ant-task wrapper works fine, by the way, but any changes in the configuraiton (table defs, etc) requires a whole new plugin. Maybe that's not such a bad thing, but it prevents people from using a generic plugin stored in a central repo. <br><br>Mykel<br><br><div><span class="gmail_quote">On 6/26/06, <b class="gmail_sendername"><a href="mailto:[email protected]">[email protected]</a></b> <<a href="mailto:[email protected]">[email protected]</a>> wrote: </span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi again!<br><br>I looked at the stuff I did on the M2 plugin. Started something based on <br>the XDoclet plugin, but it doesn't seem to work with the latest M2<br>version. Nothing worth committing yet at least.<br><br>The way I see it, the Middlegen plugin for M2 should need a minimal set of<br>configuration. With as much defaults as possible, with the option to <br>override of course.<br><br>Let ut know if you come up with something that works, or need help<br>figuring stuff out..<br><br>.eivindw<br><br>> Cool!<br>><br>> I'll be happy to help, but I'll be honest. I have skills with maven (and <br>> java) and little experience with middlegen.<br>><br>> Right now, my primary contract is managing builds for a large J2EE app<br>> that<br>> does a number of middlegen calls midstream. I've been working on an ant <br>> plugin that wraps the middlegen ant task. I'm about 50% done (I<br>> think...),<br>> as I have the build that I'm looking for, but to specify the sub-elements<br>> you have to make a whole new plugin (with your <table, <many..., etc <br>> elements). Obviously, this isn't the optimal solution but seems to be<br>> what's going to get me by this week. :)<br>><br>> I seem able to check out the middlegen code from CVS from home. If<br>> there's <br>> something I can do or look at, let me know. This would be a good<br>> opportunity for me to get to know middlegen better and help keep my<br>> managers<br>> off my back at the same time. :)<br>><br>> Mykel <br>><br>> On 6/23/06, <a href="mailto:[email protected]">[email protected]</a> <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br>>><br>>> Hi!<br>>><br>>> I've started working on an M2 plugin, but haven't committed anything to <br>>> cvs yet. As far as I can remember, there was a problem with the<br>>> dependency<br>>> loading in early versions of M2. Since the dependency to the db driver<br>>> has<br>>> to be given in the projects pom, not the M2 plugin pom.. But think that <br>>> can be solved easier now with the latest M2 release.<br>>><br>>> I will take a look at it during this weekend, and commit to cvs what I<br>>> have so far.. Appreciate any help to get this completed. <br>>><br>>> CVS and mailing list archives are handled by sourceforge.<br>>><br>>> .eivindw<br>>><br>>> > I can't seem to find any documentation on the m2 middlegen plugin.<br>>> Does <br>>> > it<br>>> > exist? Is it just a repurposed m1 plugin? Is there documentation for<br>>> the<br>>> > m2 plugin?<br>>> ><br>>> > The archives for this list appear to be defunct, as does the maven <br>>> site<br>>> > for<br>>> > boss. I also can't get to the source tree for middlegen using CVS,<br>>> > although<br>>> > that's potentially (but unlikely) a connectivity problem on my end. <br>>> ><br>>> > Anyone have any data they can share with me re: the m2 middlegen<br>>> plugin?<br>>> ><br>>> > --<br>>> ><br>>> > Never wear anything that panics the cat. -- P. J. O'Rourke <br>>> > Using Tomcat but need to do more? Need to support web services,<br>>> security?<br>>> > Get stuff done quickly with pre-integrated technology to make your job<br>>> > easier<br>>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache<br>>> Geronimo<br>>> > <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 </a><br>>> > _______________________________________________<br>>> > middlegen-user mailing list<br>>> > <a href="mailto:[email protected]">[email protected] </a><br>>> > <a href="https://lists.sourceforge.net/lists/listinfo/middlegen-user">https://lists.sourceforge.net/lists/listinfo/middlegen-user</a><br>>> ><br>>><br>>><br>>><br>>> Using Tomcat but need to do more? Need to support web services, <br>>> security?<br>>> Get stuff done quickly with pre-integrated technology to make your job<br>>> easier<br>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache<br>>> Geronimo <br>>> <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>>> _______________________________________________ <br>>> middlegen-user mailing list<br>>> <a href="mailto:[email protected]">[email protected]</a><br>>> <a href="https://lists.sourceforge.net/lists/listinfo/middlegen-user"> https://lists.sourceforge.net/lists/listinfo/middlegen-user</a><br>>><br>><br>><br>><br>> --<br>><br>> Never wear anything that panics the cat. -- P. J. O'Rourke<br>> Using Tomcat but need to do more? Need to support web services, security? <br>> Get stuff done quickly with pre-integrated technology to make your job<br>> easier<br>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br>> <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642"> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>> _______________________________________________<br>> middlegen-user mailing list<br>> <a href="mailto:[email protected]"> [email protected]</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/middlegen-user">https://lists.sourceforge.net/lists/listinfo/middlegen-user</a><br>><br><br><br><br>Using Tomcat but need to do more? Need to support web services, security? <br>Get stuff done quickly with pre-integrated technology to make your job easier<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642"> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>_______________________________________________<br>middlegen-user mailing list<br><a href="mailto:[email protected]"> [email protected]</a><br><a href="https://lists.sourceforge.net/lists/listinfo/middlegen-user">https://lists.sourceforge.net/lists/listinfo/middlegen-user</a><br></blockquote></div><br><br clear="all"><br> -- <br><br>Never wear anything that panics the cat. -- P. J. O'Rourke ------=_Part_19164_18255004.1151343734022-- --===============1956076790== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 --===============1956076790== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ middlegen-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/middlegen-user --===============1956076790==--