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?&nbsp; 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.&nbsp; 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.&nbsp; 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> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; 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>&gt; Cool!<br>&gt;<br>&gt; I'll be happy to help, but I'll be honest.&nbsp;&nbsp;I have skills with maven (and
<br>&gt; java) and little experience with middlegen.<br>&gt;<br>&gt; Right now, my primary contract is managing builds for a large J2EE app<br>&gt; that<br>&gt; does a number of middlegen calls midstream.&nbsp;&nbsp;I've been working on an ant
<br>&gt; plugin that wraps the middlegen ant task.&nbsp;&nbsp;I'm about 50% done (I<br>&gt; think...),<br>&gt; as I have the build that I'm looking for, but to specify the sub-elements<br>&gt; you have to make a whole new plugin (with your &lt;table, &lt;many..., etc
<br>&gt; elements).&nbsp;&nbsp;Obviously, this isn't the optimal solution but seems to be<br>&gt; what's going to get me by this week. :)<br>&gt;<br>&gt; I seem able to check out the middlegen code from CVS from home.&nbsp;&nbsp;If<br>&gt; there's
<br>&gt; something I can do or look at, let me know.&nbsp;&nbsp;This would be a good<br>&gt; opportunity for me to get to know middlegen better and help keep my<br>&gt; managers<br>&gt; off my back at the same time. :)<br>&gt;<br>&gt; Mykel
<br>&gt;<br>&gt; On 6/23/06, <a href="mailto:[email protected]">[email protected]</a> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Hi!<br>&gt;&gt;<br>&gt;&gt; I've started working on an M2 plugin, but haven't committed anything to
<br>&gt;&gt; cvs yet. As far as I can remember, there was a problem with the<br>&gt;&gt; dependency<br>&gt;&gt; loading in early versions of M2. Since the dependency to the db driver<br>&gt;&gt; has<br>&gt;&gt; to be given in the projects pom, not the M2 plugin pom.. But think that
<br>&gt;&gt; can be solved easier now with the latest M2 release.<br>&gt;&gt;<br>&gt;&gt; I will take a look at it during this weekend, and commit to cvs what I<br>&gt;&gt; have so far.. Appreciate any help to get this completed.
<br>&gt;&gt;<br>&gt;&gt; CVS and mailing list archives are handled by sourceforge.<br>&gt;&gt;<br>&gt;&gt; .eivindw<br>&gt;&gt;<br>&gt;&gt; &gt; I can't seem to find any documentation on the m2 middlegen plugin.<br>&gt;&gt; Does
<br>&gt;&gt; &gt; it<br>&gt;&gt; &gt; exist?&nbsp;&nbsp;Is it just a repurposed m1 plugin?&nbsp;&nbsp;Is there documentation for<br>&gt;&gt; the<br>&gt;&gt; &gt; m2 plugin?<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; The archives for this list appear to be defunct, as does the maven
<br>&gt;&gt; site<br>&gt;&gt; &gt; for<br>&gt;&gt; &gt; boss.&nbsp;&nbsp;I also can't get to the source tree for middlegen using CVS,<br>&gt;&gt; &gt; although<br>&gt;&gt; &gt; that's potentially (but unlikely) a connectivity problem on my end.
<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Anyone have any data they can share with me re: the m2 middlegen<br>&gt;&gt; plugin?<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; --<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Never wear anything that panics the cat. -- P. J. O'Rourke
<br>&gt;&gt; &gt; Using Tomcat but need to do more? Need to support web services,<br>&gt;&gt; security?<br>&gt;&gt; &gt; Get stuff done quickly with pre-integrated technology to make your job<br>&gt;&gt; &gt; easier<br>&gt;&gt; &gt; Download IBM WebSphere Application Server 
v.1.0.1 based on Apache<br>&gt;&gt; Geronimo<br>&gt;&gt; &gt; <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642
</a><br>&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt; middlegen-user mailing list<br>&gt;&gt; &gt; <a href="mailto:[email protected]">[email protected]
</a><br>&gt;&gt; &gt; <a href="https://lists.sourceforge.net/lists/listinfo/middlegen-user">https://lists.sourceforge.net/lists/listinfo/middlegen-user</a><br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Using Tomcat but need to do more? Need to support web services,
<br>&gt;&gt; security?<br>&gt;&gt; Get stuff done quickly with pre-integrated technology to make your job<br>&gt;&gt; easier<br>&gt;&gt; Download IBM WebSphere Application Server v.1.0.1 based on Apache<br>&gt;&gt; Geronimo
<br>&gt;&gt; <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642</a><br>&gt;&gt; _______________________________________________
<br>&gt;&gt; middlegen-user mailing list<br>&gt;&gt; <a href="mailto:[email protected]">[email protected]</a><br>&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/middlegen-user">
https://lists.sourceforge.net/lists/listinfo/middlegen-user</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt;<br>&gt; Never wear anything that panics the cat. -- P. J. O'Rourke<br>&gt; Using Tomcat but need to do more? Need to support web services, security?
<br>&gt; Get stuff done quickly with pre-integrated technology to make your job<br>&gt; easier<br>&gt; Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br>&gt; <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642">
http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642</a><br>&gt; _______________________________________________<br>&gt; middlegen-user mailing list<br>&gt; <a href="mailto:[email protected]">
[email protected]</a><br>&gt; <a href="https://lists.sourceforge.net/lists/listinfo/middlegen-user">https://lists.sourceforge.net/lists/listinfo/middlegen-user</a><br>&gt;<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&amp;kid=120709&amp;bid=263057&amp;dat=121642">
http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;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==--