> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gordon
> Luk
> Sent: 21. juni 2002 04:33
> To: Aslak Hellesoy
> Cc: [EMAIL PROTECTED]
> Subject: [Middlegen-user] [CVS-21/6/2002 Ver 1.1 beta] [Error] GUI
> interface
>
>
> Hello aslak,
>
> Aslak Hellesoy wrote:
>
> >Do a CVS update. I just fixed a bug which caused Middlegen to do nothing
> >(!!) on JDK 1.3
> >Thanks for the postgresql.xml ;-)
> >
> >Aslak
> >
> >
> Great !!! After CVS update, it could generate the src.
>
> But i got problem again... sorry , i am so trouble.... :-)
> If i set gui to true at the <middlegen> task, it will popup a small
> window... when i click it (resize) ... the window close automatelly....
> and return following error.
>
> Error :
> ------------------>8--------------------
> [middlegen] DEBUG [main] middlegen.DbTable ( DbTable.java:168) -
> Table FLIGHTS's unique pk column:null
>
> BUILD FAILED
> /home/gordon/middlegen_cvs/middlegen/samples/build.xml:126:
> java.lang.NullPointerException
>
Pass the -debug flag to Ant (ex. "ant -debug ear"). This will give you a
stack trace that you can send me so I can see exactly where the
NullPointerException occurs. It might be a bug.
> Total time: 12 seconds
> ------------------>8--------------------
>
> I remember the release version of Middlegen, that is a normal window for
> display database relation.... and work fine.
> O... is that MUST got the JNDI datasource ? the cvs version 's new
> feature (JNDI... Datasoure...)... i hadn't setup the jboss for
> connection pool currently.
>
No, you don't need the connection pool/data source to be configured in your
container when you run Middlegen.
-But you have to pass in the datasourceJNDIName anayway, because the name
will appear in XDoclet tags in your source, and eventually in your beans'
deploymentdescriptor. I've updated middlegen/ant/docs.html To clarify this.
> Yeah, i want some features.... may be cann't say "feature"....
> 1. ) Could you modify the sample build.xml the <middlegen> and
> <compile>... seperate web and ejb ? because, i just want the ejb part,
> mostly. The web (Struts), i have my own .... i don't need
> generate for me... seperate in two part, it could save the time...
>
> Sorry, I am so lazy... turly, the sample build.xml just for
> SAMPLE..... should be modifty by myself. anyway... hee..hee...
> Could you...
>
Right buddy. Laziness will get you nowhere in the open source world ;-)
> 2.) Add one more sequece code for cvs release... in build.xml, i
> found version 1.1 beta... but for cvs... chanaging all the time... if
> it got the build/release serial no... it could be easy report.
>
There is no such thing as a "CVS release". Anything you find in any source
code repository is potentially unstable, and has nothing to do with a
release. It's made publicly available for people (like you) who want to try
the latest stuff. I won't change the version number every time I commit a
new file. I'll only change it after I make a release, i.e. package a zip
file and upload it to sourceforge. That will happen when I'm confident that
the code in CVS _is_ stable, when I have thrown in the features I want and
when the docs are ok.
You on your hand can "version" your CVS builds by putting e.g. the date of
your update in the version property in middlegen/build.xml
Have fun!
Aslak
>
> Gordon
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
> -------------------------------------------------------
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user